/* =============================================================================
   emsproto Relaunch-Landingpage (relaunch.html), 19.11.2026
   Vorlage: Entwuerfe/Relaunch-Landingpage, freigegebene Variante 3 „Datum und Einladung“ (Mockup 1600 x 1080), dazu das
   Beispiel-Gespraech unten rechts (Wunsch Tobias 19.11.2026, Vorbild luminovo.com/de). Die Seite laeuft in den zehn Tagen vor
   dem Relaunch (ab 22.11.2026, Relaunch 02.12.2026) als Startseite; danach kommt die komplette Website.
   Eigenes, kleines Stylesheet ohne style.css: kein Menue, kein Cookie-Hinweis; JavaScript nur fuer das Gespraech (relaunch.js).
   Desktop ab 1100 px: Alle Masse haengen an der Einheit --u = 1 Mockup-Pixel, die aus Breite UND Hoehe des Fensters kommt.
   So sieht die Seite auf 1366 x 768, 1440 x 900, 1920 x 1080 und 2560 x 1440 proportional gleich aus und die dunkle Flaeche
   endet unten im Fenster. Bis 1099 px: fliessende Groessen, alles untereinander (Handy-Reihenfolge laut Bauauftrag).
   Farben und Schriften wie das Brandkit (emsproto-gestaltungsregeln-claude.md); keine neuen Orangetoene.
   ============================================================================= */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kalam-700.woff2") format("woff2"); }

