/* ============================================================
   LICHTBLICK Zahnmedizin - plantilla premium 05 (Beispielinhalt)
   Dirección de arte: porcelana cálida + azul hielo + grafito.
   Mobile-first · design tokens · solo transform/opacity animan.
   Los estados ocultos pre-animación viven bajo html.js
   (sin JS o con prefers-reduced-motion todo es visible).
   ============================================================ */

/* ---------- Fuentes autohospedadas ---------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-400italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-var.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Paleta: porcelana / hielo / grafito */
  --porcelain: #f7f4ee;        /* fondo principal, blanco cálido */
  --porcelain-2: #efeae0;      /* superficie elevada cálida */
  --porcelain-3: #e6e0d3;      /* borde cálido */
  --ice-050: #eef4f6;          /* azul hielo, superficie */
  --ice-100: #dcE9ed;
  --ice-300: #a9c8d2;
  --ice-500: #6f9dad;          /* azul hielo medio */
  --ice-700: #3b6b7e;          /* azul profundo, acento primario */
  --ice-800: #2d5364;
  --graphite: #23292d;         /* texto fuerte / secciones oscuras */
  --graphite-soft: #4c5459;    /* texto secundario */
  --white: #fffdf9;

  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-ui: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-s: 0.625rem;
  --radius-m: 1.125rem;
  --radius-l: 1.75rem;

  --shadow-soft: 0 1px 2px rgba(35, 41, 45, 0.05), 0 12px 32px -12px rgba(35, 41, 45, 0.14);
  --shadow-lift: 0 2px 4px rgba(35, 41, 45, 0.06), 0 24px 48px -16px rgba(45, 83, 100, 0.24);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--graphite);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  background: var(--graphite); color: var(--porcelain);
  padding: 0.6rem 1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none;
  transform: translateY(-300%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

::selection { background: var(--ice-300); color: var(--graphite); }

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

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90;
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--ice-500), var(--ice-700));
  transform-origin: left center;
  transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding-block: 1rem;
  transition: padding 0.35s var(--ease-out), background-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled {
  padding-block: 0.55rem;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(35, 41, 45, 0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; font-weight: 700; letter-spacing: 0.01em;
}
.brand-mark {
  width: 2rem; height: 2rem; color: var(--ice-700);
  background: var(--ice-050); border: 1px solid var(--ice-100);
  border-radius: 0.65rem; padding: 0.2rem;
}
.brand-word { font-size: 1.05rem; line-height: 1.1; }
.brand-word em {
  display: block; font-style: normal; font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice-700);
}
.site-nav { display: none; }
.site-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  color: var(--graphite-soft);
  position: relative; padding-block: 0.3rem;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--ice-700);
  transition: right 0.3s var(--ease-out);
}
.site-nav a:hover { color: var(--graphite); }
.site-nav a:hover::after { right: 0; }
.site-nav ul { display: flex; gap: 1.6rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; text-decoration: none; font-weight: 600;
  font-size: 0.95rem; line-height: 1;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn-primary {
  background: var(--ice-700); color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(59, 107, 126, 0.55);
}
.btn-primary:hover { background: var(--ice-800); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(45, 83, 100, 0.55); }
.btn-ghost {
  background: transparent; color: var(--graphite);
  border: 1px solid var(--porcelain-3);
}
.btn-ghost:hover { border-color: var(--ice-500); color: var(--ice-800); transform: translateY(-2px); }
.btn-nav { background: var(--graphite); color: var(--porcelain); padding: 0.7rem 1.2rem; font-size: 0.88rem; }
.btn-nav:hover { background: var(--ice-800); transform: translateY(-1px); }
.btn-big { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(2.5rem, 6vh, 4rem);
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-halo {
  position: absolute; inset: -20% -30% auto auto;
  width: 70rem; height: 70rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%,
      rgba(169, 200, 210, 0.55) 0%,
      rgba(220, 233, 237, 0.35) 38%,
      rgba(247, 244, 238, 0) 68%);
  pointer-events: none;
  will-change: transform;
}
.hero-grid { position: relative; display: grid; gap: 2.5rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ice-800);
}
.kicker-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--ice-500);
  box-shadow: 0 0 0 4px var(--ice-100);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 8.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-block: 1.4rem 1.5rem;
  max-width: 12ch;
}
.hero-title em {
  font-style: italic;
  color: var(--ice-700);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line-inner { display: inline-block; }
.hero-lead {
  max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--graphite-soft); font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-block: 1.8rem 1rem; }
