/* ============================================================
   IUNGO GROUP — Platform-Inherited Design System
   Minimal · Clean · Purposeful — Theme Studio aware
   ============================================================ */

/* ======================== DESIGN TOKENS ======================== */
:root {
  /* Font stack — Theme Studio override fallback */
  --font-sans: var(--tblr-body-font-family, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);

  /* Surface & background — inherit from Theme Studio when available */
  --c-text: var(--tblr-body-color, #1d1d1f);
  --c-text-secondary: var(--tblr-secondary-color, #6b7280);
  --c-bg: var(--tblr-body-bg, #fbfbfd);
  --c-surface: var(--tblr-bg-surface, #ffffff);
  --c-surface-hover: var(--tblr-bg-surface-inverted, #f5f5f7);
  --c-border: var(--tblr-border-color, rgba(0, 0, 0, 0.06));

  /* Accent palette — primary from theme, decorative accents */
  --c-primary: var(--tblr-primary, #0071e3);
  --c-primary-hover: var(--tblr-primary-hover, #0077ed);
  --c-accent-1: #5e5ce6;
  --c-accent-2: #bf5af2;
  --c-accent-3: #ff375f;
  --c-accent-4: #30d158;

  /* Gradients — primary uses theme color, accent stays brand-specific */
  --grad-primary: linear-gradient(135deg, var(--tblr-primary, #0071e3), var(--tblr-accent, #5e5ce6));
  --grad-accent: linear-gradient(135deg, #5e5ce6, #bf5af2, #ff375f);

  /* Shadows — adaptive to theme */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px var(--c-primary);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radius — Theme Studio aware */
  --radius-sm: calc(0.5rem * var(--tblr-border-radius-scale, 1));
  --radius-md: calc(0.75rem * var(--tblr-border-radius-scale, 1));
  --radius-lg: calc(1rem * var(--tblr-border-radius-scale, 1));
  --radius-xl: calc(1.25rem * var(--tblr-border-radius-scale, 1));
  --radius-full: 9999px;

  /* Easing */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Nav */
  --nav-height: 52px;
  --nav-bg: rgba(var(--tblr-body-bg-rgb, 251, 251, 253), 0.8);
  --nav-blur: 20px;
  --nav-text: var(--c-text);
  --nav-logo-text: var(--c-text);
  --nav-logo-accent: var(--c-primary);
  --nav-logo-sub: var(--c-text-secondary);
}

/* ======================== DARK MODE — Theme Studio aware ======================== */
[data-bs-theme="dark"] {
  --c-text: var(--tblr-body-color, #f5f5f7);
  --c-text-secondary: var(--tblr-secondary-color, #9ca3af);
  --c-bg: var(--tblr-body-bg, #000000);
  --c-surface: var(--tblr-bg-surface, #1c1c1e);
  --c-surface-hover: var(--tblr-bg-surface-inverted, #2c2c2e);
  --c-border: var(--tblr-border-color, rgba(255, 255, 255, 0.08));
  --c-primary: var(--tblr-primary, #2997ff);
  --c-primary-hover: var(--tblr-primary-hover, #40a3ff);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(var(--tblr-body-bg-rgb, 0, 0, 0), 0.8);
  --nav-text: var(--tblr-body-color, #f5f5f7);
  --nav-logo-text: var(--tblr-body-color, rgba(255, 255, 255, 0.9));
  --nav-logo-accent: var(--tblr-primary, #2997ff);
  --nav-logo-sub: var(--tblr-secondary-color, rgba(255, 255, 255, 0.4));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-bs-theme="light"]) {
    --c-text: var(--tblr-body-color, #f5f5f7);
    --c-text-secondary: var(--tblr-secondary-color, #9ca3af);
    --c-bg: var(--tblr-body-bg, #000000);
    --c-surface: var(--tblr-bg-surface, #1c1c1e);
    --c-surface-hover: var(--tblr-bg-surface-inverted, #2c2c2e);
    --c-border: var(--tblr-border-color, rgba(255, 255, 255, 0.08));
    --c-primary: var(--tblr-primary, #2997ff);
    --c-primary-hover: var(--tblr-primary-hover, #40a3ff);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(var(--tblr-body-bg-rgb, 0, 0, 0), 0.8);
    --nav-logo-text: var(--tblr-body-color, rgba(255, 255, 255, 0.9));
    --nav-logo-accent: var(--tblr-primary, #2997ff);
    --nav-logo-sub: var(--tblr-secondary-color, rgba(255, 255, 255, 0.4));
  }
}

/* ======================== RESET & BASE ======================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

/* Smooth-scroll anchors sit below the fixed nav */
#hero, #services, #about, #booking {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

body.dialog-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

a, button, input, textarea { -webkit-tap-highlight-color: transparent; }

/* ======================== NAVIGATION ======================== */
.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition-base);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: all var(--transition-fast);
  filter: brightness(0.92);
}

.nav-logo:hover img {
  filter: brightness(1.05) drop-shadow(0 0 6px rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.25));
  transform: scale(1.05);
}

.nav-links { display: flex; gap: var(--space-xl); align-items: center; }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nav-logo-sub);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active { color: var(--nav-logo-text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
  color: var(--nav-logo-text);
  font-size: 1.125rem;
}
.theme-toggle:hover { background: var(--c-surface-hover); }

.theme-icon-dark { display: none; }
[data-bs-theme="dark"] .theme-icon-light { display: none; }
[data-bs-theme="dark"] .theme-icon-dark { display: block; }

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--c-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.nav-cta:hover {
  background: var(--c-primary-hover);
  transform: scale(1.03);
}

.nav-menu-btn {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--nav-logo-text);
}

/* ======================== MOBILE MENU ======================== */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 999;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-menu-link {
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--transition-fast);
}
.mobile-menu-link:hover { color: var(--c-primary); }

.mobile-divider { width: 48px; height: 1px; background: var(--c-border); }

.mobile-cta {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--c-primary);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-5xl);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--c-accent-1);
  top: -10%; right: -5%;
  animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--c-accent-2);
  bottom: 5%; left: -8%;
  animation: orbFloat2 15s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--c-primary);
  top: 50%; left: 40%;
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.92); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(128, 128, 128, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 128, 128, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}
.hero-badge:hover { border-color: var(--c-primary); box-shadow: 0 0 20px rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.15); }
.hero-badge i { font-size: 0.9375rem; }

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  color: var(--c-text);
}

.title-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--c-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
  display: inline-flex;
  align-items: center; gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.btn-hero-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.3);
}
.btn-hero-primary:hover {
  background: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.4);
}

.btn-hero-secondary {
  color: var(--c-primary);
  border: 1px solid var(--c-border);
}
.btn-hero-secondary:hover {
  background: var(--c-surface-hover);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-3xl); left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--c-border);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
  width: 3px; height: 8px;
  background: var(--c-text-secondary);
  border-radius: 2px;
  animation: scrollDotAnim 1.5s ease-in-out infinite;
}
@keyframes scrollDotAnim {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(6px); }
}

@media (max-width: 767px) { .hero-scroll-hint { display: none; } }

/* ======================== SECTIONS ======================== */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}
.container-xl { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-4xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-surface-hover);
  border: 1px solid var(--c-border);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}
.section-tag:hover { border-color: var(--c-primary); }

.section-title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
  color: var(--c-text);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
}

/* ======================== SERVICES — Bento Grid + Modern ======================== */
.section-services {
  /* Dot-grid background for depth */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.04) 0%,
      transparent 70%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%2380808020'/%3E%3C/svg%3E");
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Bento Card — Base Styles */
.service-card {
  background: rgba(var(--tblr-bg-surface-rgb, 255, 255, 255), 0.7);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: default;
}

/* Mouse-follow spotlight glow */
.service-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.12),
    transparent 40%
  );
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

/* Gradient border glow on hover */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.5),
    rgba(var(--tblr-accent-rgb, 94, 92, 230), 0.3),
    transparent
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.12),
              0 2px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.2);
}

