/* ═══════════════════════════════════════════════════════════════
   Alia Beauty Atelier — Main Stylesheet
   Modern 2025-2026 design: dark luxury, warm gold, soft pink
   Mobile-first responsive
   ═══════════════════════════════════════════════════════════════ */

/* ── Layers ── */
@layer reset, base, layout, components, utilities, animations;

/* ── Custom Properties ── */
@layer base {
  :root {
    /* Palette — light marble + gold */
    --bg:         #faf8f5;
    --bg-alt:     #f2efe9;
    --surface:    #ffffff;
    --surface-2:  #f5f2ed;
    --border:     #e5ded4;
    --text:       #1a1a1a;
    --text-muted: #6b6259;
    --primary:    #b08d57;      /* rich gold */
    --primary-l:  #c9a87c;
    --secondary:  #d4a5bd;      /* dusty rose */
    --accent:     #b8a0d2;      /* lavender */
    --success:    #5ba37a;
    --danger:     #d05050;

    /* Typography */
    --ff-heading: 'Cormorant Garamond', 'Georgia', serif;
    --ff-body:    'Montserrat', 'Segoe UI', sans-serif;
    --fs-xs:   clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm:   clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --fs-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    --fs-md:   clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
    --fs-lg:   clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
    --fs-xl:   clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
    --fs-2xl:  clamp(2.2rem, 1.6rem + 3vw, 4rem);
    --fs-hero: clamp(2.8rem, 2rem + 4.5vw, 6rem);

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --section-y: clamp(4rem, 3rem + 5vw, 8rem);

    /* Misc */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0,0,0,0.08);
    --header-h: 70px;
  }
}

/* ── Reset ── */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
  body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
  }
  img, video, svg { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
  ul, ol { list-style: none; }
  input, select, textarea { font: inherit; color: inherit; }
  ::selection { background: var(--primary); color: var(--bg); }
}

/* ── Base ── */
@layer base {
  h1, h2, h3, h4 {
    font-family: var(--ff-heading);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  p { max-width: 65ch; }

  .section {
    padding: var(--section-y) var(--space-md);
    position: relative;
    max-width: 100vw;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }

  .section-label {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
  }
  .section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
  }
  .section-title {
    font-size: var(--fs-2xl);
    color: var(--text);
    margin-bottom: var(--space-lg);
  }
}

/* ── Header ── */
@layer components {
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 var(--space-md);
    transition: background var(--transition), backdrop-filter var(--transition);
  }
  .header.scrolled {
    background: rgba(250,248,245,0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  .header__logo {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
  }
  .header__logo span { color: var(--primary); }

  /* Desktop nav */
  .header__nav {
    display: none;
    gap: var(--space-md);
    align-items: center;
  }
  .header__nav a {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
    font-weight: 500;
  }
  .header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--primary);
    transition: width var(--transition);
  }
  .header__nav a:hover { color: var(--text); }
  .header__nav a:hover::after { width: 100%; }

  /* Lang switcher */
  .lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--surface);
    border-radius: var(--radius-full);
    padding: 3px;
    border: 1px solid var(--border);
  }
  .lang-btn {
    padding: 4px 10px;
    font-size: var(--fs-xs);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
    text-transform: uppercase;
  }
  .lang-btn.active {
    background: var(--primary);
    color: var(--bg);
  }
  .lang-btn:hover:not(.active) { color: var(--text); }

  /* Mobile burger */
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
  }
  .burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(250,248,245,0.97);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .mobile-menu.open { opacity: 1; pointer-events: auto; }
  .mobile-menu a {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
  }
  .mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu a:hover { color: var(--primary); }
  .mobile-menu .lang-switcher { margin-top: var(--space-md); }
}