:root {
  --orange: #EB602B;          /* Logo-Orange: Button, Akzent auf Dunkel, Punkt im Gespraech */
  --orange-hover: #D44E1A;    /* Button beim Darueberfahren */
  --orange-text: #B23F14;     /* kleine orange Schrift und Handschrift auf Hell */
  --orange-gross: #E95E29;    /* Akzent in der grossen Ueberschrift auf Hell (Kontrast 3:1) */
  --orange-hauch: #FDEBE3;    /* sehr helle Orange-Flaeche: Sprechblasen von emsproto (wie auf der Website) */
  --orange-hover-rgb: 212, 78, 26;
  --tinte: #161514;
  --papier: #F5F0EA;
  --papier-tief: #EFE8DD;     /* Papier eine Stufe tiefer: Fuss des Gespraechs */
  --tinte-70: rgba(22, 21, 20, .74);     /* Nebentext auf Hell (Jahr, „Unser neuer Auftritt.“, Untertitel im Gespraech) */
  --tinte-10: rgba(22, 21, 20, .1);      /* feine Linien und Rahmen auf Hell */
  --papier-75: rgba(245, 240, 234, .78); /* Nebentext auf Dunkel (rechtliche Zeile) */
  --schrift-titel: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --schrift-text: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --schrift-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --weich: cubic-bezier(.2, .7, .2, 1);
  --rand: clamp(20px, 5vw, 48px);   /* seitlicher Abstand bis 1099 px */
  --u: 1px;                         /* Mockup-Einheit; ab 1100 px aus Fensterbreite und -hoehe berechnet (siehe unten) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--schrift-text); font-size: 1.125rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Seite: Spalte aus Kopf, Buehne und dunkler Abschlussflaeche; die Abschlussflaeche fuellt den Rest des Fensters */
.seite { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; overflow: clip; }

/* --- Kopf: Logo links, Datum rechts ------------------------------------------- */
.kopf { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px var(--rand) 0; }   /* ueber der Papierflaeche im Hintergrund */
.kopf__logo { display: block; flex: none; }
.kopf__logo img { width: 168px; height: auto; }
.kopf__datum { margin: 0; font-family: var(--schrift-text); font-weight: 600; font-size: .8125rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; text-align: right; color: var(--orange-text); }

/* --- Buehne: Text und Bild ----------------------------------------------------- */
.buehne { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 40px var(--rand) 0; }
/* Hintergrund (Wunsch Tobias 19.11.2026, „etwas auflockern“): eine leicht gedrehte Flaeche im zweiten Papierton hinter der rechten Haelfte
   und der orange Spruehstrich der Startaktion (gleicher Stil wie der Pinsel im Hero-Bild) hinter dem Video. Beides sitzt unter Text und Video. */
.buehne::before { content: ""; position: absolute; z-index: 0; left: 38%; right: -30%; top: 46%; bottom: -6%; border-radius: 40px; background: var(--papier-tief); transform: rotate(-5deg); pointer-events: none; }
.buehne__text { position: relative; z-index: 2; max-width: 640px; }
.hand { margin: 0;   /* seit r175 nicht mehr im HTML (Tobias: „Da kommt was.“ weg), Regel bleibt fuer den Fall einer Rueckkehr */ font-family: var(--schrift-hand); font-weight: 700; font-size: clamp(1.25rem, 1.2rem + .5vw, 1.5rem); line-height: 1.2; color: var(--orange-text); }
.titel { margin: 12px 0 0; font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(4rem, 11vw, 5.5rem); line-height: .98; letter-spacing: -.01em; }
.titel__akzent { color: var(--orange-gross); }
.einleitung { max-width: 32rem; margin: 24px 0 0; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem); line-height: 1.5; }
/* r174: bis 1099 px (Handy, Tablet) liegt der Termin auf einer orangen Flaeche im Stil des LinkedIn-Buttons, ohne Klickfunktion (Wunsch Tobias 21.11.2026); ab 1100 px wie bisher ohne Flaeche */
.termin { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 420px; margin: 28px 0 0; padding: 14px 24px 14px 22px; border-radius: 13px; background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(var(--orange-hover-rgb), .25); }
.termin__tag { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(3.5rem, 3rem + 3vw, 4.75rem); line-height: 1; letter-spacing: -.01em; }
.termin__rest { display: flex; flex-direction: column; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: #fff; }

.buehne__bild { position: relative; margin: 32px auto 0; width: min(100%, 620px); }
.buehne__bild img { width: 100%; }
.bild__hinweis { position: absolute; z-index: 2; right: 8px; bottom: 10px; margin: 0; padding: 2px 8px; border-radius: 4px; background: rgba(245, 240, 234, .82); font-size: .8125rem; letter-spacing: .02em; color: rgba(22, 21, 20, .7); }   /* Kennzeichnung des KI-Bilds wie auf der Website (Pruefbericht 16.11.2026, Befund 13) */

/* Teaser-Video „So laeuft dein Projekt.“ (statt des Bilds mit Frau und Platine; die Bildregeln darueber bleiben fuer den Fall, dass das Bild zurueckkommt) */
.buehne__video { position: relative; z-index: 1; margin: 36px auto 0; padding-bottom: 40px; width: min(100%, 640px); }   /* unten Luft, damit die schraege dunkle Flaeche die Unterschrift nicht anschneidet; eigener Stapel fuer den Spruehstrich dahinter */
.buehne__video::before { content: ""; position: absolute; z-index: -1; right: -9%; top: -11%; width: 72%; aspect-ratio: 600 / 269; background: url("../img/startaktion-spray.png") center / contain no-repeat; transform: rotate(-6deg); pointer-events: none; }
.film { margin: 0; }
.film__rahmen { position: relative; overflow: hidden; border: 1px solid var(--orange); border-radius: 16px; background: var(--tinte); box-shadow: 0 30px 60px -30px rgba(22, 21, 20, .55); }   /* r165: ganz duenner oranger Rahmen (Wunsch Tobias 19.11.2026), bleibt auf jeder Bildschirmgroesse 1 px */
.film__video { display: block; width: 100%; aspect-ratio: 1280 / 896; object-fit: cover; }
/* r171: klickbares Vorschaubild mit Play-Knopf ueber dem Video statt stummem Autostart (Wunsch Tobias 21.11.2026); der Klick startet mit Ton */
.film__start { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: var(--tinte); cursor: pointer; }
.film__start[hidden] { display: none; }
.film__start picture, .film__start img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* r173: Play-Knopf wie in der Vorlage von Tobias (abgerundetes Rechteck, Mitte unten ueber der Platine); Masse relativ zum Bild 1280 x 896 */
.film__play { position: absolute; left: 50%; top: 71.4%; display: grid; place-items: center; width: 15.3%; min-width: 64px; aspect-ratio: 196 / 128; margin: 0; border-radius: 12px; background: var(--orange); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transform: translate(-50%, -50%); transition: transform .25s var(--weich), background-color .25s var(--weich); }
.film__play svg { width: 42%; height: 58%; margin-left: 4%; }
.film__start:hover .film__play, .film__start:focus-visible .film__play { transform: translate(-50%, -50%) scale(1.06); background: var(--orange-hover); }
.film__text { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 4px 0; }
.film__beschreibung { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.film__titel { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem); line-height: 1.1; }
.film__hinweis { font-size: .9375rem; line-height: 1.4; color: var(--tinte-70); }
.film__knoepfe { flex: none; display: flex; gap: 8px; }   /* Pause und Ton neben der Unterschrift, nicht ueber dem Bild */
.film__knopf { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--tinte-10); border-radius: 50%; background: #fff; color: var(--tinte); cursor: pointer; transition: background-color .2s var(--weich), border-color .2s var(--weich); }
.film__knopf:hover { background: var(--orange-hauch); border-color: rgba(235, 96, 43, .35); }
.film__knopf svg { width: 22px; height: 22px; }
.film__symbol-play, .film__symbol-laut { display: none; }
.film__pause.ist-pausiert .film__symbol-pause { display: none; }
.film__pause.ist-pausiert .film__symbol-play { display: block; }
.film__ton[aria-pressed="true"] .film__symbol-stumm { display: none; }
.film__ton[aria-pressed="true"] .film__symbol-laut { display: block; }

/* --- Dunkle Abschlussflaeche: Einladung, LinkedIn-Button, Gespraech, rechtliche Zeile --- */
.abschluss { position: relative; flex: 1; display: flex; flex-direction: column; margin-top: -4%; color: var(--papier); }
.abschluss::before { content: ""; position: absolute; left: -10vw; right: -10vw; top: 0; height: 160px; background: var(--tinte); border-radius: 50% 50% 0 0 / 40px 40px 0 0; transform: rotate(-1deg); }   /* sanft geschwungene, leicht schraege Oberkante wie im Mockup */
.abschluss::after { content: ""; position: absolute; left: 0; right: 0; top: 80px; bottom: 0; background: var(--tinte); }
.abschluss > .inhalt { position: relative; z-index: 1; flex: 1; }
.abschluss__innen { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 56px var(--rand) 0; }
.einladung { margin: 0; font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.125rem); line-height: 1.15; }
.einladung__akzent { color: var(--orange); }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; max-width: 420px; min-height: 60px; padding: 12px 12px 12px 24px; border-radius: 13px; background: var(--orange); color: #fff; font-family: var(--schrift-titel); font-weight: 800; font-size: 1.5rem; line-height: 1.1; text-decoration: none; box-shadow: 0 10px 24px rgba(var(--orange-hover-rgb), .25); transition: background-color .25s var(--weich), box-shadow .25s var(--weich); }
.btn:hover { background: var(--orange-hover); box-shadow: 0 14px 26px -12px rgba(var(--orange-hover-rgb), .8); }
.btn:active { transform: translateY(1px); }
.btn__pfeil { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--orange); transition: transform .25s var(--weich); }
.btn__pfeil svg { width: 18px; height: 18px; }
.btn:hover .btn__pfeil { transform: translateX(4px); }

