/* ============================================================
 * SPANDL.ai – Landing Page (Feature 001, v0.3)
 * Mobile-first. Nutzt Tokens aus design-system/tokens.css.
 * Lädt NACH tokens.css, base.css, components.css.
 *
 * Aufbau übernommen aus references/spandl-ai-startseite-aktualisiert.html
 * Polish-Layer: Whitespace +30%, subtile Gradients, weiche Hover-States,
 *               layered Shadows, animierte Tag-Pulse, Playfair-Polish.
 * ============================================================ */

/* ============================================================
 * Layout-Helfer
 * ============================================================ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6); /* 24 mobile */
}
.container--narrow { max-width: 760px; }

.section {
  padding: var(--space-8) 0; /* 48 mobile */
  background: var(--ink-900);
  color: var(--text);
}
.section--light {
  background: var(--beige);
  color: var(--ink-on-light);
}
.section--light .lead { color: var(--ink-on-light-mute); }

/* Sektions-Header */
.section-head {
  margin-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.section-head--center {
  text-align: center;
  align-items: center;
}
.section-head .tag { align-self: flex-start; }
.section-head--center .tag { align-self: center; }
.section-head h2 em {
  font-style: italic;
  color: var(--emerald);
}
.section--light .section-head h2 em { color: var(--emerald); }
.section:not(.section--light) .section-head h2 em { color: var(--emerald-hi); }

.section-head .lead { max-width: 60ch; margin-top: 0; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Smooth scroll – respektiert reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
:target { scroll-margin-top: 88px; }


/* ============================================================
 * Logo
 * ============================================================ */
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.logo__mark {
  width: 1.12em;
  height: 1.12em;
  margin-right: 8px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .logo:hover .logo__mark { transform: none; }
}
.logo__primary { color: var(--text); }
.logo__accent  { color: var(--emerald-hi); }
.section--light .logo__primary { color: var(--ink-on-light); }
.section--light .logo__accent  { color: var(--emerald); }


/* ============================================================
 * Sticky Header
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 28, 28, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border-dark);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.site-nav { display: none; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 245, 244, 0.7);
  padding: 8px 4px;
  transition: color .2s;
}
.site-nav a:hover { color: var(--text); }

.site-header__cta {
  /* Etwas kompakter im Header */
  padding: 12px 22px;
  font-size: 14px;
  display: none;            /* mobil versteckt – dafür der Burger-Button */
}

/* ------------------------------------------------------------
 * Burger-Button (nur < 768 px sichtbar)
 * ---------------------------------------------------------- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .2s;
}
.site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
 * Mobile-Navigation (Dropdown unter dem Header)
 * ---------------------------------------------------------- */
.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--space-6);
  transition: max-height .32s cubic-bezier(0.215, 0.61, 0.355, 1), padding .32s;
}
.site-header.is-open .mobile-nav {
  max-height: 84vh;
  padding: var(--space-3) var(--space-6) var(--space-6);
  border-top: 1px solid var(--border-dark);
}
.mobile-nav a {
  padding: 15px 2px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(245, 245, 244, 0.78);
  border-bottom: 1px solid var(--border-dark);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav__cta {
  margin-top: var(--space-4);
  padding: 15px 18px;
  text-align: center;
  color: var(--ink-900);
  background: linear-gradient(135deg, var(--emerald-hi), var(--emerald));
  border-radius: 8px;
  border-bottom: 0;
  font-weight: 600;
}
.mobile-nav__cta:hover { color: var(--ink-900); opacity: .92; }


/* ============================================================
 * 1 · Hero
 * ============================================================ */
.hero {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
  padding: var(--space-9) 0 var(--space-8);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(15, 118, 110, 0.18), transparent 60%),
    radial-gradient(40% 40% at 0% 80%, rgba(20, 184, 166, 0.10), transparent 70%),
    linear-gradient(160deg, var(--ink-900) 0%, #111111 50%, var(--ink-800) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6);
  max-width: 880px;
}

.hero .tag { margin-bottom: var(--space-6); }

.hero__headline {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
  max-width: 16ch;
}
.hero__gradient {
  background: linear-gradient(135deg, #14B8A6, #0F766E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}

.hero__slogan {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-hi);
  margin-bottom: var(--space-5);
  opacity: 0.92;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  margin-bottom: var(--space-7);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.hero__stats {
  margin: var(--space-9) 0 0;
  padding-top: var(--space-7);
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.hero__stat dt {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--emerald-hi);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.hero__stat dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-faint);
}


/* ============================================================
 * 2 · Warum KI? (Light)
 * ============================================================ */
.warum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.reason {
  background: var(--card-light);
  border-radius: var(--radius-comfortable);
  padding: var(--space-7) var(--space-6) var(--space-6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(28, 28, 28, 0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.reason:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
}
.reason__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--emerald);
  opacity: 0.18;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
}
.reason h3 {
  color: var(--ink-on-light);
  font-size: 22px;
  margin-bottom: var(--space-3);
}
.reason p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-on-light-mute);
}


