/* ==========================================================================
   Meridian Pools — styles
   1. Tokens & base   2. Typography & primitives   3. Header & nav
   4. Hero            5. Trust                      6. Statement
   7. Services        8. Showcase                   8b. Mallorca
   8c. Vorzeigeprojekte                             9. Process
   10. Stats          11. Work                      12. Testimonials
   13. FAQ            14. CTA                       15. Footer
   16. Reveal states & reduced motion
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/marcellus-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/marcellus-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens & base ---------- */
:root {
  /* colour */
  --ink: #0b2b33;          /* deep ocean */
  --ink-2: #071d23;        /* near-black teal */
  --teal: #176672;         /* primary accent */
  --aqua: #8fc9cc;         /* light aqua (on dark) */
  --paper: #fbfaf6;        /* page background */
  --sand: #f2efe7;         /* warm section background */
  --sand-2: #e8e3d6;
  --bronze: #8e6a40;       /* sparing luxury accent */
  --text: #23393f;
  --text-soft: #526066;
  --on-dark: #eef4f2;
  --on-dark-soft: rgba(238, 244, 242, .62);
  --line: rgba(11, 43, 51, .14);
  --line-dark: rgba(238, 244, 242, .16);

  /* type */
  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* rhythm */
  --space-section: clamp(6rem, 12vw, 10.5rem);
  --container: 82rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  /* motion */
  --ease: cubic-bezier(.22, .8, .3, 1);
  --dur: .45s;

  /* z-scale */
  --z-header: 100;
  --z-menu: 90;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }

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

