/* Rovano Solutions: gemeinsames Stylesheet aller Seiten.
   Sand und Taupe aus dem Logo, Ton in Ton. Graphit für Schrift, Dunkelgrün für Handlungen und das Aktionsband.
   Schriften liegen lokal, damit beim Laden keine Daten an Google gehen. */

/* Eine Familie für alles: Schibsted Grotesk (OFL, lokal), variabel von 400 bis 900.
   Serifenüberschrift plus Inter war der Standardlook generierter Seiten. Kursiv gibt es bewusst nicht. */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --sand: #E3DACB;
  --sand-hell: #FAF7F2;
  --sand-tief: #D8CEBE;
  --taupe: #8F7A68;
  --taupe-tief: #6E5D4F;
  --gruen: #2D4A36;
  /* Akzent Dunkelgrün wie das Aktionsband: nur für Handlungen und den aktiven Zustand */
  --akzent: #2D4A36;
  --akzent-tief: #1E3325;
  /* Flächen, die früher dunkel waren: Kopf, Fuß, Bühnen. Heute Sand wie der Grund des Logos */
  --flaeche: var(--sand);
  --blatt: #F0EAE1;
  --espresso: #1F1F1F;
  --espresso-weich: #57524C;
  --moos: #1F1F1F;
  --moos-tief: #000000;
  --auf-dunkel: #1F1F1F;
  --auf-dunkel-weich: #57524C;
  --linie: rgba(31, 31, 31, .12);

  --schrift-anzeige: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --t-0: .875rem; --t-1: 1rem; --t-2: 1.25rem; --t-3: 1.5625rem; --t-4: 1.953rem; --t-5: 2.441rem; --t-6: 3.052rem;
  --a-1: 4px; --a-2: 8px; --a-3: 16px; --a-4: 24px; --a-5: 32px; --a-6: 48px; --a-7: 64px; --a-8: 96px;
  --rand: clamp(16px, 5vw, 56px);
  --breite: 1180px;
  --radius: 14px;
  --kopf-hoehe: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--sand); color: var(--espresso);
  font-family: var(--schrift-text); font-size: var(--t-1); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg, canvas { max-width: 100%; }
h1, h2, h3 { font-family: var(--schrift-anzeige); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--moos); outline-offset: 3px; border-radius: 4px; }
.dunkel :focus-visible { outline-color: var(--auf-dunkel); }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.sprung { position: absolute; left: 12px; top: -60px; background: var(--espresso); color: var(--sand); padding: 10px 14px; border-radius: 8px; z-index: 200; text-decoration: none; }
.sprung:focus { top: 12px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--a-2);
  min-height: 48px; padding: 0 var(--a-4); border-radius: 999px; border: 1.5px solid transparent;
  font: 600 var(--t-1)/1 var(--schrift-text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.knopf:active { transform: translateY(1px); }
.knopf-haupt { background: var(--akzent); color: #fff; }
.knopf-haupt:hover { background: var(--akzent-tief); }
.knopf-haupt[disabled] { opacity: .65; cursor: progress; }
.knopf-neben { color: var(--espresso); border-color: rgba(21, 21, 21, .35); background: transparent; }
.knopf-neben:hover { border-color: var(--espresso); }
.dunkel .knopf-neben { color: var(--espresso); border-color: rgba(31, 31, 31, .3); }
.dunkel .knopf-neben:hover { border-color: var(--auf-dunkel); }

/* Aktionsband */
.aktion { background: var(--gruen); color: var(--sand-hell); font-size: var(--t-0); text-align: center; padding: 10px var(--rand); line-height: 1.45; position: relative; z-index: 60; }
.aktion strong { font-weight: 600; letter-spacing: .01em; }
.aktion a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(250, 249, 247, .5); white-space: nowrap; }
.aktion a:hover { text-decoration-color: currentColor; }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--sand); transition: box-shadow .25s; }
.kopf.gescrollt { box-shadow: 0 1px 0 var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: var(--a-4); min-height: var(--kopf-hoehe); }
.marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); flex: none; }
.marke svg { width: 30px; height: 34px; color: var(--taupe); flex: none; }
.marke span { font-family: var(--schrift-anzeige); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.navi { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.navi-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 28px); list-style: none; margin: 0; padding: 0; }
.navi-links a { text-decoration: none; font-size: var(--t-0); font-weight: 500; color: var(--espresso-weich); padding: 12px 0; position: relative; }
.navi-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.navi-links a:hover { color: var(--espresso); }
.navi-links a:hover::after, .navi-links a[aria-current="page"]::after { transform: scaleX(1); }
.navi-links a[aria-current="page"] { color: var(--espresso); }
.kopf-telefon { font-size: var(--t-0); font-weight: 600; color: var(--espresso); text-decoration: none; white-space: nowrap; }
.kopf-telefon:hover { text-decoration: underline; text-underline-offset: 3px; }
.navi .knopf { min-height: 42px; padding: 0 18px; font-size: var(--t-0); }
.kopf-anruf { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; color: var(--espresso); border: 1.5px solid rgba(21, 21, 21, .2); }
.kopf-anruf svg { width: 20px; height: 20px; }
@media (max-width: 1080px) { .kopf-telefon { display: none; } }
/* Auf schmalen Bildschirmen steht das Menü als eigene Zeile direkt unter dem Logo, ohne Aufklappen */
@media (max-width: 900px) {
  :root { --kopf-hoehe: 104px; }
  .kopf-innen { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 8px; }
  .marke { min-height: 48px; }
  .marke span { font-size: 1.3rem; }
  .kopf-anruf { display: grid; margin-left: auto; }
  .navi { width: calc(100% + 2 * var(--rand)); margin-inline: calc(-1 * var(--rand)); padding-inline: var(--rand); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .navi::-webkit-scrollbar { display: none; }
  .navi .kopf-telefon, .navi .knopf { display: none; }
  .navi-links { gap: 18px; white-space: nowrap; }
  .navi-links a { display: block; font-size: .9375rem; padding: 12px 0 14px; }
  .navi-links a::after { bottom: 8px; }
}
@media (max-width: 380px) { .navi-links { gap: 14px; } .navi-links a { font-size: .875rem; } }

/* Fuß */
.fuss { background: var(--flaeche); color: var(--auf-dunkel-weich); font-size: var(--t-0); padding-block: var(--a-6) calc(var(--a-5) + env(safe-area-inset-bottom, 0px)); }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: var(--a-5); }
/* .fuss a machte die Marke zum Block, Logo und Name klebten aneinander */
.fuss .marke { color: var(--auf-dunkel); display: inline-flex; padding: 0; }
.fuss h2 { font-family: var(--schrift-text); font-size: var(--t-0); font-weight: 600; color: var(--auf-dunkel); letter-spacing: .02em; margin-bottom: var(--a-2); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fuss a { text-decoration: none; display: inline-block; padding: 5px 0; }
.fuss a:hover { color: var(--auf-dunkel); }
.fuss-text { margin-top: var(--a-3); max-width: 30em; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--a-3); margin-top: var(--a-6); padding-top: var(--a-4); border-top: 1px solid var(--linie); }
.fuss-unten nav { display: flex; gap: var(--a-4); }
.fuss-kurz { padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.fuss-kurz .fuss-unten { margin-block: 0; padding-block: 0; border: 0; align-items: center; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child { grid-column: 1 / -1; } }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding-block: var(--a-7) var(--a-6); }
.seitenkopf h1 { font-size: clamp(2rem, 5vw, 3.8rem); max-width: 16em; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 560px) { .seitenkopf h1 { font-size: clamp(1.75rem, 8.4vw, 2.3rem); } }
.seitenkopf p { margin-top: var(--a-3); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--espresso-weich); max-width: 36em; }
.pfad { font-size: var(--t-0); color: var(--espresso-weich); margin-bottom: var(--a-3); display: flex; gap: 8px; flex-wrap: wrap; }
.pfad a { text-decoration: none; }
.pfad a:hover { text-decoration: underline; text-underline-offset: 3px; }
.abschnitt { padding-block: var(--a-7); }
.abschnitt-kopf { display: grid; gap: var(--a-2); margin-bottom: var(--a-5); max-width: 40em; }
.abschnitt-kopf h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.abschnitt-kopf p { color: var(--espresso-weich); font-size: 1.0625rem; }

/* Startseite: ein Bildschirm */
body.start { height: 100vh; height: 100svh; min-height: 560px; }
body.start main { display: flex; min-height: 0; }
.hero { flex: 1; display: flex; align-items: center; padding-block: clamp(16px, 4vh, 48px); }
.hero-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--a-6); align-items: center; }
.hero-text { min-width: 0; display: grid; gap: clamp(16px, 2.6vh, 24px); }
.hero h1 { font-size: clamp(2.1rem, min(4.6vw, 6.8vh), 3.9rem); font-weight: 700; max-width: 12em; letter-spacing: -0.03em; }
.hero h1 .wort { display: inline-block; }
.hero-unter { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--espresso-weich); max-width: 32em; }
.hero-handlung { display: flex; flex-wrap: wrap; gap: var(--a-3); margin-top: var(--a-2); }
.monogramm { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: min(520px, 62vh); justify-self: end; }
.monogramm canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.monogramm .flach { position: absolute; inset: 12% 14%; width: 72%; height: 76%; color: var(--taupe); opacity: 0; transition: opacity .8s; }
.monogramm.drei-bereit canvas { opacity: 1; }
.monogramm.drei-fehlt .flach { opacity: 1; }
.monogramm-schatten { position: absolute; left: 18%; right: 18%; bottom: 2%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(21, 21, 21, .22), transparent); filter: blur(6px); pointer-events: none; }
@media (max-width: 900px) {
  body.start { height: auto; min-height: 100svh; }
  .hero-raster { grid-template-columns: 1fr; gap: var(--a-3); }
  .monogramm { order: -1; max-width: 170px; justify-self: start; margin-left: -12px; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.9rem); }
  .hero-handlung .knopf { flex: 1 1 auto; }
}
@media (max-width: 900px) and (max-height: 760px) { .monogramm { max-width: 130px; } }

/* Leistungen: gleichwertiges Raster */
.raster-leistungen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--a-3); padding-bottom: var(--a-7); }
.kachel {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: var(--a-3);
  padding: var(--a-4); min-height: 228px; border-radius: var(--radius); text-decoration: none;
  background: var(--sand-hell); border: 1px solid rgba(21, 21, 21, .08);
  transition: background-color .3s, border-color .3s, color .3s;
}
.kachel-symbol { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--espresso); transition: background-color .3s, color .3s; }
.kachel-symbol svg { width: 24px; height: 24px; }
.kachel h2 { font-size: var(--t-3); }
.kachel p { font-size: .9375rem; color: var(--espresso-weich); margin-top: 6px; transition: color .3s; }
.kachel-pfeil { display: flex; align-items: center; justify-content: space-between; font-size: var(--t-0); font-weight: 600; color: var(--espresso-weich); transition: color .3s; }
.kachel-pfeil svg { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.kachel:hover { background: var(--espresso); border-color: var(--espresso); color: var(--sand-hell); }
.kachel:hover p, .kachel:hover .kachel-pfeil { color: rgba(250, 247, 242, .75); }
.kachel:hover .kachel-symbol { background: var(--moos); color: var(--sand-hell); }
.kachel:hover .kachel-pfeil svg { transform: translateX(4px); }
.leistungen-fuss { display: flex; flex-wrap: wrap; gap: var(--a-3); align-items: center; justify-content: space-between; padding: var(--a-4) 0 var(--a-7); border-top: 1px solid var(--linie); margin-top: calc(-1 * var(--a-5)); }
.leistungen-fuss p { color: var(--espresso-weich); max-width: 40em; }
@media (min-width: 1081px) {
  .seite-leistungen .seitenkopf { padding-block: var(--a-5) var(--a-4); }
  .seite-leistungen .kachel { min-height: 0; }
}
@media (max-width: 1080px) { .raster-leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .raster-leistungen { grid-template-columns: 1fr; gap: 10px; } .kachel h2 { font-size: var(--t-2); } .kachel { padding-right: 48px !important; min-height: 0; padding: var(--a-3); grid-template-columns: 44px 1fr; grid-template-rows: auto; align-items: center; } .kachel p { display: none; } .kachel-pfeil span { display: none; } .kachel-pfeil { justify-content: end; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); } }