/* ============================================================
 * 3 · Lösungen
 * ============================================================ */
.loesung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.loesung {
  background: var(--ink-800);
  border-radius: 14px;
  padding: var(--space-7) var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform .25s ease, border-color .25s ease;
}
.loesung:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.25);
}
.loesung__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.10);
  display: grid; place-items: center;
  color: var(--emerald-hi);
  margin-bottom: var(--space-3);
}
.loesung h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 4px;
}
.loesung__sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--emerald-hi);
  margin: 0 0 var(--space-3);
}
.loesung p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-dark);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  background-color: var(--emerald-hi);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}


/* ============================================================
 * 3b · Branchen-Fokus (zwei Karten, nutzt .loesung-Karten)
 * ============================================================ */
.branchen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
/* kleine Gewerke-Zeile unter der Beschreibung */
.branche__gewerke {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  margin: 0;
}
.branche__gewerke strong {
  color: var(--emerald-hi);
  font-weight: 600;
}


/* ============================================================
 * 4 · Vorgehen / Steps
 * ============================================================ */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-5);
}
.step {
  background: var(--ink-800);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
  transition: border-color .25s ease;
}
.step:hover { border-color: rgba(20, 184, 166, 0.25); }
.step__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--emerald);
  opacity: 0.35;
  line-height: 1;
}
.step__body { display: flex; flex-direction: column; gap: var(--space-3); }
.step__meta {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.step h3 { font-size: 22px; margin: 0; }
.step p { margin: 0; color: var(--text-mute); font-size: 15px; line-height: 1.65; }
.step__output {
  font-size: 14px;
  color: var(--text);
  padding-top: var(--space-3);
  margin-top: var(--space-3) !important;
  border-top: 1px dashed var(--border-dark);
}
.step__output span {
  color: var(--emerald-hi);
  font-weight: 600;
  margin-right: 4px;
}


/* ============================================================
 * 5 · Leistungen (6er-Grid, Light)
 * ============================================================ */
.leistung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.leistung {
  background: var(--card-light);
  border-radius: 14px;
  padding: var(--space-6) var(--space-6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: var(--ink-on-light);
}
.leistung:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(28, 28, 28, 0.10);
  border-color: rgba(15, 118, 110, 0.25);
}
.leistung__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.leistung__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.10);
  color: var(--emerald);
  flex-shrink: 0;
}
.leistung__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: rgba(15, 118, 110, 0.45);
}
.leistung h3 {
  font-size: 20px;
  margin: 0;
  color: var(--ink-on-light);
  line-height: 1.3;
}
.leistung p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-on-light-mute);
  flex-grow: 1;
}
.leistung__targets {
  margin-top: var(--space-3);
  font-size: 12px;
  color: rgba(28, 28, 28, 0.4);
  letter-spacing: 0.02em;
}

/* CTA-Karte (06. Position) – Smaragd-Gradient */
.leistung--cta {
  background: linear-gradient(135deg, var(--emerald) 0%, #0d5f58 100%);
  border: 0;
  color: #fff;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.leistung--cta:hover {
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.30);
  border: 0;
}
.leistung--cta h3 { color: #fff; }
.leistung--cta p { color: rgba(255, 255, 255, 0.78); }
.leistung__icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: var(--space-3);
}


