/* m-consulting. Farbwelten über data-ton, .welt = WebGL-Modus */

/* ---------- 1. Schriften und Farben -------------------------------------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --rot: #e30513;
  --schrift: .88; /* Faktor aller Überschriften */
  --anzeige: "Big Shoulders", Impact, "Arial Narrow", sans-serif;
  --lese: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--lese);
  --kopfraum: clamp(72px, 11vh, 110px);
  --rand-links: clamp(64px, 8vw, 130px);
  --rand-rechts: clamp(150px, 15vw, 230px);
}
[data-ton="schwarz"] { --grund: #0a0909; --tinte: #f6f1ea; --signal: var(--rot); --gedaempft: rgba(246, 241, 234, .68); --feld: rgba(13, 11, 11, .6); --blase: #232020; --blase-tinte: #f6f1ea; --blase-signal: #ff5a63; --logo-filter: none; }
[data-ton="tief"] { --grund: #060606; --tinte: #f6f1ea; --signal: var(--rot); --gedaempft: rgba(246, 241, 234, .68); --feld: rgba(13, 11, 11, .6); --blase: #232020; --blase-tinte: #f6f1ea; --blase-signal: #ff5a63; --logo-filter: none; }
[data-ton="wein"] { --grund: #150306; --tinte: #fff3ee; --signal: #ff2a35; --gedaempft: rgba(255, 243, 238, .7); --feld: rgba(21, 3, 6, .6); --blase: #2c0a0f; --blase-tinte: #fff3ee; --blase-signal: #ff5a63; --logo-filter: none; }
[data-ton="rot"] { --grund: var(--rot); --tinte: #fff; --signal: #0d0b0b; --gedaempft: rgba(255, 255, 255, .88); --feld: rgba(120, 0, 8, .5); --blase: #fff; --blase-tinte: #1a1817; --blase-signal: #e30513; --logo-filter: brightness(0); }
[data-ton="hell"] { --grund: #efe8dc; --tinte: #1a1817; --signal: var(--rot); --gedaempft: rgba(26, 24, 23, .74); --feld: rgba(255, 255, 255, .6); --blase: #fff; --blase-tinte: #1a1817; --blase-signal: #e30513; --logo-filter: brightness(0); }
[data-ton="recht"] { --grund: #100e0e; --tinte: #f6f1ea; --signal: var(--rot); --gedaempft: rgba(246, 241, 234, .68); --feld: rgba(13, 11, 11, .6); --blase: #232020; --blase-tinte: #f6f1ea; --blase-signal: #ff5a63; --logo-filter: none; }
[data-ton] { color: var(--tinte); }

/* ---------- 2. Grundlage -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #0d0b0b; }
body {
  margin: 0; min-height: 100vh; background: var(--grund); color: var(--tinte);
  font: 400 1.0625rem/1.6 var(--lese); overflow-x: clip;
  transition: background-color .5s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
cite { font-style: normal; }
[hidden] { display: none !important; }

h1, .wort, .telefonnummer, .aufruf h2 {
  font-family: var(--anzeige); font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance;
}
h1 { font-size: calc(var(--schrift) * clamp(3.4rem, min(13.5vw, 25vh), 15rem)); line-height: 1.1; }
[data-seite="start"] h1 { line-height: .9; }
h2 { font: 800 calc(var(--schrift) * clamp(2.4rem, min(7vw, 13vh), 7.5rem))/1.1 var(--anzeige); text-transform: uppercase; text-wrap: balance; }
.wort { font-size: calc(var(--schrift) * clamp(3rem, min(9vw, 19vh), 11rem)); line-height: 1.1; }

.sprung { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--tinte); color: var(--grund); padding: 8px 14px; font: 500 .85rem var(--mono); }
.sprung:focus { top: 12px; }

/* ---------- 3. Sender: Logo, Skala, Rufnummer, Ton ------------------------ */
.sender { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.sender > * { pointer-events: auto; position: absolute; }
.marke { left: clamp(16px, 2vw, 30px); top: clamp(14px, 2.2vh, 26px); }
.marke img { width: clamp(120px, 11vw, 168px); transition: filter .4s, opacity .4s; }
[data-ton="hell"] .marke img { filter: brightness(0); }
[data-ton="rot"] .marke img { filter: brightness(0) invert(1); }

.skala { right: 0; top: 50%; transform: translateY(-50%); padding: 6px 0; font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.skala ul { display: flex; flex-direction: column; align-items: flex-end; gap: clamp(20px, 5.2vh, 46px); }
.skala a { position: relative; display: block; padding: 6px 34px 6px 10px; text-decoration: none; color: var(--gedaempft); }
.skala a::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 1px; background: currentColor; }
.skala a[aria-current="page"] { color: var(--tinte); font-weight: 700; }
.skala a:hover { color: var(--signal); }
.nadel { display: none; }
.welt .nadel {
  display: block; position: absolute; right: 0; top: 0; width: 44px; height: 24px; margin-top: -12px; cursor: grab; touch-action: none;
}
.welt .nadel::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; background: var(--signal); }
.nadel.gezogen { cursor: grabbing; }

.rufnummer {
  left: clamp(14px, 1.6vw, 24px); top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font: 500 .8rem/1 var(--mono); letter-spacing: .1em; text-decoration: none;
}
.ton {
  right: clamp(16px, 2vw, 30px); top: clamp(14px, 2.2vh, 26px); background: none; border: 1px solid currentColor; color: var(--tinte);
  font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; cursor: pointer;
}
.messung { position: fixed; left: 8px; top: 40%; z-index: 400; margin: 0; padding: 8px; background: #ff0; color: #000; font: 600 13px/1.4 monospace; white-space: pre-wrap; max-width: 70vw; pointer-events: none; }
.ton[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--grund); }
.randlinks { left: clamp(16px, 2vw, 30px); bottom: 14px; display: flex; gap: 16px; font: 400 .68rem/1 var(--mono); color: var(--gedaempft); }
.randlinks a { padding: 4px 0; }
.schalter-effekte { display: none; }
.welt .schalter-effekte, .ist-schlicht .schalter-effekte { display: inline; }

/* ---------- 4. Bausteine --------------------------------------------------- */
.kennung, .eckdaten, cite, .klein-titel, summary, .rolle, label {
  font-family: var(--mono); letter-spacing: .02em;
}
.kennung { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2em; color: var(--gedaempft); }
.untertitel { font-size: clamp(1.1rem, 2vw, 1.7rem); line-height: 1.35; font-weight: 300; margin-top: .9em; max-width: 44ch; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.knopf {
  display: inline-block; padding: .85em 1.3em; border: 1px solid currentColor; background: none; color: inherit; cursor: pointer;
  font: 500 .85rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
}
.knopf:hover { background: var(--tinte); border-color: var(--tinte); color: var(--grund); }
.knopf.voll { background: var(--signal); border-color: var(--signal); color: #fff; font-weight: 700; }
.knopf.voll:hover { background: var(--tinte); border-color: var(--tinte); color: var(--grund); }
.eckdaten { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 2.2em; font-size: .78rem; color: var(--gedaempft); }

.einleitung { font-size: clamp(1.2rem, min(2.4vw, 3.6vh), 2.1rem); line-height: 1.36; font-weight: 300; max-width: 36em; }

.zitat blockquote {
  font: 800 clamp(2.1rem, min(6.2vw, 10.5vh), 6.8rem)/1.1 var(--anzeige); text-transform: uppercase; text-wrap: balance; max-width: 15em;
}
.zitat cite, .stimme cite { display: block; margin-top: 1.5em; font-size: .82rem; color: var(--tinte); opacity: .85; }
.stimme blockquote { font-size: clamp(1.5rem, min(3.6vw, 5.6vh), 3.2rem); line-height: 1.16; font-weight: 400; letter-spacing: -.015em; max-width: 22em; }
.stimme strong { color: var(--tinte); font-weight: 700; }

.klein-titel { font: 500 .85rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gedaempft); margin-bottom: 1.4em; }
.riesen li + li { border-top: 1px solid color-mix(in srgb, var(--tinte) 24%, transparent); }
.riesen a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.2em; padding: .28em 0; text-decoration: none; }
.riesen h3 { font: 900 calc(var(--schrift) * clamp(2.6rem, min(9vw, 15vh), 9rem))/1.1 var(--anzeige); text-transform: uppercase; transition: transform .25s; }
.riesen p { font-size: clamp(.95rem, 1.3vw, 1.15rem); flex: 1 1 14em; }
.riesen span { font: 500 .78rem var(--mono); text-transform: uppercase; }
.riesen a:hover h3 { transform: translateX(.18em); }
.nur-namen h3 { font-size: calc(var(--schrift) * clamp(2rem, min(6.8vw, 11.5vh), 7rem)); }

/* Referenzen als Sprechblasen */
.referenz { --tinte: var(--blase-tinte); --gedaempft: var(--blase-tinte); --signal: var(--blase-signal); position: relative; padding: clamp(18px, 2.2vw, 34px); background: var(--blase); color: var(--blase-tinte); border-radius: 26px 26px 26px 6px; box-shadow: 0 14px 40px rgba(0, 0, 0, .16); }
.referenz > img { width: 120px; margin-bottom: .9em; filter: var(--logo-filter); }
.referenz blockquote p { font-size: clamp(1.1rem, min(2vw, 3.4vh), 1.75rem); line-height: 1.3; font-weight: 400; max-width: 32em; }
.referenz details { margin-top: 1em; }
.referenz details p { font-size: clamp(.95rem, 1.15vw, 1.1rem); line-height: 1.55; font-weight: 400; margin-top: .8em; max-width: 44em; }
summary { cursor: pointer; font-size: .8rem; text-transform: uppercase; color: var(--signal); width: max-content; max-width: 100%; }
.referenz cite { display: block; margin-top: 1.4em; font-size: .8rem; color: var(--gedaempft); }

/* Team: Porträt + Durchwahl */
.person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 10px 44px; align-items: end; }
.person-bild { grid-column: 1; grid-row: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.06); }
.durchwahl { grid-column: 1; grid-row: 2; display: block; color: var(--rot); text-decoration: none; }
.durchwahl:hover { color: #fff; }
.durchwahl span { display: inline-block; padding: .3em .55em; background: var(--rot); color: #fff; font: 600 .82rem/1 var(--lese); letter-spacing: .04em; }
.durchwahl b { display: block; font: 900 clamp(4rem, 10vw, 7rem)/.86 var(--anzeige); }
.person-info { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.aufreihung { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
.aufreihung img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 16%; filter: grayscale(1); transition: filter .25s; }
.aufreihung a:hover img, .aufreihung a:focus-visible img { filter: none; }
.person h3 { font: 900 calc(var(--schrift) * clamp(2.6rem, min(7vw, 13vh), 8rem))/1.1 var(--anzeige); text-transform: uppercase; text-wrap: balance; }
.rolle { margin-top: .9em; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--signal); }
.person blockquote { margin-top: 1em; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.3; font-weight: 300; max-width: 26em; }
.zeilen { font-size: .94rem; line-height: 1.45; }
.zeilen li + li { margin-top: .32em; }
.person .zeilen { margin-top: 1.2em; font: 400 .82rem/1.5 var(--mono); color: var(--gedaempft); }

.aufruf h2 { font-size: calc(var(--schrift) * clamp(2.2rem, min(6vw, 11vh), 6.4rem)); line-height: 1.1; }
.aufruf p { margin-top: 1em; }
.telefonnummer { display: block; font-size: clamp(2.6rem, min(10.5vw, 22vh), 12rem); line-height: 1; text-decoration: none; margin-top: .1em; white-space: nowrap; }

/* schlicht */
.ebene[data-ton] { background: var(--grund); }
.ebene { min-height: 72vh; padding: 110px var(--rand-rechts) 60px var(--rand-links); display: flex; flex-direction: column; justify-content: center; }
.links .inhalt { margin-right: auto; }
.rechts .inhalt { margin-left: auto; }
.rechts .inhalt { width: fit-content; max-width: 100%; }
.mitte .inhalt { text-align: center; }
.mitte .aktionen { justify-content: center; }

.abspann { padding: 90px var(--rand-rechts) 70px var(--rand-links); }
.abspann .inhalt { display: grid; grid-template-columns: 1.6fr 1fr .5fr; gap: 28px 56px; align-items: start; }
.abspann h2 { font-size: calc(var(--schrift) * clamp(1.6rem, 2.6vw, 2.5rem)); margin-bottom: .55em; line-height: 1.1; }
.abspann-gross .abspann-slogan { font: 800 calc(var(--schrift) * clamp(1.15rem, min(2.1vw, 3.8vh), 2rem))/1 var(--anzeige); text-transform: uppercase; letter-spacing: .01em; max-width: none; margin-bottom: .55em; }
.abspann-gross h2 { font-size: calc(var(--schrift) * clamp(2.6rem, min(6vw, 11vh), 6rem)); }
.abspann-gross p { max-width: 36em; margin-bottom: 1em; }
.abspann-unten { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 .74rem var(--mono); color: var(--gedaempft); border-top: 1px solid color-mix(in srgb, var(--tinte) 24%, transparent); padding-top: 14px; }
.sozial { font: 500 .85rem var(--mono); }

/* ---------- 5. Seiten ------------------------------------------------------ */
.logoring { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; padding: 30px var(--rand-rechts) 0 var(--rand-links); }
.logoring img { width: 150px; }
.leistungen { display: grid; }
/* Leistungen mit Punkt davor */
.leistungen li { display: flex; align-items: center; gap: .6em; padding: .42em .3em .4em; font: 500 clamp(1.05rem, min(2.3vw, 4.4vh), 2.5rem)/1.15 var(--lese); letter-spacing: -.015em; border-top: 2px solid color-mix(in srgb, var(--tinte) 40%, transparent); }
.leistungen li::before { content: ""; flex: none; width: .34em; height: .34em; border-radius: 50%; background: currentColor; }
.leistungen li:last-child { border-bottom: 2px solid color-mix(in srgb, var(--tinte) 40%, transparent); }
[data-seite="geschaeftskunden"] h1 { font-size: calc(var(--schrift) * clamp(2.8rem, min(8.4vw, 14vh), 9rem)); }
.welt [data-seite="geschaeftskunden"] h1 + .untertitel { max-width: 40ch; }

/* Blatt: Kontakt, Recht */
.blatt { position: relative; padding: 0 var(--rand-rechts) 0 var(--rand-links); }
main > .blatt:first-child { padding-top: clamp(110px, 17vh, 170px); }
main > .blatt:last-child { padding-bottom: 80px; }
.rechtstext { max-width: 70ch; margin-top: 40px; }
.rechtstext h2 { font: 800 clamp(1.7rem, 3vw, 2.6rem)/1 var(--anzeige); margin: 1.6em 0 .5em; }
.rechtstext h3 { font: 700 1.3rem/1.15 var(--anzeige); text-transform: uppercase; margin: 1.3em 0 .4em; }
.rechtstext p, .rechtstext ul, .rechtstext ol { margin-bottom: 1em; }
.rechtstext ul { list-style: square; padding-left: 1.2em; }
.rechtstext ol { list-style: decimal; padding-left: 1.4em; }
[data-seite="recht"] h1 { font-size: calc(var(--schrift) * clamp(3rem, min(10vw, 22vh), 10rem)); overflow-wrap: anywhere; }

.kontaktkopf h1 { font-size: calc(var(--schrift) * clamp(3.4rem, min(12vw, 24vh), 13rem)); }
.kontaktblatt { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; margin-top: 56px; }
.meldung { display: none; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; background: var(--tinte); color: var(--grund); }
.meldung:target { display: block; }
.formular label { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gedaempft); }
.pflicht { color: var(--signal); }
.satz p { font: 300 clamp(1.1rem, 2vw, 1.7rem)/1.9 var(--lese); letter-spacing: -.01em; }
.feld { display: inline-flex; flex-direction: column; vertical-align: bottom; line-height: 1.2; margin: 0 .1em; }
/* Abstand zum Balken darüber */
.satz p .feld { margin-top: .9em; }
.formular input:not([type="checkbox"]), .formular select, .formular textarea {
  font: 500 1em/1.3 var(--lese); color: var(--tinte); background: var(--feld); border: 0; border-bottom: 2px solid var(--signal); border-radius: 0;
  padding: .06em .25em; min-width: 7ch; max-width: 100%; field-sizing: content;
}
.formular select option { color: #111; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; background: var(--tinte); color: var(--grund); }
.nachricht { margin-top: 26px; }
.nachricht label { display: block; margin-bottom: 4px; }
.nachricht textarea { width: 100%; min-height: 6em; font-size: clamp(1.1rem, 1.8vw, 1.5rem); field-sizing: content; display: block; resize: vertical; }
.honig { position: absolute; left: -9999px; }
.einwilligung { display: flex; gap: 12px; margin: 22px 0 22px; font: 400 .92rem/1.5 var(--lese); text-transform: none; letter-spacing: 0; align-items: flex-start; }
.einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rot); flex: none; }
.kontaktdaten h3 { font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gedaempft); margin-bottom: .6em; }
.kontaktdaten section + section { margin-top: 28px; }
.ansprechpartner img { filter: grayscale(1) contrast(1.15); margin-bottom: 10px; }
.ansprechpartner h3 { font: 800 1.5rem var(--anzeige); text-transform: uppercase; letter-spacing: 0; color: var(--tinte); }

/* ---------- 6. Flug (nur mit WebGL) ---------------------------------------- */
#welt { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
/* Seitenwechsel-Blende */
.blende { position: fixed; inset: 0; z-index: 80; background: var(--grund); opacity: 0; pointer-events: none; transition: opacity .7s cubic-bezier(.4, 0, .2, 1), background-color .4s; }
.blende.zu { opacity: 1; pointer-events: auto; transition: opacity .38s cubic-bezier(.4, 0, .2, 1), background-color .4s; }
/* Fluss-Seiten: Ankommen nach Seitenwechsel */
[data-modus="fluss"] main > * { transition: opacity .9s cubic-bezier(.4, 0, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
[data-modus="fluss"] main > :nth-child(2) { transition-delay: .14s; }
[data-modus="fluss"] main > :nth-child(n+3) { transition-delay: .26s; }
[data-modus="fluss"] main.kommt > * { opacity: 0; transform: translateY(32px); transition: none; }
@media (prefers-reduced-motion: reduce) { .blende, .blende.zu, [data-modus="fluss"] main > * { transition: none; } [data-modus="fluss"] main.kommt > * { transform: none; } }
.welt body { background: transparent; transition: none; }
.welt main, .welt .abspann { position: relative; z-index: 1; }
.welt .ebene { background: none; }
.welt [data-modus="flug"] .ebene, .welt [data-modus="flug"] .abspann {
  position: fixed; inset: 0; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start;
  padding: var(--kopfraum) var(--rand-rechts) clamp(44px, 7vh, 70px) var(--rand-links);
  opacity: 0; pointer-events: none; will-change: transform, opacity; transform-origin: 50% 50%;
}
.welt [data-modus="flug"] .inhalt { margin-top: auto; margin-bottom: auto; flex: none; }
.welt [data-modus="flug"] .unten .inhalt { margin-top: auto; margin-bottom: 0; }
.welt .ebene.aktiv > *, .welt .abspann.aktiv > * { pointer-events: auto; }
.welt .als-punkte:not(.scharf), .welt .als-punkte:not(.scharf):hover { color: transparent; }   /* .scharf: in Ruhe echter Text */
.welt-verloren .als-punkte { color: inherit !important; }
.welt [data-modus="flug"] .abspann .inhalt { width: 100%; }

/* Team im Flug */
.person-ebene { --bild: min(33vw, 60vh); --fuss: clamp(40px, 6vh, 54px); }
.welt [data-modus="flug"] .person-ebene .inhalt { max-width: calc(100vw - var(--rand-links) - var(--rand-rechts) - var(--bild) - 4vw); }
.welt [data-modus="flug"] .person { display: block; }
.welt [data-modus="flug"] .person-bild { position: absolute; right: var(--rand-rechts); bottom: var(--fuss); width: var(--bild); height: calc(100% - var(--kopfraum) - var(--fuss)); aspect-ratio: auto; }
.welt [data-modus="flug"] .durchwahl { position: absolute; right: var(--rand-rechts); bottom: calc(var(--fuss) + clamp(12px, 2.6vh, 26px)); width: var(--bild); padding: 0 14px; text-align: right; }
.welt [data-modus="flug"] .durchwahl b { font-size: min(10.5vw, 22vh); }
.welt [data-modus="flug"] .gespiegelt .inhalt { margin-left: auto; }
.welt [data-modus="flug"] .gespiegelt .person-bild, .welt [data-modus="flug"] .gespiegelt .durchwahl { right: auto; left: var(--rand-links); }
.welt [data-modus="flug"] .gespiegelt .durchwahl { text-align: left; }

/* Team-Auftakt: Reihe */
[data-seite="team"] .auftakt h1 { font-size: calc(var(--schrift) * clamp(2.4rem, min(7vw, 12vh), 8rem)); }
[data-seite="team"] .auftakt .untertitel { max-width: 62ch; font-size: clamp(1rem, 1.6vw, 1.35rem); }
.welt [data-seite="team"] .auftakt .inhalt { margin-top: 0; margin-bottom: auto; }
.welt [data-modus="flug"] .aufreihung { position: absolute; left: var(--rand-links); right: var(--rand-rechts); bottom: clamp(40px, 6vh, 54px); height: 36vh; margin: 0; display: flex; }
.welt [data-modus="flug"] .aufreihung li { flex: 1 1 0; min-width: 0; transition: flex-grow .35s cubic-bezier(.2, .7, .2, 1); }
.welt [data-modus="flug"] .aufreihung li:hover { flex-grow: 1.8; }
.welt [data-modus="flug"] .aufreihung a { display: block; height: 100%; }
.welt [data-modus="flug"] .aufreihung img { height: 100%; aspect-ratio: auto; }

/* Text auf bewegtem Grund */
.welt .blatt .untertitel, .welt .rechtstext, .welt .einleitung, .welt .untertitel, .welt .stimme blockquote,
.welt .person blockquote, .welt .person .zeilen, .welt .riesen p, .welt .zitat cite, .welt .stimme cite, .welt .abspann p, .welt .abspann .zeilen {
  text-shadow: 0 0 16px var(--grund), 0 0 4px var(--grund), 0 0 1px var(--grund);
}

/* Wort für Wort (Reihenfolge: main.js) */
.welt .w { display: inline-block; opacity: .1; transform: translateY(.18em); transition: opacity .32s linear, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s; }
.welt .aktiv .w { opacity: 1; transform: none; transition-delay: calc(min(var(--i), 24) * 12ms); }

/* Raststellen */
/* nur Touch, mit Maus zieht Snap hohe Tafeln zurück */
@media (pointer: coarse) { .rastet { scroll-snap-type: y mandatory; } }
.rasten { position: absolute; left: 0; top: 0; width: 1px; height: 0; pointer-events: none; }
.rasten i { position: absolute; left: 0; width: 1px; scroll-snap-align: start; scroll-snap-stop: always; }

/* ---------- 7. Vermittlung und Ring ----------------------------------------- */
/* Geschäftskunden, Kabel aus main.js */
.welt [data-modus="flug"] .vermittlung .inhalt { width: 100%; }
.vermittlung .klein-titel { margin-bottom: .9em; color: var(--tinte); }
.buchse { flex: none; width: .4em; height: .4em; border-radius: 50%; background: #0d0b0b; box-shadow: 0 0 0 .07em currentColor; }
.welt .vermittlung li { cursor: pointer; user-select: none; }
.welt .vermittlung li.verbunden { background: #fff; color: var(--rot); border-color: #fff; }
.kabel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.welt .ebene.aktiv > .kabel { pointer-events: none; }
.kabel-schnur { fill: none; stroke: #0d0b0b; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.kabel-griff { fill: #0d0b0b; }
.kabel-spitze { fill: #fff; }
@media (pointer: fine) { .welt .ebene.aktiv .kabel-stecker { pointer-events: auto; cursor: grab; } .kabel-stecker.gegriffen { cursor: grabbing; } }

.welt [data-modus="flug"] .logoring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; padding: 0; display: block; }
.welt [data-modus="flug"] .logoring li { position: absolute; left: 0; top: 0; will-change: transform; }
.welt [data-modus="flug"] .logoring img { width: clamp(84px, 9.5vw, 150px); }

/* ---------- 8. Intro -------------------------------------------------------- */
.mit-intro body { overflow: hidden; }
#intro { position: fixed; inset: 0; z-index: 400; background: #1a1817; display: none; align-items: center; justify-content: center; transition: opacity .5s, background-color .7s; }
.mit-intro #intro, #intro.weg, #intro.fliegt { display: flex !important; }
/* Intro-Ende: Feder ins Kopf-Logo */
#intro.fliegt { background-color: transparent; pointer-events: none; }
#intro.fliegt .intro-weiter { visibility: hidden; }
#intro.fliegt.weg { transition: opacity .2s; }
.logo-wartet .marke img { opacity: 0; transition: none; }
.intro-feder { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-m.uebergeben { visibility: hidden; }
#intro.weg { opacity: 0; pointer-events: none; }
#intro.weg * { animation-play-state: paused; }
/* Zeiten aus logo-intro.jsx */
.intro-bild { width: min(84vw, max(57vw, 320px)); height: auto; overflow: visible; animation: intro-kamera 3.6s cubic-bezier(.33, 1, .68, 1) both; }
.intro-m { fill: none; stroke: #e30613; stroke-width: 12.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; animation: intro-strich 1.5s cubic-bezier(.65, 0, .35, 1) .2s both; }
.intro-wort path { fill: none; stroke: #f3f2f2; stroke-width: 2.1; animation: intro-buchstabe .7s cubic-bezier(.33, 1, .68, 1) 1.35s both; }
.intro-wort path:nth-child(2) { animation-delay: 1.405s; }
.intro-wort path:nth-child(3) { animation-delay: 1.46s; }
.intro-wort path:nth-child(4) { animation-delay: 1.515s; }
.intro-wort path:nth-child(5) { animation-delay: 1.57s; }
.intro-wort path:nth-child(6) { animation-delay: 1.625s; }
.intro-wort path:nth-child(7) { animation-delay: 1.68s; }
.intro-wort path:nth-child(8) { animation-delay: 1.735s; }
.intro-wort path:nth-child(9) { animation-delay: 1.79s; }
.intro-wort path:nth-child(10) { animation-delay: 1.845s; }
@keyframes intro-kamera { from { transform: scale(1.08); } to { transform: none; } }
@keyframes intro-strich { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }
@keyframes intro-buchstabe { from { transform: translateY(25.2px); } to { transform: none; } }
.intro-weiter { position: absolute; right: 20px; bottom: 18px; background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 8px 12px; font: 400 .72rem var(--mono); cursor: pointer; }

/* ---------- 9. Anzeigen am Bildrand ------------------------------------------ */
.hud { position: fixed; inset: 0; z-index: 90; pointer-events: none; color: var(--tinte); }
.hud-status { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 8px; padding: 7px 12px; border-radius: 99px; background: var(--grund); font: 600 .78rem/1 var(--lese); white-space: nowrap; }
.hud-status b { font-weight: 800; }
.hud-balken { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.hud-balken i { width: 3px; background: currentColor; opacity: .25; border-radius: 1px; transition: opacity .2s; }
.hud-balken i:nth-child(1) { height: 4px; } .hud-balken i:nth-child(2) { height: 7px; } .hud-balken i:nth-child(3) { height: 10px; } .hud-balken i:nth-child(4) { height: 13px; }
.hud-balken i.an { opacity: 1; }

/* ---------- 10. Handy -------------------------------------------------------- */
@media (max-width: 820px) {
  :root { --kopfraum: 72px; --rand-links: 18px; --rand-rechts: 18px; }
  .sender > .skala { position: fixed; }   /* nicht am Container, sonst schwebt sie bei Adressleiste */
  .skala { top: auto; right: 0; bottom: 0; left: 0; transform: none; height: 52px; padding: 0; background: var(--grund); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .skala::-webkit-scrollbar { display: none; }
  .skala ul { flex-direction: row; align-items: center; gap: 2px; height: 100%; width: max-content; padding: 0 8px; }
  .skala a { padding: 14px 9px; font: 700 .86rem/1 var(--anzeige); letter-spacing: .03em; }
  .skala a::after { right: 50%; top: auto; bottom: 2px; width: 1px; height: 7px; }
  .welt .nadel { top: 0; bottom: 0; right: auto; left: 0; width: 24px; height: 100%; margin: 0 0 0 -12px; }
  .welt .nadel::after { left: 11px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .rufnummer { left: auto; right: 16px; top: 18px; writing-mode: horizontal-tb; transform: none; font-size: .78rem; }
  .ton { top: 46px; right: 16px; padding: 5px 8px; font-size: .62rem; }
  .randlinks { display: none; }
  .welt [data-modus="flug"] .ebene { padding-bottom: 92px; }
  .welt [data-modus="flug"] .abspann { padding-top: 76px; padding-bottom: 88px; }
  .ebene { padding-bottom: 70px; }
  body { padding-bottom: 52px; }
  .leistungen li { padding-block: .46em .4em; }
  .kabel-schnur { stroke-width: 8; }
  .person { grid-template-columns: minmax(0, 1fr); }
  .person-bild, .durchwahl, .person-info { grid-column: 1; grid-row: auto; }
  .welt [data-modus="flug"] .person-ebene .inhalt { max-width: none; margin-top: auto; margin-bottom: 0; }
  .welt [data-modus="flug"] .person-bild, .welt [data-modus="flug"] .gespiegelt .person-bild { left: 0; right: 0; top: 70px; bottom: auto; width: 100%; height: calc(46vh - 70px); -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .welt [data-modus="flug"] .durchwahl, .welt [data-modus="flug"] .gespiegelt .durchwahl { left: auto; right: 0; top: calc(46vh - 18.5vh); bottom: auto; width: auto; padding: 0 16px; text-align: right; }
  .welt [data-modus="flug"] .durchwahl b { font-size: 13vh; }
  .welt [data-modus="flug"] .aufreihung { bottom: 62px; height: 22vh; gap: 3px; }
  .abspann .inhalt { grid-template-columns: 1.3fr 1fr; gap: 12px 18px; }
  .abspann-gross { grid-column: 1 / -1; }
  .abspann-gross h2 { font-size: calc(var(--schrift) * clamp(1.7rem, min(8vw, 4.4vh), 2.4rem)); }
  .abspann-gross p { font-size: .86rem; line-height: 1.45; }
  .abspann-gross .abspann-slogan { font-size: calc(var(--schrift) * 1rem); font-weight: 700; letter-spacing: .07em; margin-bottom: .45em; }
  .abspann h2 { font-size: calc(var(--schrift) * 1.25rem); }
  .abspann .zeilen { font-size: .84rem; }
  .kontaktblatt { grid-template-columns: 1fr; }
  .telefonnummer { font-size: 14vw; }
  .hud-status { display: none; }
  .satz p { line-height: 1.75; }
}

/* ---------- 11. Feinschliff -------------------------------------------------- */
/* "Telekommunikation" ~7,9em, muss links der Skala bleiben */
.auftakt h1 { font-size: calc(var(--schrift) * clamp(2rem, min(9.3vw, 19vh), 13rem)); }
@media (max-width: 820px) { .auftakt h1 { font-size: calc(var(--schrift) * 11vw); } }
/* Referenzen-Auftakt muss auf einen Schirm */
@media (min-width: 821px) { [data-seite="referenzen"] .auftakt h1 { font-size: calc(var(--schrift) * clamp(2rem, min(7.4vw, 13vh), 9rem)); max-width: 10.5em; } }
/* niedrige Laptops: Hinweiszeile weg */
.marken { text-transform: none; font-size: clamp(.82rem, 1.25vw, 1.1rem); letter-spacing: .06em; color: var(--tinte); }
.leitsatz { font-family: var(--anzeige); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, min(3.6vw, 6vh), 3.6rem); line-height: 1; margin-top: .5em; }
.leitsatz + .untertitel { margin-top: .5em; }
.welt .marken, .welt .leitsatz, .welt .eckdaten { text-shadow: 0 0 16px var(--grund), 0 0 4px var(--grund), 0 0 1px var(--grund); }
@media (max-width: 820px) { .leitsatz { font-size: clamp(1.2rem, 6.8vw, 2rem); } }
/* Handy: mehr Luft unter Schrift aus der Welt */
@media (max-width: 820px) { h1 + .untertitel { margin-top: 1.3em; } .telefonnummer + p { margin-top: 1.1em; } }
/* flache Handys: was im Abspann steht, hier weg */
@media (max-width: 820px) and (max-height: 700px) {
  .welt [data-modus="flug"] .auftakt { padding-top: 84px; }
  .welt [data-modus="flug"] .auftakt .untertitel { display: none; }
  .welt [data-modus="flug"] .auftakt .aktionen { margin-top: 1.1em; }
  .welt [data-modus="flug"] .auftakt .eckdaten { margin-top: 1.1em; }
  .abspann .inhalt { row-gap: 8px; }
  .abspann-gross p { font-size: .8rem; line-height: 1.38; margin-bottom: .6em; }
  .abspann .zeilen { font-size: .8rem; line-height: 1.34; }
  .abspann .zeilen li + li { margin-top: .2em; }
}
@media (max-width: 820px) and (max-height: 600px) {
  .welt [data-modus="flug"] .auftakt .eckdaten { display: none; }
}

[data-modus="fluss"] .randlinks { display: none; }

/* Videofenster */
.videofenster {
  --tinte: #f3f2f2; --grund: #0d0c0c;
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0;
  background: rgba(8, 7, 7, .9); color: var(--tinte); overscroll-behavior: contain; touch-action: none;
}
.videofenster[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.videofenster::backdrop { background: none; }
.video-zu { align-self: flex-end; }
.video-flaeche {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: min(100%, 1100px, calc((100vh - 110px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(243, 242, 242, .35);
}
.video-flaeche iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-hinweis { max-width: 34em; padding: 20px; font-size: .95rem; overflow: auto; max-height: 100%; }
.video-hinweis[hidden] { display: none; }
.video-hinweis .aktionen { margin-top: 1.2em; }
.welt [data-modus="flug"] .referenz-ebene .inhalt { max-width: 58vw; margin-left: 0; }
@media (max-width: 820px) { .welt [data-modus="flug"] .referenz-ebene .inhalt { max-width: none; } }