/* Detailseite: Szenario */
.szenario { padding-block: var(--a-6) var(--a-8); }
.szenario-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--a-6); align-items: start; }
.etikett { font-size: var(--t-0); font-weight: 600; color: var(--espresso-weich); display: flex; align-items: center; gap: 10px; }
.etikett::before { content: ""; width: 28px; height: 1.5px; background: var(--taupe); }
.dunkel .etikett { color: var(--auf-dunkel-weich); }
.szenario h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-top: var(--a-3); }
.szenario-text { display: grid; gap: var(--a-3); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--espresso-weich); padding-top: var(--a-2); }
.szenario-text strong { color: var(--espresso); font-weight: 600; background: linear-gradient(var(--taupe), var(--taupe)) no-repeat 0 100% / 100% 2px; padding-bottom: 2px; transition: background-size .9s cubic-bezier(.65, 0, .35, 1); }
.unterstrich-wartet .szenario-text strong { background-size: 0% 2px; }
@media (max-width: 860px) { .szenario-raster { grid-template-columns: 1fr; gap: var(--a-3); } }

/* Kurzfilm-Bühne */
.buehne { background: var(--flaeche); color: var(--auf-dunkel); }
.buehne-pin { display: grid; gap: var(--a-6); padding-block: var(--a-8); padding-inline: var(--rand); max-width: var(--breite); margin-inline: auto; }
.buehne-text { display: grid; gap: var(--a-5); align-content: start; min-width: 0; }
.buehne-kopf { display: grid; gap: var(--a-2); }
.buehne-kopf h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: var(--auf-dunkel); }
.buehne-kopf p { color: var(--auf-dunkel-weich); font-size: var(--t-0); }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--a-4); }
.schritt .zeit { display: block; font-family: var(--schrift-anzeige); font-weight: 600; font-size: var(--t-1); color: var(--akzent); margin-bottom: 4px; }
.schritt p { font-size: clamp(1.0625rem, 1.7vw, 1.3rem); line-height: 1.45; }
.fortschritt { display: none; height: 2px; background: rgba(31, 31, 31, .14); border-radius: 2px; overflow: hidden; }
.fortschritt span { display: block; height: 100%; background: var(--auf-dunkel); transform-origin: left; transform: scaleX(0); }
.buehne-hinweis { font-size: var(--t-0); color: var(--auf-dunkel-weich); }
.steuerung { display: none; align-items: center; gap: var(--a-4); flex-wrap: wrap; }
.film-knopf { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(31, 31, 31, .25); background: transparent; color: var(--auf-dunkel); font: 500 var(--t-0)/1 var(--schrift-text); cursor: pointer; }
.film-knopf:hover { border-color: var(--auf-dunkel); }
.film-knopf svg { width: 16px; height: 16px; }
.film-knopf .sym-play, .film-knopf.pausiert .sym-pause { display: none; }
.film-knopf.pausiert .sym-play { display: inline; }
.punkte { display: flex; gap: 2px; }
.punkt { width: 40px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.punkt::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--auf-dunkel-weich); transition: background-color .3s, transform .3s; }
.punkt[aria-current="step"]::after { background: var(--auf-dunkel); border-color: var(--auf-dunkel); transform: scale(1.2); }
.raum { min-width: 0; }
.kamera { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--a-4); }
.notiz { display: none; }