/* ── Hero ── */
@layer components {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    padding-top: clamp(2.5rem, 8vw, 5rem);
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 50%, rgba(176,141,87,0.10) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 30%, rgba(212,165,189,0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 80%, rgba(184,160,210,0.06) 0%, transparent 50%);
  }
  .hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Subtle marble texture */
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='.04'/%3E%3C/svg%3E");
    opacity: 0.8;
  }

  /* Decorative floating orbs */
  .hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
  }
  .hero__orb--1 {
    width: 300px; height: 300px;
    background: var(--primary);
    top: 10%; left: -5%;
    animation: float 8s ease-in-out infinite;
  }
  .hero__orb--2 {
    width: 250px; height: 250px;
    background: var(--secondary);
    bottom: 10%; right: -5%;
    animation: float 10s ease-in-out infinite reverse;
  }
  .hero__orb--3 {
    width: 150px; height: 150px;
    background: var(--accent);
    top: 50%; left: 60%;
    animation: float 12s ease-in-out infinite 2s;
  }

  .hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-lg) var(--space-lg) 6rem;
    max-width: 800px;
  }
  .hero__subtitle {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
  }
  .hero__title {
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-md);
  }
  .hero__title .line { display: block; overflow: hidden; padding-bottom: 0.15em; margin-bottom: -0.15em; }
  .hero__title .word {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
  }
  .hero__desc {
    font-size: var(--fs-md);
    color: var(--text-muted);
    margin: 0 auto var(--space-lg);
    max-width: 550px;
  }

  .hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: pulse-down 2s ease-in-out infinite;
  }
  .hero__scroll svg { width: 20px; height: 20px; }
}

/* ── CTA Button ── */
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
  }
  .btn--primary {
    background: var(--primary);
    color: var(--bg);
  }
  .btn--primary:hover {
    background: var(--primary-l);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(176,141,87,0.25);
  }
  .btn--outline {
    border: 1px solid var(--primary);
    color: var(--primary);
  }
  .btn--outline:hover {
    background: var(--primary);
    color: var(--bg);
  }
  .btn--glass {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--text);
    backdrop-filter: blur(10px);
  }
  .btn--glass:hover {
    background: rgba(0,0,0,0.06);
    border-color: var(--primary);
  }

  /* Hero button group */
  .hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
  }

  /* Magnetic effect container */
  .magnetic { transition: transform 0.2s ease-out; }
}

/* ── About ── */
@layer components {
  .about { background: var(--bg); }
  .about__grid {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
  }
  .about__image {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
  }
  .about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .about__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,168,124,0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
  }
  .about__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    font-size: 5rem;
  }
  .about__text { display: flex; flex-direction: column; gap: var(--space-md); }
  .about__text p { color: var(--text-muted); font-size: var(--fs-base); }
  .about__text p.about__intro {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-lg);
    color: var(--text);
    font-weight: 600;
    line-height: 1.4;
  }
  .about__text p.about__quote {
    font-family: var(--ff-heading);
    font-style: italic;
    font-size: var(--fs-md);
    color: var(--primary);
    border-left: 2px solid var(--primary);
    padding-left: var(--space-sm);
    line-height: 1.5;
  }
  .about__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }
  .stat {
    text-align: center;
    padding: var(--space-sm);
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }
  .stat__number {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    color: var(--primary);
    font-weight: 700;
  }
  .stat__label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 4px;
  }
}

/* ── Services ── */
@layer components {
  .services { background: var(--bg-alt); }

  /* ── Price Accordion ── */
  .price-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .price-accordion details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    /* Grid trick: animates height without JS-driven max-height hacks */
    display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows 0.34s cubic-bezier(0.4,0,0.2,1),
                box-shadow var(--transition);
  }
  .price-accordion details[open] {
    box-shadow: var(--shadow);
    grid-template-rows: auto 1fr;
  }

  .price-accordion summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: background var(--transition);
  }
  .price-accordion summary::-webkit-details-marker { display: none; }
  .price-accordion summary:hover { background: var(--surface-2); }
  .price-accordion details[open] > summary {
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
  }

  .pa-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 50%;
    color: var(--primary);
    transition: background var(--transition), color var(--transition);
  }
  .price-accordion details[open] .pa-icon,
  .price-accordion summary:hover .pa-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-l));
    color: #fff;
  }

  .pa-head {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .pa-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    transition: color var(--transition);
  }
  .price-accordion details[open] .pa-title { color: var(--primary); }
  .pa-desc {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
  }

  .pa-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    display: inline-flex;
    transition: transform var(--transition), color var(--transition);
  }
  .price-accordion details[open] .pa-chevron {
    transform: rotate(180deg);
    color: var(--primary);
  }

  .pa-body {
    /* min-height: 0 lets the grid shrink this item to 0fr */
    min-height: 0;
    overflow: hidden;
    padding: 16px 20px 20px;
  }

  /* — Price menu rows — */
  .svc-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .svc-menu__row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 4px;
    border-radius: 8px;
    transition: background 0.25s ease;
  }
  .svc-menu__row:hover {
    background: var(--surface-2);
  }
  .svc-menu__row + .svc-menu__row {
    border-top: 1px solid rgba(229, 222, 212, 0.45);
  }
  .svc-menu__name {
    flex: 0 1 auto;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
  }
  .svc-menu__dots {
    flex: 1 1 auto;
    min-width: 16px;
    margin: 0 6px;
    border-bottom: 1px dotted var(--border);
    position: relative;
    top: -4px;
  }
  .svc-menu__price {
    flex-shrink: 0;
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .svc-menu__from {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: lowercase;
    margin-right: 2px;
    letter-spacing: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    .price-accordion details { transition: none; grid-template-rows: auto 1fr; }
    .svc-progress__seg { transition: none; }
    .svc-hint svg, .svc-catalog.show-hint .svc-hint { animation: none; }
  }
}