.direkt { display: flex; flex-direction: column; gap: 4px; font-size: 1.0625rem; line-height: 1.4; }
.direkt__frage { margin: 0; }
.direkt__mail { font-weight: 600; font-size: 1.3125rem; text-decoration: none; }
.direkt__tel { font-size: 1rem; color: var(--papier-75); text-decoration: none; }
.direkt__mail:hover, .direkt__tel:hover { text-decoration: underline; text-underline-offset: 3px; }

.rechtliches { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px var(--rand) 24px; font-size: .9375rem; line-height: 1.4; color: var(--papier-75); }
.rechtliches a { text-decoration: none; }
.rechtliches a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rechtliches nav { white-space: nowrap; }

/* --- Beispiel-Gespraech (Chat-Fenster) ---------------------------------------------
   Am 19.11.2026 auf Wunsch Tobias aus relaunch.html entfernt (r164); Markup in Entwuerfe/Relaunch-Landingpage/beispiel-gespraech-markup.html.
   Die Regeln bleiben fuer einen moeglichen Wiedereinbau stehen. */
.chat { position: relative; width: auto; max-width: 440px; margin: 32px var(--rand) 0; border: 1px solid var(--tinte-10); border-radius: 18px; background: #fff; color: var(--tinte); box-shadow: 0 30px 60px -30px rgba(22, 21, 20, .5); overflow: hidden; font-size: .875rem; line-height: 1.4; }
.chat__kopf { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--tinte-10); background: #fff; }
.chat__avatare { display: flex; flex: none; }
.chat__avatare .chat__avatar + .chat__avatar { margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.chat__avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--papier-tief); font-weight: 600; font-size: .6875rem; letter-spacing: .02em; color: var(--tinte); }
.chat__avatar--wir { background: #fff; border: 1px solid var(--tinte-10); }
.chat__avatar img { width: 18px; height: 18px; }
.chat__titel { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.chat__titel b { font-weight: 600; font-size: .9375rem; }
.chat__titel small { font-size: .75rem; color: var(--tinte-70); }
.chat__beispiel { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.chat__beispiel i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.chat__verlauf { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 72px; max-height: 250px; margin: 0; padding: 14px; list-style: none; overflow: hidden; }   /* waechst mit den Nachrichten bis zur Hoechsthoehe, danach laufen die aeltesten oben hinaus */
.chat__verlauf::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 28px; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); pointer-events: none; }   /* aeltere Nachrichten laufen oben weich hinaus */
.chat__nachricht { display: flex; align-items: flex-start; gap: 8px; max-width: 90%; }
.chat__nachricht--du { flex-direction: row-reverse; align-self: flex-end; }
.chat__blase { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chat__nachricht--du .chat__blase { align-items: flex-end; }
.chat__wer { font-size: .6875rem; line-height: 1.2; color: var(--tinte-70); }
.chat__wer b { font-weight: 600; color: var(--tinte); }
.chat__nachricht p { position: relative; margin: 0; padding: 8px 11px; border: 1px solid var(--tinte-10); border-radius: 4px 12px 12px 12px; background: var(--orange-hauch); font-size: .875rem; line-height: 1.4; }
.chat__nachricht--wir p { border-color: rgba(235, 96, 43, .18); }
.chat__nachricht--du p { border-radius: 12px 4px 12px 12px; background: var(--papier); }
.chat__text { display: inline; }
.chat__punkte { position: absolute; left: 11px; top: 50%; display: none; gap: 4px; transform: translateY(-50%); }
.chat__nachricht--du .chat__punkte { left: auto; right: 11px; }
.chat__punkte i { width: 6px; height: 6px; border-radius: 50%; background: var(--tinte-70); opacity: .35; }
.chat__fuss { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--tinte-10); background: var(--papier-tief); font-size: .8125rem; line-height: 1.4; }
.chat__frage { width: 100%; color: var(--tinte-70); }
.chat__fuss a { font-weight: 600; text-decoration: none; color: var(--orange-text); }
.chat__fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.chat__trenner { color: var(--tinte-70); }

/* Ablauf mit JavaScript: Nachrichten erscheinen nacheinander (Klassen aus relaunch.js), erst Tipp-Punkte, dann Text */
.chat--laeuft .chat__nachricht { display: none; }
.chat--laeuft .chat__nachricht.ist-dran, .chat--laeuft .chat__nachricht.ist-da { display: flex; animation: nachricht-kommt .35s var(--weich) both; }
.chat--laeuft .chat__nachricht.ist-dran .chat__text { visibility: hidden; }
.chat--laeuft .chat__nachricht.ist-dran .chat__punkte { display: flex; }
.chat--laeuft .chat__nachricht.ist-dran .chat__punkte i { animation: punkt-wippt 1s infinite; }
.chat--laeuft .chat__nachricht.ist-dran .chat__punkte i:nth-child(2) { animation-delay: .15s; }
.chat--laeuft .chat__nachricht.ist-dran .chat__punkte i:nth-child(3) { animation-delay: .3s; }
.chat--laeuft .chat__verlauf { transition: opacity .4s var(--weich); }
.chat--leer .chat__verlauf { opacity: 0; }
@keyframes nachricht-kommt { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes punkt-wippt { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: .9; transform: translateY(-3px); } }

/* Ganz schmale Handys: kleineres Logo, damit Logo und Datum nebeneinander bleiben */
@media (max-width: 419px) { .kopf__logo img { width: 150px; } .kopf__datum { font-size: .75rem; } }

/* --- Tablet: mehr Luft, Bild rechts ausgerichtet ---------------------------------- */
@media (min-width: 760px) and (max-width: 1099px) {
  .kopf { padding-top: 32px; }
  .kopf__logo img { width: 220px; }
  .kopf__datum { font-size: .9375rem; }
  .buehne { padding-top: 56px; }
  .buehne__bild { margin: 24px 0 0 auto; width: min(100%, 680px); }
  .buehne__video { margin: 40px 0 0; width: min(100%, 680px); }
  .abschluss__innen { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px; }
  .btn { grid-column: 1 / -1; width: auto; }
  .direkt { grid-column: 2; grid-row: 1; text-align: right; }
  .chat { margin-top: 40px; }
}

/* --- Desktop ab 1100 px: Mockup-Proportionen ueber die Einheit --u ------------------ */
@media (min-width: 1100px) {
  :root { --u: clamp(.62px, min(calc(100vw / 1600), calc(100svh / 1080)), 1.5px); }
  .seite { overflow: clip; }
  .inhalt { width: min(100%, calc(1600 * var(--u))); margin: 0 auto; }   /* Mockup-Breite, auf breiteren Bildschirmen mittig */
  .kopf { padding: calc(42 * var(--u)) calc(90 * var(--u)) 0; }
  .kopf__logo img { width: calc(290 * var(--u)); }
  .kopf__datum { font-size: calc(18 * var(--u)); letter-spacing: calc(2 * var(--u)); }

  .buehne { grid-template-columns: calc(640 * var(--u)) minmax(0, 1fr); padding: 0 calc(90 * var(--u)); min-height: calc(785 * var(--u)); }   /* 870 u bis zur dunklen Flaeche, abzueglich Kopf (85 u) */
  .buehne::before { left: calc(690 * var(--u)); right: auto; top: calc(-150 * var(--u)); bottom: auto; width: calc(1150 * var(--u)); height: calc(1010 * var(--u)); border-radius: calc(90 * var(--u)); }   /* hinter Video und Datum, laeuft rechts aus dem Fenster und unter die dunkle Flaeche */
  .buehne__text { position: relative; z-index: 2; max-width: none; padding-top: calc(113 * var(--u)); }   /* ueber dem Bild bzw. Video: „was Neues?“ bleibt samt Fragezeichen komplett sichtbar */
  .hand { font-size: calc(28 * var(--u)); }
  .titel { margin-top: calc(60 * var(--u)); font-size: calc(147 * var(--u)); letter-spacing: calc(-1.5 * var(--u)); white-space: nowrap; }   /* genau zwei Zeilen wie im Mockup; „was Neues?“ darf in die weiche Bildkante ragen; 60 u statt 26 u, seit r175 ohne die Zeile „Da kommt was.“ darueber (gleiche Hoehe wie vorher) */
  .einleitung { max-width: none; margin-top: calc(35 * var(--u)); font-size: calc(25 * var(--u)); }
  .termin { gap: calc(25 * var(--u)); width: auto; max-width: none; margin-top: calc(38 * var(--u)); padding: 0; border-radius: 0; background: none; color: inherit; box-shadow: none; }   /* Desktop ohne orange Flaeche */
  .termin__tag { font-size: calc(95 * var(--u)); }
  .termin__rest { font-weight: 400; font-size: calc(21 * var(--u)); line-height: 1.45; color: var(--tinte-70); }

  .buehne__bild { position: absolute; left: calc(700 * var(--u)); top: calc(-5 * var(--u)); width: calc(850 * var(--u)); margin: 0; }   /* Mockup: links 700 u, oben 80 u ab Seitenrand = 85 u Kopf minus 5 u */
  .buehne__bild::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--papier), transparent 15%); pointer-events: none; }   /* weiche linke Bildkante */
  .bild__hinweis { right: auto; left: 30%; bottom: 12%; font-size: calc(13 * var(--u)); }   /* auf der linken unteren Ecke der Platine; rechts unten sitzt das Gespraech */

  .buehne__video { position: absolute; left: calc(760 * var(--u)); top: calc(90 * var(--u)); width: calc(750 * var(--u)); margin: 0; padding-bottom: 0; }   /* rechts neben dem Text, oben buendig mit der Ueberschrift */
  .buehne__video::before { right: calc(-80 * var(--u)); top: calc(-95 * var(--u)); width: calc(560 * var(--u)); }
  .film__rahmen { border-radius: calc(16 * var(--u)); box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-30 * var(--u)) rgba(22, 21, 20, .55); }
  .film__text { gap: calc(16 * var(--u)); margin: calc(16 * var(--u)) calc(4 * var(--u)) 0; }
  .film__beschreibung { gap: calc(2 * var(--u)); }
  .film__knoepfe { gap: calc(8 * var(--u)); }
  .film__knopf { width: calc(44 * var(--u)); height: calc(44 * var(--u)); }
  .film__knopf svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
  .film__play { border-radius: calc(22 * var(--u)); }
  .film__titel { font-size: calc(30 * var(--u)); }
  .film__hinweis { font-size: calc(15 * var(--u)); }

  .abschluss { margin-top: 0; }
  .abschluss::before { left: -8vw; right: -8vw; height: calc(250 * var(--u)); border-radius: 50% 50% 0 0 / calc(38 * var(--u)) calc(38 * var(--u)) 0 0; }
  .abschluss::after { top: calc(80 * var(--u)); }
  .abschluss__innen { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: calc(40 * var(--u)); padding: calc(48 * var(--u)) calc(90 * var(--u)) 0; }
  .einladung { font-size: calc(34 * var(--u)); }
  .btn { width: auto; max-width: none; justify-self: center; gap: calc(24 * var(--u)); min-height: 0; padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)) calc(25 * var(--u)); border-radius: calc(13 * var(--u)); font-size: calc(25 * var(--u)); }
  .btn__pfeil { width: calc(35 * var(--u)); height: calc(35 * var(--u)); }
  .btn__pfeil svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
  .direkt { justify-self: end; gap: calc(6 * var(--u)); font-size: calc(18 * var(--u)); text-align: right; }
  .direkt__mail { font-size: calc(22 * var(--u)); }
  .direkt__tel { font-size: calc(16 * var(--u)); }
  .rechtliches { padding: calc(22 * var(--u)) calc(90 * var(--u)) calc(23 * var(--u)); font-size: calc(15 * var(--u)); gap: calc(8 * var(--u)) calc(28 * var(--u)); }

  /* Gespraech unten rechts, ragt aus der dunklen Flaeche in die Buehne (ueber die rechte untere Ecke der Platine) */
  .chat { position: absolute; right: calc(90 * var(--u)); bottom: calc(23 * var(--u)); z-index: 3; width: calc(340 * var(--u)); max-width: none; margin: 0; border-radius: calc(18 * var(--u)); font-size: calc(14 * var(--u)); box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-30 * var(--u)) rgba(22, 21, 20, .5); }
  .chat__kopf { gap: calc(10 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); }
  .chat__avatar { width: calc(28 * var(--u)); height: calc(28 * var(--u)); font-size: calc(11 * var(--u)); }
  .chat__avatar img { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
  .chat__avatare .chat__avatar + .chat__avatar { margin-left: calc(-8 * var(--u)); }
  .chat__titel b { font-size: calc(15 * var(--u)); }
  .chat__titel small { font-size: calc(12 * var(--u)); }
  .chat__beispiel { gap: calc(6 * var(--u)); font-size: calc(11 * var(--u)); }
  .chat__beispiel i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); }
  .chat__verlauf { gap: calc(10 * var(--u)); min-height: calc(72 * var(--u)); max-height: calc(250 * var(--u)); padding: calc(14 * var(--u)); }
  .chat__verlauf::before { height: calc(28 * var(--u)); }
  .chat__nachricht { gap: calc(8 * var(--u)); }
  .chat__wer { font-size: calc(11 * var(--u)); }
  .chat__nachricht p { padding: calc(8 * var(--u)) calc(11 * var(--u)); border-radius: calc(4 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)); font-size: calc(14 * var(--u)); }
  .chat__nachricht--du p { border-radius: calc(12 * var(--u)) calc(4 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)); }
  .chat__punkte { left: calc(11 * var(--u)); gap: calc(4 * var(--u)); }
  .chat__nachricht--du .chat__punkte { right: calc(11 * var(--u)); }
  .chat__punkte i { width: calc(6 * var(--u)); height: calc(6 * var(--u)); }
  .chat__fuss { gap: calc(2 * var(--u)) calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u)); font-size: calc(13 * var(--u)); }
}