.hero-note { font-size: 0.85rem; color: var(--graphite-soft); letter-spacing: 0.02em; }

.hero-figure { position: relative; margin: 0; }
.hero-media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  max-height: 34rem;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-chip {
  position: absolute; left: -0.5rem; bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.1rem;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--porcelain-3);
  border-radius: var(--radius-m);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.chip-value {
  font-family: var(--font-display);
  font-size: 1.9rem; line-height: 1; color: var(--ice-800);
}
.chip-label { font-size: 0.8rem; font-weight: 600; color: var(--graphite-soft); }

.hero-scroll {
  display: none;
  position: absolute; right: var(--gutter); bottom: 2rem;
  writing-mode: vertical-rl;
  text-decoration: none; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--graphite-soft);
  align-items: center; gap: 0.7rem;
}
.hero-scroll-line {
  width: 1px; height: 3.4rem;
  background: linear-gradient(to bottom, var(--ice-700), transparent);
}

/* ---------- Stats ---------- */
.stats {
  border-block: 1px solid var(--porcelain-3);
  background: var(--white);
  padding-block: clamp(2rem, 5vh, 3.2rem);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem 1rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1; color: var(--graphite);
}
.stat-label { margin-top: 0.4rem; font-size: 0.88rem; font-weight: 500; color: var(--graphite-soft); }
.stat-foot { font-size: 0.75rem; color: var(--ice-500); }

/* ---------- Etiquetas de sección ---------- */
.sec-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ice-700);
  margin-bottom: 1rem;
}
.sec-label-light { color: var(--ice-300); }
.sec-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.12; letter-spacing: -0.01em;
  max-width: 22ch;
}
.sec-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.sec-title .line-inner { display: inline-block; }
.sec-head {
  display: grid; gap: 1.2rem;
  margin-bottom: clamp(2.2rem, 6vh, 3.6rem);
}
.sec-intro { color: var(--graphite-soft); max-width: 30rem; align-self: end; }

.beispiel-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ice-500); border: 1px solid var(--ice-100);
  border-radius: 999px; padding: 0.1rem 0.55rem;
  vertical-align: middle; margin-left: 0.3rem;
  white-space: nowrap;
}

/* ---------- Philosophie ---------- */
.philosophie { padding-block: clamp(4rem, 12vh, 8rem); }
.statement {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
  line-height: 1.28; letter-spacing: -0.005em;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 8vh, 4.5rem);
}
.statement .w { opacity: 1; }
.phil-grid { display: grid; gap: 2.5rem; align-items: center; }
.phil-media {
  border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 7 / 5;
}
.phil-media img { width: 100%; height: 106%; object-fit: cover; will-change: transform; }
.phil-heading {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 0.9rem;
}
.phil-copy p { color: var(--graphite-soft); max-width: 32rem; }
.team-list { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.team-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white);
  border: 1px solid var(--porcelain-3);
  border-radius: var(--radius-m);
  padding: 0.85rem 1.1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.team-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--ice-300);
}
.team-avatar {
  flex: 0 0 auto; width: 2.7rem; height: 2.7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ice-050); color: var(--ice-800);
  border: 1px solid var(--ice-100);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
}
.team-info { display: grid; line-height: 1.35; }
.team-info strong { font-size: 0.98rem; }
.team-info span:last-child { font-size: 0.83rem; color: var(--graphite-soft); }