/* Featured Cards — 2-column span */
.service-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.service-card-featured .service-icon-wrap {
  margin-bottom: 0;
}

.service-card-featured .service-text {
  display: flex;
  flex-direction: column;
}

/* Accent Arrow — slides in on hover */
.service-card-accent {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--c-surface-hover);
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  font-size: 0.875rem;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateX(-8px);
}

.service-card:hover .service-card-accent {
  opacity: 1;
  transform: translateX(0);
}

.service-card-accent i {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-accent i {
  transform: translateX(2px);
}

/* Icon Wrap — Gradient + Glow */
.service-icon-wrap {
  width: 48px; height: 48px;
  background: var(--c-surface-hover);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  color: var(--c-primary);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.service-icon-wrap::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
  filter: blur(8px);
  transform: scale(0.8);
}

.service-card:hover .service-icon-wrap {
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

.service-card:hover .service-icon-wrap::before {
  opacity: 0.6;
}

/* Title — Clean with hover underline */
.service-title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
  color: var(--c-text);
  position: relative;
  z-index: 1;
  display: inline-block;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.service-card:hover .service-title::after {
  width: 100%;
}

/* Description */
.service-desc {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .service-card-featured .service-icon-wrap {
    margin-bottom: var(--space-md);
  }
}

/* Floating Accent Dots — Decorative blobs */
.service-float-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatDot 12s ease-in-out infinite;
}

@keyframes floatDot {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(15px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-10px, 10px) scale(0.95);
  }
}