/* --- Dezente einmalige Einstiegsbewegung (nur ohne Bewegungsreduzierung) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .buehne__text > *, .buehne__bild, .buehne__video { animation: auftauchen .7s var(--weich) both; }
  .buehne__video { animation-delay: .12s; }
  .buehne__text > :nth-child(2) { animation-delay: .08s; }
  .buehne__text > :nth-child(3) { animation-delay: .16s; }
  .buehne__text > :nth-child(4) { animation-delay: .24s; }
  .buehne__bild { animation-delay: .12s; }
  @keyframes auftauchen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .chat--laeuft .chat__nachricht, .chat__nachricht.ist-dran, .chat__nachricht.ist-da { animation: none; }
  .chat__punkte i { animation: none !important; }
}

/* --- Intro-Video „Hook-Cut“ ueber der Seite (r170, Wunsch Tobias 21.11.2026) -------------------
   relaunch.js oeffnet es beim Aufruf: 4:5-Video gross in der Mitte, Seite dahinter abgedunkelt und leicht unscharf. Stummer Autostart
   (Browser-Regel), „Ton an“ als Knopf, X / Esc / Klick daneben schliesst, am Ende schliesst es sich selbst. Ohne JavaScript bleibt es verborgen.
   r172: Start mit Ton, wenn der Browser es zulaesst; sonst stumm, Klasse intro--stumm laesst den Ton-Knopf pulsieren und zeigt den Hinweis. */