::selection { background: var(--teal); color: #fff; }

/* Screenreader-only (H1-Kontext, unsichtbare Ergänzungen) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-Link: unsichtbar bis Tastatur-Fokus */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .85rem;
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- 2. Typography & primitives ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: .005em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p { margin: 0; }

.label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head-note { max-width: 22rem; color: var(--text-soft); font-size: .95rem; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .8rem 1.75rem;
  font: 600 .84rem/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: scale(.98); }

.btn-solid { background: var(--teal); color: #fff; border: 1px solid var(--teal); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }

.btn-ghost { background: transparent; color: var(--on-dark); border: 1px solid rgba(238,244,242,.4); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(238,244,242,.08); }

.btn-whatsapp { background: #25D366; color: #0b3d2e; border: 1px solid #25D366; }
.btn-whatsapp:hover { background: #1DA851; border-color: #1DA851; color: #0b3d2e; }
.btn-whatsapp svg { width: 20px; height: 20px; flex: none; }

.btn-lg { min-height: 3.4rem; padding: 1rem 2.4rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: .3rem;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.text-link svg { width: 14px; height: 14px; }
.text-link:hover { border-color: var(--teal); gap: .8rem; }

/* Touch-Target ≥44px für Chip-artige Text-Links */
.text-link--tap { padding-block: .8rem; }

/* ---------- 3. Header & nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  color: var(--on-dark);
  transition: transform .5s var(--ease), background-color .4s var(--ease),
              color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid {
  background: rgba(251, 250, 246, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-icon { width: auto; height: 34px; flex: none; }
.brand-logo { width: auto; height: 72px; }
.brand-full {
  width: auto;
  height: 66px;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .45));
  transition: filter .4s var(--ease);
}
.site-header.is-solid .brand-full { filter: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: .04em;
}
.brand-name em { font-style: normal; opacity: .55; margin-left: .28em; }

.header-nav { display: flex; gap: 2rem; margin-left: auto; }
.header-nav a {
  color: inherit;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .82;
  padding: .5rem 0;
  position: relative;
  transition: opacity var(--dur) var(--ease);
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: .2rem;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease);
}
.header-nav a:hover { opacity: 1; }
.header-nav a:hover::after { right: 0; }

.btn-header {
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  min-height: 2.6rem;
  padding: .55rem 1.3rem;
  font-size: .76rem;
}
.btn-header:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #25D366;
  color: #0b3d2e;
  transition: background-color var(--dur) var(--ease);
}
.header-whatsapp:hover { background: #1DA851; }
.header-whatsapp svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav-toggle span {
  width: 26px; height: 1.6px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.3px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--on-dark);
  text-decoration: none;
  padding: .35rem 0;
  transform: translateY(1.2rem);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu nav a.mobile-cta {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-top: 1.5rem;
  transition-delay: .25s;
}
.mobile-menu nav a.mobile-whatsapp {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition-delay: .2s;
}
.mobile-menu nav a.mobile-whatsapp svg { flex: none; }
.mobile-menu-foot {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: var(--gutter);
  color: var(--on-dark-soft);
  font-size: .8rem;
}

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--on-dark);
  overflow: clip;
  background: var(--ink-2);
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

/* Garten-Transformation: gestapelte Szenen-Layer (identische Perspektive) */
.hero-media .scene {
  position: absolute;
  inset: 0;
  object-position: center 70%;
}
.scene[data-scene] { opacity: 0; }

/* Stufe 1: Ovalpool blüht mittig aus dem Rasen auf (Pool liegt zentral).
   --r wird von GSAP animiert: 0% (unsichtbar) -> 160% (voll sichtbar);
   Ellipsen-Zentrum ~ Beckenmitte, weiche 18%-Federkante. */
.scene[data-scene="oval"] {
  opacity: 1;
  --r: 0%;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 72%, #000 calc(var(--r) - 18%), transparent var(--r));
  mask-image: radial-gradient(ellipse 120% 90% at 50% 72%, #000 calc(var(--r) - 18%), transparent var(--r));
}

/* Captions der Transformations-Stufen */
.transform-captions {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(7rem, 16vh, 10rem);
  z-index: 2;
  pointer-events: none;
}
.transform-caption {
  position: absolute;
  inset: auto var(--gutter);
  bottom: 0;
  max-width: 34rem;
  opacity: 0;
  transform: translateY(1.4rem);
  text-shadow: 0 1px 3px rgba(8, 20, 30, .55), 0 0 24px rgba(8, 20, 30, .35);
}
.transform-caption h3 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: .9rem;
}
.transform-caption > p:last-child { color: var(--on-dark-soft); max-width: 28rem; }
.transform-caption .label { color: var(--aqua); margin-bottom: 1rem; }

/* heller Text-Link auf dunklen Flächen (Caption-CTA) */
.text-link--light {
  color: #fff;
  border-color: rgba(238, 244, 242, .35);
}
.text-link--light:hover { border-color: var(--aqua); color: var(--aqua); }
.transform-cta {
  margin-top: 1.6rem;
  pointer-events: auto;   /* Captions selbst sind pointer-events: none */
  font-size: .84rem;
  text-shadow: none;   /* CTA/Link bekommt keine Kontur */
}

/* Klartext-Label der aktiven Variante/Phase neben dem Zähler.
   Feste Breite, damit die Fortschrittslinie beim Textwechsel nicht springt. */
.transform-name,
.showcase-phase-name {
  width: 11ch;
  flex: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--aqua);
}

.transform-meter {
  position: absolute;
  right: var(--gutter);
  bottom: -3.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(21rem, 36vw);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--on-dark-soft);
  opacity: 0;
  text-shadow: 0 1px 3px rgba(8, 20, 30, .55), 0 0 24px rgba(8, 20, 30, .35);
}
.transform-track {
  flex: 1;
  height: 1px;
  background: var(--line-dark);
  position: relative;
  overflow: hidden;
}
.transform-bar {
  position: absolute;
  inset: 0;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 767px) {
  .brand-full { height: 52px; }
}

/* Mobile: Szenen/Captions laufen mit (JS pinnt auch <768px), nur kleinere
   Schrift. Captions sitzen oben (Text über dem Himmel statt unten am Pool),
   nur der Fortschritts-Meter bleibt unten */
@media (max-width: 767px) {
  .transform-caption { max-width: none; right: var(--gutter); bottom: auto; top: 0; }
  .transform-caption h3 { font-size: 1.3rem; margin-bottom: .6rem; }
  .transform-caption > p:last-child { font-size: .9rem; }
  .transform-captions { top: clamp(5.5rem, 12vh, 7.5rem); bottom: auto; }
  /* 100svh = sichtbarer Viewport (ohne Browser-Leiste) — der Hero selbst ist höher,
     deshalb nie relativ zum Hero-Boden ankern */
  .transform-meter { bottom: auto; top: calc(100svh - clamp(5.5rem, 12vh, 7.5rem) - 5rem); }
}

/* Reduced Motion (& kein GSAP): kein Pin — statische Ovalpool-Szene, Captions aus */
.reduced-motion .scene[data-scene] { display: none; }
.reduced-motion .scene[data-scene="oval"] {
  display: block;
  -webkit-mask-image: none;
  mask-image: none;
}
.reduced-motion .transform-captions { display: none; }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(7, 29, 35, .82) 0%, rgba(7, 29, 35, .25) 42%, rgba(7, 29, 35, .12) 70%, rgba(7, 29, 35, .38) 100%);
}

/* slow drifting light sheen across the water */
.hero-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(214, 240, 238, .10) 50%, transparent 58%);
  background-size: 260% 100%;
  animation: sheen 13s var(--ease) infinite;
  mix-blend-mode: screen;
}
@keyframes sheen {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

/* Header ist fixed (~87–110px je nach Logo-Größe). Der Hero ankert unten
   (flex-end) — auf niedrigen Fenstern würde der Text sonst oben unter den
   Header laufen, deshalb braucht der Content immer Luft nach oben; der Hero
   wächst dann einfach über 100svh hinaus statt zu überlappen. */
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(6.5rem, 16vh, 9rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  width: 100%;
}

.hero-label,
.hero-title,
.hero-sub {
  text-shadow: 0 1px 3px rgba(8, 20, 30, .55), 0 0 24px rgba(8, 20, 30, .35);
}

.hero-label { color: var(--aqua); }

.hero-title {
  font-size: clamp(2.7rem, 7.2vw, 6.2rem);
  line-height: 1.04;
  color: #fff;
  letter-spacing: .005em;
  max-width: 14ch;
}
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line { display: block; }

.hero-sub {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--on-dark-soft);
}