.karte { background: var(--sand-hell); color: var(--espresso); border-radius: var(--radius); padding: var(--a-4); display: grid; gap: 12px; align-content: start; border: 1.5px solid transparent; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--a-3); font-size: var(--t-0); color: var(--espresso-weich); }
.karte h3 { font-size: var(--t-2); }
.karte .klein { font-size: var(--t-0); color: var(--espresso-weich); }
.beispiel { font-size: .75rem; color: var(--espresso-weich); border: 1px solid rgba(86, 83, 79, .35); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.symbol-rund { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--moos); color: var(--sand-hell); position: relative; flex: none; }
.symbol-rund svg { width: 24px; height: 24px; }
.symbol-rund.puls::before, .symbol-rund.puls::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--moos); animation: puls 2.2s ease-out infinite; }
.symbol-rund.puls::after { animation-delay: 1.1s; }
@keyframes puls { from { transform: scale(1); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
.zeile-flex { display: flex; align-items: center; gap: var(--a-3); }
.blase { padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; max-width: 92%; }
.blase-kunde { background: #fff; justify-self: start; border-bottom-left-radius: 4px; }
.blase-ki { background: #0A6CF0; color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.blase .wer { display: block; font-size: .75rem; opacity: .7; margin-bottom: 2px; }
.schreibmarke { display: inline-block; width: 2px; height: 1em; background: currentColor; vertical-align: -2px; margin-left: 1px; animation: blinken 1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }
.liste-karte { display: grid; gap: 6px; }
.eintrag { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: .875rem; }
.eintrag > b { font-weight: 600; color: var(--espresso-weich); }
.eintrag > span { border-radius: 8px; padding: 8px 10px; background: rgba(143, 122, 104, .16); }
.eintrag.frei > span { background: transparent; border: 1px dashed rgba(86, 83, 79, .4); color: var(--espresso-weich); }
.eintrag.neu > span { background: var(--moos); color: var(--sand-hell); }
.eintrag svg { width: 18px; height: 18px; color: var(--moos); }
.eintrag.ohne-zeit { grid-template-columns: 1fr auto; }
.nachricht { background: #fff; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: .9375rem; }
.nachricht-von { font-weight: 600; font-size: .8125rem; color: var(--espresso-weich); }
.bilanz { display: flex; gap: var(--a-4); }
.bilanz div { display: grid; }
.bilanz strong { font-family: var(--schrift-anzeige); font-size: 2rem; font-weight: 700; line-height: 1; }
.bilanz span { font-size: .8125rem; color: var(--espresso-weich); }
.etikett-klein { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(28, 28, 28, .12); color: var(--moos); justify-self: start; }
.etikett-klein.grau { background: rgba(86, 83, 79, .12); color: var(--espresso-weich); }
.feld-attrappe { border: 1px solid rgba(21, 21, 21, .16); background: #fff; border-radius: 8px; padding: 8px 10px; font-size: .875rem; }
.knopf-attrappe { background: var(--moos); color: var(--sand-hell); border-radius: 999px; padding: 9px 14px; font-size: .875rem; font-weight: 600; text-align: center; }
.balken-attrappe { height: 8px; border-radius: 4px; background: rgba(143, 122, 104, .25); }
.mini-browser { border-radius: 10px; overflow: hidden; border: 1px solid rgba(21, 21, 21, .12); background: #fff; }
.mini-browser-leiste { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: var(--sand); font-size: .75rem; color: var(--espresso-weich); }
.mini-browser-leiste i { width: 7px; height: 7px; border-radius: 50%; background: rgba(21, 21, 21, .2); }
.mini-browser-inhalt { padding: 12px; display: grid; gap: 8px; }
.mini-titel { font-family: var(--schrift-anzeige); font-size: 1.0625rem; font-weight: 700; line-height: 1.15; }

/* Animierte Fassung, nur mit Bewegung */
.film-aktiv .buehne-pin { height: clamp(600px, 86vh, 780px); max-width: none; padding: 0; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: 0; overflow: hidden; }
.film-aktiv .buehne-text { padding: var(--a-6) var(--a-6) var(--a-6) max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); align-content: center; z-index: 2; }
.film-aktiv .schritte { position: relative; min-height: 8.6em; }
.film-aktiv .schritt { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s; pointer-events: none; }
.film-aktiv .schritt.aktiv { opacity: 1; transform: none; transition: opacity .35s .2s, transform .35s .2s; }
.film-aktiv .fortschritt, .film-aktiv .steuerung { display: flex; }
.film-aktiv .fortschritt { display: block; }
.film-aktiv .raum { position: relative; height: 100%; perspective: 1100px; perspective-origin: 50% 45%; overflow: hidden; transition: opacity .4s; }
.film-aktiv .raum.neustart { opacity: 0; }
.film-aktiv .raum-neigung { position: absolute; inset: 0; transform-style: preserve-3d; }
.film-aktiv .kamera { position: absolute; left: 50%; top: 50%; width: 0; height: 0; display: block; transform-style: preserve-3d; will-change: transform; }
.film-aktiv .karte { position: absolute; width: 330px; transform: translate(-50%, -50%); backface-visibility: hidden; }
.film-aktiv .karte.aktiv { border-color: var(--taupe); }
/* Inhalte einer Karte erscheinen nacheinander, sobald die Karte dran ist */
.film-aktiv .karte .erscheint { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: 0s; }
.film-aktiv .karte.gezeigt .erscheint { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.film-aktiv .notiz { display: block; position: absolute; pointer-events: none; color: var(--auf-dunkel); z-index: 3; }
.notiz p { font-family: var(--schrift-anzeige); font-weight: 600; font-size: 1.125rem; line-height: 1.2; opacity: 0; transition: opacity .5s .5s; }
.notiz path { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset .7s ease-out; }
.notiz.gezeigt p { opacity: 1; }
.notiz.gezeigt path { stroke-dashoffset: 0; }
@media (max-width: 860px) {
  .film-aktiv .buehne-pin { height: auto; grid-template-columns: 1fr; grid-template-rows: 470px auto; }
  .film-aktiv .raum { order: -1; perspective: 900px; }
  .film-aktiv .buehne-text { padding: var(--a-3) var(--rand) var(--a-6); gap: var(--a-3); }
  .film-aktiv .buehne-kopf h2 { font-size: 1.5rem; }
  .film-aktiv .schritte { min-height: 6.6em; }
  .film-aktiv .karte { width: 272px; padding: 18px; box-shadow: 0 20px 40px -16px rgba(60, 45, 35, .3); }
  .film-aktiv .punkt { width: 34px; }
  .notiz p { font-size: 1.125rem; }
}

/* Detailseite: Inhalt und Fragen */
.enthalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a-3) var(--a-6); list-style: none; margin: 0; padding: 0; }
.enthalten li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: var(--a-3) 0; border-top: 1px solid var(--linie); }
.enthalten svg { width: 20px; height: 20px; margin-top: 3px; color: var(--akzent); }
.enthalten b { display: block; font-weight: 600; }
.enthalten span { color: var(--espresso-weich); font-size: .9375rem; }
@media (max-width: 760px) { .enthalten { grid-template-columns: 1fr; gap: 0; } }

.fragen-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--a-7); }
.frage { border-bottom: 1px solid var(--linie); }
.frage:first-child { border-top: 1px solid var(--linie); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--a-4); padding: 20px 0; font-family: var(--schrift-anzeige); font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary svg { width: 22px; height: 22px; flex: none; margin-top: 2px; transition: transform .3s; color: var(--taupe); }
.frage[open] summary svg { transform: rotate(45deg); }
.frage-antwort { padding: 0 0 22px; color: var(--espresso-weich); max-width: 38em; display: grid; gap: 10px; }
.frage-antwort a { color: var(--espresso); text-underline-offset: 3px; }
@media (max-width: 860px) { .fragen-raster { grid-template-columns: 1fr; gap: var(--a-4); } }

.weitere { display: flex; flex-wrap: wrap; gap: 10px; }
.weitere a { text-decoration: none; border: 1px solid rgba(21, 21, 21, .2); border-radius: 999px; padding: 10px 16px; font-size: .9375rem; transition: border-color .2s, background-color .2s; }
.weitere a:hover { border-color: var(--espresso); background: var(--sand-hell); }

.cta-band { background: var(--flaeche); color: var(--auf-dunkel); border-radius: 24px; padding: clamp(var(--a-5), 5vw, var(--a-7)); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--a-5); align-items: center; }
.cta-band h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.cta-band p { color: var(--auf-dunkel-weich); margin-top: var(--a-2); max-width: 34em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Ablauf */
.ablauf-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--a-7); padding-bottom: var(--a-8); }
.ablauf-liste { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--a-6); }
.ablauf-linie { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: rgba(143, 122, 104, .3); }
.ablauf-linie i { position: absolute; inset: 0; background: var(--taupe); transform-origin: top; }
.ablauf-lauf .ablauf-linie i { transform: scaleY(var(--fortschritt, 0)); }
.ablauf-punkt { display: grid; grid-template-columns: 44px 1fr; gap: var(--a-4); position: relative; }
.ablauf-nr { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--taupe-tief); color: var(--sand-hell); font-family: var(--schrift-anzeige); font-size: 1.125rem; font-weight: 700; border: 2px solid var(--taupe-tief); transition: background-color .4s, color .4s; z-index: 1; }
.ablauf-lauf .ablauf-punkt:not(.erreicht) .ablauf-nr { background: var(--sand); color: var(--taupe-tief); }
.ablauf-lauf .ablauf-punkt .ablauf-nr { transition: background-color .35s, color .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.ablauf-lauf .ablauf-punkt.erreicht .ablauf-nr { transform: scale(1.08); }
.ablauf-lauf .ablauf-punkt > div { transition: opacity .5s; }
.ablauf-lauf .ablauf-punkt:not(.erreicht) > div { opacity: .45; }
.ablauf-punkt h2 { font-size: var(--t-3); margin-bottom: 6px; padding-top: 6px; }
.ablauf-punkt p { color: var(--espresso-weich); max-width: 30em; }
.ablauf-dauer { padding: var(--a-4); border-radius: var(--radius); background: var(--sand-hell); display: grid; gap: 6px; align-self: start; }
.ablauf-dauer b { font-family: var(--schrift-anzeige); font-size: var(--t-2); font-weight: 700; }
.ablauf-dauer p { color: var(--espresso-weich); }
@media (max-width: 860px) { .ablauf-raster { grid-template-columns: 1fr; gap: var(--a-6); } }

/* Über uns */
.ueber-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--a-7); padding-bottom: var(--a-8); align-items: start; }
.ueber-text { display: grid; gap: var(--a-3); font-size: 1.0625rem; color: var(--espresso-weich); }
.ueber-text p:first-child { font-family: var(--schrift-anzeige); font-size: var(--t-2); font-weight: 600; line-height: 1.4; color: var(--espresso); }
.steckbrief { background: var(--sand-hell); border-radius: var(--radius); padding: var(--a-5); display: grid; gap: 0; }
.steckbrief div { display: grid; gap: 2px; padding: var(--a-3) 0; border-bottom: 1px solid var(--linie); }
.steckbrief div:last-child { border-bottom: 0; }
.steckbrief dt { font-size: var(--t-0); color: var(--espresso-weich); }
.steckbrief dd { margin: 0; font-family: var(--schrift-anzeige); font-size: 1.125rem; font-weight: 500; }
.steckbrief a { text-decoration: none; }
.steckbrief a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .ueber-raster { grid-template-columns: 1fr; gap: var(--a-5); } }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--a-7); align-items: start; padding-bottom: var(--a-8); }
.direkt { display: grid; gap: 4px; padding-top: var(--a-4); border-top: 1px solid var(--linie); color: var(--espresso-weich); }
.direkt b { color: var(--espresso); font-weight: 500; display: inline-block; min-width: 4.5em; }
.direkt a { color: var(--espresso); text-underline-offset: 3px; text-decoration-color: rgba(21, 21, 21, .3); padding-block: 6px; display: inline-block; }
.direkt a:hover { text-decoration-color: var(--espresso); }
.kontakt-logo { width: 56px; color: var(--taupe); margin-bottom: var(--a-3); }
.formular { background: var(--sand-hell); color: var(--espresso); border-radius: 22px; padding: clamp(var(--a-4), 4vw, var(--a-6)); display: grid; gap: var(--a-4); min-width: 0; }
.feld { display: grid; gap: 6px; }
.feld label, .feld legend { font-weight: 600; font-size: .9375rem; }
.feld input, .feld textarea { font: 400 1rem/1.4 var(--schrift-text); color: var(--espresso); background: #fff; border: 1.5px solid rgba(21, 21, 21, .2); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.feld textarea { min-height: 112px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--moos); box-shadow: 0 0 0 3px rgba(28, 28, 28, .2); }
.feld.fehler input { border-color: #9B3B2E; }
.fehlertext { color: #8A3226; font-size: .875rem; display: none; }
.feld.fehler .fehlertext { display: block; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: var(--a-3); }
fieldset.feld { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; font-weight: 500; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(21, 21, 21, .25); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; font-size: .9375rem; }
.chips span:hover { border-color: var(--espresso); }
.chips input:checked + span { background: var(--espresso); color: var(--sand-hell); border-color: var(--espresso); }
.chips input:focus-visible + span { outline: 2px solid var(--moos); outline-offset: 2px; }
.klein-hinweis { font-size: .8125rem; color: var(--espresso-weich); }
.klein-hinweis a { color: var(--espresso); }
.formular .knopf-haupt { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.formular-fehler { color: #8A3226; font-size: .9375rem; }
.erfolg { display: grid; gap: var(--a-3); }
.erfolg h2 { font-size: var(--t-4); }
.erfolg svg { width: 48px; height: 48px; color: var(--moos); }
.erfolg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .6s .15s forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; gap: var(--a-6); } }
@media (max-width: 560px) { .zwei { grid-template-columns: 1fr; } }

/* Rechtstexte */
.rechtstext { max-width: 46em; padding-bottom: var(--a-8); display: grid; gap: 12px; color: var(--espresso-weich); }
.rechtstext h2 { font-size: var(--t-3); color: var(--espresso); margin-top: var(--a-5); }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 8px var(--a-4); margin: 0; }
.rechtstext dt { font-weight: 600; color: var(--espresso); }
.rechtstext dd { margin: 0; }
.rechtstext a { color: var(--espresso); text-underline-offset: 3px; }
.rechtstext ol { margin: 0; padding-left: 1.5em; display: grid; gap: 8px; }
.rechtstext ol ol { margin-top: 8px; gap: 4px; }
.rechtstext li::marker { color: var(--espresso); font-weight: 600; font-variant-numeric: normal; }
.seitenkopf a { text-underline-offset: 3px; }
@media (max-width: 640px) { .rechtstext dl { grid-template-columns: 1fr; gap: 2px; } .rechtstext dd { margin-bottom: 10px; } }

/* Eintritt beim Scrollen: nur wenn JS läuft und Bewegung erwünscht ist */
.bewegt [data-auftritt] { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.bewegt [data-auftritt].da { opacity: 1; transform: none; }
/* Gruppen und geteilte Überschriften sind schon vor seite.js im Startzustand, damit nichts zweimal erscheint */
.bewegt [data-staffel] > * { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.bewegt [data-staffel] > .da { opacity: 1; transform: none; }
.bewegt [data-maske], .bewegt .hero-erst { opacity: 0; }
.maske { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.maske > span { display: inline-block; transform: translateY(110%) rotate(3deg); transition: transform .85s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.da .maske > span, .maske.da > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* Startseite: Auftritt der Überschrift */
.bewegt .hero h1 .wort { animation: wortAuf .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
.bewegt .hero-unter, .bewegt .hero-handlung { animation: blockAuf .7s cubic-bezier(.2, .8, .2, 1) both; }
.bewegt .hero-unter { animation-delay: .75s; }
.bewegt .hero-handlung { animation-delay: .88s; }
@keyframes wortAuf { from { opacity: 0; transform: translateY(10px); } }
@keyframes blockAuf { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------------
   Liquid Glass für alle Buttons.
   Aufbau: getönte, durchscheinende Fläche mit Weichzeichner dahinter,
   heller Lichtkante oben, Glanzverlauf, weichem Schatten und einem
   Lichtfleck, der dem Zeiger folgt (--lx/--ly setzt seite.js).
   Beim Drücken gibt das Glas kurz nach wie ein Tropfen.
   ------------------------------------------------------------------ */
.knopf, .film-knopf, .weitere a, .chips span, .kopf-anruf {
  --glas: rgba(255, 255, 255, .34);
  --glas-kante: rgba(255, 255, 255, .7);
  --glas-schatten: rgba(21, 21, 21, .32);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--glas);
  border: 1px solid var(--glas-kante);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 1px rgba(21, 21, 21, .12),
    inset 0 0 18px rgba(255, 255, 255, .18),
    0 10px 26px -12px var(--glas-schatten),
    0 2px 6px -2px rgba(21, 21, 21, .14);
  transition: transform .45s cubic-bezier(.2, .9, .25, 1.4), box-shadow .35s, background-color .3s, color .3s, border-color .3s;
}
/* Glanz: oben hell, Mitte klar, unten ein schwacher Rückreflex */
.knopf::before, .film-knopf::before, .weitere a::before, .chips span::before, .kopf-anruf::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 42%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .16) 100%);
}
/* Lichtfleck, der dem Zeiger folgt */
.knopf::after, .film-knopf::after, .weitere a::after, .chips span::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(90px circle at var(--lx, 50%) var(--ly, -20%), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%);
  opacity: 0; transition: opacity .35s;
}
.knopf:hover::after, .film-knopf:hover::after, .weitere a:hover::after, .chips span:hover::after { opacity: 1; }
.knopf:hover, .film-knopf:hover, .weitere a:hover, .kopf-anruf:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 1px rgba(21, 21, 21, .12), inset 0 0 22px rgba(255, 255, 255, .24), 0 16px 32px -14px var(--glas-schatten), 0 3px 8px -2px rgba(21, 21, 21, .16); }
.knopf:active, .film-knopf:active, .weitere a:active, .kopf-anruf:active, .chips label:active span { transform: scale(.96); transition-duration: .12s; }

/* Hauptknopf: Terrakotta, deckend, damit die Schrift gut lesbar bleibt */
.knopf-haupt { --glas: var(--akzent); --glas-kante: rgba(255, 255, 255, .35); --glas-schatten: rgba(30, 51, 37, .5); color: #fff; }
.knopf-haupt:hover { background: var(--akzent-tief); }
.knopf-haupt::before { background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .06) 100%); }
.knopf-haupt::after { background: radial-gradient(90px circle at var(--lx, 50%) var(--ly, -20%), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%); }

/* Zweitknopf und Pillen auf hellem Grund: klares Glas */
.knopf-neben, .weitere a { --glas: rgba(255, 255, 255, .3); color: var(--espresso); border-color: var(--glas-kante); }
.knopf-neben:hover, .weitere a:hover { background: rgba(255, 255, 255, .46); border-color: var(--glas-kante); }

/* Auf dunklem Grund: rauchiges Glas mit heller Schrift */
.dunkel .knopf-neben, .film-knopf {
  --glas: rgba(255, 255, 255, .34); --glas-kante: rgba(31, 31, 31, .16); --glas-schatten: rgba(60, 45, 35, .3);
  color: var(--auf-dunkel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 1px rgba(31, 31, 31, .1), inset 0 0 18px rgba(255, 255, 255, .2), 0 10px 26px -14px rgba(60, 45, 35, .35);
}
.dunkel .knopf-neben::before, .film-knopf::before { background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .14) 100%); }
.dunkel .knopf-neben:hover, .film-knopf:hover { background: rgba(255, 255, 255, .55); border-color: rgba(31, 31, 31, .24); }
.dunkel .knopf-neben::after, .film-knopf::after { background: radial-gradient(90px circle at var(--lx, 50%) var(--ly, -20%), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%); }

/* Auf Sand bleibt der Hauptknopf graphitfarben, wie überall */

/* Auswahl im Formular */
.chips span { --glas: rgba(255, 255, 255, .5); border: 1px solid var(--glas-kante); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 1px rgba(21, 21, 21, .1), 0 6px 16px -10px rgba(21, 21, 21, .3); }
.chips span:hover { border-color: var(--glas-kante); background: rgba(255, 255, 255, .7); }
.chips input:checked + span { --glas: var(--akzent); background: var(--glas); color: var(--sand-hell); border-color: rgba(255, 255, 255, .3); }
.chips input:checked + span::before { background: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .08) 100%); }

/* Runder Anrufknopf: Glas mit zwei Ringen, angelehnt an runde Bedienknöpfe mit Lichthof */
.kopf-anruf { --glas: rgba(255, 255, 255, .38); overflow: visible; border-color: var(--glas-kante); color: var(--espresso); }
.kopf-anruf::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(21, 21, 21, .16); pointer-events: none; transition: inset .45s cubic-bezier(.2, .9, .25, 1.4), opacity .3s; }
.kopf-anruf:hover::after { inset: -9px; }
.kopf-anruf svg { position: relative; }