/* ── Gallery ── */
@layer components {
  .gallery { background: var(--bg); }
  .gallery__filters {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
  }
  .gallery__filter {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
    font-weight: 500;
  }
  .gallery__filter.active,
  .gallery__filter:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
  }
  .gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--surface);
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  }
  .gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
  }
  .gallery__item:nth-child(3n+1) { aspect-ratio: 1; }
  .gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .gallery__item:hover img { transform: scale(1.08); }
  .gallery__item.is-hidden {
    display: none;
  }
  .gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 54%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: var(--space-sm);
    color: #fff;
    text-align: left;
  }
  .gallery__item:hover .gallery__item-overlay { opacity: 1; }
  .gallery__item-title {
    align-self: stretch;
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.25;
  }
  .gallery__item-service {
    align-self: stretch;
    margin-top: 3px;
    font-size: var(--fs-xs);
    line-height: 1.35;
    opacity: 0.78;
  }
  .gallery__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    opacity: 0.3;
  }
}

/* ── Booking ── */
@layer components {
  .booking { background: var(--bg-alt); }
  .booking__wrapper {
    display: grid;
    gap: var(--space-xl);
  }
  .booking__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  .booking__desc {
    color: var(--text-muted);
    font-size: var(--fs-base);
  }

  .booking__form {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  .form-row {
    display: grid;
    gap: var(--space-md);
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .form-group label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: var(--fs-base);
    transition: border-color var(--transition);
    outline: none;
  }
  /* iOS Safari fix: date/time inputs ignore width:100% and overflow */
  .form-group input[type="date"],
  .form-group input[type="time"],
  .form-group input[type="datetime-local"],
  .form-group input[type="month"],
  .form-group input[type="week"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    min-height: 52px;
    font-family: inherit;
    line-height: 1.4;
  }
  .form-group input[type="date"]::-webkit-date-and-time-value,
  .form-group input[type="time"]::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.4em;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
  }
  .form-group select { cursor: pointer; }
  .form-group select option { background: var(--surface); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
  }

  /* Success overlay */
  .booking__success {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    text-align: center;
    padding: var(--space-lg);
    z-index: 5;
  }
  .booking__success.show {
    display: flex;
    animation: fadeScale 0.5s ease;
  }
  .booking__success-icon {
    width: 70px; height: 70px;
    background: rgba(126,200,155,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
  }

  /* WhatsApp link */
  .booking__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-top: var(--space-sm);
    font-size: var(--fs-sm);
    transition: color var(--transition);
  }
  .booking__whatsapp:hover { color: var(--primary-l); }
  .booking__whatsapp svg { width: 20px; height: 20px; }
}

/* ── Reviews ── */
@layer components {
  .reviews { background: var(--bg); overflow: hidden; }
  .reviews__slider {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-sm);
  }
  .reviews__slider::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 calc(100% - var(--space-md));
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    position: relative;
  }
  .review-card__quote {
    font-family: var(--ff-heading);
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
  }
  .review-card__text {
    font-size: var(--fs-base);
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
  }
  .review-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
  .review-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--bg);
  }
  .review-card__name {
    font-weight: 600;
    font-size: var(--fs-sm);
  }
  .review-card__stars {
    color: var(--primary);
    font-size: var(--fs-sm);
    letter-spacing: 2px;
  }
}

