/* ============================================================
   SONNE — Gebäude Service Sonne GmbH + Gebäude Energiesanierung Sonne GmbH
   Design-System: hell, warm, freundlich ("Sonne"), cinematische Motion
   (GSAP / ScrollTrigger / Lenis). Geruest nach hv-krone, Look eigenstaendig.
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* ===VARIANTE:rot===
   Variante "rot": GSS-Rot fuehrt, die Sonne ist komplett rot
   (wie das GSS-Logo). Gruen bleibt als GES-Kennfarbe erhalten. */
:root {
  --bg: #fdfaf4;
  --bg-raised: #f6efe2;
  --ink: #211a16;
  --ink-dim: #71675c;
  --line: rgba(33, 26, 22, 0.13);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(33, 26, 22, 0.09);
  --shadow: 0 24px 60px -24px rgba(33, 26, 22, 0.16);

  --ges: #2f8f3f;
  --ges-deep: #1d6b2c;
  --gss: #d3372c;
  --gss-deep: #a8241b;

  --accent: #d3372c;
  --accent-deep: #a8241b;
  --accent-soft: rgba(168, 36, 27, 0.3);

  --sun-g1: #f0563f;
  --sun-g2: #d3372c;
  --sun-g3: #a8241b;
  --sun-r1: #ff6a4d;
  --sun-r2: #e04434;
  --sun-r3: #8f1d15;
}
/* ===/VARIANTE=== */

:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-text: 'Inter', system-ui, sans-serif;
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --radius: 10px;
}

/* Bereichs-Kennfarbe: Sektionen/Karten tragen die Farbe ihrer Firma */
.b-ges { --b: var(--ges); --b-deep: var(--ges-deep); }
.b-gss { --b: var(--gss); --b-deep: var(--gss-deep); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-text);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
}
.b-ges .eyebrow, .eyebrow.b-ges { color: var(--ges-deep); }
.b-ges .eyebrow::before, .eyebrow.b-ges::before { background: var(--ges); }
.b-gss .eyebrow, .eyebrow.b-gss { color: var(--gss-deep); }
.b-gss .eyebrow::before, .eyebrow.b-gss::before { background: var(--gss); }

/* ---------- Sonnen-Bildmarke (echtes Logo, rote Sonne — unveraendert) ---------- */
.sonne { display: block; object-fit: contain; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Wortmarke wie das Original-Logo: rote Sonne oben, Textzeilen zentriert
   darunter (Typografie an das Logo angelehnt: Arial, Versalien). */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 102;
  position: relative;
}
.brand-sonne { width: 3.7rem; height: 2.55rem; flex-shrink: 0; object-fit: contain; }
.brand-lines {
  display: block;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand-lines span { display: block; }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 102;
  position: relative;
  padding: 0.5rem 0;
}
.menu-toggle .bars { width: 2.2rem; height: 12px; position: relative; }
.menu-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1), top 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.menu-toggle .bars span:first-child { top: 0; }
.menu-toggle .bars span:last-child { top: 10px; }
body.menu-open .menu-toggle .bars span:first-child { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-toggle .bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Fullscreen-Menue ---------- */
.fullmenu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(253, 251, 245, 0.9);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 0 var(--pad-x);
  visibility: hidden;
  opacity: 0;
}
.fullmenu-nav li { overflow: hidden; }
.fullmenu-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.16;
  color: var(--ink);
  transition: color 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.fullmenu-nav a:hover { color: var(--accent-deep); transform: translateX(1.2rem); }
.fullmenu-nav a .idx {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  vertical-align: super;
  margin-right: 1rem;
}
.fullmenu-aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 3.5rem);
  color: var(--ink-dim);
  font-size: 0.92rem;
  display: grid;
  gap: 1.6rem;
}
.fullmenu-aside strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.fullmenu-aside a:hover { color: var(--accent-deep); }
@media (max-width: 860px) {
  .fullmenu { grid-template-columns: 1fr; align-content: center; gap: 3rem; }
  .fullmenu-aside { border-left: 0; padding-left: 0; }
}

