/* ============================================================
   Praxis Dr. Christoph Thiemann — Design System
   Dunkel-elegant: Espresso, Champagner-Gold, Ivory
   Display: Fraunces · Body: Figtree
   Signature: goldene Lächelkurve
   ============================================================ */

:root {
  /* Farben */
  --ink: #14110f;          /* warmes Espresso-Schwarz, Seitengrund */
  --ink-deep: #0e0c0a;     /* Footer / Kontrastflächen */
  --surface: #1d1916;      /* Karten */
  --surface-2: #272119;    /* erhabene Karten, Hover */
  --line: rgba(214, 191, 148, 0.14);
  --ivory: #f3ede3;        /* Primärtext */
  --stone: #b0a695;        /* Sekundärtext */
  --stone-dim: #7d7466;    /* Tertiär, Captions */
  --gold: #c8a260;         /* Champagner-Akzent */
  --gold-bright: #e2c68c;  /* Hover, Glanzpunkte */
  --gold-deep: #93713a;    /* Verläufe, Ränder */

  /* Typografie */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Typo-Utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 12px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M1 1c7 9 25 9 32 0' fill='none' stroke='%23c8a260' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 520; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 380;
  color: var(--gold-bright);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--stone);
  max-width: 62ch;
}

p { color: var(--stone); max-width: 68ch; }

strong { color: var(--ivory); font-weight: 600; }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; }

/* Lächelkurven-Divider zwischen Sektionen */
.smile-divider {
  display: flex;
  justify-content: center;
  padding-block: 0.5rem;
}
.smile-divider svg { width: 120px; height: 22px; opacity: 0.55; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(14, 12, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.05rem;
}

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stone);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.25s;
}
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--ivory); }
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: right 0.3s var(--ease-out);
}
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a150e;
  box-shadow: 0 8px 26px -10px rgba(200, 162, 96, 0.55);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(200, 162, 96, 0.65);
}
.btn-ghost {
  border-color: rgba(214, 191, 148, 0.35);
  color: var(--ivory);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(200, 162, 96, 0.07); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-block: 0 clamp(3.5rem, 7vw, 6rem);
  isolation: isolate;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-media img { animation: heroZoom 18s var(--ease-out) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,12,10,0.55) 0%, rgba(14,12,10,0.25) 40%, rgba(20,17,15,0.94) 88%, var(--ink) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(200,162,96,0.16), transparent 60%);
}

.hero-content { max-width: 780px; }
.hero .eyebrow { margin-bottom: 1.3rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.6rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, background 0.25s;
}
.rating-badge:hover { border-color: rgba(200,162,96,0.4); background: rgba(29,25,22,0.75); }
.rating-stars { display: flex; gap: 2px; color: var(--gold-bright); }
.rating-stars svg { width: 15px; height: 15px; }
.rating-badge b { font-size: 1.05rem; color: var(--ivory); font-weight: 700; }
.rating-badge span { font-size: 0.85rem; color: var(--stone); }

/* Hero-Einblendung */
.hero [data-hero] { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease-out) forwards; }
.hero [data-hero="2"] { animation-delay: 0.12s; }
.hero [data-hero="3"] { animation-delay: 0.24s; }
.hero [data-hero="4"] { animation-delay: 0.36s; }
.hero [data-hero="5"] { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(3rem, 6vw, 4.5rem);
  isolation: isolate;
  overflow: hidden;
}
.page-hero-media, .page-hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,12,10,0.72), rgba(20,17,15,0.9) 70%, var(--ink) 100%);
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { max-width: 18ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--stone-dim);
  margin-bottom: 2.2rem;
}
.breadcrumb a { color: var(--stone); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }

/* ---------- Karten / Grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
a.card { cursor: pointer; }
a.card:hover {
  background: var(--surface-2);
  border-color: rgba(200, 162, 96, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.65);
}
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.97rem; }

.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  color: var(--gold-bright);
  background: linear-gradient(140deg, rgba(200,162,96,0.16), rgba(200,162,96,0.05));
  border: 1px solid rgba(200,162,96,0.25);
}
.card-icon svg { width: 22px; height: 22px; }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.25s var(--ease-out), color 0.25s;
}
a.card:hover .card-more { gap: 0.75rem; color: var(--gold-bright); }
.card-more svg { width: 15px; height: 15px; }

/* ---------- Leistungs-Index ---------- */
.service-index { counter-reset: service; }
.service-index .card h3 { display: flex; align-items: baseline; gap: 0.7rem; }

/* ---------- Über / Arzt ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.portrait-frame { position: relative; }
.portrait-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(200, 162, 96, 0.35);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.portrait-caption {
  position: absolute;
  left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  background: rgba(14, 12, 10, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.portrait-caption b { display: block; font-family: var(--font-display); font-weight: 520; font-size: 1.02rem; }
.portrait-caption span { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

.about-copy p + p { margin-top: 1rem; }
.about-copy .eyebrow { margin-bottom: 1.1rem; }
.about-copy h2 { margin-bottom: 1.4rem; }

.hallmarks { margin-top: 2.2rem; display: grid; gap: 1.05rem; }
.hallmark { display: flex; gap: 1rem; align-items: flex-start; }
.hallmark svg { width: 21px; height: 21px; flex: none; margin-top: 0.2rem; color: var(--gold); }
.hallmark b { display: block; color: var(--ivory); font-weight: 600; }
.hallmark span { font-size: 0.95rem; color: var(--stone); }

/* ---------- Zahlenband ---------- */
.stats-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200,162,96,0.05), transparent);
  padding-block: clamp(2.5rem, 5vw, 3.8rem);
}
.stats-band .grid { align-items: start; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 440;
  color: var(--gold-bright);
  line-height: 1.05;
}
.stat span { font-size: 0.92rem; color: var(--stone); }

