:root {
  --brand-primary: #99ccff;
  --brand-primary-dark: #6699cc;
  --brand-dark: #101828;
  --brand-muted: #667085;
  --brand-bg: #f0f7ff;
  --transition-smooth: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #1f2937;
  background-color: #fff;
}

/* ===== Logo Styles ===== */
.navbar-logo {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.hero-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease-out;
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Navbar ===== */
.navbar {
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--brand-primary) !important;
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 0.5rem;
    border-radius: 16px;
    padding: 0.5rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav {
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
    margin: 0.25rem 0;
    transition: var(--transition-smooth);
  }

  .navbar-nav .nav-link:hover {
    background: var(--brand-bg);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  padding: 6rem 0 7rem;
  background: linear-gradient(135deg, #f8fcff 0%, #e8f4ff 50%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(153, 204, 255, 0.15) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(153, 204, 255, 0.1) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, 20px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ===== Sections ===== */
.section-spacing {
  padding: 5rem 0;
}

.section-title h2 {
  font-size: 2.25rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-dark));
  border-radius: 2px;
}

/* ===== Service Cards ===== */
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  border: 1px solid #edf2f7;
  transition: var(--transition-smooth);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(153, 204, 255, 0.3);
  border-color: rgba(153, 204, 255, 0.4);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: var(--transition-smooth);
}

.service-card:hover h3 {
  color: var(--brand-primary);
}

.service-card p {
  color: var(--brand-muted);
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e7f1ff 0%, #d4e6ff 100%);
  color: var(--brand-primary);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.service-card:hover .icon-badge {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

/* ===== Info Cards ===== */
.info-card {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid #edf2f7;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7f1ff 0%, #d4e6ff 100%);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.info-card:hover .icon-circle {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #fff;
}

/* ===== Image Hover Effect ===== */
.img-hover {
  transition: var(--transition-smooth);
}

.img-hover:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
}

/* ===== Über mich ===== */
.ueber-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(153, 204, 255, 0.35);
}