/* ---------- Hero ----------
   Startet OHNE Bildsequenz: warmes Licht aus CSS + grosse Sonnen-Marke.
   Sobald Higgsfield-Frames freigegeben sind, uebernimmt der Canvas-Scrubber
   (data-scrub-canvas) — das Markup traegt beides, main.js schaltet um. */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--pad-x) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(255, 214, 130, 0.55) 0%, rgba(255, 214, 130, 0) 55%),
    radial-gradient(90% 70% at 20% 90%, rgba(240, 86, 63, 0.10) 0%, rgba(240, 86, 63, 0) 60%),
    radial-gradient(100% 80% at 85% 80%, rgba(47, 143, 63, 0.12) 0%, rgba(47, 143, 63, 0) 60%),
    linear-gradient(180deg, #fdf8ec 0%, var(--bg) 100%);
}
.hero-media canvas,
.hero-media img.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .hero-fallback { z-index: 0; }
.hero-media canvas { z-index: 1; }
.hero-media::after { z-index: 2; }
.hero-media.hat-bild::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: var(--scrim, 1);
  background:
    linear-gradient(180deg,
      rgba(253, 251, 245, 0.78) 0%,
      rgba(253, 251, 245, 0.30) 14%,
      rgba(253, 251, 245, 0.04) 40%,
      rgba(253, 251, 245, 0.55) 62%,
      rgba(253, 251, 245, 0.88) 82%,
      rgba(253, 251, 245, 0.98) 100%);
}
/* Grosse, halb angeschnittene Sonne rechts oben — nur solange kein Video da ist */
.hero-sonne {
  position: absolute;
  top: clamp(-9rem, -12vw, -5rem);
  right: clamp(-9rem, -12vw, -5rem);
  width: clamp(20rem, 42vw, 38rem);
  height: clamp(20rem, 42vw, 38rem);
  opacity: 0.9;
  z-index: -1;
}
.hero-inner { max-width: 68rem; position: relative; }
.hero h1 {
  font-size: clamp(2.5rem, 6.8vw, 6rem);
  margin: 1.4rem 0 1.6rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}
.hero p.lead {
  max-width: 36rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero-phase {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(3rem, 8vh, 6rem);
  max-width: 40rem;
  opacity: 0;
  pointer-events: none;
  /* Video-Szenen sind teils sehr hell (Putz, Schuttsaecke) — ohne dunkles
     Panel ist weisser Text dort unlesbar (Live-Befund 2026-07-15). */
  padding: 1.3rem 2.2rem 1.5rem 1.6rem;
  border-radius: 10px;
  background: linear-gradient(100deg,
    rgba(22, 20, 14, 0.66) 0%,
    rgba(22, 20, 14, 0.45) 60%,
    rgba(22, 20, 14, 0) 100%);
}
.hero-phase .eyebrow { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.hero-phase .eyebrow::before { background: #fff; }
.hero-phase h2 {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}
.hero-phase p {
  margin-top: 1rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero-progress {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
}
.hp-track {
  position: relative;
  width: 2px;
  height: clamp(7rem, 20vh, 11rem);
  background: rgba(32, 28, 20, 0.25);
  border-radius: 2px;
}
.hp-fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0%;
  background: var(--accent-deep);
  border-radius: 2px;
}
.hp-dot {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(32, 28, 20, 0.4);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hp-dot.an { background: var(--accent-deep); border-color: var(--accent-deep); }

/* KI-Kennzeichnung (EU AI Act Art. 50) — dezent, aber auf jedem Grund lesbar */
.hero-ki-hinweis {
  position: absolute;
  left: var(--pad-x);
  bottom: 0.9rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  background: rgba(253, 251, 245, 0.72);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.hero-scrollhint {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(3rem, 8vh, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-dim);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scrollhint::after {
  content: '';
  width: 1px;
  height: 4rem;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.page-body {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* ---------- Sektionen ---------- */
section { padding: clamp(4.5rem, 11vh, 9rem) var(--pad-x); position: relative; }
section.tight { padding-top: clamp(2.5rem, 6vh, 4rem); }
.section-head { max-width: 60rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.6rem); margin-top: 1.3rem; }
.section-head p { color: var(--ink-dim); max-width: 40rem; margin-top: 1.2rem; }
.prose { max-width: 44rem; color: var(--ink-dim); display: grid; gap: 1.2rem; }
.prose strong { color: var(--ink); }
.bg-raised { background: var(--bg-raised); }

/* Zahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg); padding: clamp(1.8rem, 3vw, 3rem); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  color: var(--accent-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .num sup { font-size: 0.45em; }
.stat .label {
  margin-top: 0.8rem;
  color: var(--ink-dim);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* Karten */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
}
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.6rem);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(32, 28, 20, 0.12);
}
.card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); }
.card .icon {
  width: 2.3rem;
  height: 2.3rem;
  color: var(--b-deep, var(--accent-deep));
  margin-bottom: 1.4rem;
}
.card .icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.32rem; margin-bottom: 0.8rem; }
.card p { color: var(--ink-dim); font-size: 0.94rem; }
.card figure {
  margin: -0.4rem 0 1.4rem;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-raised);
}
.card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(30px) scale(1.04);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover figure img { transform: translateZ(30px) scale(1.1); }
.card .b-band {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--b, var(--accent));
}