/* ============================================================
 * 6 · Compliance (Light)
 * ============================================================ */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.compliance-card {
  background: var(--card-light);
  border-radius: 12px;
  padding: var(--space-6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--emerald);
  box-shadow: 0 1px 2px rgba(28, 28, 28, 0.04);
}
.compliance-card h3 {
  color: var(--ink-on-light);
  font-size: 18px;
  margin-bottom: var(--space-3);
}
.compliance-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-on-light-mute);
}


/* ============================================================
 * 7 · Testimonial
 * ============================================================ */
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink-800);
  border-radius: 16px;
  padding: var(--space-7) var(--space-6);
  border: 1px solid rgba(15, 118, 110, 0.20);
  position: relative;
  box-shadow: var(--shadow-med);
}
.testimonial__quote {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: var(--emerald);
  opacity: 0.4;
}
.testimonial__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.testimonial__avatar {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-hi));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
/* Foto-Variante: Portrait statt Initialen */
img.testimonial__avatar {
  object-fit: cover;
  background: none;
}
.testimonial__head h4 {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 2px;
}
.testimonial__head p {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}
.testimonial blockquote {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 245, 244, 0.78);
  font-style: italic;
  margin: 0 0 var(--space-6);
  quotes: "„" """;
}
.testimonial blockquote::before { content: open-quote; }
.testimonial blockquote::after  { content: close-quote; }

.testimonial__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-dark);
}
.testimonial__stats {
  display: flex;
  gap: var(--space-6);
  margin: 0;
}
.testimonial__stats div { display: flex; flex-direction: column; gap: 2px; }
.testimonial__stats dt {
  order: 2;
  font-size: 12px;
  color: var(--text-faint);
}
.testimonial__stats dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--emerald-hi);
}
.testimonial__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--emerald-hi);
  transition: color .2s;
}
.testimonial__link:hover { color: var(--text); }


/* ============================================================
 * 8 · CTA-Banner
 * ============================================================ */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--emerald) 0%, #0d5f58 100%);
  text-align: center;
  padding: var(--space-9) var(--space-6);
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(20, 184, 166, 0.25), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 auto var(--space-7);
  max-width: 56ch;
}
.cta-banner__btn {
  background: #fff !important;
  color: var(--emerald) !important;
  font-weight: 700;
  padding: 16px 36px;
}
.cta-banner__btn:hover {
  background: #f5f5f4 !important;
  transform: translateY(-1px);
}
.cta-banner__trust {
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.cta-banner__trust li::before {
  content: "✓ ";
  color: #fff;
  font-weight: 700;
  margin-right: 4px;
}


/* ============================================================
 * 9 · Über Sarah (Light, 2-Spalten)
 * ============================================================ */
.sarah {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.sarah__text { display: flex; flex-direction: column; gap: var(--space-4); }
.sarah__text .tag { align-self: flex-start; }
.sarah__text h2 { margin-bottom: var(--space-2); }
.sarah__text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-on-light-mute);
  margin: 0;
}
.sarah__anchors {
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--ink-on-light-mute);
}
.sarah__anchors li {
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.sarah__anchors li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.sarah__anchors strong { color: var(--ink-on-light); font-weight: 700; }

.sarah__portrait {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 12px 32px rgba(28, 28, 28, 0.15);
}
.sarah__portrait::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, var(--ink-900), transparent);
  pointer-events: none;
}
.sarah__portrait-mock {
  color: rgba(245, 245, 244, 0.18);
  position: relative;
  z-index: 1;
}
.sarah__portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bild ist bereits exakt auf 3:4 zugeschnitten -> kein Versatz noetig */
  object-position: center;
  z-index: 0;
  display: block;
}
.sarah__portrait figcaption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sarah__portrait figcaption strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.sarah__portrait figcaption span {
  font-size: 14px;
  font-weight: 500;
  color: var(--emerald-hi);
}


/* ============================================================
 * 10 · FAQ
 * ============================================================ */
.faq { margin-top: var(--space-7); }
.faq__item {
  border-top: 1px solid var(--border-dark);
  padding: var(--space-3) 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--border-dark); }
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  color: var(--text);
  transition: color .2s;
}
.faq__item summary:hover { color: var(--emerald-hi); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  background-color: var(--text-mute);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'><line x1='12' y1='6' x2='12' y2='18'/><line x1='6' y1='12' x2='18' y2='12'/></svg>") no-repeat center / 14px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'><line x1='12' y1='6' x2='12' y2='18'/><line x1='6' y1='12' x2='18' y2='12'/></svg>") no-repeat center / 14px;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.faq__item[open] summary::after {
  background-color: var(--emerald-hi);
  border-color: var(--emerald-hi);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'><line x1='6' y1='12' x2='18' y2='12'/></svg>") no-repeat center / 14px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'><line x1='6' y1='12' x2='18' y2='12'/></svg>") no-repeat center / 14px;
  transform: rotate(180deg);
}
.faq__item summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}
.faq__item p {
  margin: 0 0 var(--space-3);
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.7;
  max-width: 64ch;
}


/* ============================================================
 * Footer
 * ============================================================ */
.site-footer {
  background: var(--ink-900);
  border-top: 1px solid var(--border-dark);
  padding: var(--space-8) 0 var(--space-6);
  color: rgba(245, 245, 244, 0.55);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--border-dark);
}
.site-footer__brand p {
  margin: var(--space-4) 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 244, 0.45);
  max-width: 280px;
}
.site-footer h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 244, 0.4);
  margin: 0 0 var(--space-4);
  font-family: var(--font);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.site-footer a {
  font-size: 14px;
  color: rgba(245, 245, 244, 0.55);
  transition: color .2s;
}
.site-footer a:hover { color: var(--text); }
.site-footer a.accent { color: var(--emerald-hi); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: 12px;
  color: rgba(245, 245, 244, 0.32);
}


/* ============================================================
 * Responsive: ≥ 640 px (Phablet)
 * ============================================================ */
@media (min-width: 640px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stat dt { font-size: 32px; }

  .warum-grid,
  .leistung-grid,
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial__foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ============================================================
 * Responsive: ≥ 768 px (Tablet)
 * ============================================================ */
@media (min-width: 768px) {
  .container { padding: 0 var(--space-7); }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: var(--space-8); }

  .site-nav { display: flex; gap: var(--space-6); }
  .site-header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }

  .hero { padding: 140px 0 100px; }
  .hero__inner { padding: 0 var(--space-7); }
  .hero__lead { font-size: 19px; }

  .warum-grid,
  .loesung-grid,
  .leistung-grid { grid-template-columns: repeat(3, 1fr); }

  .branchen-grid { grid-template-columns: repeat(2, 1fr); }

  .step {
    grid-template-columns: auto 1fr;
    gap: var(--space-6);
    padding: var(--space-7);
  }
  .step__num { font-size: 64px; }

  .sarah { grid-template-columns: 1.1fr 1fr; gap: var(--space-9); }
  .sarah__anchors { grid-template-columns: 1fr 1fr; }

  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .testimonial { padding: var(--space-8); }
}


/* ============================================================
 * Responsive: ≥ 1120 px (Desktop)
 * ============================================================ */
@media (min-width: 1120px) {
  .container { padding: 0 var(--space-9); }
  .section { padding: 120px 0; }
  .hero { padding: 160px 0 120px; }

  .compliance-grid { grid-template-columns: repeat(4, 1fr); }

  /* Headlines etwas mehr Atem auf Desktop */
  .hero__headline { font-size: clamp(56px, 6.5vw, 76px); }
}


/* ============================================================
 * SUB-PAGES (leistungen.html · ueber-uns.html · buchung.html)
 * Wiederverwendbare Patterns für Unterseiten. Nutzt dieselben
 * Tokens und Komponenten wie die Startseite.
 * ============================================================ */

/* ---------- Subpage-Hero (kompakter Hero für Unterseiten) ---------- */
.subhero {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
  padding: var(--space-9) 0 var(--space-8);
  text-align: center;
}
.subhero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(15, 118, 110, 0.18), transparent 65%),
    radial-gradient(40% 40% at 10% 90%, rgba(20, 184, 166, 0.08), transparent 70%),
    linear-gradient(160deg, var(--ink-900) 0%, #111111 50%, var(--ink-800) 100%);
  pointer-events: none;
}
.subhero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.subhero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 18ch;
}
.subhero h1 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, #14B8A6, #0F766E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.subhero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 56ch;
  margin: 0;
}

/* ---------- Leistung-Detail: zweispaltige Sektion ---------- */
.leistung-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.leistung-detail__num {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.leistung-detail__num-badge {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.section--light .leistung-detail__num-badge { background: var(--emerald); }
.section:not(.section--light) .leistung-detail__num-badge { background: var(--emerald-hi); }
.leistung-detail__num-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-hi);
}
.section--light .leistung-detail__num-label { color: var(--emerald); }
.leistung-detail h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.leistung-detail h2 em {
  font-style: italic;
  color: var(--emerald);
}
.section:not(.section--light) .leistung-detail h2 em { color: var(--emerald-hi); }
.leistung-detail p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 var(--space-5);
}
.section--light .leistung-detail p { color: var(--ink-on-light-mute); }
.section:not(.section--light) .leistung-detail p { color: var(--text-mute); }
.leistung-detail .check-list {
  border-top: none;
  margin: var(--space-3) 0 var(--space-5);
  padding-top: 0;
}
.section--light .check-list li { color: var(--ink-on-light-mute); }
.section--light .check-list li::before { background-color: var(--emerald); }

.leistung-detail__quote {
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--emerald);
  border-radius: 0 8px 8px 0;
  background: rgba(15, 118, 110, 0.06);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.section--light .leistung-detail__quote { color: var(--ink-on-light-mute); }
.section:not(.section--light) .leistung-detail__quote {
  border-left-color: var(--emerald-hi);
  background: rgba(20, 184, 166, 0.06);
  color: var(--text-mute);
}

.leistung-detail__visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-med);
}
.leistung-detail__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), transparent);
}
.leistung-detail__visual svg {
  position: relative;
  z-index: 1;
  color: var(--emerald-hi);
  opacity: 0.85;
}
.leistung-detail__visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .leistung-detail { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .leistung-detail--mirror .leistung-detail__visual { order: -1; }
}

/* ---------- Mini-Prozess (kompakte 4-Schritt-Übersicht) ---------- */
.process-mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}
.process-mini__item { text-align: center; }
.process-mini__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.30);
  display: grid; place-items: center;
  margin: 0 auto var(--space-4);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--emerald-hi);
}
.process-mini__item h4 {
  font-size: 16px;
  margin-bottom: var(--space-2);
  color: var(--text);
}
.process-mini__item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-faint);
  margin: 0;
}
@media (min-width: 768px) {
  .process-mini { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
}

/* ---------- Werte-Grid (für Über-uns) ---------- */
.werte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.wert {
  background: var(--ink-800);
  border-radius: 14px;
  padding: var(--space-7) var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.wert:hover { transform: translateY(-3px); border-color: rgba(20, 184, 166, 0.25); }
.wert__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.10);
  display: grid; place-items: center;
  margin: 0 auto var(--space-5);
  color: var(--emerald-hi);
}
.wert h3 {
  font-size: 20px;
  margin-bottom: var(--space-3);
  color: var(--text);
}
.wert p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
  margin: 0;
}
@media (min-width: 640px) { .werte-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .werte-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Story-Block (narrow, Lesefluss) ---------- */
.story { max-width: 720px; margin: 0 auto; }
.story p {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 var(--space-5);
}
.section--light .story p { color: var(--ink-on-light-mute); }
.story p:last-child { margin-bottom: 0; }

/* ---------- Region-Sektion (Über uns) ---------- */
.region {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.region__visual {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  color: var(--emerald-hi);
  box-shadow: var(--shadow-med);
}
.region__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), transparent);
}
.region__visual svg { position: relative; z-index: 1; opacity: 0.85; }
.region h2 em { font-style: italic; color: var(--emerald); }
.region__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-5);
}
.region__stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.1;
}
.region__stat-label {
  font-size: 13px;
  color: var(--ink-on-light-faint);
  margin-top: 2px;
}
@media (min-width: 768px) {
  .region { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
}

/* ---------- Founder-Quote-Card ---------- */
.founder-quote {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink-800);
  border-radius: 16px;
  padding: var(--space-8) var(--space-7);
  border: 1px solid rgba(15, 118, 110, 0.20);
  position: relative;
  box-shadow: var(--shadow-med);
}
.founder-quote__quote-icon {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: var(--emerald);
  opacity: 0.4;
}
.founder-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(245, 245, 244, 0.85);
  margin: 0 0 var(--space-6);
  quotes: "„" """;
}
.founder-quote blockquote::before { content: open-quote; }
.founder-quote blockquote::after  { content: close-quote; }
.founder-quote__attrib {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.founder-quote__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-hi));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.founder-quote__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.founder-quote__role {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

/* ---------- Buchung-Layout ---------- */
.buchung {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}
.buchung__benefits h2 {
  font-size: 24px;
  margin-bottom: var(--space-3);
}
.buchung__intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-on-light-mute);
  margin: 0 0 var(--space-7);
}
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.benefit {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.benefit__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.10);
  display: grid; place-items: center;
  color: var(--emerald);
}
.benefit h4 {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink-on-light);
}
.benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-on-light-mute);
}
.buchung__trust {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.buchung__trust-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  display: grid; place-items: center;
  color: rgba(245, 245, 244, 0.5);
  flex-shrink: 0;
  overflow: hidden;
}
.buchung__trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.buchung__trust-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-on-light);
  margin: 0;
}
.buchung__trust-role {
  font-size: 13px;
  color: var(--ink-on-light-faint);
  margin: 0;
}