.hero-actions { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

.hero-foot {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  text-shadow: 0 1px 3px rgba(8, 20, 30, .55), 0 0 24px rgba(8, 20, 30, .35);
}
.hero-scroll-hint { display: inline-flex; align-items: center; gap: .7rem; }
@media (max-width: 640px) {
  .hero-locations { display: none; }
}
.hero-scroll-hint svg { width: 10px; height: 26px; animation: drift 2.6s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50% { transform: translateY(6px); opacity: .45; }
}

/* ---------- 5. Trust ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
}
.trust-note {
  flex: none;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--text-soft);
  border-right: 1px solid var(--line);
  padding-right: clamp(2rem, 5vw, 4.5rem);
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex: 1;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}
.trust-logos li {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: .06em;
  color: var(--ink);
  opacity: .48;
  white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}
.trust-logos li:hover { opacity: .85; }

@media (max-width: 767px) {
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .trust-note {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.4rem;
    width: 100%;
  }
  .trust-logos { justify-content: flex-start; gap: .9rem 2rem; }
}

/* ---------- 6. Statement ---------- */
.statement { padding-block: var(--space-section); background: var(--paper); }
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.32;
  color: var(--ink);
  max-width: 26ch;
}
.statement-text .w { opacity: .16; transition: opacity .4s linear; }
.statement-text .w.is-on { opacity: 1; }
.statement-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}
.statement-meta p { max-width: 30rem; color: var(--text-soft); }

