/* CP7 Group, die Startseite (dritte Fassung, 12. Oktober 2026): «Das Zeichen».
   Oben dunkel wie die iPhone-Seite von Apple, mit dem CP7-Zeichen als 3D-Objekt; unten hell.
   Designpaket: cp7-design/group-v3/designpaket.md. Farben über die Rollen aus tokens.css (vorher geladen).
   Ohne JavaScript ist alles sichtbar: das Zeichen als Standbild, die Bereiche als ruhige Bilder, der Text im Endzustand. */

:root {
  --wrap: 980px; --wide: 1200px; --text: 680px; --gutter: 16px;
  --sec-y: clamp(72px, 10vw, 120px);
  /* die Höhe der Kopfleiste (--kopf-h) kommt aus kopf.css, gemeinsam für alle vier Seiten */
  --r-pill: 980px; --r-media: 8px; --r-kachel: 20px;
  --hair: rgba(21,23,28,.12); --hair-dark: rgba(242,241,236,.14);
  --line-strong: #7E8188;
  --gold-line: rgb(182 146 86 / .5);

  /* die dunkle Bühne */
  --stage: #0B0B0D; --stage-2: #141519;
  --gold-glow: rgba(182,146,86,.16);   /* nur der warme Schein der dunklen Bühne; Knöpfe sind ohne Gold, Schrift in Gold nur im Haus (seit 22.10.2026) */
  --ivory: #F2F1EC; --ivory-2: #A9AEBC;
  --tshadow: 0 1px 2px rgba(5,5,8,.9), 0 3px 12px rgba(5,5,8,.7), 0 10px 44px rgba(5,5,8,.75);

  /* das Zeichen im Einstieg: Höhe und Lage am Schluss (gleich wie in zeichen.js) */
  --logo-h: min(20vh, 23vw);
  --logo-y: 30%;

  --f-title: "Unbounded", "Unbounded Fallback", Arial, sans-serif;
  --f-text: "Instrument Sans", "Instrument Sans Fallback", Arial, sans-serif;
  --f-mono: "JetBrains Mono", "JetBrains Mono Fallback", "Courier New", monospace;

  --fs-leitsatz: clamp(48px, 10vw, 136px);
  --fs-claim: clamp(26px, 4.6vw, 64px);
  --fs-h2: clamp(28px, 4.4vw, 56px);
  --fs-whisper: clamp(18px, 1.7vw, 23px);
  --fs-body: 17px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-2: cubic-bezier(.65,0,.35,1);
  scroll-padding-top: calc(var(--kopf-h, 64px) + 12px);
}
@supports (height: 1svh) { :root { --logo-h: min(20svh, 23vw); } }
#bereiche, #academy, #consulting, #digital, #blick, #frage, #haus { scroll-margin-top: calc(-1 * (var(--kopf-h, 64px) + 12px)); }
#kontakt { scroll-margin-top: -12px; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; background: var(--stage); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; overflow-x: clip; margin: 0; background: var(--stage); color: var(--ink); font: 400 var(--fs-body)/1.47 var(--f-text); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
a { color: inherit; }
button { font: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; }   /* Aussehen und Lage des Sprunglinks: kopf.css, gleich wie auf der Digital-Seite */
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }

/* Die feste Umgebung hinter der dunklen Bühne: feines Korn und ein langsamer goldener Schein */
.umwelt { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--stage); }
.umwelt::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 32% at 50% 40%, var(--gold-glow), transparent 70%); opacity: .7; }
.umwelt::after { content: ""; position: absolute; inset: 0; background: url("/assets/img/korn.png"); opacity: .05; }
@media (prefers-reduced-motion: no-preference) {
  .umwelt::before { animation: wandern 64s ease-in-out -12s infinite alternate; }
}
@keyframes wandern { from { transform: translate(-6%, -3%); } to { transform: translate(6%, 4%); } }
body.ruht *, body.ruht *::before, body.ruht *::after { animation-play-state: paused !important; }
/* Dauer-Animationen außer Sicht ruhen (site.js setzt .anim-ruht auf Abschnitte außerhalb des Bildes): sonst machen sie
   in jedem Bild den Stil ungültig, auch wenn niemand hinsieht (Flüssig 19.10.2026) */