.buchung__card {
  background: var(--card-light);
  border-radius: 16px;
  padding: var(--space-7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.buchung__card h3 {
  color: var(--ink-on-light);
  font-size: 22px;
  margin-bottom: var(--space-4);
}
.buchung__card p {
  margin: 0 0 var(--space-5);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-on-light-mute);
}
.buchung__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.buchung__option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--beige);
  color: var(--ink-on-light);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.buchung__alt {
  margin: var(--space-5) 0 var(--space-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-on-light-mute);
}
.buchung__option--soon {
  opacity: 0.55;
  cursor: default;
}
.buchung__option--soon:hover {
  border-color: rgba(0, 0, 0, 0.08);
  transform: none;
}
.buchung__option:hover {
  border-color: var(--emerald);
  transform: translateY(-1px);
  background: #fff;
}
.buchung__option-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--emerald);
  color: #fff;
  display: grid; place-items: center;
}
.buchung__option-text { flex: 1; }
.buchung__option-text strong {
  font-family: var(--font);
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.buchung__option-text span {
  font-size: 13px;
  color: var(--ink-on-light-faint);
}
.buchung__option-arrow {
  flex-shrink: 0;
  color: var(--emerald);
  transition: transform .25s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.buchung__option:hover .buchung__option-arrow { transform: translateX(4px); }

.buchung__hint {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.06);
  border: 1px dashed rgba(15, 118, 110, 0.25);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-on-light-mute);
}