/* ---------- 7. Services ---------- */
.services { padding-block: var(--space-section); background: var(--sand); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 4rem 1fr minmax(15rem, 20rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .45s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: -1px;
  width: 0;
  border-bottom: 1px solid var(--teal);
  transition: width .6s var(--ease);
}
.service-row:hover { padding-left: 1.2rem; }
.service-row:hover::before { width: 100%; }
.service-no {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--bronze);
  align-self: start;
  padding-top: .5rem;
}
.service-body h3 { margin-bottom: .8rem; }
.service-body p { max-width: 34rem; color: var(--text-soft); }
.service-tags {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: .9rem;
}
.service-img {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}
.service-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .service-row { grid-template-columns: 1fr; gap: .9rem; }
  .service-row:hover { padding-left: 0; }
  .service-no { padding-top: 0; }
  .service-tags { text-align: left; padding-top: 0; }
  .service-img { width: 100%; }
}

/* ---------- 8. Showcase ---------- */
.showcase { background: var(--ink-2); color: var(--on-dark); }
.showcase-pin {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.showcase-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* animated by GSAP from an inset frame to full bleed */
  clip-path: inset(14% 10% 14% 10% round 6px);
}
.showcase-media img,
.showcase-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-media video { display: none; }        /* enabled by JS when a video file exists */
.showcase-media.has-video video { display: block; }
.showcase-media.has-video img { display: none; }
.showcase-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,29,35,.78) 0%, rgba(7,29,35,.18) 45%, rgba(7,29,35,.3) 100%);
}

.showcase-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: end;
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}
.showcase-label { color: var(--aqua); }

.showcase-stages { position: relative; min-height: 11rem; max-width: 36rem; }
.showcase-stage {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(8, 20, 30, .55), 0 0 24px rgba(8, 20, 30, .35);
}
.showcase-stage.is-active { opacity: 1; transform: none; }
.showcase-stage h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.showcase-stage p { color: var(--on-dark-soft); max-width: 30rem; }

/* Bauphasen-Variante der Stages */
.stage-no {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: .9rem;
}
.stage-still { display: none; }   /* nur Mobile/Reduced-Motion */

.showcase-meter {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
  font-size: .78rem;
  letter-spacing: .15em;
  color: var(--on-dark-soft);
  max-width: 26rem;
  text-shadow: 0 1px 3px rgba(8, 20, 30, .55), 0 0 24px rgba(8, 20, 30, .35);
}
.showcase-track {
  flex: 1;
  height: 1px;
  background: var(--line-dark);
  position: relative;
  overflow: hidden;
}
.showcase-bar {
  position: absolute;
  inset: 0;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
}

/* Mobile: Pin + Video-Scrub läuft mit (JS), nur Texte/Meter verkleinern,
   damit nichts überläuft. Die gestapelte Phasen-Block-Variante gilt nur
   ohne Motion/GSAP — siehe .reduced-motion unten. */
@media (max-width: 767px) {
  .showcase-stage h3 { font-size: clamp(1.4rem, 6vw, 1.9rem); margin-bottom: .7rem; }
  .showcase-stage p { font-size: .88rem; }
  .showcase-meter { font-size: .68rem; gap: .8rem; margin-top: 1.6rem; }
}

/* Reduced Motion (& kein GSAP): kein Pin — gestapelte Phasen-Blöcke */
.reduced-motion .showcase-pin { min-height: 0; display: block; padding: 3rem 0 4rem; }
.reduced-motion .showcase-media { display: none; }
.reduced-motion .showcase-stages { min-height: 0; max-width: none; }
.reduced-motion .showcase-stage {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  margin-bottom: 2.8rem;
}
.reduced-motion .stage-still {
  display: block;
  width: 100%;
  max-width: 44rem;
  height: auto;
  margin-top: 1.2rem;
  border-radius: var(--radius);
}
.reduced-motion .showcase-meter { display: none; }