/* Menü als Glasleiste: alle Punkte in einer gläsernen Kapsel, die aktuelle Seite als dunkles Glas darin */
.navi-links {
  position: relative; isolation: isolate; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 1px rgba(21, 21, 21, .1), 0 10px 26px -14px rgba(21, 21, 21, .3), 0 2px 6px -2px rgba(21, 21, 21, .12);
}
.navi-links::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .14) 100%); }
.navi-links a { display: block; padding: 9px 15px; border-radius: 999px; color: var(--espresso-weich); line-height: 1.2; transition: background-color .3s, color .3s, box-shadow .3s, transform .45s cubic-bezier(.2, .9, .25, 1.4); }
.navi-links a::after { display: none; }
.navi-links a:hover { color: var(--espresso); background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.navi-links a:active { transform: scale(.95); transition-duration: .12s; }
.navi-links a[aria-current="page"] {
  color: var(--sand-hell); background: rgba(21, 21, 21, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 1px rgba(0, 0, 0, .25), 0 4px 10px -4px rgba(21, 21, 21, .5);
}
/* Telefonnummer oben als klare Glaspille */
.kopf-telefon {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; position: relative; isolation: isolate; overflow: hidden;
  background: rgba(255, 255, 255, .3); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 1px rgba(21, 21, 21, .1), 0 10px 26px -14px rgba(21, 21, 21, .3);
  transition: background-color .3s, transform .45s cubic-bezier(.2, .9, .25, 1.4);
}
.kopf-telefon:hover { text-decoration: none; background: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.kopf-telefon:active { transform: scale(.96); transition-duration: .12s; }
.navi { gap: 10px; }
@media (max-width: 1180px) and (min-width: 901px) { .navi-links a { padding: 9px 11px; } }
@media (max-width: 900px) {
  :root { --kopf-hoehe: 116px; }
  .navi { width: 100%; margin-inline: 0; padding: 4px 0 12px; overflow: visible; }
  .navi-links { display: flex; width: 100%; gap: 0; padding: 4px; }
  .navi-links a { flex: 1 1 auto; text-align: center; padding: 10px 4px; font-size: .875rem; }
}
@media (max-width: 380px) { .navi-links a { font-size: .8125rem; padding: 10px 2px; } }
.navi-links a { white-space: nowrap; }
@media (max-width: 1080px) { .kopf-telefon { display: none; } }
@media (max-width: 900px) {
  .navi-links li { flex: 1 1 auto; }
  .navi-links a { padding: 10px 8px; }
}
@media (max-width: 380px) { .navi-links a { padding: 10px 5px; } }

/* Startseite: zweiteilige Aussage */
.hero h1 { max-width: 13em; }
.hero-erst { display: block; }
.hero-zweit { display: block; font-weight: 500; color: var(--espresso-weich); }

/* Glas-Meldungen rund um das 3D-Logo */
.meldungen { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.meldung {
  position: absolute; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 290px;
  padding: 10px 16px 10px 10px; border-radius: 18px; color: var(--espresso);
  background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 1px rgba(21, 21, 21, .1), 0 18px 36px -18px rgba(21, 21, 21, .45), 0 3px 8px -3px rgba(21, 21, 21, .18);
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .9, .25, 1.2), filter .6s;
}
.meldung.da { opacity: 1; transform: none; animation: schweben 5s ease-in-out .7s infinite alternate; }
.meldung.weg { opacity: 0; transform: translateY(-10px) scale(.97); animation: none; transition-duration: .55s; }
@keyframes schweben { to { transform: translateY(-6px); } }
.meldung-symbol { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(28, 28, 28, .88); color: var(--sand-hell); flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.meldung-symbol svg { width: 18px; height: 18px; }
.meldung b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.meldung small { display: block; font-size: .75rem; color: var(--espresso-weich); line-height: 1.3; }
@media (max-width: 900px) {
  .monogramm { overflow: visible; }
  .meldung { max-width: 210px; padding: 8px 12px 8px 8px; gap: 10px; }
  .meldung-symbol { width: 30px; height: 30px; border-radius: 9px; }
}
@media (max-width: 400px) { .meldung { max-width: 180px; } .meldung b { font-size: .8125rem; } }
.hero h1 { font-size: clamp(2.2rem, min(4.5vw, 6.6vh), 3.9rem); max-width: 15em; }
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.6rem); }
}

/* ==================================================================
   Filmischer Auftritt: Köpfe mit Lichtkegel,
   helle, ruhige Inhaltsflächen, Szenenwechsel zwischen den Seiten.
   ================================================================== */

/* Kopfzeile dunkel auf allen Seiten */
.kopf.dunkel { background: var(--flaeche); color: var(--auf-dunkel); }
.kopf.dunkel.gescrollt { box-shadow: 0 1px 0 var(--linie), 0 12px 30px -18px rgba(60, 45, 35, .3); }
.kopf.dunkel .marke { color: var(--auf-dunkel); }
.kopf.dunkel .navi-links { background: rgba(255, 255, 255, .3); border-color: rgba(31, 31, 31, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 1px rgba(31, 31, 31, .06), 0 10px 26px -16px rgba(60, 45, 35, .3); }
.kopf.dunkel .navi-links::before { background: linear-gradient(180deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .12) 100%); }
.kopf.dunkel .navi-links a { color: var(--espresso-weich); }
.kopf.dunkel .navi-links a:hover { color: var(--espresso); background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.kopf.dunkel .navi-links a[aria-current="page"] { color: #fff; background: var(--akzent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 14px -4px rgba(31, 31, 31, .35); }
.kopf.dunkel .kopf-telefon { color: var(--espresso); background: rgba(255, 255, 255, .3); border-color: rgba(31, 31, 31, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 26px -16px rgba(60, 45, 35, .3); }
.kopf.dunkel .kopf-telefon:hover { background: rgba(255, 255, 255, .55); }
.kopf.dunkel .kopf-anruf { --glas: rgba(255, 255, 255, .3); --glas-kante: rgba(31, 31, 31, .12); color: var(--espresso); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 26px -16px rgba(60, 45, 35, .3); }
.kopf.dunkel .kopf-anruf::before { background: linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 55%); }
.kopf.dunkel .kopf-anruf::after { border-color: rgba(31, 31, 31, .16); }

/* Seitenköpfe als dunkle Szene mit Lichtkegel */
.seitenkopf.dunkel {
  position: relative; isolation: isolate; overflow: hidden; color: var(--auf-dunkel);
  padding-block: clamp(64px, 11vh, 120px) clamp(48px, 8vh, 88px);
  background:
    radial-gradient(52% 62% at 76% 42%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 55% at 12% 88%, rgba(143, 122, 104, .16), rgba(143, 122, 104, 0) 70%),
    var(--flaeche);
}
.seitenkopf.dunkel .pfad, .seitenkopf.dunkel p { color: var(--auf-dunkel-weich); }
.seitenkopf.dunkel h1 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); max-width: 14em; letter-spacing: -0.03em; }
.seite-leistungen .seitenkopf.dunkel { padding-block: clamp(40px, 6vh, 72px) clamp(32px, 5vh, 56px); }
.seite-leistungen .raster-leistungen { padding-top: var(--a-5); }
@media (max-width: 560px) { .seitenkopf.dunkel h1 { font-size: clamp(1.9rem, 9vw, 2.5rem); } }

/* Startseite als Filmszene: Lichtkegel auf das Logo, Vignette, Korn */
body.start { background: var(--flaeche); }
.hero.dunkel { position: relative; isolation: isolate; overflow: hidden; color: var(--auf-dunkel); }
.hero.dunkel::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 55% at 74% 46%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%),
    radial-gradient(120% 90% at 50% 50%, rgba(110, 93, 79, 0) 55%, rgba(110, 93, 79, .14) 100%);
}
.hero.dunkel h1 { color: var(--auf-dunkel); }
.hero.dunkel .hero-zweit { color: var(--auf-dunkel-weich); }
.hero.dunkel .hero-unter { color: var(--auf-dunkel-weich); }
.hero.dunkel .monogramm-schatten { background: radial-gradient(closest-side, rgba(60, 45, 35, .28), transparent); }
@media (max-width: 900px) { .hero.dunkel::before { background: radial-gradient(70% 40% at 30% 18%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%), radial-gradient(120% 90% at 50% 50%, rgba(110, 93, 79, 0) 55%, rgba(110, 93, 79, .14) 100%); } }

/* Wechselndes Wort: rollt aus der Unschärfe herein */
.wechsel { display: inline-block; position: relative; vertical-align: top; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.wechsel.laeuft { height: 1.1em; }
.wechsel.laeuft .wechsel-wort { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform .65s cubic-bezier(.2, .9, .25, 1.15), opacity .5s, filter .5s; }
.wechsel-wort.rein { transform: translateY(65%); opacity: 0; }
.wechsel-wort.raus { transform: translateY(-65%); opacity: 0; }

/* Logo vorne, Meldungen dahinter als Rauchglas */
.monogramm canvas { z-index: 2; }
.meldungen { z-index: 1; }
.hero.dunkel .meldung {
  color: var(--espresso); background: rgba(255, 255, 255, .55); border-color: rgba(31, 31, 31, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 1px rgba(31, 31, 31, .06), 0 22px 40px -20px rgba(60, 45, 35, .35);
}
.hero.dunkel .meldung small { color: var(--auf-dunkel-weich); }
/* Plätze der Meldungen: oben und rechts am Logo. Das Logo steht davor, verdeckt aber nie Text */
.meldung.platz-0 { left: 18%; top: -3%; }
.meldung.platz-1 { right: -26%; top: 42%; }
.meldung.platz-2 { right: -20%; bottom: -9%; }
/* Schmaler Desktop: nur eine Meldung zugleich (seite.js), daher dürfen sich die Plätze überschneiden */
@media (max-width: 1240px) { .meldung.platz-1 { right: -8%; top: -6%; } .meldung.platz-2 { right: -2%; } }
/* Handy: rechts neben dem kleinen Logo, nur die linke Kante liegt dahinter */
@media (max-width: 900px) {
  .meldung.platz-0, .meldung.platz-1, .meldung.platz-2 { left: calc(100% - 26px); right: auto; top: 30%; bottom: auto; }
  .meldung { max-width: calc(100vw - 170px - var(--rand) - 6px); }
}
@media (max-width: 900px) and (max-height: 760px) { .meldung { max-width: calc(100vw - 130px - var(--rand) - 6px); } }

/* Fuß der Startseite und Hero ohne Trennkante */
body.start .fuss-kurz { background: transparent; }

/* Leistungskacheln neigen sich zur Maus, mit Lichtreflex */
.kachel { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1), background-color .3s, border-color .3s, color .3s; isolation: isolate; overflow: hidden; }
.kachel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%); opacity: 0; transition: opacity .3s; }
.kachel:hover::after { opacity: 1; }

/* Ruhiger und klarer: weniger Linien */
.leistungen-fuss { border-top: 0; margin-top: 0; }

/* Kein Überblenden zwischen den Seiten: Alte und neue Seite lägen sonst kurz übereinander,
   und die neue spielte danach ihren eigenen Auftritt noch einmal. Den Auftritt übernimmt allein die neue Seite. */
html { background: var(--flaeche); }

@media (prefers-reduced-motion: reduce) {
}

/* ==================================================================
   Helles Blatt: Kopf und Fuß bilden einen dunklen Rahmen, der Inhalt
   jeder Unterseite liegt als ein Blatt mit runden Ecken darüber.
   Dunkle Teile im Inhalt sind Karten mit demselben Radius.
   ================================================================== */