/* Bereichs-Einstieg (zwei grosse Kacheln GSS / GES) */
.bereiche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}
@media (max-width: 860px) { .bereiche { grid-template-columns: 1fr; } }
.bereich {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-top: 5px solid var(--b, var(--accent));
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 3rem);
  background: var(--bg);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.bereich:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--b, var(--accent)); }
.bereich .firma {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-deep, var(--accent-deep));
}
.bereich h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-top: 0.9rem; }
.bereich p { color: var(--ink-dim); margin-top: 1rem; }
.bereich ul { margin-top: 1.2rem; display: grid; gap: 0.4rem; color: var(--ink-dim); font-size: 0.94rem; }
.bereich ul li { padding-left: 1.4rem; position: relative; }
.bereich ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--b, var(--accent));
}
.bereich .fs-mehr { margin-top: 1.8rem; color: var(--b-deep, var(--accent-deep)); }

/* Editorial / Bildsplit */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.editorial-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-raised);
  box-shadow: var(--shadow);
}
.editorial-media img { width: 100%; height: 105%; object-fit: cover; }
.editorial h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); margin-top: 1.3rem; }
.editorial .prose { margin-top: 1.4rem; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }

/* Platzhalter fuer Fotos, die noch fehlen (Team/Baustellen).
   Ehrlich als Platzhalter erkennbar, kein Fake-Bild. */
.platzhalter {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(32, 28, 20, 0.03) 14px 28px),
    var(--bg-raised);
  color: var(--ink-dim);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.platzhalter .sonne { width: 3rem; height: 3rem; opacity: 0.35; margin-bottom: 0.8rem; }