/* Noise overlay for premium feel */
.section-services::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.4;
}

/* ======================== ABOUT ======================== */
.section-about { background: var(--c-surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-content .section-title { text-align: left; }

.about-text {
  font-size: 1.0625rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text);
}
.about-feature i { color: var(--c-accent-4); font-size: 1.125rem; }

/* ======================== BOOKING ======================== */
.section-booking { background: var(--c-bg); }

.booking-flow { max-width: 680px; margin: 0 auto; }

.booking-flow-hidden {
  display: none;
  opacity: 0;
  transform: translateY(16px);
}

.booking-flow.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.booking-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.form-field-full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--space-xs);
}

.form-input {
  font-family: inherit;
  font-size: 1rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-text);
  transition: all var(--transition-fast);
  outline: none;
  min-height: 44px;
  width: 100%;
}
.form-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.15);
}
.form-input::placeholder { color: var(--c-text-secondary); opacity: 0.6; }
.form-textarea { resize: vertical; min-height: 80px; }

.booking-actions { margin-top: var(--space-xl); }

.btn-book-next {
  display: inline-flex;
  align-items: center; gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  width: 100%;
  justify-content: center;
}
.btn-book-next:hover { background: var(--c-primary-hover); transform: translateY(-1px); }
.btn-book-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Calendar */
.booking-calendar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.cal-nav-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text);
  transition: all var(--transition-fast);
}
.cal-nav-btn:hover { background: var(--c-surface-hover); }

.cal-month-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-text);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: var(--space-xs);
}
.cal-weekdays span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-secondary);
  padding: var(--space-xs) 0;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
  font-family: inherit;
}
.cal-day:hover:not(.cal-day-disabled):not(.cal-day-selected) { background: var(--c-surface-hover); }
.cal-day.cal-day-selected { background: var(--c-primary); color: #fff; }
.cal-day.cal-day-today { border: 1.5px solid var(--c-primary); }
.cal-day.cal-day-disabled { color: var(--c-text-secondary); opacity: 0.4; cursor: not-allowed; }
.cal-day.cal-day-other-month { opacity: 0.3; }

/* Time Slots */
.booking-timeslots { margin-top: var(--space-xl); }

.timeslots-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--space-lg);
}

