/*
Theme Name: MainVorteilsBeratung
Description: Jonas Piechota, Aschaffenburg. Helles, ruhiges Erscheinungsbild:
             Weiss, Nachtblau aus dem Logo, Gold als Akzent.
Author: erstellt fuer jonp.onyren.com
Version: 6.2.0
Text Domain: mainvorteil

Farbrollen (Marke, aus dem Logo gemessen; Gold nur noch fuer die Google-Sterne)
  Navy    #00315B  Wortmarke: Ueberschriften, Knoepfe, dunkle Flaechen
  Royal   #102B77  Icons des Logos: zweite Blautoene, Hover
  Cyan    #009EE3  Claim des Logos: Linien, Grafik, Flaechen, grosse Hervorhebung auf Navy
  Cyan-gr #0086C8  Hervorhebung in grossen Ueberschriften auf Weiss (4,0:1)
  Cyan-tx #0070AB  Cyan als kleine Schrift auf Weiss (5,4:1)
  Cyan-hl #5CC8F5  Cyan als kleine Schrift auf Navy (6,9:1)
  Text    #20354F  Fliesstext stark   Leise #4F6378  Fliesstext
*/

@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier:    #FFFFFF;
  --weiss:     #FFFFFF;
  --flaeche:   #EEF6FC;   /* helle Tonung des Cyans: Karten und Bildleisten */
  --tinte:     #00315B;
  --blau:      #102B77;
  --cyan:      #009EE3;
  --cyan-gross:#0086C8;
  --cyan-text: #0070AB;
  --cyan-hell: #5CC8F5;
  --knopf-cyan:#25ADEE;
  --text:      #20354F;
  --leise:     #4F6378;
  --linie:     #DCE6EF;
  --stern:     #B8903F;   /* nur die Google-Sterne */
  --nacht:     #00315B;
  --nacht-text:#BFD3E6;
  --rund:      14px;
  --seitenrand: clamp(1.25rem, 6vw, 7rem);
  --breite:    1240px;
  --kopf-hoehe: 76px;
  --schrift: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--papier); scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--tinte); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; color: var(--tinte); }
h1 em, h2 em { font-style: normal; color: var(--cyan-gross); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; background: var(--tinte); color: #fff; padding: .75rem 1.25rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--cyan-text); outline-offset: 3px; }

.rand, .plan {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--seitenrand));
  margin-inline: auto;
  padding-inline: var(--seitenrand);
}

/* ========================================================================
   Knöpfe
   ======================================================================== */
.knopf {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border: 1px solid var(--tinte); border-radius: 8px;
  background: var(--tinte); color: #fff;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.knopf:hover { background: var(--blau); border-color: var(--blau); }
.knopf__pfeil { width: 16px; height: 16px; transition: transform .2s; }
.knopf:hover .knopf__pfeil { transform: translateX(3px); }

.knopf--hell { background: rgba(255, 255, 255, .85); color: var(--tinte); border-color: rgba(0, 49, 91, .25); }
.knopf--hell:hover { background: #fff; border-color: var(--tinte); }

.knopf--linie { padding: .3rem 0; background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; color: var(--tinte); }
.knopf--linie:hover { background: none; color: var(--cyan-text); }

.knopf--cyan { background: var(--knopf-cyan); border-color: var(--knopf-cyan); color: var(--tinte); }
.knopf--cyan:hover { background: #fff; border-color: #fff; color: var(--tinte); }

.knopf--klein { padding: .65rem 1.1rem; font-size: .92rem; }

/* ========================================================================
   Kopf: schlichte Leiste oben
   ======================================================================== */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
  transition: box-shadow .25s;
}
.kopf--gerollt { box-shadow: 0 6px 24px -14px rgba(0, 49, 91, .35); }

.kopf__leiste {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: var(--kopf-hoehe);
  max-width: calc(var(--breite) + 2 * var(--seitenrand));
  margin-inline: auto; padding-inline: var(--seitenrand);
}

.signet { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.signet__name { font-size: 1.12rem; font-weight: 500; letter-spacing: -.02em; color: var(--tinte); }
.signet__name b { font-weight: 700; color: var(--cyan-text); }
.signet__bild { width: 15.5rem; height: auto; }
.signet__ort { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }

.wege { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.4rem); }
.wege ul { display: flex; gap: clamp(1.25rem, 2.6vw, 2.4rem); }
.wege ul a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .4rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.wege ul a:hover { color: var(--tinte); border-bottom-color: var(--cyan); }

.menue { display: none; width: 46px; height: 46px; border: 1px solid var(--linie); border-radius: 8px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menue__striche, .menue__striche::before, .menue__striche::after { display: block; width: 18px; height: 2px; background: var(--tinte); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menue__striche { position: relative; }
.menue__striche::before, .menue__striche::after { content: ''; position: absolute; left: 0; }
.menue__striche::before { top: -6px; }
.menue__striche::after { top: 6px; }
.kopf--offen .menue__striche { background: transparent; }
.kopf--offen .menue__striche::before { transform: translateY(6px) rotate(45deg); }
.kopf--offen .menue__striche::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .signet__bild { width: 13rem; }
  .menue { display: inline-flex; }
  .wege {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--seitenrand) 1.5rem;
    background: #fff; border-bottom: 1px solid var(--linie);
    box-shadow: 0 18px 30px -20px rgba(0, 49, 91, .4);
    display: none;
  }
  .kopf--offen .wege { display: flex; }
  .wege ul { flex-direction: column; gap: 0; }
  .wege ul a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--linie); font-size: 1.05rem; }
  .wege .knopf { margin-top: 1.2rem; justify-content: center; }
}