.anim-ruht *, .anim-ruht *::before, .anim-ruht *::after { animation-play-state: paused !important; }

/* ---------- Bausteine ---------- */
.kick { font: 500 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.whisper { font-size: var(--fs-whisper); line-height: 1.38; color: var(--ink-2); max-width: 34ch; margin-inline: auto; text-wrap: balance; }
.lede, .sitz, .fakten { text-wrap: balance; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 60ch; margin-inline: auto; }
.fakten { font: 500 12px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); text-align: center; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: var(--r-pill); font: 500 17px/1 var(--f-text); letter-spacing: -.01em; white-space: nowrap; text-decoration: none; background: var(--graphite); color: var(--c-ivory); transition: background-color .2s var(--ease), color .2s var(--ease), filter .2s var(--ease); }
.pill:hover { background: var(--graphite-2); }
.pill-s { height: 32px; padding: 0 14px; font-size: 13px; }
/* Elfenbein wie der Knopf in der Kopfleiste: Knöpfe tragen kein Gold */
.pill-elfenbein { background: var(--ivory); color: var(--c-ink); }
.pill-elfenbein:hover { background: #DAD8CF; color: var(--c-ink); }
.pill-farbe { background: var(--accent); color: var(--on-accent); }
.pill-farbe:hover { background: var(--accent-hover); color: var(--on-accent-hover); }
.pill-line { background: transparent; color: var(--ink); border: 1px solid currentColor; }
.pill-line:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
button.pill { cursor: pointer; }

/* dunkle Abschnitte: die Rollen aus tokens.css (.is-dark), aber auf der gemeinsamen Bühne statt auf Graphit */
.einstieg.is-dark, .leitsatz.is-dark, .blick.is-dark { background: transparent; }

/* ---------- Kopfzeile: eine Leiste für alle vier Seiten, in kopf.css und kopf.js ---------- */

/* ---------- 1. Einstieg: das Zeichen ---------- */
.einstieg { position: relative; color: var(--ivory); }
.einstieg-buehne { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
html.hero-scrub .einstieg { height: 400vh; }
html.hero-scrub .einstieg-buehne { position: sticky; top: 0; min-height: 0; }
/* sehr niedrige Fenster: Zeichen etwas höher, die Unterzeile weg, damit Titel und Knöpfe in den Bildschirm passen */
@media (max-height: 460px) {
  :root { --logo-y: 25%; }
  .einstieg .whisper { display: none; }
}
.schein { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 34% at 50% var(--logo-y), rgba(182,146,86,.12), transparent 72%); }
.zeichen-3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
html.zeichen-bereit .zeichen-3d { opacity: 1; }
.zeichen-still { position: absolute; left: 50%; top: var(--logo-y); height: calc(var(--logo-h) * 1.07); transform: translate(-50%, -50%); }
.zeichen-still img { height: 100%; width: auto; max-width: none; }
html.hero-scrub .zeichen-still, html.hero-intro .zeichen-still { visibility: hidden; }

.einstieg-text { position: absolute; left: 0; right: 0; top: calc(var(--logo-y) + var(--logo-h) * .66); padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; }
.h1-wort { margin: 0; line-height: 0; }
.group-wort { width: calc(var(--logo-h) * 3.5216); height: calc(var(--logo-h) * .3956); max-width: none; color: #C9CCD3; }
.claim { margin-top: calc(var(--logo-h) * .3 + 6px); font: 500 var(--fs-claim)/1.06 var(--f-title); letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--ivory) 0%, var(--ivory) 40%, #E2C48C 50%, var(--ivory) 60%, var(--ivory) 100%); background-size: 280% 100%;
  background-position: calc(100% - var(--k, 1) * 100%) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.claim span { display: block; }
.einstieg .whisper { margin-top: 16px; color: var(--ivory-2); }
.einstieg .pills { margin-top: 26px; }
.einstieg .pill-line { color: var(--ivory); }

/* die Bänder auf der Scroll-Strecke; ohne Scroll-Strecke unsichtbar */
.band { display: none; }
html.hero-scrub .band { display: block; position: absolute; pointer-events: none; text-shadow: var(--tshadow); }
.band-1 { left: 50%; transform: translateX(-50%); bottom: max(24px, 5vh); display: flex !important; flex-direction: column; align-items: center; text-align: center; font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.band-1 > span:first-child { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(8,8,10,.58); border: 1px solid rgba(242,241,236,.14); text-shadow: 0 1px 3px rgba(5,5,8,.85); }
@supports (backdrop-filter: blur(1px)) { .band-1 > span:first-child { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }
html:not(.hero-scrub) .band-1 { display: none !important; }
.band-1 .pfeil { display: block; width: 9px; height: 9px; margin: 14px auto 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { .band-1 .pfeil { animation: nicken 2.4s var(--ease-2) infinite; } }
@keyframes nicken { 50% { transform: translateY(5px) rotate(45deg); } }
.band-2 { left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 14vh; max-width: 18ch; font: 500 clamp(19px, 1.8vw, 26px)/1.25 var(--f-text); color: var(--ivory); }
.band-2 .w { display: inline-block; opacity: clamp(0, (var(--k, 1) - var(--th, 0)) * 3, 1); transform: translateY(calc((1 - clamp(0, (var(--k, 1) - var(--th, 0)) * 3, 1)) * 18px)); }
html.hero-scrub .einstieg-text > * { opacity: clamp(0, (var(--k, 1) - var(--th, 0)) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--k, 1) - var(--th, 0)) * 4, 1)) * 22px)); }
html.hero-intro .einstieg-text > * { opacity: clamp(0, (var(--k, 1) - var(--th, 0)) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--k, 1) - var(--th, 0)) * 4, 1)) * 22px)); }
.h1-wort { --th: 0; } .claim { --th: .08; } .einstieg .whisper { --th: .42; } .einstieg .pills { --th: .58; }
html.hero-scrub .einstieg-text { pointer-events: var(--klick, auto); }
/* wer mit der Tastatur hineinspringt, sieht die Knöpfe sofort */
html.hero-scrub .einstieg-text:focus-within, html.hero-intro .einstieg-text:focus-within { --k: 1 !important; pointer-events: auto; }
.szene-text:focus-within { opacity: 1 !important; transform: none !important; }
.szene-buehne:focus-within .szene-schatten { opacity: 1 !important; }