/* Seitenkopf ohne Bild (Unterseiten) */
.seitenkopf {
  padding: clamp(9rem, 16vh, 12rem) var(--pad-x) clamp(2.5rem, 5vh, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.seitenkopf h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  max-width: 24ch;
}
.seitenkopf p.lead { margin-top: 1.4rem; max-width: 40rem; color: var(--ink-dim); }
.seitenkopf .kopf-sonne {
  position: absolute;
  top: clamp(-7rem, -9vw, -4rem);
  right: clamp(-7rem, -9vw, -4rem);
  width: clamp(14rem, 26vw, 24rem);
  height: clamp(14rem, 26vw, 24rem);
  opacity: 0.16;
  pointer-events: none;
}

.zurueck {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.6rem;
  color: var(--ink-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.zurueck:hover { color: var(--accent-deep); }
.zurueck svg { width: 1rem; height: 1rem; }

/* Jobs-Liste */
.feature-list { display: grid; gap: 0; max-width: 56rem; }
.feature-list li { border-bottom: 1px solid var(--line); }
.feature-list li > a {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 1.4rem;
  padding: 1.6rem 0;
  align-items: baseline;
  color: inherit;
}
.feature-list .no {
  font-family: var(--font-display);
  color: var(--b-deep, var(--accent-deep));
  font-size: 1.1rem;
}
.feature-list h3 { font-size: 1.15rem; margin-bottom: 0.3rem; transition: color 0.25s ease; }
.feature-list p { color: var(--ink-dim); font-size: 0.92rem; }
.feature-list li > a:hover h3 { color: var(--b-deep, var(--accent-deep)); }
.feature-list .tag {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.feature-list .tag.b-ges { color: var(--ges-deep); border-color: var(--ges); }
.feature-list .tag.b-gss { color: var(--gss-deep); border-color: var(--gss); }
.mw-pfeil {
  align-self: center;
  color: var(--ink-dim);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.feature-list li > a:hover .mw-pfeil,
.feature-list li > a:focus-visible .mw-pfeil {
  opacity: 1;
  transform: translateX(0);
  color: var(--b-deep, var(--accent-deep));
}
@media (max-width: 620px) {
  .feature-list li > a { grid-template-columns: 2.4rem 1fr; }
  .mw-pfeil { grid-column: 2; opacity: 1; transform: none; margin-top: 0.5rem; }
}

/* Ablauf / Haken */
.ablauf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 760px) { .ablauf { grid-template-columns: 1fr; } }
.haken, .schritte { margin-top: 1.3rem; list-style: none; counter-reset: schritt; }
.haken li, .schritte li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.6;
}
.haken li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.schritte li { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-deep);
}
.danach {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  max-width: 52rem;
}
.danach strong { color: var(--ink); }

/* Formulare */
.formular-max { max-width: 58rem; }
.feldgruppe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.6rem;
}
@media (max-width: 700px) { .feldgruppe { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: 0.45rem; }
.feld-breit { grid-column: 1 / -1; }
.form-gruppe {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-text);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.feldgruppe .form-gruppe:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.feld label { font-size: 0.86rem; font-weight: 500; color: var(--ink); }
.feld abbr { color: var(--accent-deep); text-decoration: none; }
.feld-hilfe { font-size: 0.74rem; color: var(--ink-dim); }
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.feld textarea { resize: vertical; min-height: 7rem; }
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.feld input[type='file'] { padding: 0.6rem; background: var(--bg); cursor: pointer; }
.formular-max form.geprueft :invalid,
form.geprueft :invalid { border-color: #a5301f; }
.feld-fehler { color: #a5301f; font-size: 0.78rem; }

.einwilligung {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.einwilligung label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-dim);
  line-height: 1.55;
  cursor: pointer;
}
.einwilligung input {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.18rem;
  accent-color: var(--accent-deep);
}
.einwilligung a { text-decoration: underline; color: var(--ink); }
.turnstile { margin-top: 1.8rem; }
.turnstile:empty { margin-top: 0; }

.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-fuss {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.form-status { font-size: 0.88rem; color: var(--ink-dim); }
.form-status.fehler { color: #a5301f; }
form button[disabled] { opacity: 0.55; pointer-events: none; }

.form-danke {
  max-width: 46rem;
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-deep);
  border-radius: 8px;
  background: var(--bg);
}
.form-danke h3 { font-size: 1.5rem; color: var(--accent-deep); }
.form-danke p { margin-top: 0.8rem; color: var(--ink-dim); }

/* CTA */
.cta { text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(2rem, 5vw, 4.2rem); max-width: 56rem; margin: 1.4rem auto 1.8rem; }
.cta p { color: var(--ink-dim); max-width: 36rem; margin: 0 auto 2.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--accent-deep);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease;
  background: transparent;
  cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover { color: #fdfbf5; }
.btn:hover::before { transform: scaleX(1); }
.btn svg { width: 1rem; height: 1rem; }
.btn.b-ges { border-color: var(--ges-deep); }
.btn.b-ges::before { background: var(--ges-deep); }
.btn.b-gss { border-color: var(--gss-deep); }
.btn.b-gss::before { background: var(--gss-deep); }
.btn.voll { background: var(--accent-deep); color: #fdfbf5; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
}
.team-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.team-card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-4px); }
.team-card figure {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.3rem;
}
.team-card figure img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.15rem; }
.team-card .rolle {
  color: var(--ink-dim);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vh, 4.5rem) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem;
  color: var(--ink-dim);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.site-footer strong { color: var(--ink); display: block; margin-bottom: 0.7rem; font-weight: 600; }
.site-footer a:hover { color: var(--accent-deep); }
.site-footer .legal {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

main { position: relative; z-index: 1; }

/* Reveal-Basiszustaende (GSAP) */
.reveal { opacity: 0; transform: translateY(2.4rem); }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); }

/* Rechtsseiten */
.legal-page { max-width: 46rem; }
.legal-page h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 1.3rem 0 2.2rem; }
.legal-page h2 { font-size: 1.35rem; margin: 2.4rem 0 0.8rem; }
.legal-page h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.legal-page p, .legal-page li { color: var(--ink-dim); font-size: 0.95rem; }
.legal-page ul { list-style: disc; padding-left: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > span { opacity: 1 !important; transform: none !important; }
  .hero-scrollhint::after { animation: none; }
}