@media (min-width: 960px) {
  .buchung { grid-template-columns: 340px 1fr; gap: var(--space-9); }
}

/* ---------- Übergang Sub-Hero → erste Sektion ---------- */
.subhero + .section { padding-top: var(--space-8); }

/* ---------- Legal-Pages (Impressum, Datenschutz, AGB) ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
}
.legal__group {
  margin-bottom: var(--space-8);
}
.legal__group:last-child { margin-bottom: 0; }
.legal__group h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-dark);
}
.legal__group h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--text);
}
.legal__group p,
.legal__group address {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mute);
  margin: 0 0 var(--space-4);
  font-style: normal;
}
.legal__group p:last-child,
.legal__group address:last-child { margin-bottom: 0; }
.legal__group a {
  color: var(--emerald-hi);
  text-decoration: underline;
  text-decoration-color: rgba(20, 184, 166, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s, color .2s;
}
.legal__group a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}
.legal__placeholder {
  background: rgba(245, 165, 36, 0.10);
  border: 1px dashed rgba(245, 165, 36, 0.40);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 4px;
}
.legal__dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: 0 0 var(--space-4);
}
.legal__dl dt {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.legal__dl dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.6;
}
@media (min-width: 640px) {
  .legal__dl { grid-template-columns: 200px 1fr; gap: var(--space-3) var(--space-6); }
  .legal__dl dd { margin-top: 0; }
}

/* ---------- Sarah-Layout im Hero (für Über-uns) ---------- */
.hero .sarah { grid-template-columns: 1fr; gap: var(--space-7); }
.hero .sarah__text h2 { color: var(--text); }
.hero .sarah__text h2 em {
  font-style: italic;
  background: linear-gradient(135deg, #14B8A6, #0F766E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .sarah__text p { color: var(--text-mute); }
@media (min-width: 768px) {
  .hero .sarah { grid-template-columns: 1.1fr 1fr; gap: var(--space-9); align-items: center; }
}


/* ============================================================
 * ============================================================
 * Animationen – Polish-Layer
 * Easing-Kurve „easeOutExpo-light": cubic-bezier(0.215, 0.61, 0.355, 1)
 * fühlt sich gesetzt, nicht hektisch an. Wege bleiben kurz (16–24 px),
 * Opacity 0 → 1, niemals Overshoot.
 * ============================================================
 * ============================================================ */

/* Reduced-Motion: alle dekorativen Bewegungen abschalten */
@media (prefers-reduced-motion: reduce) {
  .hero__inner > *,
  .reveal,
  .btn svg,
  .testimonial__link svg,
  .faq__item summary::after,
  .leistung--cta:hover,
  .reason:hover,
  .loesung:hover,
  .step:hover,
  .leistung:hover,
  .compliance-card:hover {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- 1 · Hero-Cascade beim Laden ----------
 * Tag → Headline → Slogan → Lead → Buttons → Stats
 * gestaffelt mit ~120 ms Versatz. Vermittelt „Seite setzt sich".
 */
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  }
  .hero__inner > .tag             { animation-delay: 0.08s; }
  .hero__inner > .hero__headline  { animation-delay: 0.20s; }
  .hero__inner > .hero__slogan    { animation-delay: 0.34s; }
  .hero__inner > .hero__lead      { animation-delay: 0.46s; }
  .hero__inner > .hero__actions   { animation-delay: 0.60s; }
  .hero__inner > .hero__stats     { animation-delay: 0.74s; }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero-Hintergrund-Aurora: sehr langsamer Schein-Verlauf,
 * 24 s Zyklus, kaum wahrnehmbar – aber das Auge spürt es. */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg {
    animation: heroAurora 24s ease-in-out infinite alternate;
  }
}
@keyframes heroAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-1.5%, -1%, 0) scale(1.03); }
  100% { transform: translate3d(1%, 0.5%, 0) scale(1.02); }
}