/* ---------- 8b. Mallorca ---------- */
.mallorca { padding-block: var(--space-section); background: var(--sand); }
.mallorca-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.mallorca-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
}
.mallorca-media img { width: 100%; height: 100%; object-fit: cover; }
.mallorca-body h2 { margin-bottom: 1.6rem; }
.mallorca-body > p { color: var(--text-soft); max-width: 34rem; }
.mallorca-points {
  list-style: none;
  margin: 2rem 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mallorca-points li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
  font-size: .96rem;
}
.mallorca-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 1.05rem; height: 2px;
  border-radius: 1px;
  background: var(--teal);
}
@media (max-width: 900px) {
  .mallorca-grid { grid-template-columns: 1fr; }
  .mallorca-media { aspect-ratio: 16 / 10; }
}

/* ---------- 8a. Über SK Pools (Video) ---------- */
.about-video { padding-block: var(--space-section); background: var(--paper); }
.about-video-intro {
  max-width: 42rem;
  margin-top: -1rem;
  margin-bottom: 2.2rem;
  color: var(--text-soft);
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 56rem;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.video-embed img,
.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(3.6rem, 6vw, 4.6rem);
  height: clamp(3.6rem, 6vw, 4.6rem);
  border-radius: 50%;
  border: 0;
  background: rgba(251, 250, 246, .92);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.video-play svg { width: 42%; height: 42%; margin-left: .12em; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-caption {
  max-width: 56rem;
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--text-soft);
}
.video-note {
  max-width: 56rem;
  margin-top: .3rem;
  font-size: .76rem;
  color: var(--text-soft);
  opacity: .8;
}

/* ---------- 8c. Vorzeigeprojekte (Karussells) ---------- */
.showcase-projects { padding-block: var(--space-section); background: var(--ink-2); color: var(--on-dark); }
.showcase-projects .label { color: var(--aqua); }
.showcase-projects .section-head h2 { color: #fff; }

.carousel + .carousel { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.carousel-title { color: #fff; margin-bottom: 1.4rem; }

.carousel-viewport {
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.carousel-track {
  display: flex;
  gap: clamp(.9rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--gutter);
  padding-bottom: .3rem;
  /* scrollbar ausblenden, ohne die native Swipe-/Trackpad-Bedienung zu verlieren */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  margin: 0;
  flex: 0 0 80%;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.carousel-btn {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.carousel-btn:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-count { font-size: .8rem; letter-spacing: .12em; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .carousel-slide { flex-basis: 88%; }
  .carousel-btn { width: 44px; height: 44px; }
}

/* ---------- 9. Process ---------- */
.process {
  padding-block: var(--space-section);
  background:
    repeating-linear-gradient(to right, rgba(23, 102, 114, .045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, rgba(23, 102, 114, .045) 0 1px, transparent 1px 72px),
    var(--paper);
}

.process-timeline { position: relative; max-width: 68rem; margin-inline: auto; }
.process-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.process-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
}

.process-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}
.process-step {
  width: calc(50% - 3rem);
  position: relative;
  display: grid;
  column-gap: 1.4rem;
  align-items: center;
}
.process-step:nth-child(odd) {
  align-self: flex-start;
  text-align: right;
  grid-template-columns: 1fr auto;
}
.process-step:nth-child(even) {
  align-self: flex-end;
  grid-template-columns: auto 1fr;
}
.process-step:nth-child(odd) .step-no,
.process-step:nth-child(odd) .step-body { grid-column: 1; }
.process-step:nth-child(even) .step-no,
.process-step:nth-child(even) .step-body { grid-column: 2; }
.step-media {
  grid-row: 1 / span 2;
  margin: 0;
  width: clamp(8rem, 18vw, 11.5rem);
}
.process-step:nth-child(odd) .step-media { grid-column: 2; }
.process-step:nth-child(even) .step-media { grid-column: 1; }
.step-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

/* node dot on the line */
.process-step::before {
  content: "";
  position: absolute;
  top: .55rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.process-step:nth-child(odd)::before { right: -3rem; transform: translateX(50%); }
.process-step:nth-child(even)::before { left: -3rem; transform: translateX(-50%); }

.step-no {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--bronze);
  display: block;
  margin-bottom: .6rem;
}
.step-body h3 { margin-bottom: .6rem; transition: color .4s var(--ease); }
.step-body p { color: var(--text-soft); font-size: .95rem; max-width: 26rem; }
.process-step:nth-child(odd) .step-body p { margin-left: auto; }

.process-step { opacity: .38; transition: opacity .45s var(--ease); }
.process-step.is-active { opacity: 1; }
.process-step.is-active::before {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 5px rgba(23, 102, 114, .14);
}

@media (max-width: 767px) {
  .process-line { left: 5px; }
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: auto;
    align-self: stretch;
    text-align: left;
    padding-left: 2.4rem;
    grid-template-columns: 1fr;
  }
  .process-step:nth-child(odd)::before,
  .process-step:nth-child(even)::before {
    left: 5px; right: auto;
    transform: translateX(-50%);
  }
  .process-step:nth-child(odd) .step-body p { margin-left: 0; }
  .process-step:nth-child(odd) .step-no,
  .process-step:nth-child(odd) .step-body,
  .process-step:nth-child(even) .step-no,
  .process-step:nth-child(even) .step-body,
  .process-step:nth-child(odd) .step-media,
  .process-step:nth-child(even) .step-media {
    grid-column: 1;
  }
  .process-step:nth-child(odd) .step-media,
  .process-step:nth-child(even) .step-media {
    grid-row: auto;
    width: 100%;
    margin-top: 1rem;
  }
}

/* ---------- 10. Stats ---------- */
.stats {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
}
.stat { border-left: 1px solid var(--line-dark); padding-left: 1.6rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: #fff;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: .9rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11. Work ---------- */
.work { padding-block: var(--space-section); background: var(--paper); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.work-card { grid-column: span 2; text-decoration: none; color: inherit; }
.work-card--tall { grid-column: span 4; }
.work-card--half { grid-column: span 3; }
.work-card--half figure { aspect-ratio: 5 / 4; }
.work-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--sand-2);
}
.work-card--tall figure { aspect-ratio: 16 / 10; }
.work-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.work-card:hover img { transform: scale(1.045); filter: brightness(1.06); }

.work-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
}
.work-caption h3 { font-size: 1.15rem; }
.work-caption p { font-size: .84rem; color: var(--text-soft); text-align: right; }

@media (max-width: 767px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card--tall { grid-column: auto; }
}

/* ---------- 11b. Work locations ---------- */
.work-locations {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: .92rem;
  max-width: 56rem;
}
.work-locations strong { color: var(--ink); font-weight: 600; }

/* ---------- 11c. Owner ---------- */
.owner { padding-block: var(--space-section); background: var(--sand); }
.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.owner-quote blockquote { margin: 0; }
.owner-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--ink);
}
.owner-quote footer { margin-top: 2rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.owner-quote cite { font-style: normal; font-weight: 600; font-size: .95rem; color: var(--ink); }
.owner-quote footer span { font-size: .85rem; color: var(--text-soft); }

.owner-points { list-style: none; margin: 0; padding: 0; }
.owner-points li { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.owner-points h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.owner-points p { color: var(--text-soft); font-size: .93rem; max-width: 26rem; }
@media (max-width: 900px) {
  .owner-grid { grid-template-columns: 1fr; }
}

/* ---------- 12. Testimonials ---------- */
.testimonials { padding-block: var(--space-section); background: var(--sand); }
.quote-slider { position: relative; max-width: 54rem; }
.quote {
  margin: 0;
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.8rem);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.quote.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: .1s, .1s, .1s;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--ink);
}
.quote footer { margin-top: 2rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.quote cite { font-style: normal; font-weight: 600; font-size: .95rem; color: var(--ink); }
.quote footer span { font-size: .85rem; color: var(--text-soft); }

.quote-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.quote-nav button {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.quote-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.quote-nav svg { width: 18px; height: 11px; }
.quote-index { font-size: .8rem; letter-spacing: .12em; color: var(--text-soft); font-variant-numeric: tabular-nums; }

/* ---------- 13. FAQ ---------- */
.faq { padding-block: var(--space-section); background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq-head { position: sticky; top: 7rem; }
.faq-note { margin-top: 1.4rem; color: var(--text-soft); max-width: 20rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-h { margin: 0; font-size: inherit; }   /* h3-Wrapper um die Frage-Buttons */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: 400 1.08rem/1.4 var(--font-display);
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: var(--teal); }
.faq-q svg { width: 13px; height: 13px; flex: none; transition: transform .4s var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.5rem; color: var(--text-soft); max-width: 40rem; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- 14. CTA ---------- */
.cta {
  position: relative;
  background: var(--ink-2);
  color: var(--on-dark);
  padding-block: clamp(7rem, 14vw, 12rem);
  overflow: clip;
  text-align: center;
}
.cta-drift span {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .32;
  background: radial-gradient(circle, rgba(23,102,114,.9) 0%, transparent 65%);
  top: -20vmax; left: -15vmax;
  animation: drift-a 26s ease-in-out infinite alternate;
}
.cta-drift span:last-child {
  background: radial-gradient(circle, rgba(143,201,204,.5) 0%, transparent 65%);
  top: auto; left: auto;
  bottom: -25vmax; right: -12vmax;
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0); } to { transform: translate(12vmax, 8vmax); } }
@keyframes drift-b { from { transform: translate(0, 0); } to { transform: translate(-10vmax, -9vmax); } }

.cta-inner { position: relative; z-index: 1; }
.cta .label { color: var(--aqua); }
.cta-title { color: #fff; font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
.cta-sub {
  max-width: 34rem;
  margin: 2rem auto 0;
  color: var(--on-dark-soft);
  font-size: 1.05rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.cta-meta { margin-top: 2.4rem; font-size: .82rem; letter-spacing: .06em; color: var(--on-dark-soft); }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-brand .brand { color: var(--ink); margin-bottom: 1.4rem; }
.footer-brand p { color: var(--text-soft); font-size: .92rem; max-width: 24rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1.2rem;
}
.footer-col a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  padding: .28rem 0;
}
.footer-col a:hover { color: var(--teal); }
.footer-col a[href^="tel:"],
.footer-col a[href^="mailto:"] {
  padding-block: .4rem;
  display: inline-block;
}
.footer-col p { font-size: .92rem; color: var(--text-soft); margin-bottom: 1rem; }
.footer-hours { font-size: .84rem; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--text-soft);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------- 15b. Legal pages (Impressum / AGB) ---------- */
.subpage .site-header {
  background: rgba(251, 250, 246, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(8rem, 16vw, 11rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 2.5rem; }
.legal h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin: 3rem 0 1rem;
}
.legal h3 { font-size: 1.1rem; margin: 2rem 0 .7rem; font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.legal p, .legal li { color: var(--text); font-size: .96rem; margin-bottom: 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--teal); }
.legal .legal-meta { color: var(--text-soft); font-size: .88rem; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
  color: var(--text-soft);
  font-size: .85rem;
  text-decoration: none;
}
.legal-back:hover { color: var(--teal); }

/* ---------- 16. Reveal states & responsive nav ---------- */
[data-reveal], [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(2.2rem);
}
.no-js [data-reveal], .no-js [data-reveal-group] > *,
.reduced-motion [data-reveal], .reduced-motion [data-reveal-group] > * {
  opacity: 1;
  transform: none;
}

[data-hero-line] { transform: translateY(110%); }
[data-hero-item] { opacity: 0; transform: translateY(1.2rem); }
.reduced-motion [data-hero-line] { transform: none; }
.reduced-motion [data-hero-item] { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  .header-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; margin-left: 0; }
  .header-whatsapp { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sheen, .hero-scroll-hint svg, .cta-drift span { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  [data-reveal], [data-reveal-group] > *, [data-hero-item] { opacity: 1; transform: none; }
  [data-hero-line] { transform: none; }
  .process-step { opacity: 1; }
  .statement-text .w { opacity: 1; }
  .showcase-media { clip-path: none; }
}