.timeslots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.timeslot-btn {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-bg);
  transition: all var(--transition-fast);
  font-family: inherit;
}
.timeslot-btn:hover { border-color: var(--c-primary); background: rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.05); }
.timeslot-btn.timeslot-selected { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Service Type */
.booking-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.service-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }

.service-type-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
}
.service-type-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-type-card.selected {
  border-color: var(--c-primary);
  background: rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.05);
}

.service-type-icon {
  width: 48px; height: 48px;
  background: var(--c-surface-hover);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.service-type-card.selected .service-type-icon { background: var(--c-primary); color: #fff; }

.service-type-info { display: flex; flex-direction: column; }
.service-type-name { font-size: 1rem; font-weight: 600; color: var(--c-text); }
.service-type-desc { font-size: 0.8125rem; color: var(--c-text-secondary); }

.service-type-check {
  margin-left: auto;
  color: var(--c-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.service-type-card.selected .service-type-check { opacity: 1; }

/* Confirmation */
.booking-confirmation {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.confirm-icon {
  width: 64px; height: 64px;
  background: var(--c-surface-hover);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  color: var(--c-primary);
}

.confirm-title { font-size: 1.5rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--space-sm); }
.confirm-desc { font-size: 1rem; color: var(--c-text-secondary); margin-bottom: var(--space-xl); }

.confirm-details {
  text-align: left;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.confirm-detail-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9375rem;
}
.confirm-detail-row:last-child { border-bottom: none; }
.confirm-detail-label { color: var(--c-text-secondary); font-weight: 500; }
.confirm-detail-value { color: var(--c-text); font-weight: 600; }

.confirm-actions { display: flex; flex-direction: column; gap: var(--space-sm); }

.btn-book-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-book-confirm:hover { background: var(--c-primary-hover); transform: translateY(-1px); }

.btn-book-back {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  font-weight: 500;
  padding: var(--space-sm);
  transition: color var(--transition-fast);
}
.btn-book-back:hover { color: var(--c-text); }

/* Success */
.booking-success { text-align: center; padding: var(--space-3xl) var(--space-xl); }

.success-icon-wrap {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto var(--space-xl);
  display: flex; align-items: center; justify-content: center;
}
.success-ring {
  position: absolute; inset: 0;
  border: 3px solid var(--c-primary);
  border-radius: 50%;
  animation: successRing 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes successRing {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.booking-success .success-icon-wrap i {
  font-size: 2.5rem;
  color: var(--c-primary);
  opacity: 0;
  animation: successCheck 0.4s 0.3s var(--ease-out) forwards;
}
@keyframes successCheck {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

.success-title { font-size: 2rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--space-md); }
.success-desc { font-size: 1.0625rem; color: var(--c-text-secondary); margin-bottom: var(--space-2xl); line-height: 1.6; }

.btn-book-new {
  padding: var(--space-md) var(--space-xl);
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-book-new:hover { background: var(--c-primary-hover); transform: translateY(-1px); }

/* ======================== LEGAL ======================== */
.section-legal { padding: var(--space-4xl) 0; }
.bg-subtle { background: var(--c-surface); }

.legal-content { max-width: 800px; margin: 0 auto; }

.legal-table { width: 100%; border-collapse: collapse; }
.legal-table td { padding: var(--space-sm) 0; font-size: 0.9375rem; border-bottom: 1px solid var(--c-border); }
.legal-table tr:last-child td { border-bottom: none; }
.legal-label { font-weight: 600; color: var(--c-text-secondary); white-space: nowrap; width: 240px; vertical-align: top; }

.legal-content p {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* ======================== CONSENT DIALOG ======================== */
.consent-dialog[hidden] {
  display: none;
}

.consent-preferences[hidden],
.consent-btn[hidden] {
  display: none;
}

.consent-dialog {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.consent-window {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
  color: var(--c-text);
}

.consent-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--brand-tint-12, rgba(var(--tblr-primary-rgb, 0, 113, 227), 0.12));
  color: var(--c-primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.consent-kicker {
  display: block;
  color: var(--c-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.consent-copy h2 {
  color: var(--c-text);
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
}

.consent-copy p {
  color: var(--c-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0 0 var(--space-md);
}

.consent-text-link {
  display: inline-flex;
  color: var(--c-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-preferences {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
}

.consent-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: start;
  padding: var(--space-md);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: rgba(var(--tblr-bg-surface-rgb, 255, 255, 255), 0.68);
}

.consent-option input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--c-primary);
}

.consent-option strong {
  display: block;
  color: var(--c-text);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.consent-option small {
  display: block;
  color: var(--c-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.consent-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.consent-btn:hover {
  transform: translateY(-1px);
}

.consent-btn-primary {
  background: var(--c-primary);
  color: #fff;
}

.consent-btn-secondary {
  background: var(--c-surface);
  color: var(--c-primary);
  border: 1px solid var(--c-border);
}

.consent-btn-ghost {
  color: var(--c-text-secondary);
  border: 1px solid transparent;
}

.consent-btn-ghost:hover,
.consent-btn-secondary:hover {
  background: var(--c-surface-hover);
}

/* ======================== PRIVACY DIALOG ======================== */
.privacy-dialog[hidden] {
  display: none;
}

.privacy-dialog {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.privacy-window {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(86dvh, 920px);
  overflow: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, var(--tblr-bg-surface-secondary, rgba(128, 128, 128, 0.04)), transparent 22rem),
    var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
}

.privacy-window-bar {
  position: sticky;
  top: calc(var(--space-2xl) * -1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: calc(var(--space-2xl) * -1) calc(var(--space-2xl) * -1) var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: rgba(var(--tblr-bg-surface-rgb, 255, 255, 255), 0.92);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.privacy-window-label {
  color: var(--c-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.privacy-close:hover {
  background: var(--c-surface-hover);
  transform: scale(1.03);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.privacy-aside {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  display: grid;
  gap: var(--space-md);
}

.privacy-meta,
.privacy-card {
  background: rgba(var(--tblr-bg-surface-rgb, 255, 255, 255), 0.78);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-meta {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-lg);
  color: var(--c-text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.privacy-meta strong {
  color: var(--c-text);
  font-size: 0.95rem;
}

.privacy-meta a,
.privacy-card a {
  color: var(--c-primary);
}

.privacy-meta-label {
  color: var(--c-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-content {
  display: grid;
  gap: var(--space-md);
}

.privacy-card {
  padding: var(--space-xl);
  color: var(--c-text-secondary);
}

.privacy-card h3 {
  color: var(--c-text);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.privacy-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0;
}

.privacy-card p + p {
  margin-top: var(--space-sm);
}

.privacy-list {
  display: grid;
  gap: var(--space-xs);
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ======================== IMPRESSUM DIALOG ======================== */
.impressum-dialog[hidden] {
  display: none;
}

.impressum-dialog {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.impressum-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.impressum-window {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(86dvh, 920px);
  overflow: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, var(--tblr-bg-surface-secondary, rgba(128, 128, 128, 0.04)), transparent 22rem),
    var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
}

.impressum-window-bar {
  position: sticky;
  top: calc(var(--space-2xl) * -1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: calc(var(--space-2xl) * -1) calc(var(--space-2xl) * -1) var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: rgba(var(--tblr-bg-surface-rgb, 255, 255, 255), 0.92);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.impressum-window-label {
  color: var(--c-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impressum-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.impressum-close:hover {
  background: var(--c-surface-hover);
  transform: scale(1.03);
}

.impressum-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.impressum-aside {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  display: grid;
  gap: var(--space-md);
}

.impressum-meta,
.impressum-card {
  background: rgba(var(--tblr-bg-surface-rgb, 255, 255, 255), 0.78);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.impressum-meta {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-lg);
  color: var(--c-text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.impressum-meta strong {
  color: var(--c-text);
  font-size: 0.95rem;
}

.impressum-meta a,
.impressum-card a {
  color: var(--c-primary);
}

.impressum-meta small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
}

.impressum-meta-label {
  color: var(--c-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impressum-content {
  display: grid;
  gap: var(--space-md);
}

.impressum-card {
  padding: var(--space-xl);
  color: var(--c-text-secondary);
}

.impressum-card h3 {
  color: var(--c-text);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.impressum-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0;
}

.impressum-card p + p {
  margin-top: var(--space-sm);
}

.impressum-person {
  font-size: 1rem;
  line-height: 1.6;
}

/* ======================== FOOTER — Theme Studio aware ======================== */
.footer {
  background: var(--tblr-body-bg, #f8f9fa);
  border-top: 1px solid var(--c-border);
  padding: var(--space-3xl) 0 var(--space-lg);
  color: var(--c-text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.footer-brand { max-width: 280px; display: flex; flex-direction: column; }
.footer-brand img { margin-bottom: var(--space-sm); filter: saturate(0.85) opacity(0.85); height: 36px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.8125rem; margin-top: var(--space-xs); color: var(--c-text-secondary); opacity: 0.85; }

.footer-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-secondary);
  opacity: 0.65;
  margin-bottom: var(--space-sm);
}

/* Footer Impressum Column */
.footer-col-impressum {
  display: flex;
  flex-direction: column;
}

.footer-legal-info {
  font-size: 0.8125rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  opacity: 0.7;
  margin: 0;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--c-primary); }

/* Footer Legal */
.footer-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-border);
  opacity: 0.65;
}

.footer-legal-col {
  display: flex;
  flex-direction: column;
}

.footer-legal-title {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-secondary);
  margin: 0 0 var(--space-xs) 0;
  opacity: 0.7;
}

.footer-legal-text {
  font-size: 0.75rem;
  color: var(--c-text-secondary);
  line-height: 1.5;
  margin: 0;
  opacity: 0.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-border);
  font-size: 0.8125rem;
  color: var(--c-text-secondary);
  opacity: 0.6;
}

/* ======================== ANIMATIONS ======================== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-content .section-title { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .privacy-layout, .impressum-layout { grid-template-columns: 1fr; }
  .privacy-aside, .impressum-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-logo-text { display: none; }
  .nav-logo img { height: 26px; }

  /* Mobile: ensure anchors snap below nav */
  html {
    scroll-padding-top: calc(var(--nav-height) + 16px);
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
    min-height: auto;
  }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .section { padding: var(--space-3xl) 0; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeslots-grid { grid-template-columns: repeat(3, 1fr); }
  .service-type-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-brand { max-width: 100%; }
  .footer-legal { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; gap: var(--space-xs); text-align: center; }
  .legal-table td:first-child { display: block; width: 100%; margin-bottom: var(--space-xs); }
  .privacy-aside, .impressum-aside { grid-template-columns: 1fr; }
  .privacy-card,
  .privacy-meta,
  .impressum-card,
  .impressum-meta { padding: var(--space-lg); }
  .privacy-dialog, .impressum-dialog { padding: 0; }
  .privacy-window,
  .impressum-window {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
    padding: var(--space-xl) var(--space-lg);
  }
  .privacy-window-bar,
  .impressum-window-bar {
    top: calc(var(--space-xl) * -1);
    margin: calc(var(--space-xl) * -1) calc(var(--space-lg) * -1) var(--space-lg);
  }
  .consent-dialog { padding: var(--space-md); }
  .consent-window { padding: var(--space-xl); }
  .consent-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .consent-btn { width: 100%; }
}

/* ======================== REDUCED MOTION ======================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-in { opacity: 1; transform: none; }
}

/* ======================== PRINT ======================== */
@media print {
  .nav-shell, .hero-scroll-hint, .mobile-menu,
  .theme-toggle, .hero-orb, .hero-grid { display: none !important; }
  body { color: #000; background: #fff; }
}