/* Headline-Gradient: kaum sichtbares Schimmern auf „KI-ready." */
@media (prefers-reduced-motion: no-preference) {
  .hero__gradient {
    background-size: 200% 100%;
    animation: shimmer 8s ease-in-out infinite;
  }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}


/* ---------- 2 · Scroll-Reveal ----------
 * Elemente erscheinen fade+up, sobald sie in den Viewport scrollen.
 * Stagger-Verzögerung pro Karte via JS-gesetztem --reveal-delay.
 */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.85s cubic-bezier(0.215, 0.61, 0.355, 1),
      transform 0.85s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------- 3 · Button-Mikro-Interaktion ----------
 * Pfeil-Icon wandert beim Hover ~4 px nach rechts. Klassisches Detail. */
.btn svg,
.testimonial__link svg {
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.btn:hover svg,
.testimonial__link:hover svg {
  transform: translateX(4px);
}
.btn:active svg { transform: translateX(2px); }

/* Erweiterter Button-Hover: dezenter Smaragd-Schein */
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
}


/* ---------- 4 · Karten-Hover-Verfeinerung ----------
 * Bestehende Hover-States bekommen eine Smaragd-Aura.
 * Layered: 1 px inset glow + 12 px outer drop. */
.loesung,
.step,
.reason,
.leistung,
.compliance-card,
.testimonial {
  transition:
    transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    border-color 0.3s ease,
    box-shadow 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.loesung:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow:
    0 0 0 1px rgba(20, 184, 166, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.35);
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.30);
  box-shadow:
    0 0 0 1px rgba(20, 184, 166, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.28);
}
.reason:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(15, 118, 110, 0.10),
    0 16px 40px rgba(28, 28, 28, 0.10);
}
.reason:hover .reason__num {
  opacity: 0.32;
  transition: opacity 0.45s ease;
}
.reason__num { transition: opacity 0.45s ease; }