/* ---------- Behandlungen (sección grafito) ---------- */
.behandlungen {
  background:
    radial-gradient(70rem 40rem at 85% -10%, rgba(111, 157, 173, 0.16), transparent 60%),
    var(--graphite);
  color: var(--porcelain);
  padding-block: clamp(4.5rem, 13vh, 8.5rem);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.behandlungen .sec-title { color: var(--white); }
.behandlungen .sec-intro { color: rgba(247, 244, 238, 0.72); }
.treat-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
.treat-card {
  background: rgba(255, 253, 249, 0.045);
  border: 1px solid rgba(247, 244, 238, 0.12);
  border-radius: var(--radius-m);
  padding: 1.7rem 1.5rem 1.5rem;
  transition: transform 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
}
.treat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 253, 249, 0.08);
  border-color: rgba(169, 200, 210, 0.45);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
}
.treat-icon {
  width: 2.6rem; height: 2.6rem; color: var(--ice-300);
  margin-bottom: 1.1rem;
  transition: transform 0.35s var(--ease-out), color 0.35s;
}
.treat-card:hover .treat-icon { transform: translateY(-3px) scale(1.06); color: var(--ice-100); }
.treat-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.35rem; line-height: 1.2;
  margin-bottom: 0.6rem; color: var(--white);
}
.treat-desc { font-size: 0.93rem; line-height: 1.6; color: rgba(247, 244, 238, 0.72); }
.treat-meta {
  margin-top: 1rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ice-300);
}

/* ---------- Ergebnisse - before/after ---------- */
.ergebnisse {
  background: linear-gradient(var(--graphite), var(--graphite)) top / 100% clamp(3rem, 8vh, 5rem) no-repeat,
              var(--porcelain);
  padding-block: 0 clamp(4rem, 12vh, 8rem);
}
.ergebnisse .sec-head { padding-top: clamp(5rem, 14vh, 9rem); }
.ba { max-width: 58rem; margin-inline: auto; }
.ba-frame {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 10;
  touch-action: none;
}
.ba-frame > .ba-img { width: 100%; height: 100%; object-fit: cover; }
.ba-top {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-top .ba-img { width: 100%; height: 100%; object-fit: cover; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-50%);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}
.ba-handle-knob {
  position: relative; z-index: 1;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--white); color: var(--ice-800);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.ba-handle-knob svg { width: 1.3rem; height: 1.3rem; }
.ba-tag {
  position: absolute; top: 1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(35, 41, 45, 0.65); color: var(--porcelain);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.8rem; border-radius: 999px;
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; }
.ba-control { display: block; margin-top: 1.1rem; }
.ba-range {
  width: 100%; margin: 0;
  appearance: none; -webkit-appearance: none;
  height: 2rem; background: transparent; cursor: ew-resize;
}
.ba-range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ice-500), var(--ice-100));
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--ice-700); border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(35, 41, 45, 0.35);
  margin-top: -0.5rem;
  transition: transform 0.2s var(--ease-out);
}
.ba-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.ba-range::-moz-range-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ice-500), var(--ice-100));
}
.ba-range::-moz-range-thumb {
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--ice-700); border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(35, 41, 45, 0.35);
}
.ba-hint {
  margin-top: 0.6rem; text-align: center;
  font-size: 0.8rem; color: var(--graphite-soft);
}

/* ---------- Ihr Weg - journey sticky ---------- */
.weg {
  background: var(--ice-050);
  border-block: 1px solid var(--ice-100);
  padding-block: clamp(4rem, 12vh, 8rem);
}
.weg .sec-label-light { color: var(--ice-700); }
.weg-grid { display: grid; gap: 3rem; }
.weg-sticky { display: grid; gap: 1.1rem; }
.weg-side-text { color: var(--graphite-soft); max-width: 26rem; }
.weg-track {
  display: none;
  width: 3px; height: 9rem; border-radius: 999px;
  background: var(--ice-100);
  overflow: hidden;
}
.weg-track-fill {
  display: block; width: 100%; height: 100%;
  background: var(--ice-700);
  transform: scaleY(0); transform-origin: top center;
}
.weg-steps { display: grid; gap: 1.2rem; counter-reset: step; }
.weg-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ice-100);
  border-radius: var(--radius-m);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.weg-step.is-active {
  border-color: var(--ice-500);
  box-shadow: var(--shadow-soft);
  transform: translateX(0.4rem);
}
.weg-num {
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--ice-500);
  margin-bottom: 0.5rem;
  transition: color 0.4s;
}
.weg-step.is-active .weg-num { color: var(--ice-800); }
.weg-step-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.45rem; margin-bottom: 0.55rem;
}
.weg-step-text { color: var(--graphite-soft); font-size: 0.95rem; max-width: 34rem; }
.weg-step-meta {
  margin-top: 0.9rem; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ice-700);
}