:root { --blatt-rand: clamp(6px, 1.1vw, 14px); --blatt-radius: clamp(22px, 2.8vw, 36px); --karten-radius: 24px; }
body { background: var(--flaeche); }
.seitenkopf.dunkel { padding-bottom: calc(clamp(48px, 8vh, 88px) + var(--blatt-radius)); }
.seite-leistungen .seitenkopf.dunkel { padding-bottom: calc(clamp(32px, 5vh, 56px) + var(--blatt-radius)); }
/* Das Blatt schiebt sich um einen Radius in den Kopf, damit die Ecken den Kopf zeigen und keine Kante */
.blatt {
  position: relative; z-index: 1; background: var(--blatt); color: var(--espresso);
  margin: calc(-1 * var(--blatt-radius)) var(--blatt-rand) 0; border-radius: var(--blatt-radius);
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px);
  box-shadow: 0 -24px 50px -30px rgba(60, 45, 35, .22);
}
.blatt > section:first-child { padding-top: 0; }
.blatt > section:last-child { padding-bottom: 0; }
.blatt > section:last-child :is(.ablauf-raster, .ueber-raster, .kontakt-raster, .rechtstext) { padding-bottom: 0; }
.seite-leistungen .raster-leistungen { padding-top: 0; }
.szenario { padding-bottom: var(--a-7); }

/* Beispiel-Film als dunkle Karte, gleich breit wie der Text und das Aufruf-Band */
.blatt .buehne { width: min(calc(100% - 2 * var(--rand)), calc(var(--breite) - 2 * var(--rand))); margin-inline: auto; border-radius: var(--karten-radius); overflow: hidden; isolation: isolate; }
.blatt .buehne.film-aktiv .buehne-text { padding-left: clamp(var(--a-4), 4vw, var(--a-6)); }
.blatt .buehne:not(.film-aktiv) .buehne-pin { padding: clamp(var(--a-5), 5vw, var(--a-7)); }
.cta-band { border-radius: var(--karten-radius); }
@media (max-width: 860px) { .blatt .buehne.film-aktiv .buehne-text { padding: var(--a-3) var(--a-4) var(--a-5); } }

/* Kontakt auf dem Blatt: Formular hebt sich als eigene Fläche ab */
.blatt .formular { box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 24px 48px -30px rgba(21, 21, 21, .45); border: 1px solid rgba(21, 21, 21, .08); }

/* ------------------------------------------------------------------
   Bewegung. Ein Auftritt pro Seite, danach folgt alles dem Scrollen:
   Das Blatt steigt nach der Überschrift ins Bild, der Kopf bleibt beim
   Scrollen zurück, dunkle Karten öffnen sich wie ein Vorhang.
   ------------------------------------------------------------------ */
.bewegt .blatt { animation: blattAuf 1.1s cubic-bezier(.22, 1, .36, 1) .2s both; }
@keyframes blattAuf { from { transform: translateY(72px); } }
.bewegt .seitenkopf.dunkel > .huelle { transform: translate3d(0, var(--kopf-weg, 0px), 0) scale(var(--kopf-skala, 1)); opacity: var(--kopf-sicht, 1); transform-origin: 0 100%; }
.bewegt :is(.blatt .buehne, .cta-band) { clip-path: inset(calc(var(--zu, 0) * 9%) calc(var(--zu, 0) * 7%) round var(--karten-radius)); }
.bewegt .cta-band > * { transform: translateY(calc(var(--zu, 0) * 24px)); opacity: calc(1 - var(--zu, 0) * 1.4); }

@media (prefers-reduced-motion: reduce) {
  .blatt { animation: none; }
  .seitenkopf.dunkel > .huelle { transform: none; opacity: 1; }
}

/* Browserflächen in den Farben der Marke */
::selection { background: rgba(143, 122, 104, .45); color: var(--espresso); }
input, textarea { caret-color: var(--moos); }
:root { accent-color: var(--moos); }

/* ==================================================================
   Startseite: Leistungs-Show, der zweite Bildschirm. Jede Leistung hat
   ein großes Wort Ton in Ton dahinter und eine Beispielkarte davor.
   Ein Schritt fährt die nächste Leistung von rechts herein. Wie groß
   die Karte sein darf, misst seite.js. Ohne JS stehen sie untereinander.
   ================================================================== */
:root { --ease-aus: cubic-bezier(.23, 1, .32, 1); /* Bewegt sich ab dem ersten Bild, bremst weich ab: wirkt sofort beantwortet */ --ease-wechsel: cubic-bezier(.16, 1, .3, 1); }
body.start { height: auto; min-height: 100svh; }
body.start main { display: block; }
.hero { min-height: calc(100svh - var(--kopf-h, 72px) - var(--aktion-h, 0px)); }

.schau { position: relative; color: var(--auf-dunkel); }
.schau-kopf { position: relative; z-index: 3; padding-top: clamp(28px, 5vh, 56px); }
.schau-kopf h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--auf-dunkel); }
.schau-kopf p { margin-top: 6px; font-size: var(--t-0); color: var(--espresso-weich); }
.schau-liste { list-style: none; margin: 0; padding: 0; }
.schau-stueck { position: relative; overflow: hidden; isolation: isolate; background: var(--flaeche); display: grid; justify-items: center; gap: var(--a-5); padding: var(--a-8) var(--rand); text-align: center; }
.schau-wort {
  position: absolute; left: 50%; top: 44%; z-index: -1; margin: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--schrift-anzeige); font-weight: 800; line-height: .8; letter-spacing: -0.05em;
  font-size: clamp(6rem, 21vw, 21rem); translate: -50% -50%;
  color: rgba(143, 122, 104, .16);
}
.schau-neigung { transition: transform .6s var(--ease-aus); }
.schau .karte { width: min(380px, 84vw); text-align: left; box-shadow: 0 50px 90px -40px rgba(60, 45, 35, .4), 0 18px 36px -24px rgba(60, 45, 35, .25); }
.schau-text { display: grid; justify-items: center; gap: 10px; max-width: 30em; }
.schau-text h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--espresso); }
.schau-text p { color: var(--espresso-weich); }
.schau-text .knopf { margin-top: 6px; min-height: 44px; }
.schau-punkte { display: none; }