/* ── Contact ── */
@layer components {
  .contact { background: var(--bg-alt); }
  .contact__grid {
    display: grid;
    gap: var(--space-xl);
  }
  .contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  .contact__item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
  }
  .contact__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: rgba(201,168,124,0.1);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
  }
  .contact__icon svg { width: 20px; height: 20px; }
  .contact__item-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
  }
  .contact__item-value { font-weight: 500; }
  .contact__social {
    display: flex; gap: var(--space-sm);
  }
  .contact__social-link {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
  }
  .contact__social-link svg { width: 20px; height: 20px; }
  .contact__social-link:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
    transform: translateY(-3px);
  }
  .contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .contact__map iframe {
    width: 100%; height: 100%;
    border: 0;
    filter: grayscale(0.3) brightness(1) contrast(1);
    transition: filter var(--transition);
  }
  .contact__map:hover iframe { filter: grayscale(0) brightness(1) contrast(1); }
}

/* ── Footer ── */
@layer components {
  .footer {
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-xs);
  }
  .footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
  .footer__links {
    display: flex; gap: var(--space-md);
    flex-wrap: wrap; justify-content: center;
  }
  .footer__links a {
    color: var(--text-muted);
    transition: color var(--transition);
    font-size: var(--fs-xs);
  }
  .footer__links a:hover { color: var(--primary); }
  .footer__heart { color: var(--secondary); }
}

/* ── Legal pages (impressum, datenschutz) ── */
@layer components {
  .legal {
    padding: calc(var(--header-h) + var(--space-xl)) var(--space-md) var(--space-xl);
    min-height: 100vh;
  }
  .legal__content {
    max-width: 800px;
    margin: 0 auto;
  }
  .legal__content h1 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-lg);
  }
  .legal__content h2 {
    font-size: var(--fs-lg);
    color: var(--primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
  }
  .legal__content p {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
  }
  .legal__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    font-size: var(--fs-sm);
    transition: color var(--transition);
  }
  .legal__back:hover { color: var(--primary-l); }
}

/* ── WhatsApp FAB ── */
@layer components {
  .whatsapp-fab {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    transition: all var(--transition);
  }
  .whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }
  .whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  }
}

/* ── Lightbox ── */
@layer components {
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.90);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    cursor: zoom-out;
  }
  .lightbox.open { opacity: 1; pointer-events: auto; }
  .lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
  }
  .lightbox__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background var(--transition);
  }
  .lightbox__close:hover { background: rgba(255,255,255,0.2); }
}

/* ── Animations ── */
@layer animations {
  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
  }

  @keyframes pulse-down {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
  }

  @keyframes fadeScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }

  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Reveal animation helper classes */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* Stagger children */
  .stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
  .stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
  .stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
  .stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
  .stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }
  .stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
  .stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  /* Marquee divider */
  .marquee {
    overflow: hidden;
    margin-top: var(--header-h);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    user-select: none;
    max-width: 100vw;
  }
  .marquee__inner {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
  }
  .marquee__text {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    color: var(--border);
    padding: 0 var(--space-xl);
    display: inline-flex;
    align-items: center;
    gap: var(--space-lg);
  }
  .marquee__dot {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
  }
}

/* ── Responsive — Small Mobile ── */
@media (max-width: 480px) {
  .section {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .container {
    padding: 0 var(--space-xs);
  }
}

/* ── Responsive — Tablet ── */
@media (min-width: 640px) {
  .booking__form {
    padding: var(--space-lg);
  }
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-card {
    flex: 0 0 calc(50% - var(--space-sm));
  }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive — Desktop ── */
@media (min-width: 960px) {
  .header__nav { display: flex; }
  .burger { display: none; }

  .about__grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .gallery__item:nth-child(5n+1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .booking__wrapper {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
  }
  .review-card {
    flex: 0 0 calc(33.333% - var(--space-sm));
  }
}

/* ── Responsive — Large Desktop ── */
@media (min-width: 1200px) {
  .svc-catalog {
    max-width: 840px;
  }
}

/* ── Scrollbar ── */
@layer base {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: 3px;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
}

/* ── Print ── */
@media print {
  .header, .whatsapp-fab, .hero__orb, .marquee, .lightbox { display: none !important; }
  body { background: #fff; color: #222; }
  .section { padding: 1rem 0; }
}