/* ---------- Stimme (testimonio placeholder) ---------- */
.stimme { padding-block: clamp(4rem, 12vh, 7.5rem); }
.stimme-inner { display: grid; justify-items: center; text-align: center; }
.quote { max-width: 44rem; display: grid; justify-items: center; gap: 1.4rem; }
.quote-mark { width: 3rem; color: var(--ice-300); }
.quote-text p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4; color: var(--graphite);
}
.quote-source {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ice-500);
}

/* ---------- Kontakt ---------- */
.kontakt {
  background: var(--white);
  border-top: 1px solid var(--porcelain-3);
  padding-block: clamp(4rem, 12vh, 8rem);
}
.kontakt-grid { display: grid; gap: 2.8rem; }
.kontakt-copy p { color: var(--graphite-soft); max-width: 32rem; margin-top: 1.2rem; }
.kontakt-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.kontakt-address {
  margin-top: 1.8rem; font-style: normal;
  color: var(--graphite-soft); line-height: 1.7;
}
.kontakt-address a { color: var(--ice-800); font-weight: 600; text-decoration-color: var(--ice-300); }
.kontakt-zeiten {
  background: var(--porcelain);
  border: 1px solid var(--porcelain-3);
  border-radius: var(--radius-l);
  padding: 1.8rem 1.6rem;
  align-self: start;
}
.zeiten-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.zeiten-table th, .zeiten-table td {
  text-align: left; padding-block: 0.55rem;
  border-bottom: 1px solid var(--porcelain-3);
  font-size: 0.95rem;
}
.zeiten-table th { font-weight: 600; color: var(--graphite); padding-right: 1rem; }
.zeiten-table td { color: var(--graphite-soft); text-align: right; font-variant-numeric: tabular-nums; }
.zeiten-table tr:last-child th, .zeiten-table tr:last-child td { border-bottom: 0; }
.zeiten-note {
  margin-top: 1rem; font-size: 0.85rem; color: var(--ice-800);
  background: var(--ice-050); border: 1px solid var(--ice-100);
  border-radius: var(--radius-s); padding: 0.8rem 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite); color: rgba(247, 244, 238, 0.75);
  padding-block: 2.6rem;
}
.footer-inner { display: grid; gap: 1.2rem; }
.footer-brand {
  font-weight: 700; color: var(--porcelain); font-size: 1.05rem;
}
.footer-brand em {
  font-style: normal; font-weight: 500; display: block;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice-300);
}
.footer-note { font-size: 0.82rem; max-width: 34rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-size: 0.85rem; color: var(--porcelain); text-decoration-color: rgba(247, 244, 238, 0.4); }

/* ============================================================
   Estados pre-animación - SOLO bajo html.js
   (la clase la pone un script inline únicamente sin reduced-motion,
   y un timeout de seguridad la retira si GSAP no confirma)
   ============================================================ */
html.js .hero-title .line-inner { transform: translateY(110%); }
html.js [data-hero-el] { opacity: 0; transform: translateY(18px); }
html.js [data-hero-fig] { opacity: 0; transform: translateY(26px) scale(0.985); }
/* data-reveal / data-reveal-lines / data-words / data-treat se ocultan
   desde JS con gsap.set (nunca desde CSS) - si GSAP no corre, siguen visibles. */

/* ---------- 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;
  }
}

/* ============================================================
   Breakpoints (mobile-first)
   ============================================================ */
@media (min-width: 40rem) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}

@media (min-width: 56rem) {
  .site-nav { display: block; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3.5rem; }
  .hero-scroll { display: inline-flex; }
  .hero-chip { left: -2rem; }
  .sec-head { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .phil-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .treat-grid { gap: 1.4rem; }
  .weg-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .weg-sticky { position: sticky; top: 7rem; }
  .weg-track { display: block; }
}

@media (min-width: 72rem) {
  .treat-grid { grid-template-columns: repeat(3, 1fr); }
}