/* Mit JS: eine Bühne, die beim Scrollen stehen bleibt */
.schau-aktiv { height: 100%; }
.schau-aktiv .schau-buehne { position: relative; height: 100%; overflow: hidden; isolation: isolate; background-color: var(--flaeche); }
.schau-aktiv .schau-buehne::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(42% 48% at 50% 46%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%), radial-gradient(120% 90% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .38) 100%); }
.schau-aktiv .schau-liste { position: absolute; inset: 0; z-index: 1; }
.schau-aktiv .schau-stueck { position: absolute; inset: 0; background: none; overflow: visible; padding: var(--oben, calc(clamp(28px, 5vh, 56px) + 4.6rem)) var(--rand) var(--unten, 88px); align-content: center; gap: clamp(20px, 4vh, 40px); pointer-events: none; }
.schau-aktiv .schau-stueck[data-lage="jetzt"] { pointer-events: auto; }
.schau-aktiv .schau-objekt, .schau-aktiv .schau-wort, .schau-aktiv .schau-text { transition: transform .75s var(--ease-wechsel), opacity .5s var(--ease-wechsel); }
/* Fahrtstrecke: halbe Fensterbreite plus etwas mehr als die halbe Karte, damit nichts am Rand hervorschaut */
.schau-aktiv [data-lage="vor"] .schau-objekt { transform: translate3d(calc(50vw + 62%), 0, 0) rotate(7deg); }
.schau-aktiv [data-lage="nach"] .schau-objekt { transform: translate3d(calc(-50vw - 62%), 0, 0) rotate(-7deg); }
/* zoom statt scale: Die Karte braucht dann auch im Raster nur so viel Platz, wie sie zeigt */
.schau-aktiv .schau-neigung { zoom: var(--passung, 1); }
/* In der Show stehen Gespräche kompakter als im Kurzfilm, sonst wird die Telefonkarte zu hoch */
.schau .blase { font-size: .875rem; padding: 8px 12px; line-height: 1.4; }
.schau .karte { gap: 10px; }
.schau-aktiv [data-lage="vor"] .schau-wort { transform: translate3d(34vw, 0, 0); opacity: 0; }
.schau-aktiv [data-lage="nach"] .schau-wort { transform: translate3d(-34vw, 0, 0); opacity: 0; }
.schau-aktiv [data-lage]:not([data-lage="jetzt"]) .schau-text { opacity: 0; transform: translate3d(0, 14px, 0); transition-duration: .35s, .25s; }
.schau-aktiv [data-lage="jetzt"] .schau-text { transition-delay: .25s; }
.schau-aktiv [data-lage="jetzt"] .karte { animation: schweben 5s ease-in-out .9s infinite alternate; }
.schau-aktiv .schau-punkte { display: flex; position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; justify-content: center; gap: 4px; padding-inline: var(--rand); flex-wrap: wrap; }
.schau-punkt { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--espresso-weich); font: 500 var(--t-0)/1 var(--schrift-text); cursor: pointer; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.schau-punkt[aria-current="true"] { color: #fff; background: var(--akzent); }
@media (hover: hover) and (pointer: fine) { .schau-punkt:hover { color: var(--auf-dunkel); } }
/* Auf- und Abblende: Die Bühne taucht aus dem Espresso der Startseite auf und kehrt am Ende dorthin zurück */
@media (max-width: 760px) {
  .schau-aktiv .schau-punkt { width: 30px; padding: 0; }
  .schau-aktiv .schau-punkt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schau-aktiv .schau-punkt::after { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; border: 1.5px solid currentColor; }
  .schau-aktiv .schau-punkt[aria-current="true"] { background: none; color: var(--akzent); }
  .schau-aktiv .schau-punkt[aria-current="true"]::after { background: currentColor; }
  .schau-aktiv .schau-stueck { padding-bottom: 64px; }
  .schau .karte { width: min(330px, 82vw); padding: 18px; }
  .schau-wort { top: 40%; font-size: clamp(5rem, 30vw, 9rem); }
}
@media (max-height: 760px) and (max-width: 760px) { .schau-text p { font-size: .9375rem; } }


@media (prefers-reduced-motion: reduce) {
  .schau-aktiv [data-lage="vor"] .schau-objekt, .schau-aktiv [data-lage="nach"] .schau-objekt,
  .schau-aktiv [data-lage="vor"] .schau-wort, .schau-aktiv [data-lage="nach"] .schau-wort { transform: none; opacity: 0; }
  .schau-aktiv .schau-objekt { opacity: 1; }
  .schau-aktiv [data-lage]:not([data-lage="jetzt"]) .schau-objekt { opacity: 0; }
}
/* Niedrige Handys (etwa 360 × 640): Überschrift kleiner, damit für die Karte Platz bleibt */
@media (max-width: 760px) and (max-height: 700px) {
  .schau-kopf { padding-top: 16px; }
  .schau-kopf h2 { font-size: 1.3rem; }
  .schau-kopf p { display: none; }
  .schau-aktiv .schau-stueck { gap: 10px; }
  .schau-text { gap: 6px; }
  .schau-text p { font-size: .875rem; }
  .schau-aktiv .schau-punkte { bottom: 6px; }
}

/* Menü-Tropfen: dieselbe helle Pille, aber beweglich. Sie fließt beim Antippen zum neuen Punkt.
   Ohne Skript bleibt die feste Pille oben gültig. Bewegt wird nur transform (siehe tropfen.js) */
.navi-links.tropfen-an li { position: relative; z-index: 1; }
.tropfen { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tropfen > span { position: absolute; left: 0; top: 0; background: var(--akzent); will-change: transform; backface-visibility: hidden; }
.tropfen .t-kopf, .tropfen .t-schweif { transform-origin: 50% 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 14px -4px rgba(31, 31, 31, .35); }
.tropfen .t-hals { transform-origin: 0 50%; transform: scale(0); }
.tropfen .t-ansatz { transform-origin: 0 50%; transform: scale(0); }
html .kopf.dunkel .navi-links.tropfen-an a[aria-current="page"] { background: transparent; box-shadow: none; }
html .kopf.dunkel .navi-links.tropfen-an a { transition: color .2s, background-color .3s, box-shadow .3s, transform .45s cubic-bezier(.2, .9, .25, 1.4); }
html .kopf.dunkel .navi-links.tropfen-an a:not(.auf-tropfen) { color: var(--auf-dunkel-weich); }
html .kopf.dunkel .navi-links.tropfen-an a.auf-tropfen,
html .kopf.dunkel .navi-links.tropfen-an a.auf-tropfen:hover { color: #fff; background: transparent; box-shadow: none; }
html .kopf.dunkel .navi-links.tropfen-an a:not(.auf-tropfen):hover { color: var(--espresso); background: transparent; }

/* ==================================================================
   Startseite als eine feste Seite. Das Skript im <head> setzt
   .zwei-bilder vor dem ersten Bild. Kopf, Aktionsband und Fußzeile
   stehen fest. Nichts fährt nach unten: Der Einstieg schiebt sich nach
   links hinaus, die Show mit „Website“ kommt von rechts, wie danach
   jede weitere Leistung.
   Ohne JS bleibt alles eine normale Scrollseite.
   ================================================================== */
/* overscroll-behavior verhindert, dass ein Wisch zur Seite im Browser „Zurück“ auslöst */
html.zwei-bilder, html.zwei-bilder body { overflow: hidden; overscroll-behavior: none; }
html.zwei-bilder body.start { height: 100vh; height: 100dvh; min-height: 0; display: flex; flex-direction: column; }
html.zwei-bilder body.start main { flex: 1 1 0; min-height: 0; overflow: hidden; display: block; position: relative; }
.zwei-bilder .bildschirme { position: relative; height: 100%; }
html.zwei-bilder .hero, html.zwei-bilder .schau { position: absolute; inset: 0; height: auto; min-height: 0; transition: transform .75s var(--ease-wechsel); }
html.zwei-bilder .schau { transform: translate3d(100%, 0, 0); }
html.zwei-bilder[data-bild="1"] .hero { transform: translate3d(-100%, 0, 0); }
html.zwei-bilder[data-bild="1"] .schau { transform: none; }
html.zwei-bilder .hero { padding-block: clamp(12px, 3vh, 40px) clamp(56px, 9vh, 96px); }
html.ohne-uebergang .bildschirme *, html.ohne-uebergang .bildschirme *::before { transition: none !important; }
.zwei-bilder .fuss-kurz { position: relative; z-index: 2; }

/* Hinweis unten im Einstieg: Hier geht es weiter */
.weiter { display: none; }
.zwei-bilder .weiter {
  position: absolute; left: 50%; bottom: clamp(10px, 2.4vh, 24px); translate: -50% 0; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 14px;
  color: var(--akzent-tief); font-size: var(--t-0); font-weight: 500; text-decoration: none; border-radius: 999px;
  transition: color .2s;
}
.zwei-bilder .weiter { flex-direction: row; gap: 8px; }
.zwei-bilder .weiter svg { width: 22px; height: 22px; animation: weiterWippen 2.4s ease-in-out infinite; }
.zwei-bilder .weiter:hover { color: var(--espresso); }
@keyframes weiterWippen { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
html.zwei-bilder[data-bild="1"] .weiter { opacity: 0; transition: opacity .3s; }

/* Nach der letzten Leistung federt die Show kurz nach */
.schau-buehne.anschlag .schau-stueck[data-lage="jetzt"] .schau-objekt { animation: anschlag .45s cubic-bezier(.3, .7, .4, 1); }
@keyframes anschlag { 40% { transform: translate3d(-18px, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  html.zwei-bilder .hero, html.zwei-bilder .schau { transition: none; }
  .zwei-bilder .weiter svg { animation: none; }
}

/* Handy: Einstieg muss in einen Bildschirm passen. Fußzeile nur mit den Rechtslinks */
@media (max-width: 700px) {
  .zwei-bilder .fuss-kurz .fuss-unten > span { display: none; }
  .zwei-bilder .fuss-kurz .fuss-unten { justify-content: center; }
  .zwei-bilder .fuss-kurz { padding-block: 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
}

/* Einstieg in einem Bildschirm. Echte Handys zeigen im Browser weniger Höhe als ihr Display,
   ein iPhone SE etwa 375 × 553. Deshalb richten sich Schrift und Logo nach der Höhe */
html.zwei-bilder .hero h1 { font-size: clamp(2rem, min(4.5vw, 6vh), 3.9rem); }
@media (max-width: 700px) {
  html.zwei-bilder .hero { padding-block: 8px 40px; }
  .zwei-bilder .hero-raster { gap: 10px; }
  .zwei-bilder .hero-text { gap: clamp(8px, 1.6vh, 16px); }
  html.zwei-bilder .hero h1 { font-size: clamp(1.5rem, min(9vw, 5vh), 2.6rem); }
  .zwei-bilder .monogramm { max-width: 140px; }
  .zwei-bilder .hero-unter { font-size: clamp(.875rem, 2.4vh, 1.0625rem); }
  /* Ein Button reicht: „Leistungen“ steht direkt darüber im Menü */
  .zwei-bilder .hero-handlung .knopf-neben { display: none; }
  .zwei-bilder .weiter { bottom: 2px; padding: 8px 14px; }
  .zwei-bilder .weiter span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Unter dieser Höhe passt das 3D-Logo nicht mehr über die Überschrift. Das Logo oben links bleibt */
@media (max-width: 700px) and (max-height: 779px) { .zwei-bilder .monogramm { display: none; } }
/* iPhone SE und kleiner: Überschrift und Button tragen den Einstieg allein, die Show zeigt nur Karte und Name */
@media (max-width: 700px) and (max-height: 600px) {
  .zwei-bilder .hero-unter, .zwei-bilder .schau-text p { display: none; }
  .zwei-bilder .schau-kopf { padding-top: 10px; }
  .zwei-bilder .schau-kopf h2 { font-size: 1.2rem; }
}

/* ==================================================================
   Leistungen: alle acht auf einen Blick, ohne Scrollen. Kopf flacher,
   Kacheln kompakt, der Pfeil sitzt neben dem Symbol statt in eigener Zeile.
   ================================================================== */
.seite-leistungen .seitenkopf.dunkel { padding-block: clamp(20px, 3.5vh, 40px) calc(clamp(16px, 3vh, 32px) + var(--blatt-radius)); }
.seite-leistungen .seitenkopf.dunkel h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.seite-leistungen .seitenkopf.dunkel p { max-width: 46em; margin-top: 6px; }
.seite-leistungen .blatt { padding-top: clamp(20px, 3.5vh, 36px); }
.seite-leistungen .raster-leistungen { gap: 12px; padding-bottom: var(--a-5); }
.seite-leistungen .kachel { min-height: 0; padding: 18px 20px; gap: 10px; grid-template-rows: auto 1fr; }
.seite-leistungen .kachel-symbol { width: 38px; height: 38px; border-radius: 11px; }
.seite-leistungen .kachel-symbol svg { width: 21px; height: 21px; }
.seite-leistungen .kachel h2 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.seite-leistungen .kachel p { font-size: .875rem; margin-top: 4px; line-height: 1.5; }
.seite-leistungen .kachel-pfeil { position: absolute; top: 18px; right: 18px; }
.seite-leistungen .kachel-pfeil span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Handy: zwei Spalten, nur Symbol und Name. Die Beschreibung steht auf der Leistungsseite */
@media (max-width: 700px) {
  .seite-leistungen .seitenkopf.dunkel p { display: none; }
  .seite-leistungen .raster-leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .seite-leistungen .kachel { grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 8px; padding: 12px 10px; padding-right: 10px !important; }
  .seite-leistungen .kachel-symbol { width: 28px; height: 28px; border-radius: 8px; }
  .seite-leistungen .kachel-symbol svg { width: 16px; height: 16px; }
  /* Nur am vorhandenen Bindestrich umbrechen: „Rufver-teilung“ liest sich schlecht */
  .seite-leistungen .kachel h2 { font-size: clamp(.8125rem, 3.9vw, .9375rem); line-height: 1.2; hyphens: manual; }
  .seite-leistungen .kachel p, .seite-leistungen .kachel-pfeil { display: none; }
}
/* Ab Tablet quer vier Spalten, sonst brauchen die Kacheln vier Reihen und ragen unter den Rand */
@media (min-width: 901px) { .seite-leistungen .raster-leistungen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==================================================================
   Handy: weniger Leerraum oben, nichts Dekoratives, das Platz frisst
   ================================================================== */
@media (max-width: 860px) {
  .kontakt-logo { display: none; }
}
@media (max-width: 560px) {
  .seitenkopf.dunkel { padding-top: clamp(24px, 4vh, 40px); }
  .film-aktiv .buehne-pin { grid-template-rows: 400px auto; }
  /* Zwei Spalten waren zu schmal für die E-Mail-Adresse, sie brach mitten im Wort */
  .fuss-raster { grid-template-columns: 1fr; gap: var(--a-4); }
  .fuss-raster > div:nth-child(2) ul { grid-template-columns: 1fr 1fr; column-gap: var(--a-4); }
  .fuss-unten { margin-top: var(--a-5); }
}
.aktion-kurz { display: none; }
@media (max-width: 560px) { .aktion-lang { display: none; } .aktion-kurz { display: inline; } .aktion { padding-block: 8px; } }
/* Kontakt: was nach dem Absenden passiert, nimmt die Unsicherheit vor dem Klick */
.naechste { margin-top: var(--a-6); padding-top: var(--a-5); border-top: 1px solid var(--linie); }
.naechste h2 { font-size: var(--t-2); margin-bottom: var(--a-3); }
.naechste ol { list-style: none; counter-reset: schritt; margin: 0; padding: 0; display: grid; gap: var(--a-3); }
.naechste li { counter-increment: schritt; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--espresso-weich); }
.naechste li::before { content: counter(schritt); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--akzent); color: #fff; font-weight: 700; font-size: .875rem; }
/* Handy mit genug Höhe: der Hinweis unter dem Einstieg bekommt seinen Text zurück, ein Pfeil allein war unklar */
@media (max-width: 700px) and (min-height: 700px) {
  .zwei-bilder .weiter span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ==================================================================
   Verspieltere Show: eigene Flugbahn je Karte mit Nachfedern, Wort baut
   sich Buchstabe für Buchstabe auf, Text staffelt, Reiter gleitet,
   jede Karte spielt ihre Szene. Nur transform und opacity.
   ================================================================== */
:root { --feder: cubic-bezier(.2, 1.28, .42, 1); --feder-weich: cubic-bezier(.3, 1.18, .5, 1); }
.schau-aktiv [data-lage="vor"] .schau-objekt { transform: translate3d(calc(50vw + 62%), var(--hoch, 0px), 0) rotate(var(--dreh, 7deg)) scale(.86); }
.schau-aktiv [data-lage="nach"] .schau-objekt { transform: translate3d(calc(-50vw - 62%), calc(var(--hoch, 0px) * -1), 0) rotate(calc(var(--dreh, 7deg) * -1)) scale(.86); }
.schau-aktiv [data-lage="jetzt"] .schau-objekt { transition: transform 1s var(--feder), opacity .5s var(--ease-wechsel); }

.schau-wort span { display: inline-block; transition: transform .8s var(--feder), opacity .45s ease; }
.schau-aktiv [data-lage]:not([data-lage="jetzt"]) .schau-wort span { transform: translate3d(0, 55%, 0) rotate(8deg) scale(.9); opacity: 0; transition-duration: .3s, .2s; }
.schau-aktiv [data-lage="jetzt"] .schau-wort span { transition-delay: calc(.1s + var(--i) * 45ms); }
.schau-aktiv [data-lage="jetzt"] .schau-wort span:nth-child(odd) { transition-duration: .9s, .45s; }

.schau-aktiv .schau-text > * { transition: transform .7s var(--feder-weich), opacity .4s ease; }
.schau-aktiv [data-lage]:not([data-lage="jetzt"]) .schau-text { opacity: 1; transform: none; }
.schau-aktiv [data-lage]:not([data-lage="jetzt"]) .schau-text > * { opacity: 0; transform: translate3d(0, 18px, 0); transition-duration: .25s, .2s; }
.schau-aktiv [data-lage="jetzt"] .schau-text > :nth-child(1) { transition-delay: .32s; }
.schau-aktiv [data-lage="jetzt"] .schau-text > :nth-child(2) { transition-delay: .4s; }
.schau-aktiv [data-lage="jetzt"] .schau-text > :nth-child(3) { transition-delay: .48s; }

/* Reiter: eine grüne Fläche gleitet von Leistung zu Leistung */
.schau-zeiger { display: none; }
.schau-aktiv .schau-zeiger { display: block; position: absolute; left: 0; top: 0; width: 0; height: 44px; border-radius: 999px; background: var(--akzent); pointer-events: none; z-index: 0;
  transition: transform .55s var(--feder-weich), width .55s var(--feder-weich); box-shadow: 0 8px 18px -8px rgba(30, 51, 37, .6); }
.schau-aktiv .schau-punkt { position: relative; z-index: 1; }
.schau-aktiv .schau-punkt[aria-current="true"] { background: transparent; transition: color .25s ease .1s; }
@media (max-width: 760px) {
  .schau-aktiv .schau-zeiger { display: none; }
  .schau-aktiv .schau-punkt::after { transition: transform .4s var(--feder), background-color .2s; }
  .schau-aktiv .schau-punkt[aria-current="true"]::after { transform: scale(1.35); }
}

/* Szene in der Karte */
.schau-aktiv .karte .erscheint { opacity: 0; transform: translate3d(0, 12px, 0) scale(.92); transition: opacity .35s ease, transform .6s var(--feder); }
.schau-aktiv .karte.gezeigt .erscheint { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) * .8); }
.tippt .ungetippt { color: transparent; }
.tippt.schreibt .getippt::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-right: -2px; background: currentColor; vertical-align: -2px; animation: blinken .8s steps(1) infinite; }
.schau-aktiv .blase { transition: opacity .3s ease, transform .5s var(--feder); transform-origin: 0 100%; }
.schau-aktiv .blase-ki { transform-origin: 100% 100%; }
.schau-aktiv .blase.wartet { opacity: 0; transform: scale(.7) translate3d(0, 8px, 0); }
/* Neuer Eintrag leuchtet einmal auf, wenn er landet */
.schau-aktiv .karte.gezeigt .eintrag.neu > span { animation: aufleuchten 1.1s ease-out calc(var(--d, 0s) * .8 + .35s) both; }
@keyframes aufleuchten { 0% { box-shadow: 0 0 0 0 rgba(45, 74, 54, .55); } 100% { box-shadow: 0 0 0 12px rgba(45, 74, 54, 0); } }
.schau-aktiv .karte.gezeigt .bilanz strong { display: inline-block; animation: zahlHuepfen .9s var(--feder) .3s both; }
@keyframes zahlHuepfen { from { transform: translate3d(0, 10px, 0) scale(.6); opacity: 0; } }

/* Unterseiten: Häkchen zeichnen sich, wenn ihre Zeile erscheint. Strichlänge ist fest, nicht gemessen */
.bewegt .enthalten li svg { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .55s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--d, 0s) + .25s); }
.bewegt .enthalten li.da svg { stroke-dashoffset: 0; }
/* Gestaffelte Gruppen federn leicht nach, statt nur einzublenden */
.bewegt [data-staffel] > * { transform: translate3d(0, 18px, 0) scale(.985); transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .9s var(--feder-weich); transition-delay: var(--d, 0s); }
/* Leistungskacheln: Das Symbol wackelt kurz, wenn man darauf zeigt */
@media (hover: hover) and (pointer: fine) {
  .kachel:hover .kachel-symbol svg { animation: wackeln .6s var(--feder); }
  .weitere a:hover { translate: 0 -2px; }
}
@keyframes wackeln { 25% { transform: rotate(-12deg) scale(1.1); } 55% { transform: rotate(9deg) scale(1.08); } 80% { transform: rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) {
  .schau-aktiv [data-lage] .schau-wort span, .schau-aktiv [data-lage] .schau-text > * { transform: none; }
  .schau-aktiv [data-lage]:not([data-lage="jetzt"]) .schau-wort span { opacity: 0; }
  .schau-aktiv [data-lage="jetzt"] .schau-wort span, .schau-aktiv [data-lage="jetzt"] .schau-text > * { opacity: 1; }
  .bewegt .enthalten li svg { stroke-dashoffset: 0; }
}

/* ==================================================================
   Wechsel Einstieg ↔ Show wie der Wechsel zwischen den Karten: Die Teile
   des Einstiegs fliegen gestaffelt hinaus, die der Show federn gestaffelt
   herein. Der Versatz läuft über die eigene Eigenschaft translate, damit er
   sich nicht mit den transform-Bewegungen der Karten in die Quere kommt.
   ================================================================== */
html.zwei-bilder .hero, html.zwei-bilder .schau { will-change: transform; }
/* Hinaus: schneller als die Seite, jedes Teil etwas später */
html.zwei-bilder .hero-text > *, html.zwei-bilder .monogramm { transition: translate .7s var(--ease-wechsel), rotate .7s var(--ease-wechsel), opacity .45s ease; }
html.zwei-bilder[data-bild="1"] .hero-text > :nth-child(1) { translate: -14vw 0; rotate: -2deg; opacity: 0; transition-delay: 0s; }
html.zwei-bilder[data-bild="1"] .hero-text > :nth-child(2) { translate: -18vw 0; rotate: -2deg; opacity: 0; transition-delay: .04s; }
html.zwei-bilder[data-bild="1"] .hero-text > :nth-child(3) { translate: -22vw 0; rotate: -3deg; opacity: 0; transition-delay: .08s; }
html.zwei-bilder[data-bild="1"] .monogramm { translate: -10vw 0; opacity: 0; transition-delay: .02s; }
/* Zurück zum Einstieg: dieselben Teile federn gestaffelt wieder an ihren Platz */
html.zwei-bilder:not([data-bild="1"]) .hero-text > * { transition: translate .95s var(--feder-weich), rotate .95s var(--feder-weich), opacity .5s ease; }
html.zwei-bilder:not([data-bild="1"]) .hero-text > :nth-child(1) { transition-delay: .12s; }
html.zwei-bilder:not([data-bild="1"]) .hero-text > :nth-child(2) { transition-delay: .18s; }
html.zwei-bilder:not([data-bild="1"]) .hero-text > :nth-child(3) { transition-delay: .24s; }
html.zwei-bilder:not([data-bild="1"]) .monogramm { transition: translate .95s var(--feder-weich), opacity .5s ease .1s; }

/* Herein: die Show-Teile warten weiter rechts und holen die Seite federnd ein */
html.zwei-bilder:not([data-bild="1"]) .schau-kopf { translate: 12vw 0; }
html.zwei-bilder:not([data-bild="1"]) .schau-objekt { translate: 26vw 0; rotate: 7deg; }
html.zwei-bilder:not([data-bild="1"]) .schau-text { translate: 18vw 0; opacity: 0; }
html.zwei-bilder:not([data-bild="1"]) .schau-punkte { translate: 30vw 0; opacity: 0; }
html.zwei-bilder[data-bild="1"] .schau-kopf { transition: translate .9s var(--feder-weich) .04s; }
html.zwei-bilder[data-bild="1"] .schau-objekt { transition: translate 1.05s var(--feder) .08s, rotate 1.05s var(--feder) .08s, transform 1s var(--feder), opacity .5s var(--ease-wechsel); }
html.zwei-bilder[data-bild="1"] .schau-text { transition: translate .95s var(--feder-weich) .16s, opacity .5s ease .16s; }
html.zwei-bilder[data-bild="1"] .schau-punkte { transition: translate .95s var(--feder-weich) .22s, opacity .5s ease .22s; }
/* Karten, die gerade nicht vorne stehen, wechseln weiter im Tempo der Show */
html.zwei-bilder[data-bild="1"] [data-lage]:not([data-lage="jetzt"]) .schau-objekt { transition: translate 1.05s var(--feder) .08s, rotate 1.05s var(--feder) .08s, transform .75s var(--ease-wechsel), opacity .5s var(--ease-wechsel); }
/* Zurück: Show-Teile ziehen ohne Verzögerung mit hinaus */
html.zwei-bilder:not([data-bild="1"]) .schau-kopf, html.zwei-bilder:not([data-bild="1"]) .schau-text, html.zwei-bilder:not([data-bild="1"]) .schau-punkte { transition: translate .6s var(--ease-wechsel), opacity .3s ease; }
html.zwei-bilder:not([data-bild="1"]) .schau-objekt { transition: translate .6s var(--ease-wechsel), rotate .6s var(--ease-wechsel), transform .75s var(--ease-wechsel), opacity .5s var(--ease-wechsel); }
/* Beim Zurückkommen von einer Leistungsseite steht alles sofort */
html.ohne-uebergang .hero-text > *, html.ohne-uebergang .monogramm, html.ohne-uebergang .schau-kopf, html.ohne-uebergang .schau-objekt, html.ohne-uebergang .schau-text, html.ohne-uebergang .schau-punkte { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.zwei-bilder .hero-text > *, html.zwei-bilder .monogramm, html.zwei-bilder .schau-kopf, html.zwei-bilder .schau-objekt, html.zwei-bilder .schau-text, html.zwei-bilder .schau-punkte { translate: none !important; rotate: none !important; }
}

/* ==================================================================
   Einstieg mit dem RS-Logo als Hauptfigur: Das Logo ist das Größte auf
   der Seite, daneben nur eine kurze Überschrift mit dem wechselnden Wort,
   ein Satz und der Button.
   ================================================================== */
.hero h1, html.zwei-bilder .hero h1 { font-size: clamp(2.2rem, min(5vw, 7.4vh), 4.6rem); max-width: 9.5em; line-height: 1.04; letter-spacing: -0.035em; color: var(--auf-dunkel); }
.hero h1 .wechsel { color: var(--akzent); }
.hero-unter { max-width: 27em; }
.bewegt .hero h1 { animation: blockAuf .8s cubic-bezier(.2, .8, .2, 1) .15s both; }
.bewegt .hero-unter { animation-delay: .35s; }
.bewegt .hero-handlung { animation-delay: .47s; }
.hero-raster { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(16px, 3vw, 48px); }
.monogramm, .zwei-bilder .monogramm { max-width: min(780px, 80vh); justify-self: center; }
/* Weiches Licht hinter dem Logo, damit es sich vom Sand abhebt */
.hero.dunkel .monogramm::before { content: ""; position: absolute; inset: -8% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25) 55%, rgba(255, 255, 255, 0) 100%); }
.hero.dunkel .monogramm-schatten { left: 22%; right: 22%; bottom: 0; height: 7%; }
.meldung.platz-0 { left: 4%; top: 8%; }
.meldung.platz-1 { right: -4%; top: 38%; }
.meldung.platz-2 { left: 12%; bottom: 4%; right: auto; }
@media (max-width: 1240px) { .meldung.platz-1 { right: -2%; top: 30%; } .meldung.platz-2 { right: auto; } }

@media (max-width: 900px) {
  .hero-raster, .zwei-bilder .hero-raster { grid-template-columns: 1fr; gap: clamp(4px, 1.5vh, 16px); }
  /* Logo oben und groß. Es bekommt die Höhe, die neben Text und Button übrig bleibt */
  .monogramm, .zwei-bilder .monogramm {
    order: -1; justify-self: center; margin: 0; width: auto;
    height: clamp(150px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 330px), 440px);
    max-width: 86vw; aspect-ratio: 1 / 1.08;
  }
  .meldung.platz-0, .meldung.platz-1, .meldung.platz-2 { right: auto; bottom: auto; }
  .meldung.platz-0 { left: -14%; top: 6%; }
  .meldung.platz-1 { left: auto; right: -16%; top: 40%; }
  .meldung.platz-2 { left: -10%; top: auto; bottom: 2%; }
  .meldung { max-width: 200px; }
  .hero h1, html.zwei-bilder .hero h1 { font-size: clamp(1.9rem, min(10vw, 5.4vh), 3rem); }
}
/* Kleine Handys: der Satz unter der Überschrift fällt weg, das Logo behält seinen Platz */
@media (max-width: 700px) and (max-height: 600px) {
  .monogramm, .zwei-bilder .monogramm { height: clamp(150px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 230px), 300px); }
}
@media (max-width: 700px) and (max-height: 779px) { .zwei-bilder .monogramm { display: block; } }

/* Großes Wort hinter den Karten: passt in die Breite, damit man es am Handy lesen kann */
.schau-wort { font-size: min(clamp(6rem, 21vw, 21rem), calc(94vw / (var(--n, 7) * .62))); }
@media (max-width: 760px) {
  .schau-wort { font-size: calc(94vw / (var(--n, 7) * .62)); top: auto; bottom: calc(var(--unten, 88px) + 6.5rem); translate: -50% 0; line-height: .9; color: rgba(143, 122, 104, .2); }
}
/* Feinschliff nach Sichtprüfung: Meldungen vor dem Logo, Logo etwas kleiner als die Fläche,
   damit oben und unten Luft bleibt, Buttons nebeneinander */
.meldungen { z-index: 3; }
.hero-raster { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.monogramm, .zwei-bilder .monogramm { max-width: min(700px, 66vh); }
.meldung.platz-0 { left: -6%; top: 10%; }
.meldung.platz-1 { right: -8%; top: 46%; }
.meldung.platz-2 { left: 6%; bottom: 14%; }
@media (max-width: 1240px) { .meldung.platz-1 { right: -2%; top: 40%; } }
@media (max-width: 900px) {
  .monogramm, .zwei-bilder .monogramm { max-width: 80vw; height: clamp(140px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 380px), 420px); }
  .meldung.platz-0 { left: -6%; top: 4%; }
  .meldung.platz-1 { right: -8%; top: 42%; }
  .meldung.platz-2 { left: -4%; bottom: 0; }
  .meldung { max-width: min(200px, 56vw); }
}
@media (max-width: 700px) and (max-height: 600px) {
  .monogramm, .zwei-bilder .monogramm { height: clamp(130px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 270px), 280px); }
}
@media (max-width: 900px) {
  .meldung.platz-0 { top: 26%; }
  .meldung.platz-1 { top: 58%; }
  .meldung.platz-2 { bottom: 2%; }
}
/* Auf sehr kleinen Handys würden die Meldungen das Logo verdecken */
@media (max-width: 700px) and (max-height: 600px) { .zwei-bilder .meldungen { display: none; } }
/* Platz für „Beispiele ansehen“ unter dem Button, ohne dass sich beide berühren */
@media (max-width: 900px) {
  .monogramm, .zwei-bilder .monogramm { height: clamp(140px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 420px), 420px); }
}
@media (max-width: 700px) { html.zwei-bilder .hero { padding-bottom: 50px; } }
@media (min-width: 701px) and (max-width: 900px) {
  .monogramm, .zwei-bilder .monogramm { height: clamp(160px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 480px), 420px); }
}
/* Kurze Handys: Logo, Überschrift und Satz rücken enger zusammen */
@media (max-width: 700px) and (max-height: 700px) {
  .monogramm, .zwei-bilder .monogramm { height: clamp(104px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 400px), 200px); }
  html.zwei-bilder .hero h1 { font-size: clamp(1.6rem, 4.9vh, 2.2rem); }
  .zwei-bilder .hero-unter { font-size: .9375rem; line-height: 1.5; }
  .zwei-bilder .hero-text { gap: 8px; }
}
/* Handy: Meldungen sammeln sich an der unteren Ecke des Logos, statt mitten darauf zu liegen */
@media (max-width: 700px) {
  .meldung.platz-0, .meldung.platz-1, .meldung.platz-2 { left: -8%; right: auto; top: auto; bottom: -2%; }
  .meldung.platz-1 { left: auto; right: -8%; bottom: 10%; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .zwei-bilder .meldungen { display: none; }
  .monogramm, .zwei-bilder .monogramm { height: clamp(110px, calc(100svh - var(--kopf-h, 110px) - var(--aktion-h, 0px) - 330px), 220px); }
}
@media (max-width: 760px) {
  .schau-aktiv .schau-wort { top: var(--karte-oben, 40%); bottom: auto; translate: -50% -72%; color: rgba(143, 122, 104, .24); }
}
@media (max-width: 760px) and (max-height: 700px) { .schau-aktiv .schau-wort { translate: -50% -48%; } }
.blase-ki .wer { opacity: 1; }

/* Punktraster hinter dem Einstieg (punkte.js). Liegt über dem Lichtverlauf, unter Text und Logo */
.punktfeld { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
.punktfeld.bereit { opacity: 1; }
/* Heller Hof um das Logo: Dort treten die Punkte zurück, die Bronze steht frei vor hellem Grund */
.hero.dunkel .monogramm::before { inset: -14% -16%;
  background: radial-gradient(closest-side, rgba(250, 247, 242, .96), rgba(250, 247, 242, .78) 45%, rgba(250, 247, 242, .3) 72%, rgba(250, 247, 242, 0) 100%); }
/* Hinter dem Text ein sanfter Schleier, damit die Schrift ruhig lesbar bleibt */
.hero.dunkel .hero-text { position: relative; isolation: isolate; }
.hero.dunkel .hero-text::before { content: ""; position: absolute; inset: -12% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(227, 218, 203, .82), rgba(227, 218, 203, .5) 60%, rgba(227, 218, 203, 0) 100%); }
/* Schleier hinter dem Text breiter und dichter, er läuft weich aus statt als Fleck zu enden */
.hero.dunkel .hero-text::before { inset: -18% -14%;
  background: radial-gradient(farthest-side, rgba(227, 218, 203, .92) 55%, rgba(227, 218, 203, .6) 78%, rgba(227, 218, 203, 0) 100%); }
@media (max-width: 900px) {
  .hero.dunkel .hero-text::before { inset: -10% -6% -14%; background: radial-gradient(farthest-side, rgba(227, 218, 203, .94) 62%, rgba(227, 218, 203, .65) 82%, rgba(227, 218, 203, 0) 100%); }
}

/* Überschrift startet fast unsichtbar statt ganz unsichtbar. Google zählt ein Element mit Deckkraft 0
   nicht als geladen und hätte die Seite erst beim ersten Wortwechsel nach 2,6 s als fertig gewertet */
@keyframes heroAuf { from { opacity: .01; transform: translateY(10px); } }
.bewegt .hero h1 { animation: heroAuf .8s cubic-bezier(.2, .8, .2, 1) .15s both; }

/* Handy und Tablet: Das Logo nimmt den Platz, der über dem Text frei bleibt. Ohne Rechnung mit
   Kopf- und Bandhöhe aus dem Skript, sonst sprang die Größe nach dem ersten Bild */
@media (max-width: 900px) {
  html.zwei-bilder .hero { flex-direction: column; align-items: stretch; }
  html.zwei-bilder .hero-raster { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(96px, 1fr) auto; align-content: stretch; }
  .monogramm, .zwei-bilder .monogramm { height: 100%; max-height: 430px; min-height: 0; width: auto; max-width: 82vw; align-self: center; }
}
/* Feste Zeilen: Ein längeres Wechselwort darf den Umbruch nicht verschieben, sonst springt die Seite */
.hero h1 .zeile { display: block; white-space: nowrap; }

/* ==================================================================
   Handy und Laptop: Feinschliff
   ================================================================== */
/* Schwebender Button am Handy (seite.js blendet ihn ein) */
.handy-cta { display: none; }
@media (max-width: 760px) {
  .handy-cta {
    display: flex; position: fixed; z-index: 80; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(0, calc(100% + 24px), 0); visibility: hidden;
    transition: transform .45s var(--feder-weich), visibility 0s linear .45s;
  }
  .handy-cta.zeigen { transform: none; visibility: visible; transition: transform .5s var(--feder-weich), visibility 0s; }
  /* Weniger Leerraum zwischen den Abschnitten. 96 px waren am Handy fast ein halber Bildschirm */
  .abschnitt { padding-block: var(--a-6); }
  .szenario { padding-block: var(--a-5) var(--a-6); }
  .abschnitt-kopf { margin-bottom: var(--a-4); }
  .blatt { padding-block: var(--a-6) var(--a-6); }
  /* Unter dem Fuß Platz, damit der schwebende Button nichts Wichtiges verdeckt */
  .fuss:not(.fuss-kurz) { padding-bottom: calc(var(--a-5) + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .handy-cta, .handy-cta.zeigen { transition: none; } }
/* Laptop: Die Beispielkarte im Kurzfilm war neben dem Text zu klein für die breite Bühne */
@media (min-width: 1100px) { .film-aktiv .karte { width: 372px; } .film-aktiv .karte .blase, .film-aktiv .karte .nachricht { font-size: 1rem; } }
/* Laptop mit wenig Höhe (1280 × 720): Logo stieß fast an die Kopfzeile */
@media (min-width: 901px) { .monogramm, .zwei-bilder .monogramm { max-width: min(700px, 62vh); } }
/* Große Bildschirme: Überschrift wächst mit, sonst wirkt sie neben dem Logo verloren */
@media (min-width: 1600px) { .hero h1, html.zwei-bilder .hero h1 { font-size: clamp(4.6rem, 4.4vw, 5.6rem); } .hero-unter { font-size: 1.375rem; } }
/* Kontakt am Handy: Das Formular kommt zuerst. Vorher musste man einen ganzen Bildschirm mit
   Kontaktdaten und Ablauf überscrollen, bevor das erste Feld kam */
@media (max-width: 860px) {
  .kontakt-raster > .formular { order: -1; }
  .kontakt-raster .direkt { border-top: 0; padding-top: 0; }
}
/* Unterseiten: Einblendungen starten fast unsichtbar statt bei 0. Sonst wertet Google den Seitenkopf
   erst nach der Animation als geladen (auf den Leistungsseiten knapp über 2,5 s) */
.bewegt [data-auftritt]:not(.da), .bewegt [data-staffel] > :not(.da) { opacity: .01; }
.bewegt [data-maske] { opacity: .01; }

/* Standbild des Logos: steht ab dem ersten Bild da, die 3D-Fassung blendet darüber ein */
.monogramm .standbild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; transition: opacity .8s ease; pointer-events: none; }
.monogramm.drei-bereit .standbild { opacity: 0; }
.monogramm .standbild ~ .flach { display: none; }

/* ==================================================================
   Punktraster über die ganze Startseite (punkte.js): ein festes Bild
   hinter allem, vom Aktionsband bis zum Fuß. Alles, was man lesen oder
   anklicken soll, liegt darüber und hat einen eigenen, dichten Grund.
   ================================================================== */
body.start .punktfeld { position: fixed; inset: 0; z-index: 0; }
body.start > :not(.punktfeld):not(svg):not(.sprung) { position: relative; z-index: 1; }
body.start .kopf { z-index: 50; }
body.start .aktion { z-index: 60; }
/* Kopf und Fuß halbdurchsichtig: Die Punkte laufen sichtbar weiter, die Schrift bleibt ruhig */
body.start .kopf.dunkel { background: rgba(227, 218, 203, .62); }
body.start .fuss-kurz { background: rgba(227, 218, 203, .8); }
/* Buttons und Leisten deckend statt Glas. Durch das Glas schienen die Punkte, der weiße Button
   wirkte dadurch, als läge er hinter dem Effekt */
body.start .knopf-neben, body.start .kopf.dunkel .kopf-telefon, body.start .kopf-anruf { --glas: rgba(250, 247, 242, .97); background: rgba(250, 247, 242, .97); }
body.start .kopf.dunkel .navi-links { background: rgba(250, 247, 242, .9); }
/* Show: eigener Grund weg, damit das Raster durchläuft. Text und Reiter bekommen einen Schleier */
body.start .schau-aktiv .schau-buehne { background-color: transparent; }
body.start .schau-aktiv .schau-buehne::before { background: radial-gradient(42% 48% at 50% 46%, rgba(250, 247, 242, .55), rgba(250, 247, 242, 0) 70%); }
body.start .schau-text { position: relative; isolation: isolate; }
body.start .schau-text::before { content: ""; position: absolute; inset: -14% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(farthest-side, rgba(227, 218, 203, .94) 58%, rgba(227, 218, 203, .6) 80%, rgba(227, 218, 203, 0) 100%); }
body.start .schau-aktiv .schau-punkte { left: 0; right: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 2 * var(--rand)); padding: 4px; border-radius: 999px;
  background: rgba(250, 247, 242, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 26px -16px rgba(60, 45, 35, .3); }
body.start .schau-wort { color: rgba(143, 122, 104, .22); }
@media (max-width: 760px) { body.start .schau-aktiv .schau-punkte { padding: 2px 6px; } }
/* Das Raster liegt jetzt unter der ganzen Seite, die alte Ebene im Einstieg entfällt */
.hero .punktfeld { display: none; }
/* Nur die vordere Leistung hat einen Schleier. Die übrigen liegen übereinander an derselben Stelle,
   ihre Schleier hätten sonst den Text der vorderen verdeckt */
body.start .schau-stueck:not([data-lage="jetzt"]) .schau-text::before { opacity: 0; }
body.start .schau-text::before { transition: opacity .4s ease; }