.intro { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 1; transition: opacity .45s var(--weich); }
.intro[hidden] { display: none; }
.intro.geht { opacity: 0; pointer-events: none; }
.intro__hinter { position: absolute; inset: 0; background: rgba(22, 21, 20, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: pointer; }
.intro__box { position: relative; z-index: 1; width: min(100%, calc((100vh - 150px) * .8), 640px); width: min(100%, calc((100svh - 150px) * .8), 640px); }   /* Video 4:5 samt Leiste passt in jedes Fenster */
.intro__rahmen { position: relative; overflow: hidden; border: 1px solid var(--orange); border-radius: 16px; background: var(--tinte); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.intro__video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tinte); }
.intro__zu { position: absolute; z-index: 2; top: 12px; right: 12px; }
.intro__play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(22, 21, 20, .35); color: #fff; cursor: pointer; }   /* nur, wenn der Browser den stummen Start verweigert */
.intro__play[hidden] { display: none; }
.intro__play svg { width: 96px; height: 96px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.intro__leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 2px 0; color: var(--papier); }
.intro__hinweis { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--papier-75); }
.intro__stumm-hinweis { display: none; margin: 0; font-size: .875rem; line-height: 1.4; color: var(--papier); }
.intro--stumm .intro__hinweis { display: none; }
.intro--stumm .intro__stumm-hinweis { display: block; }
.intro--stumm .intro__ton { animation: ton-puls 1.6s ease-in-out infinite; }
@keyframes ton-puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(235, 96, 43, .75); } 60% { box-shadow: 0 0 0 14px rgba(235, 96, 43, 0); } }
.intro__ton { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--schrift-text); font-weight: 600; font-size: .9375rem; line-height: 1; cursor: pointer; transition: background-color .2s var(--weich); }
.intro__ton:hover { background: var(--orange-hover); }
.intro__ton svg { width: 22px; height: 22px; }
.intro__ton .film__symbol-laut, .intro__ton .intro__ton-aus { display: none; }
.intro__ton[aria-pressed="true"] .film__symbol-stumm, .intro__ton[aria-pressed="true"] .intro__ton-an { display: none; }
.intro__ton[aria-pressed="true"] .film__symbol-laut, .intro__ton[aria-pressed="true"] .intro__ton-aus { display: block; }
html.intro-offen { overflow: hidden; }
/* „Intro nochmal ansehen“ im Text, erscheint nach dem Schliessen */
.intro-nochmal { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; padding: 0; border: 0; background: none; font-family: var(--schrift-text); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--orange-text); cursor: pointer; }
.intro-nochmal[hidden] { display: none; }
.intro-nochmal svg { width: 18px; height: 18px; }
.intro-nochmal:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1100px) {
  .intro__box { width: min(100%, calc((100vh - 150px) * .8), calc(680 * var(--u))); width: min(100%, calc((100svh - 150px) * .8), calc(680 * var(--u))); }
  .intro-nochmal { margin-top: calc(30 * var(--u)); font-size: calc(18 * var(--u)); }
  .intro-nochmal svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
}
@media (prefers-reduced-motion: no-preference) {
  .intro:not(.geht) .intro__box { animation: intro-kommt .55s var(--weich) both; }
  @keyframes intro-kommt { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .intro { transition: none; } .intro--stumm .intro__ton { animation: none; outline: 3px solid rgba(245, 240, 234, .7); outline-offset: 3px; } }

/* --- Cookie-Hinweis (r177, 23.11.2026): gleiche Gestaltung wie auf der Website (style.css), Logik in einwilligung.js; erscheint nach dem Intro --- */
.einwilligung { position: fixed; z-index: 45; right: 24px; bottom: 24px; width: 380px; max-height: calc(100vh - 80px); overflow-y: auto; padding: 20px 22px 18px; border-radius: 16px; background: var(--papier); color: var(--tinte); box-shadow: 0 0 0 1px rgba(22, 21, 20, .15), 0 24px 48px -20px rgba(22, 21, 20, .55); opacity: 0; transform: translateY(24px); transition: transform .35s var(--weich), opacity .35s var(--weich); }
.einwilligung[hidden] { display: none; }
.einwilligung.ist-da { opacity: 1; transform: none; }
.einwilligung:focus { outline: none; }
.einwilligung:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 16px; }
.einwilligung__hand { margin: 0 0 2px; font-family: var(--schrift-hand); font-weight: 700; font-size: 1.125rem; line-height: 1.2; color: var(--orange-text); transform: rotate(-2deg); transform-origin: left center; }
.einwilligung__titel { margin: 0; font-family: var(--schrift-titel); font-weight: 800; font-size: 1.75rem; line-height: 1.05; letter-spacing: -.005em; }
.einwilligung__text { margin: 8px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--tinte-70); }
.einwilligung__auswahl { display: grid; gap: 8px; margin-top: 12px; }
.einwilligung__zweck { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; font-size: .9375rem; line-height: 1.4; color: var(--tinte); cursor: pointer; }
.einwilligung__zweck[hidden] { display: none; }
.einwilligung__zweck input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); cursor: pointer; }
.einwilligung__mehr { margin: 6px 0 0; font-size: .875rem; line-height: 1.4; color: var(--tinte-70); }
.einwilligung__mehr a { color: var(--tinte); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.einwilligung__mehr a:hover { color: var(--orange-text); }
.einwilligung__knoepfe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.einwilligung__knopf { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 12px; background: var(--tinte); color: var(--papier); font-family: var(--schrift-titel); font-weight: 800; font-size: 1.15rem; line-height: 1.1; letter-spacing: .01em; cursor: pointer; transition: background-color .2s, color .2s; }
.einwilligung__knopf:hover { background: var(--orange); color: #fff; }
.einwilligung__knopf:active { transform: translateY(1px); }
.einwilligung__knopf[data-wahl="auswahl"] { grid-column: 1 / -1; background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte); }
.einwilligung__knopf[data-wahl="auswahl"]:hover { background: var(--tinte); color: var(--papier); }
.rechtliches__knopf { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }   /* „Cookie-Einstellungen“ neben Impressum und Datenschutz, erscheint nur mit aktiver Messung */
.rechtliches__knopf[hidden] { display: none; }
.rechtliches__knopf::before { content: " · "; }
.rechtliches__knopf:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 759px) {
  .einwilligung { left: 16px; right: 16px; bottom: 16px; width: auto; max-height: calc(100vh - 64px); padding: 16px 18px 14px; }
  .einwilligung__titel { font-size: 1.5rem; }
  .einwilligung__knoepfe { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .einwilligung { transform: none; transition: none; } }
@media print { .einwilligung { display: none !important; } }