/* ---------- 2. Leitsatz: die Wörter füllen sich mit Licht ---------- */
.leitsatz { padding: clamp(96px, 16vh, 180px) var(--gutter); text-align: center; color: var(--ivory); }
.worte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vh, 36px); }
.worte a { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.wort { font: 500 var(--fs-leitsatz)/1 var(--f-title); letter-spacing: -.035em; padding: .04em .06em .1em;
  background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) calc(var(--f, 104%) - 6%), #E2C48C var(--f, 104%), #2B2D33 calc(var(--f, 104%) + 6%), #2B2D33 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.worte a:hover .wort, .worte a:focus-visible .wort { text-decoration: underline 3px var(--ivory); text-underline-offset: .14em; -webkit-text-decoration: underline 3px var(--ivory); }
.wname { margin-top: 6px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-2); }
.leitsatz .lede { margin-top: clamp(40px, 7vh, 72px); color: var(--ivory-2); }

/* ---------- 3. Die drei Bereiche: die Kachel wächst zum ganzen Bildschirm ---------- */
.szene { position: relative; }
.szene-buehne { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--stage); }
/* Nacht-Ton des Bereichs, der den Bildschirm flutet (Deckkraft --gf) */
.szene-buehne::before { content: ""; position: absolute; inset: 0; background: var(--s-night); opacity: var(--gf, 1); }
.szene-rahmen { position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(calc((1 - var(--gt, 1)) * 14%) calc((1 - var(--gt, 1)) * 12%) round calc((1 - var(--gt, 1)) * 28px)); }
.szene-bild, .szene-bild img, .szene-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.szene-bild img { transform: scale(calc(1.12 - .12 * var(--gt, 1))); transform-origin: 50% 60%; }
.szene-film { opacity: 0; transition: opacity .6s var(--ease); transform: scale(calc(1.12 - .12 * var(--gt, 1))); transform-origin: 50% 60%; }
.szene.film-bereit .szene-film { opacity: 1; }
.szene-schatten { position: absolute; inset: 0; pointer-events: none; opacity: var(--kt, 1);
  background: linear-gradient(180deg, color-mix(in srgb, var(--s-night) 92%, transparent) 0%, color-mix(in srgb, var(--s-night) 70%, transparent) 30%, transparent 64%); }