.leistung:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.30);
  box-shadow:
    0 0 0 1px rgba(15, 118, 110, 0.12),
    0 16px 40px rgba(28, 28, 28, 0.12);
}
.leistung--cta:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(15, 118, 110, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.leistung__icon-circle {
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.leistung--cta:hover .leistung__icon-circle {
  transform: scale(1.08) rotate(5deg);
}

.compliance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(28, 28, 28, 0.10);
}

.testimonial:hover {
  border-color: rgba(15, 118, 110, 0.35);
}


/* ---------- 5 · FAQ-Content sanft öffnen ----------
 * Wenn ein FAQ-Item geöffnet wird, fadet der Inhalt sanft auf
 * und gleitet leicht nach unten ins Bild. */
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p {
    animation: faqContentIn 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}
@keyframes faqContentIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ---------- 6 · Underline-Reveal auf Footer-Links ----------
 * Subtile Andeutung, dass etwas klickbar ist. */
.site-footer a:not(.accent) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.2s;
  padding-bottom: 2px;
}
.site-footer a:not(.accent):hover {
  background-size: 100% 1px;
  color: var(--text);
}


/* ---------- 7 · Header Nav Hover-Underline ----------
 * Smaragd-Linie wächst von links beim Hover. */
.site-nav a {
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 1px;
  background: var(--emerald-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.site-nav a:hover::after {
  transform: scaleX(1);
}


/* ---------- 8 · Testimonial-Avatar Mikro-Detail ----------
 * Beim Hover des gesamten Testimonials dreht sich das Avatar-Quadrat
 * minimal und das Quote-Icon wird kräftiger. */
.testimonial__avatar {
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.testimonial:hover .testimonial__avatar {
  transform: rotate(-3deg) scale(1.05);
}
.testimonial__quote {
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.testimonial:hover .testimonial__quote {
  opacity: 0.7;
  transform: scale(1.05);
}


/* ---------- 9 · Logo-Hover ----------
 * .ai-Akzent „atmet" beim Hover, wechselt nicht die Farbe. */
.logo {
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.85; }


/* ---------- 10 · CTA-Banner Button-Glow ----------
 * Der weiße Button auf Smaragd bekommt einen weichen Schein. */
.cta-banner__btn {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.cta-banner__btn:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20), 0 0 0 6px rgba(255, 255, 255, 0.08);
}


/* ============================================================
 * 11 · Marken-Visuals (generierte Bilder im Werkstatt-Holo-Stil)
 * ============================================================ */

/* ---------- Hero-Showcase (Startseite, direkt unter dem Hero) ---------- */
.hero-showcase {
  background: var(--ink-900);
  padding: 0 0 var(--space-9);
}
.hero-showcase .container { max-width: var(--maxw); }
.hero-showcase__frame {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-med);
}
.hero-showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-showcase__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(20, 184, 166, 0.12), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(28, 28, 28, 0.35));
  pointer-events: none;
}

/* ---------- Branchen-Karten-Bild (Startseite) ---------- */
.branche__media {
  margin: calc(var(--space-7) * -1) calc(var(--space-6) * -1) var(--space-5);
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
}
.branche__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.branche__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 42, 42, 0.65));
  pointer-events: none;
}
.loesung.branche:hover .branche__media img { transform: scale(1.04); }

/* ---------- Region-Bild (Über uns) ---------- */
.region__visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Sub-Hero-Hintergrundbild (Leistungen, Buchung) ---------- */
.subhero__bg { z-index: 0; }
.subhero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.10) 44%, #000 82%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.10) 44%, #000 82%);
}
.subhero__inner { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .loesung.branche:hover .branche__media img { transform: none; }
}