.ueber-paras {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ueber-paras p {
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(153, 204, 255, 0.5);
}

/* ===== Portrait Image ===== */
.portrait-img {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.portrait-img:hover {
  box-shadow: 0 25px 60px rgba(153, 204, 255, 0.3);
  transform: translateY(-4px);
}

/* ===== Map Container ===== */
.map-container {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  transition: var(--transition-smooth);
}

.map-container:hover {
  box-shadow: 0 25px 60px rgba(153, 204, 255, 0.25);
  transform: translateY(-4px);
}

.map-container iframe {
  display: block;
}

/* ===== Footer ===== */
.footer-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 4rem 0 2rem;
}

.footer-brand {
  justify-content: flex-start;
}

.footer-list {
  line-height: 1.8;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #fff;
}

.footer-link:hover::after {
  width: 100%;
}

.jk-credit-link {
  color: rgba(153, 204, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.jk-credit-link:hover {
  color: rgba(153, 204, 255, 1);
  border-bottom-color: rgba(153, 204, 255, 0.5);
}

/* ===== Tel & Mailto Links ===== */
a[href^="tel:"],
a[href^="mailto:"] {
  color: var(--brand-primary-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  color: var(--brand-primary-dark);
  border-bottom-color: var(--brand-primary-dark);
}

/* ===== Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, #99ccff, #6ba3d6);
  border: none;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  color: #1a3a5c;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(153, 204, 255, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary i {
  margin-right: 0.5rem;
}

.btn-primary i:last-child {
  margin-left: 0.5rem;
  margin-right: 0;
}

.pulse-hover:hover {
  animation: pulse 1s ease infinite;
}

/* ===== Bento Grid - Leistungen ===== */
.leistungen-section {
  background: linear-gradient(180deg, #fff 0%, var(--brand-bg) 100%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.5rem;
}

.bento-item {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  overflow: hidden;
  cursor: default;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 24px rgba(153, 204, 255, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(153, 204, 255, 0.1) 0%,
    transparent 50%,
    rgba(102, 153, 204, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(153, 204, 255, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border-color: rgba(153, 204, 255, 0.5);
}

.bento-item:hover::before {
  opacity: 1;
}

/* Decoration element - animated gradient orb */
.bento-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 204, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.bento-large .bento-decoration {
  bottom: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
}

.bento-medium .bento-decoration {
  top: -40px;
  right: -40px;
}

.bento-wide .bento-decoration {
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 120px;
  border-radius: 50%;
}

.bento-accent .bento-decoration {
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
}

.bento-item:hover .bento-decoration {
  transform: scale(1.3);
  background: radial-gradient(circle, rgba(153, 204, 255, 0.5) 0%, transparent 70%);
}

.bento-wide:hover .bento-decoration {
  transform: translateX(-50%) scale(1.3);
}

/* Grid positioning */
.bento-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.bento-medium:nth-of-type(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.bento-medium:nth-of-type(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.bento-wide {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
}

.bento-accent {
  grid-column: 3 / 4;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(153, 204, 255, 0.25) 0%,
    rgba(102, 153, 204, 0.15) 100%
  );
  border-color: rgba(153, 204, 255, 0.4);
}

.bento-accent:hover {
  background: linear-gradient(
    135deg,
    rgba(153, 204, 255, 0.35) 0%,
    rgba(102, 153, 204, 0.25) 100%
  );
}

/* Content styling */
.bento-content {
  position: relative;
  z-index: 1;
}

.bento-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.bento-item:hover .bento-content h3 {
  color: var(--brand-primary-dark);
}

.bento-content p {
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bento-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bento-list li strong {
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.bento-list li span {
  color: var(--brand-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Icon styling */
.bento-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--brand-primary-dark);
  background: linear-gradient(
    135deg,
    rgba(153, 204, 255, 0.4) 0%,
    rgba(102, 153, 204, 0.2) 100%
  );
  border: 1px solid rgba(153, 204, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-primary-dark) 100%
  );
  color: #fff;
  box-shadow: 0 8px 24px rgba(153, 204, 255, 0.4);
}

/* Responsive Bento Grid */
@media (max-width: 991px) {
  .bento-grid {
    gap: 1rem;
  }

  .bento-large {
    grid-column: 1 / 2;
    grid-row: auto;
    min-height: auto;
  }

  .bento-medium:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .bento-medium:nth-of-type(3) {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .bento-wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-item {
    padding: 1.5rem;
  }

  .bento-decoration {
    display: none;
  }
}

@media (max-width: 767px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .bento-item {
    padding: 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .bento-accent {
    background: linear-gradient(135deg, rgba(153, 204, 255, 0.15) 0%, rgba(102, 153, 204, 0.08) 100%);
  }

  .bento-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .bento-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .bento-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--brand-muted);
  }

  .leistungen-section .section-title p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .leistungen-section .mt-5 {
    margin-top: 2rem !important;
  }
}

@media (max-width: 575px) {
  .bento-item {
    padding: 1rem 1.25rem;
  }

  .bento-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .bento-content h3 {
    font-size: 1rem;
  }

  .bento-content p {
    font-size: 0.85rem;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-dark);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  animation: slideUp 0.4s ease-out;
}

.cookie-banner.hiding {
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--brand-muted);
  margin: 0;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #1a3a5c;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(153, 204, 255, 0.4);
}

.cookie-btn-secondary {
  background: #f1f5f9;
  color: var(--brand-muted);
}

.cookie-btn-secondary:hover {
  background: #e2e8f0;
  color: var(--brand-dark);
}

/* ===== Map Consent Placeholder ===== */
.map-consent-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  height: 350px;
  background:
    linear-gradient(135deg, rgba(153, 204, 255, 0.1) 0%, rgba(102, 153, 204, 0.05) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 15H25L30 5zM15 20L25 25L15 30L15 20zM45 20L45 30L35 25L45 20zM30 35L35 45H25L30 35zM10 40L20 45L10 50L10 40zM50 40L50 50L40 45L50 40z' fill='%2399ccff' fill-opacity='0.08'/%3E%3C/svg%3E");
  border-radius: 18px;
  padding: 2rem;
  cursor: pointer;
  border: 2px dashed rgba(153, 204, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-consent-placeholder:hover {
  background:
    linear-gradient(135deg, rgba(153, 204, 255, 0.2) 0%, rgba(102, 153, 204, 0.1) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 15H25L30 5zM15 20L25 25L15 30L15 20zM45 20L45 30L35 25L45 20zM30 35L35 45H25L30 35zM10 40L20 45L10 50L10 40zM50 40L50 50L40 45L50 40z' fill='%2399ccff' fill-opacity='0.12'/%3E%3C/svg%3E");
  border-color: var(--brand-primary);
  transform: scale(1.01);
}

.map-consent-placeholder:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(153, 204, 255, 0.3);
}

.map-consent-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.map-consent-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.map-consent-placeholder:hover .map-consent-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(153, 204, 255, 0.4);
}

.map-consent-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.map-consent-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.map-consent-info {
  font-size: 0.9rem;
  color: var(--brand-muted);
}

.map-consent-arrow {
  font-size: 1.5rem;
  color: var(--brand-primary);
  transition: var(--transition-smooth);
  margin-left: auto;
}

.map-consent-placeholder:hover .map-consent-arrow {
  transform: translateX(5px);
  color: var(--brand-primary-dark);
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 991px) {
  .hero-section {
    padding: 4rem 0 5rem;
  }

  .hero-logo {
    max-width: 200px;
  }

  .section-spacing {
    padding: 3.5rem 0;
  }

  .navbar-logo {
    height: 42px;
  }

  .info-card {
    padding: 1.5rem;
  }

  .footer-section {
    padding: 3rem 0 1.5rem;
  }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 767px) {
  /* Typography */
  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  /* Hero */
  .hero-section {
    padding: 3rem 0 4rem;
  }

  .hero-logo {
    max-width: 160px;
    margin-bottom: 1rem;
  }

  .eyebrow {
    font-size: 0.85rem !important;
    letter-spacing: 0.1em;
  }

  .hero-content .lead {
    margin-bottom: 1.5rem !important;
  }

  /* Buttons */
  .btn-primary {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }

  /* Info Cards */
  .info-card {
    padding: 1.25rem;
  }

  .info-card h3 {
    font-size: 1.1rem;
  }

  .icon-circle {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  /* Portrait */
  .portrait-img {
    max-width: 280px;
  }

  /* Map */
  .map-container iframe,
  .map-consent-placeholder {
    height: 280px;
  }

  .map-consent-placeholder {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .map-consent-text {
    align-items: center;
  }

  .map-consent-title {
    font-size: 1.1rem;
  }

  .map-consent-info {
    font-size: 0.85rem;
  }

  .map-consent-arrow {
    display: none;
  }

  .map-consent-icon {
    width: 56px;
    height: 56px;
  }

  .map-consent-icon i {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer-section {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-brand {
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .footer-section .col-12 {
    text-align: center;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem !important;
  }

  .footer-list {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .footer-section hr {
    margin: 1.5rem 0 !important;
  }

  /* Cookie Banner */
  .cookie-content {
    padding: 1.25rem;
    margin: 0 0.5rem;
  }

  .cookie-text h3 {
    font-size: 1rem;
  }

  .cookie-text p {
    font-size: 0.85rem;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1.25rem;
  }
}

/* ===== Responsive - Small Mobile ===== */
@media (max-width: 575px) {
  /* General */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-spacing {
    padding: 3rem 0;
  }

  /* Navbar */
  .navbar-logo {
    height: 36px;
  }

  .navbar-toggler {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-logo {
    max-width: 140px;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title h2::after {
    width: 50px;
    height: 2px;
    bottom: -8px;
  }

  /* Info Cards */
  .info-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .info-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .info-card li {
    font-size: 0.9rem;
  }

  .icon-circle {
    width: 36px;
    height: 36px;
  }

  /* Portrait */
  .portrait-img {
    max-width: 240px;
    border-radius: 18px;
  }

  /* Map */
  .map-container {
    border-radius: 14px;
  }

  .map-container iframe,
  .map-consent-placeholder {
    height: 240px;
    border-radius: 14px !important;
  }

  .map-consent-icon {
    width: 50px;
    height: 50px;
  }

  .map-consent-icon i {
    font-size: 1.25rem;
  }

  .map-consent-title {
    font-size: 1rem;
  }

  /* Footer */
  .footer-section {
    padding: 2rem 0 1rem;
  }

  .footer-section .col-6 {
    text-align: left;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-section h3 {
    font-size: 0.9rem;
  }

  .footer-list {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .footer-section p {
    font-size: 0.85rem;
  }

  /* Cookie Banner */
  .cookie-banner {
    padding: 0.75rem;
  }

  .cookie-content {
    padding: 1rem;
    border-radius: 16px;
  }

  .cookie-text h3 {
    font-size: 0.95rem;
  }

  .cookie-text p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .cookie-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects that don't work well on touch */
  .bento-item:hover,
  .info-card:hover,
  .map-container:hover {
    transform: none;
  }

  .service-card:hover {
    transform: none;
  }

  /* Larger touch targets */
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    min-height: 44px;
  }

  .cookie-btn {
    min-height: 44px;
  }

  /* Keep icon animations but tone down card movements */
  .bento-item:active .bento-icon {
    transform: scale(1.05);
  }

  .map-consent-placeholder:active {
    background: linear-gradient(135deg, rgba(153, 204, 255, 0.2) 0%, rgba(102, 153, 204, 0.1) 100%);
    border-color: var(--brand-primary);
  }
}