/* Consulting: der helle Stein braucht mehr Schatten unter dem Text */
.szene-consulting .szene-schatten { background: linear-gradient(180deg, color-mix(in srgb, var(--s-night) 95%, transparent) 0%, color-mix(in srgb, var(--s-night) 86%, transparent) 38%, color-mix(in srgb, var(--s-night) 40%, transparent) 60%, transparent 78%); }
.szene-text { position: absolute; left: 0; right: 0; top: calc(var(--kopf-h, 64px) + clamp(24px, 6vh, 64px)); padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ivory); text-shadow: 0 1px 2px rgba(5,5,8,.5);
  opacity: var(--kt, 1); transform: translateY(calc((1 - var(--kt, 1)) * 28px)); }
.szene-text .pill { text-shadow: none; }
.szene-logo { height: 30px; width: auto; }
.szene h2 { margin-top: 22px; font: 500 var(--fs-h2)/1.06 var(--f-title); letter-spacing: -.02em; max-width: 18ch; }
.szene .whisper { margin-top: 14px; color: var(--ivory); opacity: .86; }
.szene .pills { margin-top: 24px; }
.szene .pill-line { color: var(--ivory); }
.szene .fakten { margin-top: 20px; }
html.szenen-an .szene { height: 240vh; }
html.szenen-an .szene-buehne { position: sticky; top: 0; }
/* Flüssig (19.10.2026): Bild und Film der Szene skalieren in jedem Bild (--gt), Nacht-Ton, Schatten und Text blenden
   (--gf, --kt). Auf eigenen Ebenen setzt die Grafikkarte sie nur noch zusammen, statt die ganze Bühne jedes Bild neu zu
   rastern (Gegenprobe: Hänger 133 auf 67 ms, in der Digital-Szene 83 auf 17 ms). */
html.szenen-an .szene-bild img, html.szenen-an .szene-film { will-change: transform; }
html.szenen-an .szene-buehne::before, html.szenen-an .szene-schatten { will-change: opacity; }
html.szenen-an .szene-text { will-change: opacity, transform; }

/* Consulting: der Ladering für den Kaffee-Film */
.ring { position: absolute; right: 24px; bottom: 24px; width: 32px; height: 32px; color: rgba(242,241,236,.7); opacity: 0; transition: opacity .3s var(--ease); transform: rotate(-90deg); pointer-events: none; }
.szene.film-laedt .ring { opacity: 1; }
.ring circle { transition: stroke-dashoffset .1s linear; }

/* Digital (Fassung 3, 16.10.2026): dasselbe System wie Academy und Consulting, ein Bild über die ganze Bühne.
   Das Bild ist der Anfang der Digital-Seite: der Laptop mit der echten Kundenseite im violetten Raum.
   Hochformat: 4:5, Text oben in der Mitte über dem leeren Raum. Querformat: 16:9, der Laptop steht rechts,
   der Text links im dunklen Teil; die Spalte bleibt immer links vom Laptop (Breite und Lage geprüft von 768 bis 2560 px). */