/* ---------- Rezensionen ---------- */
.review-card { display: flex; flex-direction: column; gap: 1.3rem; height: 100%; }
.review-card .rating-stars svg { width: 16px; height: 16px; }
.review-text {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 420;
  line-height: 1.5;
  color: var(--ivory);
  flex: 1;
}
.review-text::before { content: "\201E"; color: var(--gold); }
.review-text::after { content: "\201C"; color: var(--gold); }
.review-author { font-size: 0.9rem; color: var(--stone-dim); }
.review-author b { display: block; color: var(--stone); font-weight: 600; }

.google-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.2rem;
  font-size: 0.9rem;
  color: var(--stone-dim);
}
.google-note svg { width: 16px; height: 16px; }
.google-note a { color: var(--gold); font-weight: 600; }
.google-note a:hover { color: var(--gold-bright); }

/* ---------- Kontakt / Öffnungszeiten ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.info-list { display: grid; gap: 1.15rem; margin-top: 1.4rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row svg { width: 20px; height: 20px; flex: none; margin-top: 0.25rem; color: var(--gold); }
.info-row b { display: block; font-weight: 600; color: var(--ivory); }
.info-row a { color: var(--stone); transition: color 0.2s; }
.info-row a:hover { color: var(--gold-bright); }
.info-row span { color: var(--stone); font-size: 0.98rem; }

.hours-table { width: 100%; margin-top: 1.4rem; border-collapse: collapse; }
.hours-table td {
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--stone);
}
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:first-child { color: var(--ivory); font-weight: 500; }
.hours-table td:last-child { text-align: right; }
.hours-table tr.closed td { color: var(--stone-dim); }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4rem);
  background:
    radial-gradient(120% 160% at 85% 0%, rgba(200,162,96,0.22), transparent 55%),
    linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(200, 162, 96, 0.28);
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: 1.2rem auto 2.2rem; max-width: 52ch; }
.cta-band .hero-actions { justify-content: center; }
.cta-smile {
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  width: min(560px, 80%);
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Leistungs-Detailseiten ---------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.service-body > p + p { margin-top: 1.1rem; }
.service-body h2 { margin: 3rem 0 1.4rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }

.benefit-list { display: grid; gap: 1rem; }
.benefit {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.benefit svg { width: 20px; height: 20px; flex: none; margin-top: 0.2rem; color: var(--gold); }
.benefit b { display: block; color: var(--ivory); font-weight: 600; margin-bottom: 0.15rem; }
.benefit span { font-size: 0.95rem; color: var(--stone); }

.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step {
  position: relative;
  display: flex;
  gap: 1.4rem;
  padding: 1.35rem 0;
}
.step + .step { border-top: 1px solid var(--line); }
.step-num {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(200, 162, 96, 0.4);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
  background: rgba(200, 162, 96, 0.07);
}
.step b { display: block; color: var(--ivory); font-weight: 600; margin-bottom: 0.2rem; }
.step p { font-size: 0.97rem; }

/* FAQ */
.faq { display: grid; gap: 0.9rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq details[open] { border-color: rgba(200, 162, 96, 0.38); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ivory);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-out);
  margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { padding: 0 1.4rem 1.3rem; font-size: 0.98rem; }

/* Sidebar */
.service-aside { position: sticky; top: 6.5rem; display: grid; gap: 1.4rem; }
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.aside-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 1.1rem; }
.aside-links { display: grid; }
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.2rem;
  font-size: 0.95rem;
  color: var(--stone);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.25s var(--ease-out);
}
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: var(--gold-bright); padding-left: 0.45rem; }
.aside-links a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.aside-links svg { width: 13px; height: 13px; flex: none; opacity: 0.6; }

/* ---------- Bild-Sektion ---------- */
.photo-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.photo-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.photo-band figcaption {
  position: absolute;
  left: 1.4rem; bottom: 1.2rem;
  font-size: 0.85rem;
  color: rgba(243, 237, 227, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(14, 12, 10, 0.6);
  backdrop-filter: blur(8px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.95rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a, .footer-col li { font-size: 0.95rem; color: var(--stone); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--stone-dim);
}
.footer-bottom nav { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Rechtstexte ---------- */
.legal-page h2 { font-size: 1.4rem; margin: 2.6rem 0 0.9rem; }
.legal-page p { margin-top: 0.6rem; }
.legal-page .container { max-width: 800px; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(14, 12, 10, 0.97);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 40;
  }
  .main-nav.open { transform: none; }
  .main-nav > a { font-size: 1.35rem; font-family: var(--font-display); }
  .nav-toggle { display: block; position: relative; z-index: 45; }
  .about-grid, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .stats-band .grid-3 { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero [data-hero] { opacity: 1; transform: none; }
}