/* ========================================================================
   1 · Hero
   Das Foto (weisses Haus vor tiefblauem Himmel) steht unten, der Himmel
   setzt sich nach oben in seinen eigenen, am Bild gemessenen Farben fort
   (#001D4C oben bis #01478C in der Mitte). Die Schrift steht weiss und frei
   auf dem Himmel, ohne Fläche und ohne Schleier.
   ======================================================================== */
/* Der Hero bleibt stehen; .inhalt schiebt sich wie ein Vorhang darüber.
   Nur wenn er sicher in den Bildschirm passt - sonst verdeckte der Vorhang
   seinen unteren Teil mit den Knöpfen. */
.hero {
  --bildhoehe: calc(100vw * .4896);      /* Foto 2400 x 1175 */
  --dach: calc(var(--bildhoehe) * .39);  /* Abstand Dachkante - Bildunterkante */
  position: relative; z-index: 0; overflow: hidden;
  transform-origin: 50% 0;
  display: flex; align-items: flex-start;
  min-height: clamp(560px, calc(100svh - var(--kopf-hoehe)), 900px);
  padding: clamp(3.2rem, 7vh, 5.5rem) 0 calc(var(--dach) + 2rem);
  background: linear-gradient(180deg, #00143D 0, #001D4C 22%, #00326C 100%);
  color: #fff;
}
@media (min-width: 761px) and (min-height: 700px) {
  .hero { position: sticky; top: var(--kopf-hoehe); }
}
.hero__bild {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%);
  mask-image: linear-gradient(180deg, transparent 0, #000 24%);
  will-change: transform;
}
.hero__inhalt { position: relative; }
.hero__inhalt > * { max-width: 40rem; }
.hero__inhalt > .hero__titel { max-width: none; }

.hero__bewertung {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .5rem .95rem; margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-size: .9rem; color: #fff;
}
.hero__bewertung b { color: #fff; }
.sterne { color: var(--stern); letter-spacing: .12em; font-size: .95rem; margin: 0; }

.hero__titel { color: #fff; font-size: clamp(2.9rem, 7.4vw, 8.2rem); line-height: .95; letter-spacing: -.045em; margin-bottom: 1.5rem; }
.hero__zeile { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__zeile--akzent { color: var(--cyan-hell); }
.wb { display: inline-block; }
.bst { display: inline-block; }
.bewegt .bst {
  transform: translateY(108%);
  animation: einlaufen .95s cubic-bezier(.2, .75, .15, 1) forwards;
  animation-delay: calc(.15s + var(--i) * .035s);
}
@keyframes einlaufen { to { transform: none; } }

/* Kleine Angabe unten rechts */
.ecke { position: absolute; bottom: 1.6rem; margin: 0; font-size: .82rem; letter-spacing: .04em; color: #fff; }
.ecke--rechts { right: var(--seitenrand); display: flex; align-items: center; gap: .6rem; }
.ecke--rechts::after { content: ''; width: 1px; height: 2.2rem; background: linear-gradient(#fff, transparent); animation: rieseln 2s ease-in-out infinite; transform-origin: top; }
@keyframes rieseln { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero__karte { max-width: 32rem; }
.hero__text { font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.55; color: #E4EEF8; margin-bottom: 1.8rem; }
.hero__taten { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .knopf { background: var(--knopf-cyan); border-color: var(--knopf-cyan); color: var(--tinte); }
.hero .knopf:hover { background: #fff; border-color: #fff; }
.hero .knopf--hell { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.hero .knopf--hell:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__zeile { white-space: normal; }
  .ecke { display: none; }
}

/* ========================================================================
   Abschnitte
   ======================================================================== */
.abschnitt { padding: clamp(4.5rem, 11vh, 8rem) 0; }
.abschnitt--weiss { background: var(--weiss); }

.kopfzeile {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 5vw, 5rem); align-items: end;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.kopfzeile h2 { font-size: clamp(2rem, 4.1vw, 3.7rem); letter-spacing: -.035em; }
.kopfzeile p { color: var(--leise); font-size: 1.08rem; max-width: 30rem; margin: 0; }
@media (max-width: 860px) { .kopfzeile { grid-template-columns: 1fr; align-items: start; } }

/* Vorhang: alles nach dem Hero liegt auf einer eigenen Ebene, die sich
   über den stehenden Hero schiebt. */
.inhalt {
  position: relative; z-index: 2;
  background: var(--papier);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 60px -36px rgba(0, 49, 91, .4);
}

/* 2 · Was wir tun */
.aussage {
  font-size: clamp(1.9rem, 4vw, 3.8rem); line-height: 1.12; letter-spacing: -.035em;
  max-width: 24ch; margin-bottom: clamp(3rem, 7vh, 5rem);
}
/* Wort für Wort füllt sich der Satz beim Scrollen. */
.bewegt .aufhellen .wort { color: #C9D0D8; transition: color .35s ease; }
.bewegt .aufhellen .wort.an { color: var(--tinte); }
.bewegt .aufhellen em .wort.an { color: var(--cyan-gross); }
.leistungen {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vh, 3rem) clamp(1.5rem, 3.5vw, 3.5rem);
}
.leistungen li { padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.leistungen__zeichen { display: block; width: 34px; height: 34px; color: var(--blau); margin-bottom: 1.1rem; }
.leistungen h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.leistungen p { color: var(--leise); margin: 0; }
.abschnitt__weiter { margin: clamp(2.5rem, 6vh, 3.5rem) 0 0; }
@media (max-width: 900px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .leistungen { grid-template-columns: 1fr; } }

/* 3 · Prinzip: der Verlauf */
.schnitt { margin: 0; }
.schnitt svg { width: 100%; overflow: visible; }
.schnitt__hilfe line { stroke: rgba(0, 49, 91, .08); stroke-width: 1; }
.schnitt__grund { stroke: rgba(0, 49, 91, .35); stroke-width: 1.5; }
.schnitt__lot { stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 5 6; }
.schnitt__flaeche { fill: url(#akzent-auslauf); }
.linie { fill: none; stroke-linecap: round; }
.linie--kosten { stroke: var(--tinte); stroke-width: 3; }
.linie--aufbau { stroke: var(--cyan); stroke-width: 4.5; }
.kote { fill: var(--tinte); }
.kote--akzent { fill: var(--cyan); }
.schnitt text { fill: var(--leise); font-family: var(--schrift); font-size: 17px; }
.schnitt .schrift--stark { fill: var(--tinte); font-weight: 600; }
.schnitt .schrift--akzent { fill: var(--cyan-text); font-weight: 600; font-size: 19px; }
.bewegt .schnitt [data-ab] { opacity: 0; transition: opacity .6s ease; }
.bewegt .schnitt [data-ab].an { opacity: 1; }

.schnitt__legende { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.6rem; font-size: .92rem; color: var(--leise); }
.schnitt__legende span { display: inline-flex; align-items: center; gap: .55rem; }
.muster { display: inline-block; width: 22px; height: 3px; border-radius: 2px; }
.muster--kosten { background: var(--tinte); }
.muster--aufbau { background: var(--cyan); height: 4px; }
.schnitt__hinweis { margin-left: auto; font-style: italic; }
@media (max-width: 760px) {
  .schnitt .nur-breit { display: none; }
  .schnitt__hinweis { margin-left: 0; }
}

/* 4 · Ablauf: drei Schritte in einer Reihe */
.schritte {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
}
.schritt {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 1.6rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 0;
}
/* Flache Bildleiste: das Raster liegt als Hintergrund über die ganze Breite,
   die Zeichnung sitzt in der Mitte. Rasterweite = Leistenhöhe / 10, also
   genau 40 Einheiten der 400er-Zeichnung; der Versatz um eine halbe Zelle
   legt die Linien deckungsgleich auf die Zeichnung, deren Punkte alle auf
   Vielfachen von 40 liegen. */
.schritt__bild {
  --bh: 10rem;
  height: var(--bh); overflow: hidden;
  margin-bottom: 1.3rem; border-radius: 0;
  background-color: var(--flaeche);
  background-image:
    linear-gradient(rgba(0, 49, 91, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 49, 91, .08) 1px, transparent 1px);
  background-size: calc(var(--bh) / 10) calc(var(--bh) / 10);
  background-position: calc(50% + var(--bh) / 20) calc(50% + var(--bh) / 20);
}
.schritt__bild svg { width: auto; height: 100%; margin-inline: auto; }
.schritt__bild .bild__raster { display: none; }
.schritt__nr { margin: 0 0 .35rem; font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--cyan-text); }
.schritt h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.schritt__text { color: var(--leise); font-size: .98rem; }
.schritt__marken { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--linie); font-size: .82rem; color: var(--tinte); }

.bild__raster line { stroke: rgba(0, 49, 91, .07); stroke-width: 1.5; }
.bild__linie { fill: none; stroke: var(--tinte); stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.bild__linie--leise { stroke: rgba(0, 49, 91, .22); stroke-width: 2.5; }
.bild__linie--akzent { stroke: var(--cyan); stroke-width: 5; }
.bild__punkte rect { fill: var(--tinte); }
.bild__akzent { fill: var(--cyan); }
.bild__kreis { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-dasharray: 6 7; }
.bild__flaeche { fill: rgba(0, 158, 227, .14); }

@media (max-width: 900px) {
  .schritte { grid-template-columns: 1fr; max-width: 34rem; }
  .schritt { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 1.2rem; align-items: start; }
  .schritt__bild { --bh: 7.5rem; grid-row: span 4; margin: 0; }
  .schritt__marken { margin-top: .4rem; }
}
@media (max-width: 460px) {
  .schritt { grid-template-columns: 1fr; }
  .schritt__bild { --bh: 9rem; grid-row: auto; margin-bottom: 1.2rem; }
}

/* 5 · Stimmen: die Zahl steht, die Karten stapeln sich darüber */
.stimmen-feld {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.stimmen__links { position: sticky; top: calc(var(--kopf-hoehe) + 10vh); }
.stimmen__zahl {
  margin: 0 0 .2rem; font-size: clamp(6rem, 15vw, 14rem); font-weight: 600;
  line-height: .82; letter-spacing: -.06em; color: var(--tinte);
}
.stimmen__links h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); letter-spacing: -.03em; margin-bottom: 1.2rem; }
.stimmen__unter { color: var(--leise); max-width: 26rem; }

.stimmen { display: flex; flex-direction: column; gap: 14vh; padding-bottom: 6vh; }
.stimme {
  position: sticky; top: calc(var(--kopf-hoehe) + 10vh + var(--stapel) * 1.4rem);
  margin: 0; display: flex; flex-direction: column;
  min-height: 17rem; padding: 2.2rem 2.2rem 2rem;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--rund);
  box-shadow: 0 30px 60px -38px rgba(0, 49, 91, .45);
}
.stimme .sterne { margin-bottom: 1.2rem; }
.stimme__text { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--tinte); }
.stimme footer { margin-top: auto; font-size: .9rem; color: var(--leise); }
.stimme cite { font-style: normal; font-weight: 600; color: var(--text); }
@media (max-width: 900px) {
  .stimmen-feld { grid-template-columns: 1fr; }
  .stimmen__links, .stimme { position: static; }
  .stimmen { gap: 1rem; padding: 0; }
  .stimme { min-height: 0; }
}

/* 6 · Wer berät */
.person {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.person h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: -.035em; margin-bottom: 1.6rem; max-width: 18ch; }
.person p { color: var(--leise); font-size: 1.06rem; max-width: 36rem; }
.person p:last-child { margin: 1.8rem 0 0; }
.person__karte {
  justify-self: center;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: #fff; border: 1px solid var(--linie); border-radius: var(--rund);
  box-shadow: 0 30px 60px -40px rgba(0, 49, 91, .45);
}
@media (max-width: 860px) { .person { grid-template-columns: 1fr; } .person__karte { justify-self: start; } }

/* 7 · Abschluss */
.schluss {
  position: relative; overflow: hidden;
  padding: clamp(7rem, 20vh, 13rem) 0;
  background:
    radial-gradient(50vw 40vh at 50% 0%, rgba(0, 158, 227, .28), transparent 70%),
    var(--nacht);
  color: var(--nacht-text);
  text-align: center;
}
.schluss h2 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4.6rem); letter-spacing: -.04em; margin-bottom: 1.1rem; }
.schluss h2 em { color: var(--cyan); }
.schluss p { font-size: 1.12rem; }
.schluss p:last-child { margin: 2rem 0 0; }
.schluss__innen { position: relative; z-index: 1; }

/* Schwebende Zeichen rings um die Frage */
.schluss__feld { position: absolute; inset: 0; pointer-events: none; }
.streu {
  position: absolute; width: 4.2rem; height: 4.2rem; padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px;
  background: rgba(255, 255, 255, .06); color: var(--cyan-hell);
}
.streu--1 { left: 8%;  top: 16%; }
.streu--2 { left: 19%; bottom: 14%; }
.streu--3 { right: 9%; top: 13%; }
.streu--4 { right: 21%; bottom: 18%; }
.streu--5 { left: 3%;  top: 55%; width: 3.4rem; height: 3.4rem; padding: .8rem; }
.streu--6 { right: 4%; top: 50%; width: 3.4rem; height: 3.4rem; padding: .8rem; }
@media (max-width: 760px) { .schluss__feld { display: none; } }

/* ========================================================================
   Fuss
   ======================================================================== */
.fuss { background: var(--nacht); color: var(--nacht-text); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .95rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--cyan-hell); }
.fuss__raster {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-block: clamp(3.5rem, 8vh, 5rem) 3rem;
}
.fuss__logo { width: min(100%, 19rem); height: auto; margin-bottom: 1rem; }
.fuss__name { font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; color: #fff; margin-bottom: .6rem; }
.fuss__name b { color: var(--cyan-hell); font-weight: 700; }
.fuss__titel { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-hell); margin-bottom: 1rem; }
.fuss li { margin-bottom: .5rem; }
.fuss__unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.fuss__partner { display: inline-flex; align-items: center; gap: .9rem; }
.fuss__partner img { background: #fff; padding: .35rem .5rem; border-radius: 6px; }
@media (max-width: 860px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss__raster { grid-template-columns: 1fr; } }

/* ========================================================================
   Einblenden beim Scrollen
   ======================================================================== */
.bewegt .zeigen {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--folge, 0) * 90ms);
}
.bewegt .zeigen.an { opacity: 1; transform: none; }

.hero__inhalt > :nth-child(1) { --folge: 0; }
.hero__inhalt > :nth-child(2) { --folge: 1; }
.hero__inhalt > :nth-child(3) { --folge: 2; }
.hero__inhalt > :nth-child(4) { --folge: 3; }
.leistungen li:nth-child(3n + 2) { --folge: 1; }
.leistungen li:nth-child(3n) { --folge: 2; }
.kopfzeile > :nth-child(2) { --folge: 1; }

.bewegt .hero__bild { animation: heranfahren 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heranfahren { from { scale: 1.08; } to { scale: 1; } }

/* ========================================================================
   Unterseiten
   ======================================================================== */
.blatt-kopf {
  padding: clamp(3.5rem, 10vh, 6rem) 0 clamp(2.5rem, 6vh, 4rem);
  background:
    #FFFFFF;
  border-bottom: 1px solid var(--linie);
}
.blatt-kopf h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); letter-spacing: -.04em; line-height: 1; }
.blatt-kopf .vorsatz { margin: 1.2rem 0 0; }

.feld { padding: clamp(3rem, 8vh, 5.5rem) 0; }
.feld--tinte { background: var(--nacht); color: var(--nacht-text); }
.feld--tinte h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); color: #fff; }
.feld__tat { margin: 2rem 0 0; }
.vorsatz { font-size: 1.15rem; color: var(--leise); max-width: 40rem; }
.feld--tinte .vorsatz { color: var(--nacht-text); }
.feld--tinte .knopf { background: var(--knopf-cyan); border-color: var(--knopf-cyan); color: var(--tinte); }
.satz--eng { max-width: 16ch; margin-bottom: 1.2rem; }

.text { max-width: 44rem; color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.text h2 { margin: 2.8rem 0 .9rem; padding-top: 1.7rem; border-top: 1px solid var(--linie); font-size: 1.55rem; }
.text h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.text h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.text ul, .text ol { padding-left: 1.2rem; list-style: revert; margin-bottom: 1.1em; }
.text li { margin-bottom: .45rem; }
.text .lead { font-size: 1.28rem; line-height: 1.5; color: var(--tinte); margin-bottom: 2.2rem; }

.todo-box, .offen-box {
  border: 1px solid #A9D4EF; border-left: 4px solid var(--cyan);
  padding: 1.1rem 1.3rem; margin: 1.5rem 0; border-radius: 6px;
  font-size: .93rem; color: var(--tinte); background: var(--flaeche);
}
.todo-box strong, .offen-box b { color: var(--tinte); }
.offen-box code { color: var(--cyan-text); }

.blatt-raster { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.register { position: sticky; top: calc(var(--kopf-hoehe) + 2rem); }
.register__titel { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-text); margin: 0 0 1rem; }
.register ol { counter-reset: r; }
.register li { counter-increment: r; border-bottom: 1px solid var(--linie); }
.register a { display: grid; grid-template-columns: 1.9rem 1fr; gap: .3rem; padding: .6rem 0; font-size: .93rem; line-height: 1.35; color: var(--leise); text-decoration: none; }
.register a::before { content: counter(r, decimal-leading-zero); color: var(--leise); font-weight: 600; }
.register a:hover { color: var(--tinte); }
.register a:hover::before { color: var(--cyan-text); }
@media (max-width: 920px) {
  .blatt-raster { grid-template-columns: 1fr; gap: 2rem; }
  .register { position: static; padding: 1.2rem 1.4rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); }
}

/* Kontakt */
.kontakt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.kontakt h2 { font-size: 1.7rem; margin-bottom: 1.4rem; }
@media (max-width: 880px) { .kontakt { grid-template-columns: 1fr; } }
.feldgruppe { margin-bottom: 1.15rem; }
.feldgruppe label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--tinte); }
.feldgruppe__frei { font-weight: 400; color: var(--leise); }
.feldgruppe input, .feldgruppe textarea, .feldgruppe select {
  width: 100%; padding: .9rem 1rem; border: 1px solid #CBD2DA; border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--text);
}
.feldgruppe textarea { min-height: 150px; resize: vertical; }
.feldgruppe input:focus, .feldgruppe textarea:focus, .feldgruppe select:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px rgba(0, 158, 227, .35); }
.feldgruppe--haken { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; }
.feldgruppe--haken label { font-weight: 400; color: var(--leise); margin: 0; }
.feldgruppe--haken input { width: auto; margin-top: .25rem; flex: 0 0 auto; accent-color: var(--tinte); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: .97rem; border: 1px solid; border-radius: 8px; }
.meldung--gut { background: #E9F5EE; border-color: #3E9A6A; color: #1E5638; }
.meldung--fehler { background: #FBECEC; border-color: #C25353; color: #7A2525; }
.angaben { margin: 0 0 1.8rem; border-top: 1px solid var(--linie); }
.angaben li { display: flex; gap: 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.angaben b { flex: 0 0 7rem; color: var(--cyan-text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