.szene-digital .szene-rahmen { background: #1A0620; }
@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
  .szene-digital .szene-bild img { object-position: 35% 50%; }
  .szene-digital .szene-schatten { background: linear-gradient(90deg, color-mix(in srgb, var(--s-night) 55%, transparent) 0%, color-mix(in srgb, var(--s-night) 22%, transparent) 30%, transparent 46%); }
  .szene-digital .szene-text { right: auto; left: max(var(--gutter), 4vw, calc((100% - var(--wide)) / 2 + 24px)); width: min(440px, 38vw); top: 50%; margin-top: calc(-1 * clamp(130px, 19vh, 200px)); align-items: flex-start; text-align: left; }
  .szene-digital .szene-text .pills { justify-content: flex-start; }
  .szene-digital .szene-text .fakten { text-align: left; }
  .szene-digital .szene-text h2, .szene-digital .szene-text .whisper { margin-inline: 0; }
}
/* flache Fenster (Handy quer): der Text beginnt gleich unter der Leiste */
@media (min-width: 768px) and (min-aspect-ratio: 1/1) and (max-height: 560px) {
  .szene-digital .szene-text { top: calc(var(--kopf-h, 64px) + 20px); margin-top: 0; }
}
/* Handy: die Knöpfe liegen über dem oberen Rand des Bildschirms, darum dort etwas mehr Schatten */
@media (max-width: 767px) {
  .szene-digital .szene-schatten { background: linear-gradient(180deg, color-mix(in srgb, var(--s-night) 94%, transparent) 0%, color-mix(in srgb, var(--s-night) 88%, transparent) 48%, color-mix(in srgb, var(--s-night) 45%, transparent) 66%, transparent 84%); }
}

/* ---------- 4. Auf einen Blick ---------- */
.blick { padding: var(--sec-y) var(--gutter); color: var(--ivory); }
.blick-innen { max-width: var(--wide); margin: 0 auto; }
.blick .kick { color: var(--ivory-2); text-align: center; }
.blick h2 { margin-top: 12px; font: 500 var(--fs-h2)/1.06 var(--f-title); letter-spacing: -.02em; text-align: center; }
.kacheln { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kachel { position: relative; overflow: hidden; background: var(--stage-2); border-radius: var(--r-kachel); padding: clamp(24px, 3vw, 40px); min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.k-zwei { grid-column: span 2; }
.k-drei { grid-column: span 3; min-height: 180px; }
.k-wert { font: 500 clamp(30px, 4vw, 60px)/1 var(--f-title); letter-spacing: -.03em;
  background: linear-gradient(100deg, var(--ivory) 0%, var(--ivory) 42%, #E2C48C 50%, var(--ivory) 58%, var(--ivory) 100%); background-size: 300% 100%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.kachel:not(.k-zwei):not(.k-drei) .k-wert { font-size: clamp(28px, 2.9vw, 44px); }
.k-zwei .k-wert, .k-drei .k-wert { font-size: clamp(40px, 6vw, 96px); }
/* Die Kachel «3 Bereiche» (22.10.2026): beide Wörter fett auf einer Zeile, so groß wie früher die 3, darüber ein Dach aus
   zwei Linien, so dick wie die Striche der Schrift. Das Dach ist ein Kind von .k-wert und erbt dessen Verlauf samt Lage:
   der Glanz läuft im selben Takt über Dach und Wörter. Form über clip-path in em, die Neigung bleibt in jeder Größe gleich
   (Breite der Wörter etwa 6,26 em, Dach 1,2 em hoch: Neigung 21°, Linie 0,19 em dick, gemessen senkrecht zur Linie). */
.k-bereiche .k-wert { width: fit-content; max-width: 100%; white-space: nowrap; font-weight: 700; }
.k-dach { display: block; width: 100%; height: 1.2em; margin-bottom: .14em;
  background-image: inherit; background-size: inherit; background-position: inherit; background-repeat: no-repeat;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, calc(100% - .53em) 100%, 50% .2em, .53em 100%); }
.k-text { color: var(--ivory-2); max-width: 36ch; font-size: clamp(16px, 1.3vw, 18px); }
.kachel:has(.k-punkt) { padding-top: calc(clamp(24px, 3vw, 40px) + 24px); }   /* Platz für den Punkt, auch wenn der Text zweizeilig wird */
.k-punkt { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(24px, 3vw, 40px); width: 10px; height: 10px; border-radius: 50%; background: var(--s-on-dark); }
html.js-ok .kachel:not(.is-in) { opacity: 0; transform: translateY(28px) scale(.98); }
.kachel { transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.kachel.is-in .k-wert { animation: glanz 1.6s var(--ease-2) calc(var(--i, 0) * 90ms + 300ms) both; }
/* danach alle 9 s ein Glanz von 1,6 s, dazwischen Ruhe (früher lief «glanz 1.6s 9s infinite» nach 9 s ohne Pause alle 1,6 s) */
.kachel.is-in.k-zwei:first-child .k-wert { animation: glanz 1.6s var(--ease-2) 300ms both, glanz-zyklus 9s linear 9s infinite; }
@keyframes glanz { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes glanz-zyklus {
  0% { background-position: 100% 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  17.78%, 100% { background-position: 0 0; }
}
.kachel.fertig { transition-delay: 0s; }

/* ---------- 5. Das Licht geht an ---------- */
.licht { height: clamp(220px, 46vh, 520px); background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--panel) 18%, var(--stage)) 30%, color-mix(in srgb, var(--panel) 70%, var(--stage)) 70%, var(--panel) 100%); }

/* Text blendet ein. Ohne site.js: Endzustand */
html.js-ok .rev:not(.is-in) { opacity: 0; transform: translateY(16px); }
.rev { transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.setzen { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .setzen img { animation: setzen linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes setzen { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- 6. Die Frage (hell) ---------- */
.frage { padding: var(--sec-y) 0; text-align: center; background: var(--panel); color: var(--ink); }
.frage h2 { margin-top: 14px; font: 500 var(--fs-h2)/1.08 var(--f-title); letter-spacing: -.015em; }
.chips { margin: 40px auto 0; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 16px; line-height: 1.3; text-decoration: none; color: var(--ink); background: transparent; cursor: pointer; text-align: left; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[hidden] { display: none; }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--c-ivory); border-color: var(--graphite); }
.antwort { margin: 32px auto 0; max-width: var(--text); background: #fff; border-radius: var(--r-media); border-top: 3px solid var(--s-accent); padding: 24px 28px; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: start; }
.antwort[hidden] { display: none; }
.antwort .zeile { grid-column: 1; font: 500 12px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2); white-space: nowrap; padding-top: 3px; }
.antwort .text { grid-column: 2; font-size: 19px; line-height: 1.4; }
.antwort .weiter { grid-column: 2; margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.antwort .pill { background: var(--s-accent); color: var(--s-on-accent); }
.antwort[data-site="group"] .pill { background: var(--graphite); color: var(--c-ivory); }
.antwort .textlink { font-size: 15px; }
html.js-ok .antwort.neu { animation: einblenden 250ms var(--ease); }
@media (prefers-reduced-motion: no-preference) { html.js-ok .antwort.neu { animation: einblenden 250ms var(--ease), kante 6s ease-in-out 250ms infinite; } }
@keyframes einblenden { from { opacity: 0; } }
@keyframes kante { 50% { border-top-color: color-mix(in srgb, var(--s-accent) 80%, transparent); } }

/* ---------- 7. Das Haus (hell) ---------- */
.haus { padding: var(--sec-y) 0; background: var(--paper); color: var(--ink); }
.haus-raster { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: start; }
.haus-bild { grid-column: 1; position: sticky; top: calc(var(--kopf-h, 64px) + 6vh); top: calc(var(--kopf-h, 64px) + 6svh); align-self: start; border-radius: var(--r-media); overflow: hidden; }
.haus-bild img { width: 100%; max-height: 76vh; max-height: 76svh; object-fit: cover; }
.haus-text { grid-column: 3; min-width: 0; }   /* die gestreckte Zeile (nowrap, Abstand nach dem letzten Zeichen) darf die Spalte nicht breiter drücken */
.haus-block { min-height: 60vh; min-height: 60svh; }
.haus .kick { color: var(--accent-ink); }
/* Mehr Gold im Haus (22.10.2026): zwei Wörter der Überschrift und die Linie unter «Was wir sind» im Gold der 7
   (auf Papier 3.04:1, reicht für große Schrift und Linien). Die Zeile darüber ist kräftiger; site.js streckt sie genau
   bis ans Ende der breitesten Zeile der Überschrift und lässt sie dafür zuerst wachsen (bis 26 px), danach erst den Abstand.
   Klein (unter 18,7 px) braucht sie 4.5:1 und steht in einem tieferen Gold derselben Familie (#7E5F28, 4.74:1),
   groß (.gross) im Gold der 7. Ohne JavaScript bleibt sie klein und normal gesperrt. */
.haus .haus-kick { color: #7E5F28; font-weight: 700; font-size: clamp(14px, .5vw + 8.8px, 16px); }
.haus .haus-kick.gross { color: var(--logo-7); }
.haus-kick.gestreckt { white-space: nowrap; line-height: 1.2; }
.haus-gold { color: var(--logo-7); }
/* höchstens 54 px: so passt «drei Dinge gut?» in der breiten Fassung auf eine Zeile (bei 56 px stand «gut?» allein) */
.haus h2 { margin-top: 14px; font: 500 min(var(--fs-h2), 54px)/1.08 var(--f-title); letter-spacing: -.015em; }
.haus .lauf { margin-top: 24px; color: var(--ink-2); max-width: 60ch; }
.buch { margin: 0; }
.buch-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 14px; }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-height: 32vh; min-height: 32svh; padding-top: 24px; position: relative; }
.paar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--logo-7-hell); transform-origin: left; transition: transform 600ms var(--ease); }
.haus .buch-kopf + .paar::before { height: 3px; }   /* die Linie unter dem Kopf der Liste kräftig, die zwischen den Paaren fein */
html.js-ok .paar:not(.is-in)::before { transform: scaleX(0); }
html.js-ok .paar:not(.is-in) dt, html.js-ok .paar:not(.is-in) dd { opacity: 0; transform: translateY(12px); }
.paar dt, .paar dd { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.paar dd { transition-delay: 120ms; }
.paar dt { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.4; color: var(--ink); }
.paar dd { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.4; color: var(--ink-2); }
.haus-pille { margin-top: 24px; }

/* ---------- 8. Erstgespräch (hell) ---------- */
.kontakt { padding: var(--sec-y) var(--gutter); background: var(--panel); color: var(--ink); }
.kontakt-spalte { max-width: 640px; margin: 0 auto; }
.kontakt-spalte > .kick, .kontakt h2, .kontakt-spalte > .lede { text-align: center; }
.kontakt h2 { margin-top: 14px; font: 500 clamp(28px, 3.6vw, 46px)/1.08 var(--f-title); letter-spacing: -.015em; }
.kontakt .lede { margin-top: 18px; }
.form { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .wahl legend { font-weight: 600; font-size: 15px; }
.field small, .wahl small { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-media); height: 52px; padding: 0 14px; width: 100%; }
.field textarea { height: 140px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E727A; }
/* Group, Academy und Consulting: «Falls Sie lieber angerufen werden möchten» ist bei 17 px etwa 19,4 Schriftgrößen breit;
   am schmalen Handy wird der Platzhalter so weit kleiner, dass er ganz ins Feld passt (Feld innen: Fenster minus 62 px;
   bei 360 px etwa 15 px). Die Eingabe selbst bleibt bei 17 px (kein Zoom am iPhone). */
.field #telefon::placeholder { font-size: min(17px, (100vw - 62px) / 19.8); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.field .hint, .form .hint, .kontakt .hint { font-size: 14px; color: var(--ink-2); }
.err { display: none; color: var(--error); font-size: 14px; }
.field.invalid input { border: 2px solid var(--error); }
.field.invalid .err { display: flex; gap: 6px; align-items: center; }
.field.invalid .err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font: 600 12px/1 var(--f-text); flex: none; }
.wahl { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wahl legend { padding: 0; margin-bottom: 10px; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 15px; background: #fff; transition: background-color .2s var(--ease), color .2s var(--ease); }
.wahl input:checked + span { background: var(--graphite); color: var(--c-ivory); border-color: var(--graphite); }
.wahl input:focus-visible + span { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pill-voll { width: 100%; height: 52px; border: 0; margin-top: 8px; }
.pill-voll[disabled] { opacity: .6; cursor: default; }
.fine { font-size: 14px; color: var(--ink-2); text-align: center; }
.status:empty { padding: 0; margin-top: -20px; }
.status { background: #fff; border-radius: var(--r-media); padding: 16px 18px; font-size: 16px; }
.form.sent .field, .form.sent .wahl, .form.sent .pill-voll, .form.sent .fine { display: none; }
.direkt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.direkt .big-line { margin-top: 6px; font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--f-text); letter-spacing: -.01em; white-space: nowrap; }
.direkt a { text-decoration: none; }
.direkt a:hover { text-decoration: underline; text-underline-offset: .2em; }
.direkt + .hint { margin-top: 14px; }
.sitz { margin-top: 28px; font-size: 15px; color: var(--ink-2); }

/* ---------- 9. Fusszeile ---------- */
.fuss { padding: 64px var(--gutter) 32px; }
.fuss-raster { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.logo-f { width: 120px; height: auto; }
.fuss-marke p { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.fuss-kopf { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ivory-2); margin-bottom: 12px; }
.fuss nav, .fuss-raster > div { display: flex; flex-direction: column; gap: 0; font-size: 14px; }
.fuss nav a, .fuss-raster > div > p > a, .direkt .big-line a, .antwort .textlink { display: inline-flex; align-items: center; min-height: 44px; }
.fuss nav .fuss-kopf { margin-bottom: 4px; }
.fuss a { text-decoration: none; color: var(--c-ivory); }
.fuss a:hover { text-decoration: underline; text-underline-offset: .2em; }
.fuss p { color: var(--c-ivory); }
.fuss-copy { max-width: var(--wrap); margin: 48px auto 0; padding-top: 18px; border-top: 1px solid var(--hair-dark); font: 400 12px/1.4 var(--f-mono); color: var(--c-ivory-2) !important; }

/* ---------- Handy und schmale Fenster ---------- */
@media (max-width: 1023px) {
  .haus-raster { grid-template-columns: 1fr; gap: 40px; }
  .haus-bild { position: static; grid-column: 1; max-width: 520px; }
  .haus-text { grid-column: 1; }
  .haus-block { min-height: 0; }
  .buch { margin-top: 32px; }
  .paar { min-height: 0; padding: 24px 0; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .k-zwei, .k-drei { grid-column: span 2; }
}
@media (max-width: 767px) {
  .einstieg .pills { flex-direction: column; align-self: stretch; gap: 12px; }
  .einstieg .pills .pill { width: 100%; }
  .szene-logo { height: 24px; }
  .szene h2 { margin-top: 16px; }
  .szene .pills { flex-direction: column; align-self: stretch; gap: 10px; }
  .szene .pills .pill { width: 100%; }
  .szene-schatten { background: linear-gradient(180deg, color-mix(in srgb, var(--s-night) 94%, transparent) 0%, color-mix(in srgb, var(--s-night) 78%, transparent) 42%, transparent 76%); }
  .kacheln { grid-template-columns: 1fr; }
  .k-zwei, .k-drei { grid-column: auto; }
  .kachel { min-height: 0; padding-top: 56px; }
  .k-drei, .k-zwei:first-child { padding-top: 32px; }
  .chips { flex-direction: column; align-items: stretch; }
  .chip { width: 100%; }
  .antwort { grid-template-columns: 1fr; padding: 20px; margin-top: 12px; }
  .antwort .zeile, .antwort .text, .antwort .weiter { grid-column: 1; }
  .direkt { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .fuss-raster > div:last-child { grid-column: 1 / -1; }
}
/* niedrige Fenster: der Einstieg passt in einen Bildschirm */
@media (max-height: 680px) and (min-width: 768px) {
  :root { --fs-claim: clamp(24px, 3.6vw, 44px); }
  .einstieg .whisper { font-size: 17px; margin-top: 10px; }
  .einstieg .pills { margin-top: 16px; }
  .szene .fakten { display: none; }
}
@media (max-height: 560px) { .band-1 { display: none !important; } }

/* ---------- Ruhe ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  html.js-ok .rev:not(.is-in), html.js-ok .kachel:not(.is-in) { opacity: 1; transform: none; }
  html.js-ok .paar:not(.is-in)::before { transform: none; }
  html.js-ok .paar:not(.is-in) dt, html.js-ok .paar:not(.is-in) dd { opacity: 1; transform: none; }
}
