/* Variante 3 „Medienproduktion für Content Creator*innen (FH)“, aus Variante 2 weiterentwickelt: Gestaltung und Code © 2026 Hendrik Göpel. Alle Rechte vorbehalten. */

/* ===== Schriften: eingebettet in fonts.css, damit die Seite offline gleich aussieht ===== */
@import url("fonts.css");

/* ===== Tokens: hell und klar (Weiß, fast Schwarz), HSM-Orange bleibt der Akzent ===== */
:root {
  color-scheme: light;

  /* HSM-Fernstudium-Farben (Pipette von hsm-fernstudium.de); der Name --hsm-orange bleibt, damit ipad.css/handy.css weiter greifen, er ist jetzt HSM-Gelb */
  --navy: #07294d;        /* Kopf, Fuß, dunkle Flächen, Überschriften */
  --hsm-blau: #1a4b7e;    /* Links, zweiter Akzent, Logofarbe */
  --graublau: #8a98ba;    /* Linien, Nebentext, aus dem Logo */
  --gelb: #ffc800;        /* Hauptakzent für Knöpfe und Handlungen (dunkle Schrift darauf) */
  --gelb-dunkel: #c9a41d;
  --gelb-verlauf: linear-gradient(0deg, #c9a41d 0%, #ffc800 1%, #c9a41d 100%);
  --hellgrau: #f1f1f1;
  --hsm-orange: var(--gelb);
  --cream: var(--hellgrau);
  --panel: #ffffff;
  --ink: var(--navy);
  --muted: #4d6079;
  --line: #dde3ec;
  --espresso: var(--navy);
  --cocoa: #0d3a68;
  --terra: var(--hsm-blau);   /* früher Terrakotta: Akzentschrift, Chips, Kennzahlen */
  --ochre: var(--gelb);       /* auf dunklem Grund */
  --rose: #e8a294;
  --sage: #8d9b6c;
  --plum: #6e3350;
  --on-dark: #f4f6fa;
  --on-dark-muted: #b3bfd4;

  --c-foto: #4f8a45;
  --c-video: #b8403a;
  --c-ki: var(--plum);
  --c-web: #3f74ad;
  --c-social: var(--rose);
  --c-info: var(--hsm-orange);
  --c-title: #c9c9d0;

  --font-serif: "Exo", "Atkinson Hyperlegible Next", system-ui, sans-serif; /* HSM-Hausschrift; Name bleibt, damit ipad.css/handy.css greifen */
  --font-display: "Exo", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-body: "Exo", "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --step-3: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 64px;
  --nav-h: 60px; /* Platz für die Zeitleiste unten (12 px Abstand + 36 px Leiste + Luft) */
  --radius: 28px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 28px 60px -30px rgb(20 20 24 / 0.5);
  --shadow-soft: 0 18px 40px -28px rgb(20 20 24 / 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.06; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); max-width: 20ch; }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terra); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--hsm-orange); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section-head { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: 1.5rem; }
.kicker { margin: 0 0 0.8rem; font-family: var(--font-display); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); }
.lead { font-size: var(--step-1); max-width: 60ch; color: var(--muted); }
.note { color: var(--muted); font-size: var(--step--1); max-width: 72ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  padding: 0.6rem 1rem; background: var(--ink); color: #fff; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.draft-note {
  margin: 0;
  padding: 0.4rem var(--gutter);
  background: var(--sand, #ecd3ad);
  font-size: var(--step--1);
  text-align: center;
}
.draft-note a { font-weight: 700; }

/* Abschnitte, die wie ein Blatt über den vorigen gleiten */
.sheet { position: relative; z-index: 2; margin-top: -2.5rem; border-radius: 40px 40px 0 0; transition: border-radius 0.35s var(--smooth); }
/* Oben angekommen (main.js: .ist-oben) füllt die Karte ihre runden Ecken: dahinter blitzt nichts mehr durch */
.karten-stapel main > section.ist-oben { border-top-left-radius: 0; border-top-right-radius: 0; }
.sheet-light { background: var(--cream); }
.sheet-panel { background: var(--panel); }
.sheet-dark { background: var(--espresso); color: var(--on-dark); }
.sheet-dark .lead, .sheet-dark .note { color: var(--on-dark-muted); }
.sheet-dark h2 em, .sheet-dark h3 em { color: var(--gelb); }
.sheet-dark .kicker { color: var(--ochre); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--spring), background-color 0.2s, color 0.2s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gelb-verlauf); color: var(--navy); box-shadow: 0 14px 30px -14px rgb(7 41 77 / 0.55); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: currentColor; background: rgb(255 255 255 / 0.5); color: var(--ink); }
.btn-ghost:hover { background: #fff; }
.sheet-dark .btn-ghost { background: rgb(255 255 255 / 0.06); color: var(--on-dark); }
.sheet-dark .btn-ghost:hover { background: rgb(255 255 255 / 0.16); }
.ext::after { content: "↗"; font-weight: 700; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--cream) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgb(20 20 24 / 0.08);
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.site-header.is-dark { background: rgb(7 41 77 / 0.96); border-bottom-color: rgb(255 255 255 / 0.1); color: var(--on-dark); }
.site-header.is-dark .brand-school { color: var(--ochre); }
.site-header.is-dark .main-nav a:hover { background: rgb(255 255 255 / 0.12); }
.site-header.is-dark .main-nav a[aria-current="page"] { background: rgb(255 255 255 / 0.14); }
.site-header.is-dark .menu-toggle { border-color: var(--on-dark); color: var(--on-dark); }
.brand { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; line-height: 1.15; }
.brand-school { font-size: 0.8rem; font-weight: 700; color: var(--terra); }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }

.main-nav ul { display: flex; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.8rem; border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap; transition: background-color 0.2s; }
.main-nav a:hover { background: rgb(26 75 126 / 0.1); }
.main-nav a[aria-current="page"] { background: rgb(26 75 126 / 0.12); }
.main-nav a[data-area]::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--dot); }
.main-nav .nav-cta { background: var(--gelb-verlauf); color: var(--navy); }
.main-nav .nav-cta:hover { filter: brightness(1.07); }
.site-header.is-dark .main-nav .nav-cta { background: var(--gelb-verlauf); color: var(--navy); }

[data-area="foto"] { --dot: var(--c-foto); }
[data-area="video"] { --dot: var(--c-video); }
[data-area="ki"] { --dot: var(--c-ki); }
[data-area="web"] { --dot: var(--c-web); }
[data-area="social"] { --dot: var(--c-social); }

.menu-toggle {
  display: none;
  font: inherit; font-weight: 700;
  padding: 0.5rem 1rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: none; color: var(--ink);
}

/* ===== Szenen =====
   Ohne .motion (kein JavaScript oder "Bewegung reduzieren") sind das ganz normale Abschnitte.
   Mit .motion werden sie hoch, die Bühne bleibt stehen und --p läuft beim Scrollen von 0 bis 1. */
.motion .scene { position: relative; height: calc(100svh - var(--header-h) + var(--len) * 1svh); }
.motion .stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }

/* Szenen mit Schritten: Karten liegen übereinander, die aktuelle ist sichtbar */
.motion .step-panels { display: grid; }
.motion .step-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  translate: 60px 0;
  transition: opacity 0.35s var(--smooth), translate 0.7s var(--smooth), visibility 0s linear 0.7s;
}
.motion .step-panel.is-before { translate: -60px 0; }
.motion .step-panel.is-current {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.45s var(--smooth) 0.05s, translate 0.8s var(--spring), visibility 0s;
}

/* ===== Mode-Zeichnungen (SVG-Symbole) ===== */
.svg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.g-coat { fill: var(--terra); }
.g-dress { fill: var(--sage); }
.g-knit { fill: var(--ochre); }
.g-person { fill: #c9ab92; }
.g-line { fill: none; stroke: rgb(20 20 24 / 0.35); stroke-width: 1.6; stroke-linecap: round; }

/* ===== 1 Start ===== */
.hero-stage {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 2rem);
  display: grid;
  place-items: center;
  padding: 1.5rem var(--gutter) calc(var(--nav-h) + 0.5rem);
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(36% 34% at 80% 22%, rgb(255 200 0 / 0.07), transparent 70%),
    radial-gradient(34% 32% at 18% 78%, rgb(255 200 0 / 0.06), transparent 70%),
    radial-gradient(44% 40% at 26% 20%, rgb(255 255 255 / 0.9), transparent 70%);
}
.hero-copy { position: relative; z-index: 2; width: 100%; display: grid; justify-items: center; gap: 0.9rem; }
.hero-title {
  margin: 0 0 0.1em;
  font-size: min(11vw, 15svh);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-line { display: block; }
.hero-sub { margin: 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 750; font-variation-settings: "wdth" 90; letter-spacing: 0.02em; }
.hero-facts { margin: 0; max-width: 56ch; color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.4rem; }

/* Themen-Sticker */
.stickers { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stickers li { position: absolute; left: var(--x); top: var(--y); translate: var(--mx, 0px) var(--my, 0px); }
.stickers span {
  position: relative;
  display: block;
  width: clamp(7.5rem, 3.5rem + 8vw, 14rem);
  transform: rotate(var(--rot));
  transition: transform 0.4s var(--spring);
  user-select: none;
}
.stickers img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgb(20 20 24 / 0.28)); -webkit-user-drag: none; }
/* Glanz: eine hellere Kopie des Stickers, von der nur ein schräger Streifen sichtbar ist */
.stickers .st-glanz, .stickers .st-gold { position: absolute; inset: 0; }
.stickers .st-glanz {
  opacity: 0;
  filter: brightness(2.1) saturate(1.2);
  -webkit-mask: linear-gradient(110deg, transparent 36%, #000 50%, transparent 64%) 100% 0 / 260% 100% no-repeat;
  mask: linear-gradient(110deg, transparent 36%, #000 50%, transparent 64%) 100% 0 / 260% 100% no-repeat;
}
/* Schriftzug in Gold mit feinem Rand und Leuchten */
.stickers .st-gold { filter: drop-shadow(0 0 0.7px rgb(70 32 0)) drop-shadow(0 0 3px rgb(255 190 70 / 0.45)); }

.hero-wipe, .hero-ring { display: none; }

/* Ladeanimation: Abspielkopf fährt über die Bühne und deckt den Titel auf, dann poppen die Sticker */
.hero-scrub {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  z-index: 5;
  width: 3px;
  background: var(--hsm-orange);
  box-shadow: 0 0 0 6px rgb(255 200 0 / 0.18);
  transform: translateX(-10px);
  opacity: 0;
  pointer-events: none;
}
.motion .hero-scrub { animation: scrub 1.3s cubic-bezier(0.6, 0, 0.3, 1) 0.2s forwards; }
.motion .hero-copy { animation: reveal 1.3s cubic-bezier(0.6, 0, 0.3, 1) 0.2s backwards; }
.motion .stickers span {
  animation: pop 0.8s var(--spring) backwards, st-schweben 6.5s ease-in-out infinite;
  animation-delay: calc(1.25s + var(--d) * 90ms), calc(var(--d) * -0.85s);
}
.motion .stickers .st-glanz { animation: st-glanz 8s ease-in-out infinite; animation-delay: calc(2.4s + var(--d) * 1s); }
.motion .stickers .st-gold { animation: st-gold 4.8s ease-in-out infinite; animation-delay: calc(var(--d) * -0.6s); }
@keyframes st-schweben {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  30% { translate: 0 -8px; rotate: 1.8deg; }
  65% { translate: 4px 3px; rotate: -1.4deg; }
}
@keyframes st-glanz {
  0% { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  3% { opacity: 0.9; }
  16% { opacity: 0.9; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
  19%, 100% { opacity: 0; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@keyframes st-gold {
  50% { filter: drop-shadow(0 0 0.7px rgb(70 32 0)) drop-shadow(0 0 6px rgb(255 196 80 / 0.8)) brightness(1.08); }
}

@keyframes scrub {
  0% { opacity: 1; transform: translateX(-10px); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(100vw + 10px)); }
}
@keyframes reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes pop {
  from { transform: rotate(calc(var(--rot) - 30deg)) scale(0); }
  to { transform: rotate(var(--rot)) scale(1); }
}

/* Scroll: Sticker fliegen weg, der Titel wird feiner, ein Espresso-Kreis mit orangem Rand öffnet die nächste Szene */
.motion .hero-scene { --len: 110; }
.motion .hero-stage {
  min-height: 0;
  --a: clamp(0, var(--p, 0) / 0.5, 1);
  --ae: calc(var(--a) * var(--a) * (3 - 2 * var(--a)));
  --f: clamp(0, (var(--p, 0) - 0.06) / 0.28, 1);
  --b: clamp(0, (var(--p, 0) - 0.42) / 0.58, 1);
  --be: calc(var(--b) * var(--b) * (3 - 2 * var(--b)));
}
.motion .hero-glow { transform: translateY(calc(var(--ae) * -8%)) scale(calc(1 + var(--ae) * 0.2)); }
.motion .hero-title {
  transform: translateY(calc(var(--ae) * -5svh)) scale(calc(1 - var(--ae) * 0.1));
  letter-spacing: calc(-0.035em + var(--ae) * 0.05em);
}
.motion .hero-copy > :not(.hero-title) { opacity: calc(1 - var(--f)); translate: 0 calc(var(--f) * 24px); }
.motion .stickers li {
  transform: translate(calc(var(--dx) * var(--ae)), calc(var(--dy) * var(--ae))) rotate(calc(var(--ae) * 24deg));
  opacity: calc(1 - var(--ae));
}
.motion .hero-ring, .motion .hero-wipe { display: block; position: absolute; inset: 0; pointer-events: none; }
.motion .hero-ring { z-index: 6; background: var(--hsm-orange); clip-path: circle(calc(var(--be) * (62vmax + 18px)) at 50% 50%); }
.motion .hero-wipe { z-index: 7; background: var(--espresso); clip-path: circle(calc(var(--be) * 62vmax) at 50% 50%); }

@media (hover: hover) and (pointer: fine) {
  .motion .stickers li { pointer-events: auto; cursor: grab; touch-action: none; }
  .motion .stickers li:hover span { transform: rotate(0deg) scale(1.1); }
  .motion .stickers li.is-dragging { cursor: grabbing; z-index: 3; }
}

/* ===== Satz-Szene ===== */
.statement-stage {
  display: grid;
  place-items: center;
  padding: clamp(5rem, 14vw, 9rem) var(--gutter);
  background: var(--espresso);
  color: var(--on-dark);
}
.statement {
  margin: 0;
  max-width: 26ch;
  font-family: var(--font-serif);
  font-size: min(clamp(1.6rem, 0.9rem + 2.6vw, 3.3rem), 5.8svh);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.motion .statement-scene { --len: 130; }
.motion .statement-stage { padding-block: 1.5rem calc(var(--nav-h) + 1rem); }
.motion .statement .w { opacity: clamp(0.16, (var(--p, 0) - 0.06) / 0.74 * var(--n) - var(--i), 1); }

/* ===== Kreislauf ===== */
.kreislauf { padding-bottom: clamp(4rem, 8vw, 6rem); }
.loop-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: center; }
.loop-ring {
  --R: min(19vw, 28svh, 250px);
  position: relative;
  width: calc(var(--R) * 2 + 7rem);
  aspect-ratio: 1;
  margin: 0 auto;
}
.loop-ring > svg { position: absolute; inset: 3.5rem; width: calc(100% - 7rem); height: calc(100% - 7rem); overflow: visible; }
.loop-track { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-width: 3; stroke-linecap: round; }
/* Der Ring ist offen: von Fotografie bis KI und CG, oben in der Mitte treffen sich die Enden nicht */
/* Die Knoten liegen über der Karte daneben, damit jeder Klick ankommt (der Ring selbst lässt Klicks durch) */
.loop-ring { z-index: 2; pointer-events: none; }
.loop-ring .loop-node { pointer-events: auto; }
/* Der Balken trägt die Farbe des aktuellen Schritts (main.js setzt --rad-farbe aus --dot des Knotens) */
.loop-fill { fill: none; stroke: var(--rad-farbe, var(--hsm-orange)); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 1) * 100); transition: stroke 0.5s; }
.loop-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.loop-center svg { width: clamp(3rem, 7vw, 5.5rem); height: auto; margin: 0 auto 0.3rem; }
.loop-center p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: var(--step--1); color: var(--on-dark-muted); }
.loop-node {
  position: absolute;
  left: 50%; top: 50%;
  display: grid;
  place-items: center;
  width: 6.4rem;
  min-height: 3rem;
  margin: -1.5rem 0 0 -3.2rem;
  padding: 0.45rem 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--dot);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  /* auf dem offenen Ring: Fotografie bei +24°, dann alle 62,4° bis KI und CG bei −24°. Gleicher Radius, deshalb stehen
     Fotografie und KI und CG, Video und Reaktionen, Website und Social Media jeweils auf gleicher Höhe */
  transform: rotate(calc(24deg + var(--i) * 62.4deg - 90deg)) translate(var(--R)) rotate(calc(-24deg - var(--i) * 62.4deg + 90deg));
  opacity: 0.55;
  transition: opacity 0.3s, scale 0.5s var(--spring), box-shadow 0.3s;
}
.loop-node[data-area="video"], .loop-node[data-area="ki"] { color: #fff; }
.loop-node[data-area="data"] { --dot: var(--on-dark); }
.loop-node.is-done { opacity: 0.9; }
.loop-ico, .clip-ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loop-ico { position: absolute; left: 50%; top: 0; translate: -50% -62%; width: 2.2rem; height: 2.2rem; padding: 0.45rem; border-radius: 50%; background: var(--espresso); box-shadow: 0 0 0 2px var(--dot); color: var(--dot); }

/* Kreismitte: ein großes Foto je Station füllt den Ring, dazu ein kleiner Effekt pro Station */
.loop-bilder { position: relative; width: calc(var(--R) * 2 - 1.6rem); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 3px rgb(244 244 245 / 0.14), 0 30px 60px -24px rgb(0 0 0 / 0.8); }
.loop-bild { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--smooth); }
.loop-bild.is-current { opacity: 1; z-index: 1; }
.loop-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.motion .loop-bild img { scale: 1.12; transition: scale 1.8s var(--smooth); }
.motion .loop-bild.is-current img { scale: 1; }
.loop-bild > i, .loop-bild > b { position: absolute; font-style: normal; pointer-events: none; }
.loop-bild > b { left: 50%; translate: -50% 0; padding: 0.2rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 18px -8px rgb(0 0 0 / 0.6); }
/* Fotografie: Sucherecken, dazu blitzt es */
.fx-sucher {
  --c: rgb(255 255 255 / 0.9);
  --e: linear-gradient(var(--c), var(--c));
  inset: 20%;
  background: var(--e) 0 0 / 1.5rem 2px, var(--e) 0 0 / 2px 1.5rem, var(--e) 100% 0 / 1.5rem 2px, var(--e) 100% 0 / 2px 1.5rem,
    var(--e) 0 100% / 1.5rem 2px, var(--e) 0 100% / 2px 1.5rem, var(--e) 100% 100% / 1.5rem 2px, var(--e) 100% 100% / 2px 1.5rem;
  background-repeat: no-repeat;
  opacity: 0.85;
}
.fx-blitz { inset: 0; background: radial-gradient(circle at 50% 42%, #fff, rgb(255 248 230 / 0.65) 38%, transparent 72%); opacity: 0; }
.motion .is-current .fx-blitz { animation: fx-blitz 4.2s 0.6s infinite; }
.motion .is-current .fx-sucher { animation: fx-sucher 4.2s 0.6s infinite; }
@keyframes fx-blitz { 0%, 100% { opacity: 0; } 2% { opacity: 0.9; } 10% { opacity: 0; } }
@keyframes fx-sucher { 0%, 100% { inset: 20%; } 1% { inset: 23%; } 8% { inset: 20%; } }
/* Video: Aufnahme läuft */
.loop-bild > .fx-rec { top: 15%; padding-left: 1.5rem; background: rgb(17 17 19 / 0.55); color: #fff; letter-spacing: 0.1em; backdrop-filter: blur(4px); }
.fx-rec::before { content: ""; position: absolute; left: 0.6rem; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }
.motion .is-current .fx-rec::before { animation: fx-rec 1.2s steps(1) infinite; }
@keyframes fx-rec { 50% { opacity: 0; } }
/* Website und Reaktionen: Hinweise ploppen auf */
.fx-merken { bottom: 17%; background: var(--panel); color: var(--terra); }
.fx-zahl { bottom: 22%; background: var(--rose); color: var(--ink); }
.loop-bild > .fx-zahl-2 { bottom: 13%; background: #f3dc8a; font-size: 0.7rem; }
.motion .is-current .fx-merken, .motion .is-current .fx-zahl { animation: fx-pop 0.7s 0.8s var(--spring) both; }
.motion .is-current .fx-zahl-2 { animation-delay: 1.3s; }
@keyframes fx-pop { from { opacity: 0; scale: 0.3; } to { opacity: 1; scale: 1; } }
/* Social Media: Herzen steigen auf */
.fx-herz { bottom: 16%; left: 58%; font-size: 1.5rem; line-height: 1; color: #ff4d6d; opacity: 0; text-shadow: 0 4px 12px rgb(0 0 0 / 0.35); }
.fx-herz:nth-of-type(2) { left: 66%; font-size: 1.1rem; --dx: 1.2rem; --d: 0.8s; }
.fx-herz:nth-of-type(3) { left: 50%; font-size: 1.25rem; --dx: -1rem; --d: 1.6s; }
.motion .is-current .fx-herz { animation: fx-herz 2.4s var(--d, 0s) infinite ease-out; }
@keyframes fx-herz { 0% { opacity: 0; translate: 0 0; scale: 0.5; } 15% { opacity: 1; } 100% { opacity: 0; translate: var(--dx, 0.4rem) -7rem; scale: 1.25; } }
/* KI und CG: ein Scan fährt über das Bild */
.loop-bilder .ki-hinweis { left: 0.9rem; top: 50%; bottom: auto; translate: 0 -50%; z-index: 2; font-size: 0.75rem; }
.loop-node.is-current { opacity: 1; box-shadow: 0 0 0 3px var(--hsm-orange); }
.loop-panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius); background: rgb(255 255 255 / 0.05); border-top: 5px solid var(--dot); }
.loop-panel h3 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem); }
.loop-panel p { color: var(--on-dark); max-width: 52ch; }
.loop-panel .loop-from { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; color: color-mix(in srgb, var(--dot, var(--ochre)) 88%, #fff); }
.loop-panel[data-area="ki"] .loop-from { color: color-mix(in srgb, var(--c-ki) 65%, #fff); }
.loop-panel[data-area="data"] { --dot: var(--on-dark); }
.loop-panel a { font-weight: 700; color: var(--on-dark); }
.loop-panels { display: grid; gap: 1rem; }

.motion .kreislauf-scene { --len: 420; }
.motion .kreislauf-stage { display: flex; align-items: center; padding-bottom: var(--nav-h); }
.motion .loop-inner { width: 100%; }

/* ===== Fünf Bereiche: Studienplan ===== */
.bereiche { padding-bottom: 4rem; }
.modules-inner { display: grid; gap: 1.25rem; }
.plan-board {
  padding: 1.25rem 1.25rem 1rem;
  border-radius: var(--radius);
  background: var(--espresso);
  color: var(--on-dark);
  box-shadow: var(--shadow);
}
.plan-ruler { display: flex; justify-content: space-between; margin-bottom: 0.6rem; font-size: var(--step--1); color: var(--on-dark-muted); }
.plan-lane {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.06);
}
.clip {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: 5.4rem;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  hyphens: auto;
  color: var(--ink);
  background: var(--dot);
  cursor: pointer;
  transition: translate 0.5s var(--spring), box-shadow 0.3s, filter 0.2s;
}
.clip[data-area="video"], .clip[data-area="ki"] { color: #fff; }
.clip:hover { filter: brightness(1.08); }
.clip { position: relative; overflow: hidden; isolation: isolate; }
.clip-bild { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.3; mix-blend-mode: multiply; pointer-events: none; }
.clip-ico { position: absolute; top: 0.55rem; right: 0.6rem; width: 1.35rem; height: 1.35rem; }
.clip.is-current { translate: 0 -6px; box-shadow: 0 0 0 3px var(--on-dark), 0 16px 30px -10px rgb(0 0 0 / 0.55); }
.clip-no { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; opacity: 0.85; }
.plan-playhead { display: none; }
.plan-note { margin: 0.9rem 0 0; font-size: var(--step--1); color: var(--on-dark-muted); }
.plan-fuss { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.plan-fuss .plan-note { margin-bottom: 0.15rem; }
.plan-ects { flex: none; margin: 0.4rem 0 0; font-family: var(--font-display); font-size: var(--step-0); font-weight: 800; color: #fff; letter-spacing: 0.04em; perspective: 30rem; }
.plan-ects b { font-size: 2.2em; font-weight: 900; line-height: 1; margin-right: 0.1em; }
.plan-ects.dreht { animation: ects-dreh 0.7s var(--smooth); }
@keyframes ects-dreh { from { rotate: y 0deg; } to { rotate: y 360deg; } }

.module-cards { display: grid; gap: 1rem; }
.module-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2.5rem;
  align-items: start;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border-top: 6px solid var(--dot);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.module-card h3 { margin-bottom: 0.3rem; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem); font-weight: 500; }
.module-claim { font-family: var(--font-serif); font-style: italic; font-size: var(--step-1); color: var(--muted); }
.module-topics { margin: 0 0 1.2rem; padding: 0; list-style: none; columns: 2; column-gap: 2.5rem; }
.module-topics li { position: relative; padding: 0.25rem 0 0.25rem 1.2rem; break-inside: avoid; }
.module-topics li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--dot); }
/* Hintergrund der Karte: Doodle-Muster aus der Medienproduktion in der Farbe des Lehrgebiets.
   Schwarze Linien auf Weiß werden per „screen“ zu Bereichsfarbe auf Weiß, per „multiply“ verschwindet das Weiß auf der Karte.
   (Keine CSS-Maske: Bildmasken laden beim Öffnen per Doppelklick nicht.) */
.module-card { isolation: isolate; }
.module-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--muster, url("../bilder/muster-doodle.webp")) center / 58% auto repeat, var(--dot); background-blend-mode: screen; mix-blend-mode: multiply; opacity: 0.17; filter: blur(2.6px) saturate(0.8); }
/* Jedes Lehrgebiet hat sein eigenes Muster mit passenden Motiven */
.module-card[data-area="ki"] { --muster: url("../bilder/muster-ki.webp"); }
.module-card[data-area="foto"] { --muster: url("../bilder/muster-foto.webp"); }
.module-card[data-area="video"] { --muster: url("../bilder/muster-video.webp"); }
.module-card[data-area="recht"] { --muster: url("../bilder/muster-recht.webp"); }
.module-card[data-area="web"] { --muster: url("../bilder/muster-web.webp"); }
.module-card[data-area="social"] { --muster: url("../bilder/muster-social.webp"); }
/* Rechts in der Karte: Pfeil „Zum Themengebiet“ in der Farbe des Lehrgebiets (Bild), fliegt beim Drüberfahren ein Stück los */
.module-go { align-self: center; display: block; width: clamp(10rem, 17vw, 14rem); text-decoration: none; transition: translate 0.4s var(--smooth); }
.module-go img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgb(20 20 24 / 0.28)); }
/* Drüberfahren: der Pfeil federt kurz nach rechts („da geht's lang zum Themengebiet“), keine Drehung (Hendrik) */
.module-go:hover, .module-go:focus-visible { translate: 6px 0; animation: go-stups 0.7s ease-out; }
@keyframes go-stups { 0% { translate: 0 0; } 30% { translate: 22px 0; } 55% { translate: 2px 0; } 75% { translate: 11px 0; } 100% { translate: 6px 0; } }
.module-go:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 12px; }

/* Fotos: alle mit KI erzeugt, deshalb jedes mit Hinweis */
.ki-bild { position: relative; margin: 0; overflow: hidden; }
.ki-bild > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ki-hinweis {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  padding: 0;
  border-radius: 999px;
  color: transparent;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  pointer-events: none;
}
/* KI-Kennzeichnung: offizielles EU-Icon „AI GENERATED“ (bilder/ki-generiert.svg, ohne eigene weiße Fläche) auf Milchglas.
   Das Glas nimmt die Farben des Bildes darunter auf, statt als graue Fläche draufzuliegen. Der Text (z. B. „KI-Bild“)
   bleibt für Screenreader im Element, wird aber nicht gezeigt. Größe in em: die Schriftgröße je Stelle skaliert das Logo. */
.ki-hinweis {
  width: 5.6em; height: 1.1em; box-sizing: content-box; padding: 0.12em 0.2em !important; overflow: hidden; white-space: nowrap; text-indent: 110%;
  font-size: 0.95rem;
  background: url("../bilder/ki-generiert.svg") center / 92% auto no-repeat, rgb(255 255 255 / 0.42) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5), 0 2px 10px -4px rgb(0 0 0 / 0.35);
}
@media (max-width: 640px) { .ki-hinweis { font-size: 0.8rem; } }

/* Kollektion: Kampagnenbild, Text sitzt in der freien Wand links */
.kollektion { position: relative; background: var(--cream); }
.kollektion-bild { width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; }
.kollektion-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(248 248 247 / 0.6), rgb(248 248 247 / 0) 48%); pointer-events: none; }
.kollektion-bild .ki-hinweis { left: auto; right: 1rem; bottom: 3.5rem; }
.kollektion-text { position: absolute; inset: 0 0 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.kollektion-text > * { max-width: min(28rem, 36%); }
.kollektion-text .lead { color: var(--ink); }
.module-card .btn { padding: 0.65rem 1.2rem; }

.motion .bereiche-scene { --len: 300; }
.motion .bereiche-stage { display: flex; align-items: center; padding-bottom: var(--nav-h); }
.motion .modules-inner { width: 100%; }
/* Der Satz zu den ECTS steht direkt über der Zeitleiste und bleibt mit ihr stehen */
/* Kopf der Lehrgebiete steht mit in der Bühne, direkt über der Zeitleiste: Überschrift mit Kicker daneben, darunter der ECTS-Satz.
   Damit Kopf, Zeitleiste und Karte auf eine Bildschirmhöhe passen, ist die Bühne hier etwas enger gesetzt. */
.plan-kopf { display: grid; justify-items: center; gap: 0.2rem; padding-top: clamp(0.3rem, 1.5svh, 1rem); text-align: center; }
.plan-kopf .kicker { margin: 0; order: 2; font-size: clamp(0.85rem, 0.5rem + 0.9vw, 1.25rem); letter-spacing: 0.14em; }
.plan-kopf h2 { margin: 0; max-width: none; white-space: nowrap; font-size: clamp(2.4rem, 0.4rem + 5.4vw, 5.2rem); line-height: 1; }
.plan-lead { margin: 0; max-width: none; }
/* Breit: Clips mittig gesetzt, oben große Nummer links und großes Symbol rechts, darunter der Name.
   Modulbild rechts als ganzes Quadrat ohne Beschnitt, die Ränder laufen weich in die Karte aus. */
@media (min-width: 861px) {
  .clip { display: grid; grid-template-columns: 1fr auto auto 1fr; grid-template-areas: ". no ico ." "name name name name"; align-content: center; justify-items: center; column-gap: 0.5rem; row-gap: 0.35rem; text-align: center; }
  .clip-no { grid-area: no; font-size: 2rem; line-height: 1; opacity: 1; }
  .clip-ico { grid-area: ico; position: static; width: 1.9rem; height: 1.9rem; }
  .clip-name { grid-area: name; }
}
@media (min-width: 861px) {
  /* mittig, aber wenn es zu hoch wird oben bündig, damit die Überschrift nie abgeschnitten wird */
  .motion .bereiche-stage .modules-inner { gap: 0.9rem; margin-block: auto; }
  @media (max-height: 820px) { .motion .bereiche-stage .clip { min-height: 4.4rem; } }
  .motion .bereiche-stage .plan-board { padding: 0.9rem 1.1rem 0.75rem; }
  .motion .bereiche-stage .plan-note { margin-top: 0.6rem; }
  .motion .bereiche-stage .module-card { gap: 0.6rem 2rem; padding: calc(clamp(1rem, 2.2vw, 1.6rem) + 1.2rem) clamp(1rem, 2.2vw, 1.6rem) clamp(1rem, 2.2vw, 1.6rem); }
  /* Ausklappen: die Karte hängt als Schublade unter der Zeitleiste, Farbbalken unten */
  .motion .bereiche-stage .plan-board { position: relative; z-index: 2; }
  .motion .bereiche-stage .module-cards { margin: -2.1rem 0 0; }
  .motion .bereiche-stage .module-card { border-top: 0; border-bottom: 6px solid var(--dot); border-radius: 0 0 var(--radius) var(--radius); }
  .motion .bereiche-stage .module-card.step-panel { opacity: 1; translate: none; clip-path: inset(0 -4rem 100% -4rem); transition: clip-path 0.35s var(--smooth), visibility 0s linear 0.35s; }
  .motion .bereiche-stage .module-card.step-panel.is-current { clip-path: inset(0 -4rem -4rem -4rem); transition: clip-path 0.5s var(--smooth) 0.3s, visibility 0s; }
  .motion .bereiche-stage .module-card h3 { font-size: clamp(1.6rem, 0.9rem + 1.5vw, min(2.4rem, 4.4svh)); }
  .motion .bereiche-stage .module-claim { margin-bottom: 0.6rem; }
  .motion .bereiche-stage .module-topics { margin-bottom: 0.8rem; }
  .motion .bereiche-stage .module-topics li { padding-block: 0.15rem; }
  /* Stichpunkte größer und kräftiger (unten ist Platz; Hendrik) */
  .motion .bereiche-stage .module-topics { column-gap: 1.6rem; }
  /* Pfeil „Zum Themengebiet“ kleiner unten rechts in der Ecke, die Stichpunkte bekommen die Breite (Hendrik) */
  .motion .bereiche-stage .module-card { column-gap: 1.2rem; }
  .motion .bereiche-stage .module-go { align-self: end; width: clamp(7rem, 9.5vw, 9.5rem); margin: 0 calc(-0.5 * clamp(1rem, 2.2vw, 1.6rem)) -0.2rem 0; } /* mehr Platz je Spalte, damit die Stichpunkte einzeilig bleiben */
  .motion .bereiche-stage .module-topics li { font-size: clamp(1rem, 2.1svh, 1.15rem); font-weight: 500; line-height: 1.4; }
  .motion .bereiche-stage .module-topics li::before { top: 0.62em; }
}
.motion .plan-playhead {
  display: block;
  position: absolute;
  top: -12px; bottom: -12px;
  left: calc(4px + var(--p, 0) * (100% - 8px));
  z-index: 2;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--hsm-orange);
  box-shadow: 0 0 14px rgb(255 200 0 / 0.85);
  pointer-events: none;
}
.motion .plan-playhead::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  translate: -50% 0;
  border: 7px solid transparent;
  border-top: 10px solid var(--hsm-orange);
}

/* ===== Im Kurs oder als Tutorial ===== */
.lernen { padding-bottom: clamp(4rem, 8vw, 6rem); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.split-col { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius); }
.split-kurs { background: var(--terra); color: #fff; }
.split-tut { background: var(--panel); box-shadow: var(--shadow-soft); }
.split-col h3 { font-size: var(--step-2); font-weight: 500; }
.split-col h3 small { display: block; margin-top: 0.4rem; font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; opacity: 0.85; letter-spacing: 0; }
.split-col ul { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.split-col li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid rgb(255 255 255 / 0.25); font-weight: 600; }
.split-tut li { border-top-color: var(--line); }
.split-col li span { flex: none; font-size: var(--step--1); font-weight: 700; opacity: 0.75; }

/* ===== Organisatorisches beim ZfW ===== */
.infos { padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); }
.info-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border-radius: 36px;
  background: var(--hsm-orange);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgb(255 200 0 / 0.9);
}
.info-card h2 { color: var(--ink); }
.info-card:not(:has(.info-person)) { grid-template-columns: minmax(0, 1fr); }
.info-card h2 em { color: var(--ink); }
/* Breit: Überschrift zweizeilig („In drei Schritten“ / „zum Studienplatz“), damit die Karte am Seitenende mittig ins Fenster passt */
@media (min-width: 861px) {
  .info-card h2 { max-width: none; font-size: clamp(2.4rem, 1.2rem + 3vw, 4.2rem); }
  .info-card h2 .umbruch { display: block; white-space: nowrap; }
  .fuss-klappe .site-footer:not(:has(.peggy-band)) { padding: 0; border-top: 0; }
}
.info-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.info-list li { padding: 0.35rem 0.85rem; border-radius: 999px; background: rgb(255 255 255 / 0.35); font-weight: 700; font-size: var(--step--1); }
.btn-dark { background: var(--espresso); color: var(--on-dark); font-size: var(--step-1); padding: 1rem 1.8rem; }
.btn-dark:hover { background: #000; }
.info-person { position: relative; padding: 1.4rem; border-radius: var(--radius); background: rgb(255 255 255 / 0.3); }
/* Figur sitzt auf der Oberkante der Karte, die Beine hängen links darüber: Sitzhöhe liegt bei 62,5 % der Bildhöhe (Bild 700 × 831) */
.info-card:has(.info-figur) { align-items: start; }
.info-card:has(.info-figur) > div:first-child > p { max-width: 46ch; }
.info-person:has(.info-figur) { margin-top: calc(var(--fig-w) * 1.187 * 0.625); background: rgb(255 255 255 / 0.42); box-shadow: 0 24px 40px -26px rgb(20 20 24 / 0.55); }
.info-person { --fig-w: clamp(12.5rem, 4.5rem + 20vw, 23.5rem); }
.info-figur { position: absolute; z-index: 1; left: calc(var(--fig-w) * -0.4); top: calc(var(--fig-w) * 1.187 * -0.625); width: var(--fig-w); height: auto; pointer-events: none; filter: drop-shadow(0 16px 18px rgb(20 20 24 / 0.3)); }
.info-figur-hinweis { left: auto; right: 0.8rem; top: 0.8rem; bottom: auto; }
@media (max-width: 640px) {
  /* Auf dem Handy rückt die Karte nach rechts, die Beine hängen in den freien Rand */
  .info-person { --fig-w: 8.4rem; }
  .info-person:has(.info-figur) { margin-left: 2.6rem; }
  .info-person .pill { white-space: nowrap; }
}
.info-person p { margin-bottom: 0.6rem; }
.info-person .person-name { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.1; }

/* ===== Unterseiten: Kopf ===== */
.page-hero { position: relative; overflow: hidden; }
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 2.2rem);
  padding-block: clamp(2.5rem, 6vw, 4rem) calc(var(--nav-h) + 2rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 70vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--dot) 55%, transparent), transparent);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(3.2rem, 1.6rem + 7vw, 8rem); font-weight: 400; letter-spacing: -0.04em; line-height: 0.92; }
.page-hero .claim { font-family: var(--font-serif); font-style: italic; font-size: var(--step-2); line-height: 1.2; color: var(--terra); }
.page-hero .kicker { color: var(--ink); }
.page-hero .kicker::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.5rem; border-radius: 50%; background: var(--dot); vertical-align: -0.05em; }
.topics { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.topics li { padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-soft); font-size: var(--step--1); font-weight: 700; }
.hero-art { position: relative; width: min(100%, 22rem); margin: 0 auto; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgb(20 20 24 / 0.25)); }
.hero-art.ki-bild { width: 100%; max-width: 30rem; aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-art.ki-bild img { object-position: var(--pos, 50% 50%); }
.motion .page-hero .hero-art { animation: float-in 1.2s var(--spring) 0.15s backwards; }
.motion .page-hero-copy { animation: rise 0.9s var(--smooth) backwards; }
@keyframes float-in { from { opacity: 0; translate: 0 60px; rotate: 6deg; } }
@keyframes rise { from { opacity: 0; translate: 0 30px; } }

.in-kurs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.6rem; font-size: var(--step--1); }
.in-kurs span { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.in-kurs span::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 3px; }
.tag-kurs::before { background: var(--terra); }
.tag-tut::before { border: 2px solid var(--ink); }

/* Kennzeichnung „im Kurs“ oder „als Tutorial“ an Demos */
.badge { display: inline-block; margin: 0 0 0.8rem; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-kurs { background: var(--terra); color: #fff; }
.badge-tut { border: 2px solid currentColor; }

/* ===== Demos ===== */
.demo-section { padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); }
.demo {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 2rem;
}
.demo-view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--espresso);
  box-shadow: var(--shadow);
}
.demo-view > svg { width: 100%; height: 100%; }
.demo-controls { display: grid; gap: 1.1rem; }
.demo-controls h3 { font-size: var(--step-2); font-weight: 500; }
.control { display: grid; gap: 0.35rem; font-weight: 700; }
.control output { font-weight: 600; color: var(--muted); }
.sheet-dark .control output { color: var(--on-dark-muted); }
input[type="range"] { width: 100%; accent-color: var(--hsm-orange); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  padding: 0.55rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.4s var(--spring), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--terra); }
.chip[aria-pressed="true"] { background: var(--terra); border-color: var(--terra); color: #fff; }
.sheet-dark .chip { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.2); color: var(--on-dark); }
.sheet-dark .chip[aria-pressed="true"] { background: var(--hsm-orange); border-color: var(--hsm-orange); color: var(--ink); }
.demo-text { color: var(--muted); max-width: 52ch; min-height: 3em; }
.sheet-dark .demo-text { color: var(--on-dark-muted); }
.check { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--hsm-orange); }

/* Lichtsetzung */
.light-view { background: #131316; }
.light-photo { position: absolute; inset: 0; opacity: 0; filter: var(--light-filter, none); }
.demo-view > .light-compass { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: clamp(4.2rem, 9vw, 5.6rem); height: auto; padding: 0.3rem; border-radius: 14px; background: rgb(17 17 19 / 0.55); }
.compass-ring { fill: none; stroke: rgb(244 244 245 / 0.4); stroke-width: 1.5; stroke-dasharray: 3 4; }
.compass-dress { fill: var(--sage); }
.compass-cam { fill: rgb(244 244 245 / 0.85); }
.compass-label { position: absolute; top: calc(0.9rem + clamp(4.2rem, 9vw, 5.6rem)); right: 0.7rem; z-index: 3; width: clamp(4.2rem, 9vw, 5.6rem); text-align: center; font-size: 0.62rem; font-weight: 700; color: rgb(244 244 245 / 0.9); }
.light-lamp { fill: #f1f1f1; filter: drop-shadow(0 0 calc(4px + var(--soft, 0.5) * 18px) rgb(255 230 180 / 0.95)); }

/* Color Grading: vorher/nachher */
.grade-view { touch-action: pan-y; cursor: ew-resize; }
.grade-layer { position: absolute; inset: 0; }
.grade-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grade-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.grade-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgb(0 0 0 / 0.4); pointer-events: none; }
.grade-handle::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; padding: 0.45rem 0.6rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
.grade-label { position: absolute; top: 0.8rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgb(0 0 0 / 0.45); color: #fff; font-size: 0.78rem; font-weight: 700; pointer-events: none; }
.grade-label-before { left: 0.8rem; }
.grade-label-after { right: 0.8rem; }

/* Green Screen */
/* Green Screen: unten das Studiobild, darüber die Montage bis zur Leiste. Die Montage gibt es vierfach (Spill ja/nein, Farbe ja/nein) */
.gs-view > img, .gs-montage, .gs-montage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-montage { clip-path: inset(0 0 calc(100% - var(--gs-y, 0%)) 0); }
.gs-montage img { opacity: 0; transition: opacity 0.35s var(--smooth); }
.gs-montage img.ist-aktiv { opacity: 1; }
.gs-leiste { position: absolute; left: 0; right: 0; top: var(--gs-y, 0%); z-index: 3; height: 3px; translate: 0 -50%; background: var(--hsm-orange); box-shadow: 0 0 16px 3px rgb(255 200 0 / 0.7); pointer-events: none; }
/* Angehalten: an der Leiste hängt ein kleines Schild */
.gs-leiste::after { content: "Angehalten"; position: absolute; right: 0.8rem; top: 50%; translate: 0 -50%; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--hsm-orange); color: var(--ink); font-size: 0.75rem; font-weight: 800; opacity: 0; transition: opacity 0.2s; }
.gs-view.ist-angehalten .gs-leiste::after { opacity: 1; }
/* Das Bild läuft im Kinoformat 21:9 über die volle Breite, die Feinarbeit schaut als Schubfach darunter heraus */
#greenscreen h2 { max-width: none; }
#greenscreen-demo { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
#greenscreen-demo .gs-view { z-index: 1; aspect-ratio: 21 / 9; }
#greenscreen-demo .gs-view:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 4px; }
/* Am Handy wäre 21:9 zu flach: dort höher und auf die Mitte mit iV zugeschnitten */
@media (max-width: 640px) { #greenscreen-demo .gs-view { aspect-ratio: 4 / 3; } }
.gs-schub {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem;
  margin: -1.6rem 0 0; padding: 2.05rem 0.45rem 0.45rem;
  border-radius: 0 0 var(--radius) var(--radius); background: var(--espresso);
  box-shadow: inset 0 12px 14px -10px rgb(0 0 0 / 0.75), 0 18px 30px -22px rgb(0 0 0 / 0.7);
}
.gs-haken { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.6rem 1rem; border: 0; border-radius: 999px; background: none; color: var(--on-dark-muted); font: inherit; font-weight: 700; cursor: pointer; transition: color 0.2s, background 0.2s; }
.gs-haken:hover { color: var(--on-dark); background: rgb(255 255 255 / 0.05); }
.gs-haken[aria-pressed="true"] { color: var(--on-dark); }
.gs-haken:focus-visible { outline: 3px solid var(--on-dark); outline-offset: -3px; }
.gs-kreis { position: relative; flex: none; width: 1.35rem; height: 1.35rem; border: 2px dashed currentColor; border-radius: 50%; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.gs-kreis::after { content: ""; position: absolute; left: 50%; top: 45%; width: 0.32rem; height: 0.62rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; translate: -50% -50%; rotate: 45deg; scale: 0; transition: scale 0.25s var(--spring); }
.gs-haken[aria-pressed="true"] .gs-kreis { border-style: solid; border-color: #2fbf5b; background: #2fbf5b; box-shadow: 0 0 14px 2px rgb(47 191 91 / 0.55); }
.gs-haken[aria-pressed="true"] .gs-kreis::after { scale: 1; }
@media (max-width: 520px) { .gs-haken { gap: 0.45rem; padding: 0.55rem 0.4rem; font-size: 0.88rem; } .gs-kreis { width: 1.15rem; height: 1.15rem; } }

/* Hook: Zuschauerkurve */
.hook-view { aspect-ratio: 16 / 10; padding: 1.2rem; background: var(--panel); }
.hook-view svg { width: 100%; height: 100%; overflow: visible; }
.hook-grid line { stroke: var(--line); stroke-width: 1; }
.hook-grid text { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.hook-curve { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: d 0.9s var(--smooth); }
.hook-curve.is-weak { stroke: #a6a6b0; }
.hook-curve.is-strong { stroke: var(--terra); }
.hook-mark { fill: rgb(255 200 0 / 0.12); }
.hook-mark-line { stroke: var(--hsm-orange); stroke-width: 2; stroke-dasharray: 4 4; }
.hook-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hook-shots li { padding: 0.6rem; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-soft); font-size: 0.8rem; font-weight: 700; line-height: 1.25; }
.hook-shots b { display: block; font-family: var(--font-display); color: var(--terra); }
.hook-frame { position: relative; display: block; margin-bottom: 0.45rem; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: var(--espresso); }
.hook-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hook-logo { display: grid; place-items: center; background: var(--cream); color: var(--ink); font-family: var(--font-serif); font-style: italic; font-size: 0.78rem; box-shadow: inset 0 0 0 1px var(--line); }
.hook-zoom + img { scale: 1.25; transform-origin: 50% 60%; }
.hook-text { position: absolute; inset: 3% 0 auto; z-index: 1; text-align: center; font-family: var(--font-serif); font-size: 0.72rem; color: var(--ink); }
#hook-demo[data-kind="weak"] .hook-shots[data-kind="strong"], #hook-demo[data-kind="strong"] .hook-shots[data-kind="weak"] { display: none; }
/* Hook: Die Wahl der Schnittfassung schaut wie ein Schubfach unter der Kurven-Karte heraus, die aktive Fassung leuchtet als Pille */
#hook-demo { row-gap: 0; align-items: start; }
#hook-demo .hook-view { z-index: 1; }
/* Erklärung über der Kurve: ohne Hook Einstieg orange und Verlust im Grau der Kurve, mit Hook beides orange */
.hook-satz text { font-family: var(--font-body); font-size: 18px; font-weight: 700; text-anchor: middle; }
.hook-satz-a { fill: var(--hsm-orange); }
.hook-satz [data-kind="weak"] .hook-satz-b { fill: #a6a6b0; }
.hook-satz [data-kind="strong"] .hook-satz-b { fill: var(--terra); }
#hook-demo[data-kind="weak"] .hook-satz [data-kind="strong"], #hook-demo[data-kind="strong"] .hook-satz [data-kind="weak"] { opacity: 0; }
.motion .hook-satz text { transition: opacity 0.4s; }
/* Zeit und Beschriftung sitzen mittig unter dem Bild */
#hook-demo .hook-shots li { text-align: center; }
/* Drei Einstellungen je Fassung, dafür größer; die Kurve gibt dafür etwas Breite ab */
#hook-demo .hook-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
#hook-demo .hook-text { font-size: clamp(0.62rem, 1.3vw, 0.95rem); }
/* Ohne Hook, letztes Bild: näher dran, die Dose sitzt im unteren Drittel, oben ein bewusst schlichter Titel */
#hook-demo .hook-nah img { scale: 1.5; transform-origin: 50% 0%; }
#hook-demo .hook-schlicht { inset: 2.5% 0 auto; display: grid; justify-items: center; gap: 0.3em; font-family: var(--font-display); font-size: clamp(0.55rem, 0.95vw, 0.8rem); line-height: 0.85; text-transform: uppercase; color: #111113; }
#hook-demo .hook-schlicht b { display: block; font-family: var(--font-display); font-size: 1.2em; font-weight: 900; font-variation-settings: "wdth" 110; letter-spacing: 0.03em; white-space: nowrap; color: #111113; }
/* „Menü“ in den Farben der Dose: Limettengrün auf Schwarz */
.hook-schlicht i { padding: 0.25em 0.6em 0.2em; border-radius: 999px; background: #111113; color: #b9e83a; font-style: normal; font-size: 0.7em; font-weight: 800; letter-spacing: 0.28em; }
/* Der Zoom fährt auf die Dose, die iV hinten im Wohnzimmer hält; die Dose landet schon etwas unter der Mitte */
#hook-demo .hook-zoom + img { scale: 5.5; transform-origin: 50% 36.8%; }
/* Einblendung im Werbe-Look: fettes weißes Wort mit Versatzschatten, darunter ein schräges oranges Etikett */
#hook-demo .hook-werbung { inset: 7% 0 auto; display: grid; justify-items: center; gap: 0.3em; rotate: -7deg; font-family: var(--font-display); font-size: clamp(0.62rem, 1.15vw, 0.95rem); line-height: 0.82; text-transform: uppercase; }
.hook-werbung b { font-size: 1.35em; font-weight: 900; font-variation-settings: "wdth" 130; letter-spacing: 0.01em; color: #fff; text-shadow: 0.06em 0.06em 0 var(--hsm-orange), 0.12em 0.12em 0 var(--espresso); }
.hook-werbung i { padding: 0.25em 0.6em 0.2em; font-style: normal; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: 0.14em; color: #fff; background: var(--hsm-orange); box-shadow: 0.12em 0.12em 0 var(--espresso); rotate: 5deg; }
@media (min-width: 861px) {
  /* Wächst die rechte Spalte, bekommt die zweite Zeile den Platz: Kurve und Leiste bleiben beim Umschalten stehen */
  #hook-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
  #hook-demo .hook-view, #hook-demo .hook-schub { grid-column: 1; }
  #hook-demo .hook-schub { align-self: start; }
  #hook-demo .demo-controls { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 860px) { #hook-demo .demo-controls { margin-top: 1.5rem; } }
.hook-schub {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: -1.6rem 0 0; padding: 2.05rem 0.45rem 0.45rem;
  border-radius: 0 0 var(--radius) var(--radius); background: var(--espresso);
  box-shadow: inset 0 12px 14px -10px rgb(0 0 0 / 0.75), 0 18px 30px -22px rgb(20 20 24 / 0.7);
}
/* Die Pille liegt unter den Knöpfen und rutscht zur gewählten Fassung */
.hook-schub::before {
  content: ""; position: absolute; left: 0.45rem; bottom: 0.45rem; width: calc(50% - 0.45rem); height: calc(100% - 2.5rem);
  border-radius: 999px; background: var(--hsm-orange);
  box-shadow: 0 0 22px 2px rgb(255 200 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
#hook-demo[data-kind="strong"] .hook-schub::before { translate: 100% 0; }
.motion .hook-schub::before { transition: translate 0.5s var(--spring); }
#hook-demo .hook-schub .chip { position: relative; padding: 0.6rem 1rem; border: 0; background: none; color: var(--on-dark-muted); transform: none; }
#hook-demo .hook-schub .chip:hover { color: var(--on-dark); }
#hook-demo .hook-schub .chip[aria-pressed="true"] { color: var(--ink); }
#hook-demo .hook-schub .chip:focus-visible { outline: 3px solid var(--on-dark); outline-offset: -3px; }
/* Die Überschrift steht ab Tablet-Breite in einer Zeile: Schriftgröße folgt der Breite der Box */
@media (min-width: 761px) {
  #hook > .wrap { container-type: inline-size; }
  #hook h2 { max-width: none; font-size: min(var(--step-3), 5.5cqi); white-space: nowrap; }
  #hook .lead { max-width: none; }
}
/* Gruppe über 100 % trägt die Farbe der gewählten Fassung; der Punkt sitzt dort, wo die Kurve die 3-Sekunden-Marke kreuzt, und leuchtet immer orange */
.hook-leute { fill: #a6a6b0; }
#hook-demo[data-kind="strong"] .hook-leute { fill: var(--terra); }
.hook-punkt { fill: var(--hsm-orange); filter: drop-shadow(0 0 4px rgb(255 200 0 / 0.75)); transform: translate(94px, 176px); }
#hook-demo[data-kind="strong"] .hook-punkt { transform: translate(94px, 63px); }
.hook-punkt-kreis { stroke: var(--panel); stroke-width: 2.5; }
.hook-mehr { opacity: 0; }
#hook-demo[data-kind="strong"] .hook-mehr { opacity: 1; }
.hook-uhr { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.motion .hook-leute { transition: fill 0.4s; }
.motion .hook-punkt { transition: transform 0.9s var(--smooth); }
.motion .hook-mehr { transition: opacity 0.4s 0.5s; }
.ki-zeile { margin: 0.4rem 0 0; font-size: 0.72rem; font-weight: 700; color: var(--muted); }

/* Werkstatt-Player */
.player { overflow: hidden; border-radius: var(--radius); background: var(--espresso); box-shadow: 0 0 0 1px rgb(20 20 24 / 0.12), 0 36px 70px -40px rgb(20 20 24 / 0.6); }
.player-frame { display: grid; aspect-ratio: 16 / 9; background: radial-gradient(70% 90% at 28% 18%, var(--cocoa), var(--espresso) 72%); }
.player-frame iframe { width: 100%; height: 100%; border: 0; }
.player-consent { display: grid; place-content: center; justify-items: center; gap: 0.6rem; padding: 1rem; border: 0; background: none; color: #fff; font: inherit; text-align: center; cursor: pointer; }
.player-play { display: grid; place-items: center; width: clamp(4rem, 9vw, 6rem); aspect-ratio: 1; border-radius: 50%; background: var(--hsm-orange); transition: transform 0.45s var(--spring), box-shadow 0.45s var(--smooth); }
.player-play::before { content: ""; margin-left: 12%; border-style: solid; border-width: 0.9rem 0 0.9rem 1.4rem; border-color: transparent transparent transparent var(--ink); }
.player-consent:hover .player-play { transform: scale(1.1); box-shadow: 0 0 0 16px rgb(255 200 0 / 0.18); }
.player-consent-title { font-family: var(--font-serif); font-size: var(--step-2); }
.player-consent-text { font-size: var(--step--1); color: var(--on-dark-muted); }
.werkstatt-body { display: grid; gap: 1.5rem; margin-top: 2rem; }
/* Ein Player für alle fünf Lektionen: Bereichsname darüber, Infos und Link darunter */
/* so breit wie die Zeitleiste unten (max. 1000 px) */
.lesson-panel { max-width: 1000px; }
.lesson-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem; margin-bottom: 0.9rem; }
.lesson-nr { margin: 0; font-size: var(--step--1); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terra); }
.lesson-bereich { margin: 0; font-size: var(--step-2); font-weight: 500; }
.player-info { margin-top: 1.1rem; }
.player-title { margin: 0 0 0.35rem; font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.25; }
.player-hinweis { display: inline-block; margin: 0.7rem 0 0; padding: 0.4rem 0.85rem; border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-soft); font-size: var(--step--1); color: var(--muted); }
.player-hinweis[hidden] { display: none; }
.player-frame p.player-consent { max-width: 34rem; margin: 0 auto; cursor: default; }
.player-frame .player-consent a { color: #fff; font-weight: 700; }
.lessons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; counter-reset: lesson; }
.lesson {
  counter-increment: lesson;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.4s var(--spring), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.lesson::before { content: counter(lesson); font-family: var(--font-display); font-weight: 900; color: var(--terra); }
.lesson:hover { transform: translateY(-2px); border-color: var(--terra); }
.lesson.is-active { background: var(--terra); border-color: var(--terra); color: #fff; }
.lesson.is-active::before { color: #fff; }
.player-text { color: var(--muted); max-width: 60ch; }
.player-source { margin: 0; font-size: var(--step--1); color: var(--muted); }
.player-source a { font-weight: 700; color: var(--ink); }
.motion .player[data-reveal="grow"] {
  opacity: calc(0.3 + var(--r, 0) * 0.7);
  translate: none;
  scale: calc(0.74 + var(--r, 0) * 0.26);
  transform: perspective(1400px) rotateX(calc((1 - var(--r, 0)) * 26deg));
  transform-origin: 50% 100%;
  border-radius: calc(48px - var(--r, 0) * 20px);
}

/* Tutorial-Liste */
.tut-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.tut-list li { display: grid; gap: 0.25rem; padding: 1.1rem 1.25rem; border: 2px dashed var(--line); border-radius: 20px; background: var(--panel); }
.tut-list b { font-size: var(--step-0); }
.tut-tool { font-size: var(--step--1); font-weight: 700; color: var(--terra); }
.tut-time { font-size: var(--step--1); color: var(--muted); }

/* ===== KI: Workflow (aus Variante 1, warm eingefärbt) ===== */
.workflow { padding-bottom: clamp(4rem, 8vw, 6rem); }
/* Kopf sitzt mit in der Bühne, damit Überschrift und „Im Kurs“ beim Abspielen sichtbar bleiben */
.wf-kopf { padding-top: clamp(3rem, 8vw, 6rem); }
.wf-kopf h2 { max-width: none; margin-block: 0.3rem 0.4rem; }
.wf-kopf .lead { max-width: 75ch; margin: 0; }
.motion .wf-kopf { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding-top: 0; margin-bottom: 0.9rem; }
.motion .wf-kopf .badge { margin: 0; }
.motion .wf-kopf h2 { font-size: min(var(--step-3), 2.8rem); }
.motion .wf-kopf .lead { flex-basis: 100%; font-size: var(--step-0); }
/* Niedrige Fenster: Kopf und Karten etwas kompakter, damit alles zwischen Kopfleiste und Zeitleiste passt */
@media (min-width: 861px) and (max-height: 860px) {
  .motion .wf-kopf { margin-bottom: 0.6rem; }
  .motion .wf-kopf h2 { font-size: 2.3rem; }
  .motion .wf-kopf .lead { font-size: 0.95rem; }
  .motion .wf-panel { padding-bottom: 0.9rem; }
  .motion .wf-panel h3 { margin-bottom: 0.35rem; font-size: 1.4rem; }
  .motion .wf-panel p { margin-bottom: 0.5em; font-size: 0.92rem; line-height: 1.5; }
}
@media (min-width: 861px) and (max-height: 740px) {
  .motion .wf-kopf .lead { display: none; }
}
/* Handy: Überschrift bleibt oben stehen, der Zweizeiler entfällt */
@media (max-width: 860px) {
  .motion .wf-scene .wf-stage { align-items: flex-start; }
  .motion .wf-kopf { margin-block: 0.6rem 0.5rem; }
  .motion .wf-kopf h2 { font-size: 1.55rem; white-space: normal; }
  .motion .wf-kopf .lead { display: none; }
}
@media (min-width: 861px) {
  .wf-kopf h2 { white-space: nowrap; font-size: min(var(--step-3), (min(100vw, 1200px) - 2 * var(--gutter)) / 16); }
}
.wf-inner { display: grid; gap: 1.25rem; }
.wf-board {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  background-color: rgb(255 255 255 / 0.04);
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
}
.wf-graph { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.3fr); grid-template-rows: auto auto; gap: 1.1rem 1.6rem; align-items: center; }
.wf-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wf-wires path { fill: none; stroke-width: 2.5; }
/* Alle Leitungen sind erst gepunktet, die orange Linie läuft durchgehend darüber */
.wf-wires .base { stroke: rgb(255 255 255 / 0.28); stroke-dasharray: 0.5 7; stroke-linecap: round; }
.wf-wires .flow { stroke: var(--hsm-orange); filter: drop-shadow(0 0 4px rgb(255 200 0 / 0.8)); }
.wf-node {
  grid-column: var(--col);
  grid-row: var(--row, 1 / 3);
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-top: 4px solid var(--node-color);
  border-radius: 14px;
  background: var(--cocoa);
  color: var(--on-dark);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: translate 0.5s var(--spring), box-shadow 0.3s, opacity 0.3s, border-color 0.2s;
}
.wf-node:hover { border-color: rgb(255 255 255 / 0.35); border-top-color: var(--node-color); }
.wf-node.is-current { translate: 0 -5px; box-shadow: 0 0 0 2px var(--hsm-orange), 0 0 30px rgb(255 200 0 / 0.55); }
/* Alle Knoten sind grau, orange und farbig ist nur, worum es im aktuellen Schritt geht (is-aktiv aus main.js) */
.wf-node { --node-color: rgb(255 255 255 / 0.22); }
.wf-node.is-aktiv { --node-color: var(--hsm-orange); }
/* Fernseher und Handy, die drei Formate: Größe richtet sich nach der Boxbreite */
.wf-breit, .wf-formate { container-type: inline-size; }
.wf-kind { font-size: 0.75rem; color: var(--on-dark-muted); }
.wf-title { font-size: var(--step--1); font-weight: 700; line-height: 1.25; }
/* Obere Reihe: Titel über dem Bild, untere Reihe darunter, das spiegelt sich */
.wf-oben .wf-title { order: -1; }
/* Eingang und Ausgang stehen gedreht außen neben der Box, das Bild bekommt dafür die Zeile dazu */
@media (min-width: 861px) {
  .wf-board:has(.wf-seitlich) { padding-inline: 1.7rem; }
  .wf-seitlich .wf-kind { position: absolute; top: 50%; left: calc(100% + 0.3rem); translate: 0 -50%; writing-mode: vertical-rl; white-space: nowrap; letter-spacing: 0.06em; }
  .wf-input .wf-kind { left: auto; right: calc(100% + 0.3rem); rotate: 180deg; }
}
/* Höhe wächst mit der Fensterhöhe, damit Pipeline und Karte zusammen in den Bildschirm passen */
.wf-thumb { --h: var(--wf-thumb-h, clamp(4.4rem, 50svh - 23rem, 8.9rem)); width: 100%; height: var(--h); }
.wf-preview .wf-thumb { --h: min(var(--wf-thumb-h, clamp(4.4rem, 50svh - 23rem, 8.9rem)), 58cqi); }
.wf-thumb .g-person, .wf-frames .g-person { fill: #a88a73; }
.wf-thumb .cutout { stroke: #fff; stroke-width: 4; stroke-dasharray: 8 6; }
.wf-photo { display: flex; justify-content: center; }
/* Ganzes Bild im eigenen Seitenformat zeigen, nichts abschneiden */
.wf-photo img { display: block; width: auto; max-width: 100%; height: 100%; border-radius: 6px; object-fit: contain; background: var(--cream); }
.wf-photo.is-figur img { border-radius: 0; background: none; }
.wf-photo.is-frei img, .wf-bild.is-frei { background: repeating-conic-gradient(#e4e4e8 0% 25%, #fafafa 0% 50%) 50% / 12px 12px; }
.wf-check path { fill: none; stroke: var(--hsm-orange); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
/* Formate: dasselbe Motiv als Story, Feed und Banner, wie aufgefächerte Karten */
.wf-formats { --f: min(var(--h), 64cqi); display: flex; align-items: center; justify-content: center; }
.wf-formats img { display: block; width: auto; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 4px 10px rgb(0 0 0 / 0.45); object-fit: cover; }
.wf-formats .format-story { height: calc(var(--f) * 0.82); rotate: -7deg; }
.wf-formats .format-feed { position: relative; z-index: 1; height: calc(var(--f) * 0.6); margin-inline: calc(var(--f) * -0.16); }
.wf-formats .format-web { height: calc(var(--f) * 0.42); rotate: 6deg; }
.wf-controls { display: none; }

/* Fertige Motive: dasselbe Bild in echten Geräterahmen, Größen hängen an der Bildhöhe --h */
.wf-geraete { display: flex; align-items: flex-end; justify-content: center; gap: calc(var(--h) * 0.12); }
.geraet { position: relative; display: block; flex: none; }
.geraet img { display: block; width: auto; object-fit: cover; }
.geraet-tv { margin-bottom: calc(var(--h) * 0.12); padding: calc(var(--h) * 0.025); border-radius: 3px; background: #111; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18); }
.geraet-tv img { height: calc(var(--h) * 0.56); aspect-ratio: 16 / 9; border-radius: 1px; }
.geraet-tv::after { content: ""; position: absolute; top: 100%; left: 50%; width: 34%; height: calc(var(--h) * 0.12); translate: -50% 0; background: linear-gradient(#2b2b2b, #2b2b2b) 50% 0 / 14% 70% no-repeat, linear-gradient(#2b2b2b, #2b2b2b) 50% 100% / 100% 30% no-repeat; }
.geraet-handy { padding: calc(var(--h) * 0.05) calc(var(--h) * 0.016); border-radius: calc(var(--h) * 0.07); background: #111; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18); }
.geraet-handy img { height: calc(var(--h) * 0.78); aspect-ratio: 9 / 16; border-radius: calc(var(--h) * 0.04); }
.geraet-handy::before { content: ""; position: absolute; top: calc(var(--h) * 0.02); left: 50%; z-index: 1; width: 34%; height: calc(var(--h) * 0.02); translate: -50% 0; border-radius: 99px; background: #111; }
.wf-bild.wf-geraete { --h: clamp(6rem, 11vw, 9rem); width: auto; height: var(--h); aspect-ratio: auto; padding-top: 0.4rem; border-radius: 0; background: none; box-sizing: content-box; }

/* Zeigen und messen: Likes, Kommentare und Senden nebeneinander */
.wf-social { display: flex; align-items: center; justify-content: center; gap: calc(var(--h) * 0.12); }
.wf-social img { display: block; width: auto; height: min(calc(var(--h) * 0.4), 20cqi); }

/* iV am Laptop links neben der Pipeline, ihr Kabel steckt in der Box */
.wf-figur { display: none; }
@media (min-width: 1100px) {
  [data-ansicht="editorial"] .wrap.wf-inner { --wf-figur-b: clamp(10rem, 15vw, 15rem); max-width: 1440px; grid-template-columns: var(--wf-figur-b) minmax(0, 1fr); column-gap: 0; }
  [data-ansicht="editorial"] .wf-figur { display: block; grid-area: 2 / 1; align-self: center; width: 100%; height: auto; }
  [data-ansicht="editorial"] .wf-kopf, [data-ansicht="editorial"] .wf-board, [data-ansicht="editorial"] .wf-panels { grid-column: 2; }
  [data-ansicht="editorial"] .wf-board { grid-row: 2; }
  [data-ansicht="editorial"] .wf-board { position: relative; }
  /* Buchse auf Höhe des Kabelendes (53 % der Bildhöhe, Bild ist 600 × 884) */
  [data-ansicht="editorial"] .wf-board::before { content: ""; position: absolute; left: -4px; top: calc(50% + var(--wf-figur-b) * 0.049 - 7px); width: 7px; height: 14px; border-radius: 3px; background: var(--hsm-orange); box-shadow: 0 0 8px rgb(255 200 0 / 0.7); }
}
/* Der Schritt ist an den Knoten zu sehen, die Anzeige bleibt nur für Screenreader */
.wf-step { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wf-play, .wf-nochmal { border-color: rgb(255 255 255 / 0.5); color: #fff; background: rgb(255 255 255 / 0.08); }
.wf-play:hover, .wf-nochmal:hover { background: rgb(255 255 255 / 0.18); }
/* Play-Dreieck, beim Abspielen zwei Pausenbalken */
.wf-play::before { content: ""; display: inline-block; width: 0.75em; height: 0.85em; margin-right: 0.5em; vertical-align: -0.08em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.wf-play.spielt::before { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
.wf-panels { display: grid; gap: 1rem; }
.wf-panel { padding: 1.1rem 1.4rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius); background: rgb(255 255 255 / 0.06); }
.wf-panel h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 500; }
.wf-panel p { max-width: 65ch; color: var(--on-dark); }
.wf-panel p.wf-module { margin: 0; font-size: var(--step--1); font-weight: 700; color: var(--ochre); }
.wf-module a { color: inherit; text-decoration: underline dotted; text-underline-offset: 0.2em; }
.wf-module a:hover { text-decoration-style: solid; }
.wf-panel.has-bild { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.4rem; align-content: start; }
.wf-panel.has-bild > :not(.wf-bild) { grid-column: 1; }
.wf-bild { grid-column: 2; grid-row: 1 / span 3; align-self: start; width: clamp(4.8rem, 9vw, 7.5rem); border-radius: 14px; background: var(--cream); }
.wf-bild > img { height: auto; }
/* Formate: das Quadrat wird links und rechts gestrichelt zum Querformat erweitert */
.wf-bild.wf-diagramm { margin: 0; background: none; border-radius: 0; }
.wf-erweitern { aspect-ratio: 16 / 9; overflow: visible; }
.wf-panel > .wf-erweitern > img { position: absolute; top: 0; height: 100%; object-fit: cover; }
.wf-panel > .wf-erweitern > .erweitern-breit { left: 0; width: 100%; border: 2px dashed rgb(255 255 255 / 0.7); border-radius: 6px; opacity: 0.4; }
.wf-panel > .wf-erweitern > .erweitern-quadrat { left: 50%; width: auto; aspect-ratio: 1; translate: -50% 0; border-inline: 2px dashed #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25), 0 10px 24px rgb(0 0 0 / 0.45); }
/* Zeigen und messen: Statistik mit Verlauf */
.wf-statistik { aspect-ratio: 8 / 5; }
.wf-statistik svg { display: block; width: 100%; height: 100%; overflow: visible; }
.statistik-raster { fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 1; }
.statistik-linie { fill: none; stroke: var(--hsm-orange); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgb(255 200 0 / 0.7)); }
.statistik-punkt { fill: var(--hsm-orange); stroke: var(--on-dark); stroke-width: 2; }
.statistik-titel { fill: var(--on-dark-muted); font-size: 15px; font-weight: 700; }
.statistik-wert { fill: var(--on-dark); font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.wf-frames img { display: block; width: 100%; height: auto; border-radius: 12px; object-fit: cover; }
/* Breit: das Bild steht links in voller Kartenhöhe und läuft weich in den Text aus */
@media (min-width: 861px) {
  /* Der Text liegt am weichen Übergang an und rückt mit der Bildbreite mit (--wf-bild-b aus main.js).
     Die Bildhöhe ist fest (--wf-karte-h), sonst schaukeln sich Bildbreite, Textumbruch und Kartenhöhe gegenseitig auf. */
  .wf-panels { --wf-karte-h: clamp(15rem, 100svh - 38rem, 18.5rem); --wf-kante: 0px; }
  /* Fotos reichen bis unter die überstehende Kante der Pipeline (Delle mit Schatten). Das Foto selbst beginnt
     erst an der Kante, darüber füllt seine Hintergrundfarbe (--wf-bild-fond) die Delle. Grafiken beginnen darunter. */
  .motion .wf-panels { --wf-kante: var(--radius); }
  .wf-panel.has-bild { position: relative; display: flex; flex-direction: column; min-height: var(--wf-karte-h); overflow: hidden; padding-left: calc(var(--wf-bild-b, 22rem) * 0.94 + 0.6rem); }
  .wf-panel.has-bild:has(> .wf-diagramm) { padding-left: calc(var(--wf-bild-b, 22rem) + 2.8rem); }
  .wf-panel.has-bild:has(> .wf-geraete) { padding-left: calc(var(--wf-bild-b, 22rem) + 3.2rem); }
  .wf-panel.has-bild > .wf-module { margin-top: auto; padding-top: 0.6rem; }
  .wf-panel > .wf-bild { grid-area: auto; position: absolute; top: 0; left: 0; height: var(--wf-karte-h); width: auto; max-width: 50%; padding-top: var(--wf-kante); border-radius: 0; background: var(--wf-bild-fond, var(--cream)); --wf-kurve: radial-gradient(ellipse 100% 64% at 0 52%, #000 22%, rgb(0 0 0 / 0.6) 60%, transparent 100%); -webkit-mask-image: var(--wf-kurve); mask-image: var(--wf-kurve); }
  .wf-panel > .wf-bild > img { display: block; width: auto; height: 100%; border-radius: 0; object-fit: cover; }
  /* Formate und Statistik sind Grafiken: ohne Verlauf, mit etwas Rand */
  .wf-panel > .wf-bild.wf-diagramm { padding-top: 0; background: none; top: calc(var(--wf-kante) + 1.2rem); left: 1.4rem; height: calc(var(--wf-karte-h) - var(--wf-kante) - 2.4rem); max-width: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .wf-panel > .wf-bild .ki-hinweis { left: 0.8rem; bottom: 0.8rem; }
  /* Die Geräte sind gezeichnet, sie stehen ohne Verlauf links in der Mitte */
  .wf-panel > .wf-bild.wf-geraete { --h: clamp(8rem, 14vw, 12rem); padding-top: 0.4rem; background: none; top: calc(50% + var(--wf-kante) / 2); height: var(--h); left: 1.6rem; max-width: none; translate: 0 -50%; -webkit-mask-image: none; mask-image: none; }
  .wf-panel > .wf-bild.wf-geraete .ki-hinweis { left: 0; bottom: 0; }
}
.wf-result .ki-zeile { color: var(--on-dark-muted); }
.wf-frames { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.wf-frames li { display: grid; justify-items: start; gap: 0.35rem; width: 7rem; }
.wf-frames img { aspect-ratio: 2 / 3; }
.wf-frames span { font-size: var(--step--1); color: var(--on-dark-muted); white-space: nowrap; }

/* Ergebnis: Person + Shirt = drei Shots mit Likes, ersetzt beim letzten Schritt die Pipeline */
.wf-ergebnis { display: none; }
.motion .wf-ergebnis { position: absolute; inset: 0; padding: 1rem; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--smooth), visibility 0s linear 0.4s; }
.motion .ist-ergebnis .wf-ergebnis { opacity: 1; visibility: visible; transition: opacity 0.6s var(--smooth) 0.2s, visibility 0s; }
.motion .wf-wires { transition: opacity 0.4s var(--smooth); }
.motion .wf-inner.ist-ergebnis .wf-node, .motion .wf-inner.ist-ergebnis .wf-wires { opacity: 0; pointer-events: none; }
/* Beim Abspielen zeigt die Ergebnis-Fläche Bilder und Titel, die Karte darunter nur die drei Hinweise */
.motion .wf-result .wf-frames { display: none; }
.motion .wf-result > h3, .motion .wf-result > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.motion .wf-result { align-self: start; padding-bottom: 1.2rem; }
.motion .wf-result .wf-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: 0; font-size: 0.92rem; }
.motion .wf-result .wf-notes p { padding-top: 0.6rem; }
/* „Einmal bauen …“ und „Was der Workflow nicht kann“ unterstrichen, die Forschungsfrage bleibt schlicht */
.wf-result .wf-notes p:not(.forschung-hinweis) strong { text-decoration: underline 2px var(--hsm-orange); text-underline-offset: 0.25em; }
.wf-result .wf-notes p:not(.forschung-hinweis) { border-top: 0; }
.motion .wf-result .wf-notes .forschung-hinweis { grid-column: auto; }
.ergebnis-reihe { --e: clamp(5rem, 22svh - 3rem, 10.5rem); display: flex; align-items: center; gap: clamp(0.6rem, 1.5vw, 1.4rem); }
.ergebnis-quelle { display: block; width: auto; height: calc(var(--e) * 0.72); border-radius: 10px; background: var(--cream); }
.ergebnis-zeichen { font-family: var(--font-display); font-size: calc(var(--e) * 0.24); font-weight: 800; line-height: 1; color: var(--hsm-orange); }
.ergebnis-shot { position: relative; display: block; }
.ergebnis-shot img { display: block; width: auto; height: var(--e); border-radius: 12px; box-shadow: 0 10px 24px rgb(0 0 0 / 0.45); }
.ergebnis-likes { position: absolute; left: 0.5rem; bottom: 0.5rem; display: flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgb(0 0 0 / 0.6); color: #fff; font-size: 0.8rem; font-weight: 800; }
.ergebnis-likes .likes-herz { width: auto; height: 1em; box-shadow: none; border-radius: 0; }
/* Plattform oben rechts am Shot, als schlichte Zeichen nachgebaut */
.ergebnis-plattform { position: absolute; top: 0.45rem; right: 0.45rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgb(0 0 0 / 0.55); }
.ergebnis-plattform svg { width: 62%; height: 62%; }
/* Shots mittig im oberen Teil, Titel und „Nochmal abspielen“ rücken Richtung Boden */
.motion .wf-ergebnis > .ergebnis-reihe, .motion .wf-ergebnis > .ergebnis-titel { margin-top: auto; }
.motion .wf-ergebnis > .wf-nochmal { margin-bottom: 0.4rem; }
.ergebnis-titel { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; text-align: center; }
.wf-ergebnis > .ki-hinweis { left: auto; right: 1.2rem; bottom: 1.2rem; }

.motion .wf-scene { --len: 420; }
.motion .wf-stage { display: flex; align-items: center; padding-bottom: var(--nav-h); }
.motion .wf-inner { width: 100%; }
.motion .wf-node { opacity: 0.55; }
.motion .wf-board { animation: wf-punkte 2.4s linear infinite; }
/* Punktraster wandert im 45-Grad-Winkel nach oben rechts (eine Rasterweite pro Durchlauf) */
@keyframes wf-punkte { to { background-position: 18px -18px; } }
.motion .wf-node.is-aktiv { opacity: 1; }
.motion .wf-node:not(.is-aktiv) .wf-thumb { filter: grayscale(1); }
/* Der Knopf sitzt mittig unten im Board zwischen Produktfoto und „Zeigen und messen“ */
.motion .wf-controls { position: absolute; left: 50%; bottom: 1rem; z-index: 3; display: flex; translate: -50% 0; transition: opacity 0.3s var(--smooth); }
.motion .wf-play, .motion .wf-nochmal { padding: 0.55rem 1.2rem; }
.motion .wf-inner.ist-ergebnis .wf-controls { opacity: 0; pointer-events: none; }
/* Die Karte klappt wie ein Untermenü unter der Pipeline auf und zeigt mit einer Spitze auf den aktuellen Knoten (--wf-zeiger aus main.js) */
.motion .wf-inner { row-gap: 0; }
/* Die Pipeline ragt mit ihrer runden Unterkante über die Karte, die Karte rollt darunter hervor */
.motion .wf-board { position: relative; z-index: 2; background-color: color-mix(in srgb, var(--espresso), #fff 4%); box-shadow: 0 14px 22px -8px rgb(0 0 0 / 0.75); }
.motion .wf-panels { --wf-karte: color-mix(in srgb, var(--espresso), #fff 8%); position: relative; gap: 0; margin-top: calc(-1 * var(--radius)); }
.motion .wf-panels.zeigt::before { content: ""; position: absolute; top: calc(var(--radius) - 12px); left: var(--wf-zeiger); z-index: 2; width: 26px; height: 13px; translate: -50% 0; background: var(--wf-karte); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: left 0.45s var(--smooth); }
/* Beim Wechsel klappt die alte Karte erst verblassend ein (0,35 s), danach klappt die neue aus */
.motion .wf-panel { grid-area: 1 / 1; padding-top: calc(1.1rem + var(--radius)); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); position: relative; background: var(--wf-karte); opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.35s var(--smooth), opacity 0.35s var(--smooth), visibility 0s linear 0.35s; }
/* Schatten unter der Kante der Pipeline, liegt über Text und Bild */
.motion .wf-panel::after { content: ""; position: absolute; inset: 0 0 auto; z-index: 3; height: calc(var(--radius) + 3rem); background: linear-gradient(rgb(0 0 0 / 0.92) var(--radius), rgb(0 0 0 / 0.45) calc(var(--radius) + 0.9rem), transparent); pointer-events: none; }
.motion .wf-panel.is-current { opacity: 1; visibility: visible; clip-path: inset(0); transition: clip-path 0.5s var(--smooth) 0.35s, opacity 0s linear 0.35s, visibility 0s linear 0.35s; }
.motion .wf-result.is-current .wf-frames li { animation: pop-frame 0.7s var(--spring) backwards; }
.motion .wf-result.is-current .wf-frames li:nth-child(2) { animation-delay: 0.1s; }
.motion .wf-result.is-current .wf-frames li:nth-child(3) { animation-delay: 0.2s; }
@keyframes pop-frame { from { scale: 0.6; opacity: 0; } }

/* ===== KI: Wenn die Daten sprechen ===== */
.decide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; align-items: start; }
.metric-card { padding: 1.4rem; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-soft); }
.metric-card .chips { margin-bottom: 1.2rem; }
.metrics { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.metrics li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 3.2rem; align-items: center; gap: 0.7rem; font-size: var(--step--1); font-weight: 700; }
.metrics .bar { height: 0.8rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.metrics .bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--terra); transition: width 0.8s var(--smooth); }
.metrics output { text-align: right; font-variant-numeric: tabular-nums; }
/* Daten: drei Teile freigestellt ohne Rahmen; grau, bis man eins anklickt, dann farbig mit Auszeichnung */
.wahl { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 0.6rem; margin: 0.4rem 0 1.4rem; }
.wahl-teil { position: relative; display: grid; justify-items: center; align-content: end; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.wahl-teil img { width: 100%; height: clamp(8rem, 13vw, 11rem); object-fit: contain; filter: grayscale(1); opacity: 0.5; transition: filter 0.4s, opacity 0.4s, scale 0.5s var(--spring); }
.wahl-teil:hover img { opacity: 0.8; }
.wahl-teil[aria-pressed="true"] img { filter: none; opacity: 1; scale: 1.06; }
/* Beim Shirt zählt das Logo: nah ran, weicher runder Rand */
.wahl-shirt > img { width: min(100%, clamp(8rem, 13vw, 11rem)); height: auto; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent); mask-image: radial-gradient(closest-side, #000 58%, transparent); }
.wahl-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Auszeichnung: Icons sitzen unten bündig im Produkt und poppen beim Anklicken auf */
.wahl-marke { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; justify-content: center; gap: 0.4rem; opacity: 0; scale: 0.5; transform-origin: 50% 100%; transition: opacity 0.3s, scale 0.45s var(--spring); }
.wahl-teil[aria-pressed="true"] .wahl-marke { opacity: 1; scale: 1; }
.wahl-icon { position: relative; display: grid; place-items: center; }
.wahl-teil .wahl-icon img, .wahl-teil[aria-pressed="true"] .wahl-icon img { width: auto; height: 2.3rem; filter: drop-shadow(0 2px 4px rgb(20 20 24 / 0.35)); opacity: 1; scale: 1; }
/* Große, leicht schräge Krone auf dem Icon */
.wahl-icon.mit-krone::before { content: ""; position: absolute; top: -0.8rem; right: -0.4rem; z-index: 1; width: 1.9rem; height: 1.4rem; background: var(--ochre); clip-path: polygon(0 100%, 0 22%, 26% 58%, 50% 0, 74% 58%, 100% 22%, 100% 100%); rotate: 18deg; filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.25)); }
/* Durchgestrichenes Herz: kaum Interesse, so nicht nachproduzieren */
.wahl-teil .wahl-icon.durchgestrichen img { filter: grayscale(0.4) drop-shadow(0 2px 4px rgb(20 20 24 / 0.35)); opacity: 0.85; }
.wahl-icon.durchgestrichen::after { content: ""; position: absolute; left: -0.2rem; right: -0.2rem; top: 50%; height: 4px; border-radius: 2px; background: #c62828; rotate: -35deg; }
/* Shirt: roter Strich quer über das Bild */
.wahl-shirt::after { content: ""; position: absolute; left: 6%; right: 6%; top: calc(50% - 2.5px); height: 5px; border-radius: 3px; background: #c62828; rotate: -24deg; scale: 0 1; transition: scale 0.45s var(--smooth); }
.wahl-shirt[aria-pressed="true"]::after { scale: 1; }
.kommentare-leer { padding: 0.6rem 0.9rem; border-radius: 14px; background: var(--cream); color: var(--muted); font-size: var(--step--1); }
/* Daten: Signale in Worten und Kommentare der Community statt Prozentbalken */
#daten .daten-titel { max-width: none; }
#grenzen .grenzen-titel { max-width: none; }
@media (min-width: 861px) { #daten .daten-titel, #grenzen .grenzen-titel { white-space: nowrap; } }
/* Beide Spalten gleich tief: die weiße Karte streckt sich, rechts füllt die lila Karte den Rest */
#daten-demo { align-items: stretch; }
#daten-demo > :last-child { display: flex; flex-direction: column; }
#daten-demo .decision { flex: 1; }
.signale { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.signale li:last-child { grid-column: 1 / -1; }
.signale li { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem; border-radius: 18px; font-weight: 700; transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.signale img { width: auto; height: 1.6rem; transition: filter 0.4s, opacity 0.4s; }
.signale li[data-stufe="leer"] { background: rgb(20 20 24 / 0.05); color: var(--muted); }
.signale li[data-stufe="leer"] img { filter: grayscale(1); opacity: 0.4; }
.signale li[data-stufe="stark"] { background: var(--terra); color: #fff; }
.signale li[data-stufe="mittel"] { background: rgb(20 20 24 / 0.1); }
.signale li[data-stufe="schwach"] { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }
.signale li[data-stufe="schwach"] img { filter: grayscale(1); opacity: 0.5; }
.kommentare-titel { margin: 0 0 0.7rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kommentare { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.kommentare li { display: flex; align-items: flex-start; gap: 0.7rem; }
/* Köpfe der Begleiter, frei ohne Kreis (bilder/begleiter/koepfe) */
.kommentar-kopf { flex: none; width: auto; height: 2.9rem; }
.kommentar-text { padding: 0.55rem 0.9rem; border-radius: 4px 18px 18px; background: var(--cream); line-height: 1.4; }
.kommentar-text b { color: var(--terra); }
.motion .kommentare li { animation: rise 0.5s var(--smooth) backwards; animation-delay: calc(var(--i) * 0.12s); }
.decision { margin-top: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--plum); color: #fff; }
.decision h3 { font-size: var(--step-2); font-weight: 500; }
.decision p { margin: 0; color: #f3dfe8; }
.decision-bilder { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; margin-top: 1rem; border-radius: 12px; }
#daten-demo[data-bilder="farben"] .decision-bilder { display: grid; }
.decision-bilder > img { height: auto; aspect-ratio: 2 / 3; border-radius: 10px; object-fit: contain; background: #f1f1f1; }
.motion .decision.is-changing { animation: rise 0.6s var(--smooth); }

.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.limits li { padding: 1.4rem; border-radius: var(--radius); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1); }
/* Hochkant-Bild oben in jeder Karte */
.limits-bild { aspect-ratio: 3 / 4; margin: -0.6rem -0.6rem 1.1rem; border-radius: calc(var(--radius) - 8px); }
.limits-bild > img { width: 100%; height: 100%; object-fit: cover; }
.limits-bild .ki-hinweis { left: auto; right: 0.6rem; }
/* Chat über dem Bild: oben fragt iV, unten sagt der Shop-Bot ungeprüft zu */
.chat-blase { position: absolute; z-index: 2; max-width: 72%; padding: 0.45rem 0.75rem; border-radius: 16px; font-size: var(--step--1); font-weight: 700; line-height: 1.3; box-shadow: 0 6px 16px rgb(0 0 0 / 0.35); }
.chat-blase b { display: block; margin-bottom: 0.1rem; font-size: 0.7rem; letter-spacing: 0.03em; opacity: 0.8; }
.chat-kunde { top: 0.8rem; right: 0.7rem; border-bottom-right-radius: 4px; background: var(--hsm-orange); color: #fff; }
.chat-bot { bottom: 2.6rem; left: 0.7rem; border-bottom-left-radius: 4px; background: #fff; color: var(--ink); }
.limits h3 { font-size: var(--step-1); }
.limits p { margin: 0; color: var(--on-dark-muted); }

/* ===== Websites: Mini-Shop mit ausklappbarer Statistik daneben ===== */
#shop h2 { margin-bottom: 0.9rem; }
.shop-lead { max-width: none; margin-bottom: 0; }
.shop { --dash-b: 21rem; --griff-b: 2.6rem; --unter: 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 1.4rem; }
.shop-window { position: relative; z-index: 1; padding: 1rem; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.shop-bar { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.7rem; padding: 0.5rem 0.8rem; border-radius: 999px; background: var(--cream); font-size: 0.8rem; color: var(--muted); }
.shop-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line); }
.shop-bar span { margin-left: 0.4rem; }

/* Kopf wie bei großen Shops: Logo und Suche, darunter die Menüleiste mit Einkaufswagen */
.shop-kopf { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: 14px 14px 0 0; background: var(--espresso); color: var(--on-dark); }
.shop-logo { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.shop-logo b { color: var(--ochre); }
.shop-suche { position: relative; flex: 1; display: block; min-width: 0; border-radius: 8px; background: #fff; }
.shop-suche input { width: 100%; min-width: 0; padding: 0.45rem 3rem 0.45rem 0.9rem; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 0.85rem; }
.shop-suche input::placeholder { color: #8b7a6c; }
.shop-suche input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 1px; }
.shop-suche input::-webkit-search-cancel-button { display: none; }
.shop-suche i { position: absolute; inset: 0 0 0 auto; width: 2.6rem; border-radius: 0 8px 8px 0; background: var(--ochre); pointer-events: none; }
.shop-suche i::before { content: ""; position: absolute; left: 0.8rem; top: 50%; width: 0.6rem; height: 0.6rem; border: 2px solid var(--espresso); border-radius: 50%; translate: 0 -65%; }
.shop-suche i::after { content: ""; position: absolute; left: 1.45rem; top: 58%; width: 0.4rem; height: 2px; background: var(--espresso); rotate: 45deg; }
.shop-menue { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; padding: 0.35rem 0.6rem 0.35rem 0.5rem; border-radius: 0 0 14px 14px; background: var(--cocoa); color: var(--on-dark); }
.shop-kategorien { display: flex; flex: 1; gap: 0.2rem; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.shop-kategorien button { flex: none; padding: 0.35rem 0.55rem; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 0.85rem; font-weight: 700; white-space: nowrap; opacity: 0.8; cursor: pointer; transition: background-color 0.2s, opacity 0.2s; }
.shop-kategorien button:hover { opacity: 1; background: rgb(255 255 255 / 0.1); }
.shop-kategorien button[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--ochre); border-radius: 8px 8px 0 0; }
.shop-kategorien button[data-kat="sale"] { color: #ffb38a; }
.shop-wagen { position: relative; display: flex; align-items: center; flex: none; margin: 0; padding: 0.25rem 0.9rem 0.25rem 0.3rem; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.shop-wagen:hover, .shop-wagen[aria-expanded="true"] { background: rgb(255 255 255 / 0.1); }
.shop-wagen svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-wagen .wagen-zahl { position: absolute; top: -0.1rem; right: 0.2rem; min-width: 1.25rem; padding: 0 0.3rem; border-radius: 999px; background: var(--ochre); color: var(--espresso); font-size: 0.75rem; line-height: 1.25rem; text-align: center; font-variant-numeric: tabular-nums; }
.shop-wagen.is-pop { animation: like-pop 0.45s var(--spring); }
/* Klick auf den Wagen: Liste mit kleinem Bild, Anzahl und Preis, unten die Summe */
.wagen-panel { position: absolute; top: calc(100% + 0.4rem); right: 0; z-index: 5; display: flex; flex-direction: column; width: min(23rem, 100%); max-height: 22rem; padding: 0.9rem; border-radius: 16px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 50px -18px rgb(20 20 24 / 0.55), 0 0 0 1px var(--line); }
.wagen-panel[hidden] { display: none; }
.wagen-titel { margin: 0 0 0.6rem; font-family: var(--font-serif); font-size: var(--step-1); font-weight: 700; }
.wagen-liste { display: grid; gap: 0.45rem; min-height: 0; margin: 0; padding: 0 0.2rem 0 0; overflow-y: auto; list-style: none; }
.wagen-liste li { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto auto; grid-template-rows: auto auto; align-items: center; gap: 0 0.6rem; padding: 0.4rem 0.5rem 0.4rem 0.4rem; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.wagen-liste img { grid-row: span 2; width: 2.9rem; height: 2.9rem; border-radius: 8px; background: var(--cream); object-fit: cover; }
.wagen-name { font-size: 0.85rem; font-weight: 800; line-height: 1.2; }
.wagen-menge { grid-column: 2; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.wagen-preis { grid-column: 3; grid-row: 1 / span 2; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.wagen-weg { grid-column: 4; grid-row: 1 / span 2; width: 1.8rem; height: 1.8rem; padding: 0; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font: inherit; font-size: 1.1rem; font-weight: 800; line-height: 1; cursor: pointer; }
.wagen-weg:hover { background: var(--line); }
.wagen-leer { margin: 0.2rem 0 0.6rem; font-size: 0.85rem; color: var(--muted); }
.wagen-leer[hidden] { display: none; }
.wagen-summe { display: flex; justify-content: space-between; margin: 0.7rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--line); font-weight: 800; }
.wagen-summe b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.shop-nichts { margin: 1rem 0 0.5rem; text-align: center; color: var(--muted); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.product { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.7rem; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform 0.4s var(--spring), box-shadow 0.3s; }
.product[hidden] { display: none; }
.product:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); }
.product-bild { aspect-ratio: 1; margin-bottom: 0.3rem; border-radius: 10px; background: var(--cream); }
.herz-flaeche { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.6 4.5c2.1 0 3.6 1.2 5.4 3 1.8-1.8 3.3-3 5.4-3 3.6 0 5.7 3.8 4.2 7.2C19.5 16.4 12 21 12 21z' fill='%23d9433b' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") 16 16, pointer; }
.herz-flaeche img { display: block; width: 100%; height: 100%; object-fit: cover; }
.herz-flaeche:focus-visible { outline: 3px solid var(--terra); outline-offset: -3px; }
.flieg-herz { position: absolute; z-index: 2; width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.6 4.5c2.1 0 3.6 1.2 5.4 3 1.8-1.8 3.3-3 5.4-3 3.6 0 5.7 3.8 4.2 7.2C19.5 16.4 12 21 12 21z' fill='%23d9433b' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 6px 10px rgb(20 20 24 / 0.35)); pointer-events: none; }
.motion .flieg-herz { animation: herz-blasst 0.85s var(--smooth) forwards; }
@keyframes herz-blasst {
  0% { opacity: 0; scale: 0.3; }
  25% { opacity: 1; scale: 1.3; }
  45% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 1; }
}
.product h3 { margin: 0; font-size: var(--step-0); }
.product-info { margin: 0; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.sterne { margin: 0; font-size: 0.78rem; color: var(--muted); }
.sterne span:first-child { color: var(--ochre); letter-spacing: 0.05em; }
.preis { margin: 0.1rem 0 0.4rem; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.preis s { margin-left: 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.ist-sale .preis { color: var(--terra); }
.in-den-wagen { margin-top: auto; padding: 0.5rem 0.6rem; border: 0; border-radius: 999px; background: var(--ochre); color: var(--espresso); font: inherit; font-size: 0.8rem; font-weight: 800; cursor: pointer; transition: background-color 0.2s; }
.in-den-wagen:hover { background: #e4ae4b; }
.in-den-wagen.is-pop { animation: like-pop 0.45s var(--spring); }
.wagen-ok, .ist-drin .wagen-text { display: none; }
.ist-drin .wagen-ok { display: inline; }
.ist-drin { background: var(--sage); color: #fff; }
.ist-drin:hover { background: var(--sage); }
@keyframes like-pop { 50% { transform: scale(1.2); } }

/* Die Statistik steckt hinter dem Shopfenster und ist seitlich ausgeklappt; der Griff rechts klappt sie ein */
.dash { --dash-grund: #f7c49b; --dash-griff: #efae7c; position: relative; width: calc(var(--griff-b) + var(--unter)); margin-left: calc(var(--unter) * -1); padding-left: var(--unter); overflow: hidden; border-radius: 0 var(--radius) var(--radius) 0; background: var(--dash-grund); color: var(--ink); box-shadow: var(--shadow); transition: width 0.55s var(--smooth); }
.shop.is-offen .dash { width: calc(var(--dash-b) + var(--griff-b) + var(--unter)); }
.dash-griff { position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; width: var(--griff-b); padding: 0; border: 0; border-left: 1px solid transparent; background: var(--dash-grund); color: var(--ink); font: inherit; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s; }
.dash-griff span { writing-mode: vertical-rl; }
.dash-griff::before { content: "›"; font-size: 1.4rem; line-height: 1; letter-spacing: 0; }
.shop.is-offen .dash-griff::before { content: "‹"; }
.dash-griff:hover { background: var(--dash-griff); }
.shop.is-offen .dash-griff { border-left-color: rgb(20 20 24 / 0.1); }
/* Shopfenster und Statistik bilden eine Form: rechts keine Rundung am Fenster, die Statistik rundet ab */
@media (min-width: 861px) {
  .shop-window { border-radius: var(--radius) 0 0 var(--radius); }
}
.dash-innen { display: flex; flex-direction: column; width: calc(var(--dash-b) + var(--griff-b)); height: 100%; padding: 1.3rem calc(var(--griff-b) + 1.2rem) 1.1rem 1.2rem; }
.dash h3 { margin-bottom: 0.8rem; font-size: var(--step-1); }
.dash-sub { margin: 0 0 0.3rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(20 20 24 / 0.6); }

/* Bühne: freigestellte Artikel, die mit jedem Herz farbiger werden */
.buehne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.buehne-leer { display: grid; place-items: center; aspect-ratio: 2 / 1; margin: 0; padding: 1rem; border: 2px dashed rgb(20 20 24 / 0.2); border-radius: 16px; font-size: 0.85rem; text-align: center; color: rgb(20 20 24 / 0.6); }
.buehne-leer[hidden] { display: none; }
.kachel { --farbe: 0.15; position: relative; }
.kachel:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.3rem); }
.kachel-bild { position: relative; display: block; aspect-ratio: 1; }
.kachel img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(calc(1 - var(--farbe))) drop-shadow(0 6px 8px rgb(20 20 24 / 0.18)); opacity: calc(0.5 + var(--farbe) * 0.5); transition: filter 0.4s, opacity 0.4s; }
.kachel-name { display: block; margin-top: 0.1rem; font-size: 0.68rem; font-weight: 800; text-align: center; color: rgb(20 20 24 / 0.7); }
.motion .kachel { animation: kachel-auf 0.5s var(--spring); }
@keyframes kachel-auf { from { opacity: 0; scale: 0.6; } }

/* Sticker: Herz an der Klickstelle, Augen für Watchtime, Krone für den Spitzenreiter */
.sticker { position: absolute; z-index: 1; width: 1.5rem; height: 1.5rem; translate: -50% -50%; rotate: var(--dreh, 0deg); background: center / contain no-repeat; filter: drop-shadow(0 2px 2px rgb(20 20 24 / 0.3)); pointer-events: none; }
.sticker-herz { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.6 4.5c2.1 0 3.6 1.2 5.4 3 1.8-1.8 3.3-3 5.4-3 3.6 0 5.7 3.8 4.2 7.2C19.5 16.4 12 21 12 21z' fill='%23d9433b' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sticker-auge { width: 1.7rem; height: 1.1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 22'%3E%3Cpath d='M2 11C6 4 11 2 17 2s11 2 15 9c-4 7-9 9-15 9S6 18 2 11z' fill='%23fff' stroke='%232b1b14' stroke-width='2'/%3E%3Ccircle cx='17' cy='11' r='5.5' fill='%232b1b14'/%3E%3Ccircle cx='19' cy='9' r='1.8' fill='%23fff'/%3E%3C/svg%3E"); }
.sticker-krone { z-index: 2; width: 2.4rem; height: 1.8rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M3 9l8 7 9-13 9 13 8-7-3 18H6z' fill='%23f2b33d' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round'/%3E%3Ccircle cx='20' cy='19' r='2.6' fill='%23d9433b'/%3E%3C/svg%3E"); transition: opacity 0.6s; }
.sticker-krone.verblasst { opacity: 0; }
.motion .sticker { animation: aufkleben 0.35s var(--spring); }
@keyframes aufkleben { from { scale: 1.8; opacity: 0; } }
/* Beim Wiederaufklappen fallen die Sticker ab, als zöge sie die Schwerkraft nach unten */
.motion .sticker.faellt { animation: abfallen 1.1s cubic-bezier(0.55, 0, 1, 0.45) forwards; }
.sticker.faellt { opacity: 0; }
@keyframes abfallen {
  0% { opacity: 1; transform: none; }
  12% { opacity: 1; transform: translateY(-0.4rem) rotate(calc(var(--fall-dreh) * 0.1)); }
  100% { opacity: 0; transform: translate(var(--fall-x), 24rem) rotate(var(--fall-dreh)); }
}

/* Interessenliste: angeschaute Artikel werden hingekritzelt */
.interesse { margin-top: 0.9rem; }
.dash-unten { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.6rem; }
.interesse-liste { display: flex; flex-wrap: wrap; gap: 0.15rem 0.9rem; min-height: 1.4rem; margin: 0; padding: 0; list-style: none; }
.interesse-liste li { justify-self: start; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-serif); font-size: 0.95rem; font-style: italic; line-height: 1.25; rotate: var(--dreh, 0deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4c6-3 10 2 16-1s10 2 16-1 10 2 16-1 7 1 10 0' fill='none' stroke='%23b9542c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% 0.35rem no-repeat; padding-bottom: 0.2rem; }
.motion .interesse-liste li { animation: kritzeln 0.7s steps(10) both; }
.motion .interesse-liste li.is-pop { animation: like-pop 0.45s var(--spring); }
@keyframes kritzeln { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Kleiner Wagen = Geld: die eingepackten Artikel fallen hinein */
.wagen-gleich { display: flex; align-items: center; gap: 0.35rem; margin: 0; }
.mini-wagen { position: relative; flex: none; width: 4.2rem; height: 3.5rem; }
.mini-wagen svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mini-korb { position: absolute; left: 22%; top: 2%; width: 68%; height: 62%; display: flex; flex-wrap: wrap-reverse; align-content: flex-start; justify-content: center; }
.mini-korb img { width: 1.35rem; height: 1.35rem; margin: -0.18rem; object-fit: contain; rotate: var(--dreh, 0deg); }
.mini-korb img:nth-child(n + 13) { display: none; }
.motion .mini-korb img { animation: reinfallen 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes reinfallen { from { opacity: 0; translate: 0 -3.5rem; } 40% { opacity: 1; } }
.gleich { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.geld { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wagen-gleich.is-pop .geld { animation: like-pop 0.45s var(--spring); }

/* Watchtime aller Artikel zusammen in Millisekunden, unten rechts */
.watchtime { display: grid; justify-items: end; margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(20 20 24 / 0.6); }
.watchtime output small { font-size: 0.5em; }
.watchtime output { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; white-space: nowrap; letter-spacing: 0; text-transform: none; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .shop { --dash-b: 19rem; }
}
/* Schmal: Statistik klappt unter dem Shop heraus und bleibt offen */
@media (max-width: 860px) {
  .shop.shop { grid-template-columns: minmax(0, 1fr); }
  .shop .dash, .shop.is-offen .dash { width: auto; margin: calc(var(--unter) * -1) 1rem 0; padding: var(--unter) 0 0; border-radius: 0 0 var(--radius) var(--radius); }
  .dash-griff { display: none; }
  .dash-innen { width: auto; height: auto; padding-right: 1.4rem; }
  .buehne { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kachel:nth-child(3) { grid-column: auto; width: auto; }
}
@media (max-width: 640px) {
  .shop-window { padding: 0.6rem; }
  .shop-kopf { gap: 0.6rem; padding: 0.55rem 0.6rem; }
  .shop-suche input { padding-right: 2.4rem; font-size: 0.8rem; }
  .shop-suche i { width: 2.2rem; }
  .shop-suche i::before { left: 0.65rem; }
  .shop-suche i::after { left: 1.3rem; }
  .shop-menue { padding-left: 0.3rem; }
  .shop-kategorien button { padding-inline: 0.4rem; font-size: 0.78rem; }
  .products { gap: 0.4rem; }
  .product { padding: 0.4rem; border-radius: 12px; }
  .product h3 { font-size: 0.8rem; }
  .product-info { display: none; }
  .sterne { font-size: 0.62rem; }
  .preis { margin-bottom: 0.2rem; font-size: 0.9rem; }
  .in-den-wagen { padding: 0.4rem 0.3rem; font-size: 0.68rem; }
  .wagen-text { font-size: 0; }
  .wagen-text::before { content: "+ Wagen"; font-size: 0.68rem; }
  .buehne { gap: 0.4rem; }
  .geld, .watchtime output { font-size: 1.5rem; }
  .sticker { width: 1.1rem; height: 1.1rem; }
  .sticker-auge { width: 1.2rem; height: 0.8rem; }
  .sticker-krone { width: 1.7rem; height: 1.3rem; }
  .kachel-name { display: none; }
  .kachel img { padding: 0.3rem; }
}

/* Website-Schritte als gestapelte Karten */
.paths { display: grid; gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem);
  min-height: 15rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 36px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: var(--shadow);
  transform-origin: 50% 0;
}
.path:nth-child(1) { --bg: #e7dcc4; --fg: var(--ink); }
.path:nth-child(2) { --bg: var(--sage); --fg: var(--ink); }
.path:nth-child(3) { --bg: var(--cocoa); --fg: var(--on-dark); }
.path-no { margin: 0; font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 300; line-height: 0.8; }
.path h3 { font-size: var(--step-2); font-weight: 500; }
.path p { margin: 0; max-width: 55ch; }
.motion .paths { gap: 0; }
.motion .path {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem + var(--i) * 1.1rem);
  margin-bottom: 38svh;
  scale: calc(1 - var(--cover, 0) * 0.07);
  filter: brightness(calc(1 - var(--cover, 0) * 0.18));
}
.motion .path:last-child { margin-bottom: 0; }

/* ===== Social Media: Feed ===== */
/* Überschrift, Handy und Erklärtext stehen in einer Ansicht: Kopf und Karten rechts, das Handy links */
.feed-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "phone kopf" "phone panels"; gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: center; justify-content: center; padding-block: 2rem; }
.feed-kopf { grid-area: kopf; align-self: end; display: grid; }
.feed-kopf h2, .feed-auswertung { grid-area: 2 / 1; }
.feed-kopf .badge { justify-self: start; }
/* Schriftzug für die Auswertung: liegt auf der Überschrift und blendet erst bei der Auswertung ein */
.feed-auswertung { align-self: start; margin: 0.6rem 0 0; font-family: var(--font-serif); font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); font-style: italic; line-height: 1; color: var(--ochre); text-align: center; opacity: 0; pointer-events: none; }
.feed-kopf h2 { margin: 0.6rem 0 0.8rem; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); }
.feed-panels { grid-area: panels; align-self: start; }
.phone {
  grid-area: phone;
  position: relative;
  width: min(19rem, 70vw, (100svh - var(--header-h) - var(--nav-h) - 3rem) / 2);
  aspect-ratio: 9 / 18;
  padding: 0.7rem;
  border-radius: 2.6rem;
  background: #120b08;
  box-shadow: var(--shadow), inset 0 0 0 2px rgb(255 255 255 / 0.08);
}
/* Die App-Ansicht rechnet in cqi, damit sie im kleinen Handy gleich aussieht */
.phone-screen { position: relative; height: 100%; overflow: hidden; container-type: size; border-radius: 2rem; background: #0d0907; color: #fff; }
.phone-screen svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post { position: absolute; inset: 0; }
.post-media { position: absolute; inset: 0; }
.post-media.ki-bild img { object-position: 50% 22%; }
.post-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.post-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / 0.35), transparent 18%, transparent 55%, rgb(0 0 0 / 0.7)); }
.post-media .ki-hinweis { top: 4.2cqi; right: 4cqi; bottom: auto; left: auto; font-size: 4.4cqi; }
.app-oben { position: absolute; inset: 4cqi 4cqi auto; z-index: 3; display: flex; align-items: center; margin: 0; font-size: 5cqi; font-weight: 700; text-shadow: 0 1px 3px rgb(0 0 0 / 0.5); }
.app-oben > svg { font-size: 7cqi; }
.app-oben span { display: flex; align-items: center; gap: 1cqi; margin-inline: auto; padding-right: 7cqi; }
.app-aktionen { position: absolute; right: 2.5cqi; bottom: 36cqi; z-index: 2; display: grid; gap: 3.2cqi; margin: 0; padding: 0; list-style: none; text-align: center; }
.app-aktionen li { display: grid; justify-items: center; gap: 0.6cqi; font-size: 3.4cqi; font-weight: 700; }
.app-aktionen svg { font-size: 8.5cqi; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.5)); }
.app-aktionen b { font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); }
.app-info { position: absolute; left: 4cqi; right: 17cqi; bottom: 22cqi; z-index: 2; display: grid; gap: 2cqi; font-size: 3.8cqi; text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); }
.app-info p { margin: 0; }
.app-konto { display: flex; align-items: center; gap: 2.4cqi; }
.app-konto img { flex: none; width: 9cqi; height: 9cqi; border: 0.6cqi solid #fff; border-radius: 50%; object-fit: cover; }
.app-konto strong { font-size: 4.2cqi; }
.app-konto span { padding: 0.6cqi 2.6cqi; border: 0.4cqi solid rgb(255 255 255 / 0.8); border-radius: 2cqi; font-size: 3.6cqi; font-weight: 700; }
.app-text { line-height: 1.35; }
/* Format-Etikett (Reel, Karussell, Story) in Gold */
.app-text b { margin-right: 1cqi; padding: 0.3cqi 1.8cqi; border-radius: 999px; background: var(--ochre); color: #111113; font-size: 3.3cqi; font-weight: 800; text-shadow: none; }
/* Mittig zum Bild, nicht zur Textspalte (die endet 17cqi vor dem rechten Rand) */
.app-punkte { position: relative; display: flex; justify-content: center; margin-bottom: 2cqi; translate: 6.5cqi 0; }
/* Karussell: rote Markierung um die Wisch-Punkte, wie von Hand eingekreist */
.phone-screen .app-markierung { position: absolute; left: 50%; bottom: -7.4cqi; width: 54cqi; height: 27cqi; translate: -50% 0; overflow: visible; fill: none; stroke: #f2b84b; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.45)); }
.punkte-reihe { position: relative; display: flex; gap: 2cqi; }
.app-punkte i, .punkte-reihe b { width: 2.4cqi; height: 2.4cqi; border-radius: 50%; background: rgb(255 255 255 / 0.45); }
/* Der weiße Punkt wandert mit dem Karussell drei Bilder weit */
.punkte-reihe b { position: absolute; left: calc(var(--k) * 4.4cqi); top: 0; background: #fff; }
/* Karussell: --k läuft beim Scrollen durch den Beitrag von 0 bis 2 (Bild 1 bis 3), ohne Bewegung bleibt Bild 1.
   Jedes Bild bleibt kurz stehen, dann wischt es weiter (--x ist der Fortschritt in Schritten, 1 bis 2 = Karussell). */
.post:has(.karussell) { --x: calc(var(--p, 0.25) * 4); --k: calc(clamp(0, (var(--x) - 1.3) / 0.18, 1) + clamp(0, (var(--x) - 1.53) / 0.18, 1)); }
.karussell-spur { display: flex; width: 300%; height: 100%; translate: calc(var(--k) * -100% / 3) 0; }
.karussell-spur img { flex: none; width: calc(100% / 3); height: 100%; object-fit: cover; object-position: 50% 22%; }
.app-fortschritt { position: absolute; left: 4cqi; right: 4cqi; bottom: 18cqi; z-index: 2; height: 0.7cqi; border-radius: 1cqi; background: rgb(255 255 255 / 0.3); }
.app-fortschritt::before { content: ""; display: block; width: calc(var(--f) * 100%); height: 100%; border-radius: inherit; background: #fff; }
.app-nav { position: absolute; left: 7cqi; right: 7cqi; bottom: 3cqi; z-index: 3; display: flex; justify-content: space-around; align-items: center; height: 12cqi; margin: 0; border: 0.4cqi solid rgb(255 255 255 / 0.18); border-radius: 999px; background: rgb(17 17 19 / 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 6.4cqi; }
/* Story: keine Feed-Leisten, dafür Balken oben, Umfrage, Kommentar und Nachrichtenfeld */
.phone-screen .app-oben, .phone-screen .app-nav { transition: opacity 0.3s; }
.phone-screen:has(.post-story.is-current) :is(.app-oben, .app-nav) { opacity: 0; }
.post-story .ki-hinweis { top: 17cqi; }
.post-story .post-media::after { background: linear-gradient(rgb(0 0 0 / 0.45), transparent 22%, transparent 62%, rgb(0 0 0 / 0.65)); }
.story-balken { position: absolute; inset: 3cqi 3cqi auto; z-index: 2; display: flex; gap: 1.2cqi; margin: 0; }
.story-jetzt { --f: clamp(0, (var(--p, 1) * 4 - 2) / 0.8, 1); }
.story-balken i { flex: 1; height: 0.7cqi; border-radius: 1cqi; background: linear-gradient(90deg, #fff calc(var(--f, 0) * 100%), rgb(255 255 255 / 0.35) 0); }
.story-kopf { position: absolute; inset: 6.5cqi 3.5cqi auto; z-index: 2; display: flex; align-items: center; gap: 2cqi; margin: 0; font-size: 4cqi; text-shadow: 0 1px 2px rgb(0 0 0 / 0.5); }
.story-kopf img { width: 8.5cqi; height: 8.5cqi; border-radius: 50%; object-fit: cover; }
.story-kopf span { opacity: 0.75; }
.story-kopf svg:first-of-type { margin-left: auto; }
.story-kopf svg { font-size: 6cqi; }
.story-umfrage { position: absolute; left: 50%; top: 56%; z-index: 2; width: 62cqi; translate: -50% 0; rotate: -3deg; padding: 3cqi; border-radius: 4cqi; background: #fff; color: #111113; box-shadow: 0 2cqi 6cqi rgb(0 0 0 / 0.35); text-align: center; }
.story-umfrage p { margin: 0; }
.story-umfrage p:first-child { margin-bottom: 2.4cqi; font-size: 4.4cqi; font-weight: 800; }
.story-umfrage p:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqi; font-size: 3.6cqi; font-weight: 700; }
.story-umfrage span { padding: 1.8cqi 0; border-radius: 2.4cqi; background: #f1f1f1; }
.story-umfrage span:first-child { background: linear-gradient(90deg, #d8f5b5, #b6ec7a); }
.story-kommentar { position: absolute; left: 3.5cqi; right: 12cqi; bottom: 17cqi; z-index: 2; display: flex; align-items: center; gap: 2cqi; margin: 0; font-size: 3.6cqi; }
/* Der Kommentar kommt vom gezeichneten HendriX: ganzer Kopf statt runder Profilbild-Ausschnitt */
.story-kommentar img { flex: none; width: 11cqi; height: auto; filter: drop-shadow(0 0.6cqi 1cqi rgb(0 0 0 / 0.45)); }
.story-kommentar span { padding: 1.4cqi 3cqi; border-radius: 4cqi; background: rgb(255 255 255 / 0.92); color: #111113; line-height: 1.3; }
.story-kommentar strong { display: block; color: var(--terra); font-size: 3.2cqi; }
.story-unten { position: absolute; inset: auto 3.5cqi 4cqi; z-index: 2; display: flex; align-items: center; gap: 3.5cqi; margin: 0; font-size: 7cqi; }
.story-unten span { flex: 1; padding: 2.4cqi 4cqi; border: 0.4cqi solid rgb(255 255 255 / 0.75); border-radius: 999px; font-size: 3.6cqi; }
.feed-panel h3 { margin-top: 0.3rem; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); }
.feed-panel p { max-width: 50ch; }
.score { display: grid; gap: 0.6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.score li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3rem; align-items: center; gap: 0.7rem; font-weight: 700; font-size: var(--step--1); }
.score .bar { height: 0.9rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.score .bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--dot, var(--terra)); }
.phone .post { display: none; }
.phone .post.is-current { display: block; }
.motion .phone .post { display: block; opacity: 0; translate: 0 30%; transition: opacity 0.4s var(--smooth), translate 0.7s var(--smooth); }
.motion .phone .post.is-before { translate: 0 -30%; }
.motion .phone .post.is-current { opacity: 1; translate: 0 0; }
.motion .feed-scene { --len: 300; }
.motion .feed-stage { display: flex; align-items: center; padding-bottom: var(--nav-h); }
.motion .feed-inner { width: 100%; }

/* Storytelling und Funnel */
/* Social Media, Storytelling: Comicstreifen wie auf Medienrecht, Nummern in der Social-Media-Farbe */
.story-strip h3::before { background: var(--c-social); color: var(--ink); }
/* Social Media, Full Funnel: Stufen laufen schmaler werdend nach rechts ins Bild, das Bild zeigt die aktive Stufe */
#funnel > .wrap { container-type: inline-size; }
.funnel-buehne { display: grid; grid-template-columns: minmax(0, 1fr) min(24rem, 36%); gap: 0; align-items: center; margin-top: 1.8rem; }
.funnel-buehne .funnel { justify-items: end; margin: 0; }
.funnel-buehne .funnel li { display: block; padding: 0; width: calc(100% - var(--i) * 13%); background: none; }
/* Abgedockt enden die Stufen mit Abstand vor dem Bild, die aktive reicht bis an den Rahmen und geht in ihn über */
.funnel-buehne .funnel button { display: flex; align-items: center; width: calc(100% - clamp(1.2rem, 2.5vw, 2rem)); padding: 0.9rem clamp(1rem, 2.5vw, 1.6rem); border: 0; border-radius: 18px; background: var(--bg); color: var(--fg, var(--ink)); font: inherit; text-align: left; cursor: pointer; transition: width 0.35s var(--smooth), border-radius 0.35s var(--smooth), box-shadow 0.25s; }
.funnel-buehne .funnel button[aria-pressed="true"] { width: calc(100% + 6px); border-radius: 18px 0 0 18px; box-shadow: 0 10px 22px -14px rgb(20 20 24 / 0.5); }
.funnel-buehne .funnel button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.funnel-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.funnel-bild { position: relative; z-index: 1; aspect-ratio: 1; margin: 0; overflow: visible; }
.funnel-rahmen { position: absolute; inset: 0; overflow: hidden; border: 6px solid var(--rahmen, var(--rose)); border-radius: var(--radius); background: #f6f6f7; box-shadow: var(--shadow); transition: border-color 0.35s var(--smooth); }
.funnel-rahmen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--smooth); }
.funnel-rahmen img.ist-sichtbar { opacity: 1; }
.funnel-bild figcaption { position: absolute; left: 50%; bottom: 1rem; z-index: 1; width: calc(100% - 2.4rem); translate: -50% 0; padding: 0.6rem 1rem; border-radius: 14px; background: rgb(255 255 255 / 0.92); box-shadow: 0 6px 18px -10px rgb(20 20 24 / 0.5); text-align: center; font-size: var(--step--1); line-height: 1.35; }
.funnel-bild figcaption strong { display: block; color: var(--terra); }
.funnel-bild .ki-hinweis { top: 0.9rem; bottom: auto; left: 0.9rem; z-index: 1; }
@media (min-width: 861px) {
  /* Die Karte passt so ganz in ein 900 px hohes Fenster */
  #funnel { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
  #funnel h2 { margin-bottom: 0.3em; }
  #funnel .lead { max-width: none; white-space: nowrap; font-size: min(var(--step-1), 2.05cqi); }
  #funnel .note { max-width: none; margin-top: 1.6rem; white-space: nowrap; font-size: min(var(--step-0), 1.75cqi); }
}
@media (max-width: 860px) {
  .funnel-buehne { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .funnel-buehne .funnel { justify-items: center; }
  .funnel-buehne .funnel li { width: calc(100% - var(--i) * 9%); }
  .funnel-buehne .funnel button, .funnel-buehne .funnel button[aria-pressed="true"] { width: 100%; border-radius: 14px; }
  .funnel-bild { width: min(100%, 26rem); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .funnel-rahmen img, .funnel-buehne .funnel button { transition: none; } }
/* Social Media, Storytelling: Überschrift und Einleitung je in einer Zeile, Größe passt sich der Breite an */
#story > .wrap { container-type: inline-size; }
@media (min-width: 861px) {
  #story h2 { max-width: none; white-space: nowrap; font-size: min(var(--step-3), 5.6cqi); }
  #story .lead { max-width: none; white-space: nowrap; font-size: min(var(--step-1), 2.05cqi); }
}
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.story-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-soft); }
.story-card:nth-child(2) { background: var(--rose); }
.story-card h3 { font-size: var(--step-2); font-weight: 500; }
.story-card p:last-child { margin: 0; }
.funnel { display: grid; justify-items: center; gap: 0.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.funnel li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: center;
  width: calc(100% - var(--i) * 12%);
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-radius: 18px;
  background: var(--bg);
  color: var(--fg, var(--ink));
}
.funnel li:nth-child(1) { --i: 0; --bg: var(--rose); }
.funnel li:nth-child(2) { --i: 1; --bg: var(--ochre); }
.funnel li:nth-child(3) { --i: 2; --bg: var(--sage); }
.funnel li:nth-child(4) { --i: 3; --bg: var(--terra); --fg: #fff; }
.funnel li:nth-child(5) { --i: 4; --bg: var(--cocoa); --fg: var(--on-dark); }
.funnel h3 { margin: 0; font-size: var(--step-1); }
.funnel p { margin: 0; font-size: var(--step--1); }

/* ===== Weiter zum nächsten Bereich ===== */
.next { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.next-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 36px;
  background: var(--dot);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.5s var(--spring), box-shadow 0.3s;
}
.next-link[data-area="video"], .next-link[data-area="ki"] { color: #fff; }
.next-link:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow); }
.next-link small { display: block; margin-bottom: 0.4rem; font-weight: 700; opacity: 0.8; }
.next-link strong { font-family: var(--font-serif); font-size: var(--step-3); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.next-arrow { font-size: clamp(2.5rem, 2rem + 3vw, 5rem); transition: translate 0.5s var(--spring); }
.next-link:hover .next-arrow { translate: 10px 0; }
.next-link[data-area="info"] { --dot: var(--hsm-orange); }

/* ===== Kontakt ===== */
.site-footer { padding: clamp(3rem, 6vw, 5rem) 0 calc(var(--nav-h) + 3rem); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.footer-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { display: inline-block; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--espresso); color: var(--on-dark); font-weight: 700; text-decoration: none; transition: transform 0.4s var(--spring), background-color 0.2s; }
.pill:hover { transform: translateY(-2px) scale(1.03); background: #000; }
.footer-official { font-weight: 700; }
.footer-copy { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }

/* ===== Timeline unten ===== */
.timeline {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 30;
  translate: -50% 0;
  width: min(1000px, calc(100% - 24px));
  height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0 0.55rem 0 1.1rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(19 19 22 / 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 20px 40px -20px rgb(20 20 24 / 0.75);
  color: #fff;
}
.timecode { min-width: 7.2em; font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline-track { position: relative; height: 34px; }
.timeline-clips { display: flex; gap: 3px; height: 100%; margin: 0; padding: 0; list-style: none; }
.timeline-clips li { min-width: min-content; } /* Beschriftung nie abschneiden, lange Abschnitte geben Platz ab */
.timeline-clips a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.55rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  background: var(--dot, var(--c-title));
  opacity: 0.5;
  transition: opacity 0.25s, scale 0.4s var(--spring);
}
.timeline-clips li:first-child a { border-radius: 999px 8px 8px 999px; }
.timeline-clips li:last-child a { border-radius: 8px 999px 999px 8px; }
.timeline-clips a:hover, .timeline-clips a.is-current { opacity: 1; }
.timeline-clips a.is-current { scale: 1 1.1; }
.timeline-clips a[data-area="video"], .timeline-clips a[data-area="ki"] { color: #fff; }
.timeline-clips a[data-area="info"] { --dot: var(--c-info); }
.timeline-clips a[data-area="title"] { --dot: var(--c-title); }
.playhead {
  position: absolute;
  top: -9px; bottom: -9px; left: 0;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--hsm-orange);
  box-shadow: 0 0 10px rgb(255 200 0 / 0.85);
  transform: translateX(var(--x, 0px));
  pointer-events: none;
}
.playhead::before { content: ""; position: absolute; top: -3px; left: 50%; translate: -50% 0; border: 6px solid transparent; border-top: 8px solid var(--hsm-orange); }

/* ===== Einblenden beim Scrollen ===== */
.motion [data-reveal] {
  opacity: var(--r, 0);
  translate: 0 calc((1 - var(--r, 0)) * 44px);
  scale: calc(0.96 + var(--r, 0) * 0.04);
}
.motion h2[data-reveal] { filter: blur(calc((1 - var(--r, 0)) * 8px)); }

/* ===== Mittlere Bildschirme ===== */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 0.5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .site-header.is-dark .main-nav { border-bottom-color: rgb(255 255 255 / 0.1); background: var(--espresso); }
}

/* ===== Schmale Bildschirme ===== */
@media (max-width: 860px) {
  .loop-inner, .demo, .decide, .shop, .info-card, .footer-grid, .split, .story-grid, .page-hero-inner { grid-template-columns: 1fr; }
  .loop-ring { --R: min(33vw, 19svh); width: calc(var(--R) * 2 + 5.6rem); }
  .loop-ring > svg { inset: 2.8rem; width: calc(100% - 5.6rem); height: calc(100% - 5.6rem); }
  .loop-node { width: 5.2rem; min-height: 2.4rem; margin: -1.2rem 0 0 -2.6rem; font-size: 0.68rem; padding: 0.3rem; }
  .loop-bilder { width: calc(var(--R) * 2 - 1rem); }
  .loop-bild > b { font-size: 0.62rem; padding: 0.1rem 0.5rem; }
  .fx-sucher { --s: 0.9rem; background-size: var(--s) 2px, 2px var(--s), var(--s) 2px, 2px var(--s), var(--s) 2px, 2px var(--s), var(--s) 2px, 2px var(--s); }
  .fx-herz { font-size: 1.1rem; }
  .loop-ico { width: 1.7rem; height: 1.7rem; padding: 0.32rem; }
  .clip { flex-direction: column; gap: 0.15rem; }
  .clip-ico { position: static; width: 1rem; height: 1rem; }
  .loop-center p { display: none; }
  .loop-panel { padding: 1rem 1.2rem; }
  .loop-panel h3 { font-size: 1.4rem; }
  .loop-panel p { font-size: 0.95rem; margin-bottom: 0.6em; }
  .motion .loop-inner { gap: 1rem; }

  .clip { min-height: 3.2rem; align-items: center; justify-content: center; }
  .clip-name { display: none; }
  .clip-no { font-size: 1.35rem; opacity: 1; }
  .module-card { grid-template-columns: minmax(0, 1fr); }
  .module-go { justify-self: start; width: 11rem; }
  .kollektion-bild { aspect-ratio: 4 / 3; }
  .kollektion-bild img { object-position: 62% 50%; }
  .kollektion-bild::after { display: none; }
  .kollektion-bild .ki-hinweis { right: 0.75rem; bottom: 0.75rem; }
  .kollektion-text { position: static; padding-top: 1.5rem; padding-bottom: 4rem; }
  .kollektion-text > * { max-width: none; }
  .module-topics { columns: 1; }
  .motion .module-card { max-height: calc(100svh - var(--header-h) - var(--nav-h) - 9rem); overflow-y: auto; }

  .page-hero-inner { min-height: 0; }
  .hero-art { width: min(60%, 14rem); grid-row: 1; }
  .hero-art.ki-bild { width: 100%; max-width: none; aspect-ratio: 3 / 2; }

  .wf-board { padding: 0.9rem; }
  .wf-graph { gap: 0.5rem 0.45rem; }
  .wf-node { justify-items: center; padding: 0.35rem; border-top-width: 3px; border-radius: 10px; }
  .wf-node .wf-kind, .wf-node .wf-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wf-thumb { --wf-thumb-h: 2.6rem; }
  /* Bildreihen auf dem Handy unter den Text, damit die Karten nicht zu hoch werden */
  .wf-panel.has-bild > .wf-diagramm, .wf-panel.has-bild > .wf-geraete { grid-column: 1 / -1; grid-row: 4; width: 100%; margin-top: 0.8rem; }
  .wf-bild.wf-geraete { --h: 7rem; }
  .ergebnis-reihe { --e: 4.2rem; gap: 0.35rem; }
  .ergebnis-likes { left: 0.2rem; bottom: 0.2rem; padding: 0.1rem 0.3rem; font-size: 0.55rem; }
  .ergebnis-plattform { top: 0.2rem; right: 0.2rem; width: 1.1rem; height: 1.1rem; }
  .motion .wf-result .wf-notes { grid-template-columns: 1fr; }
  .wahl-teil .wahl-icon img, .wahl-teil[aria-pressed="true"] .wahl-icon img { height: 1.6rem; }
  .wahl-icon.mit-krone::before { top: -0.75rem; right: -0.4rem; width: 1.35rem; height: 1rem; }
  .motion .wf-ergebnis { gap: 0.3rem; padding: 0.4rem; }
  .ergebnis-titel { font-size: 1.2rem; }
  .motion .wf-nochmal { padding: 0.3rem 0.8rem; font-size: 0.8rem; }

  .limits { grid-template-columns: 1fr; }
  .hook-shots { gap: 0.35rem; }
  .hook-shots li { padding: 0.35rem; font-size: 0.68rem; }
  .hook-text { font-size: 0.55rem; }
  .path { grid-template-columns: 1fr; min-height: 0; }
  .feed-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "phone" "panels"; justify-items: center; gap: 0.75rem; padding-block: 0.5rem; }
  .feed-kopf { justify-self: stretch; }
  .feed-kopf h2 { margin: 0.4rem 0 0; font-size: clamp(1.6rem, 7vw, 2.2rem); }
  /* Handy: alles von oben an, das kleine Handy zeigt die Balken, die Karte darunter nur den Text */
  .motion .feed-stage { align-items: flex-start; }
  .feed-inner .phone { width: min(8.5rem, 38vw); }
  .feed-panel .score { display: none; }
  .phone { width: min(11rem, 44vw); border-radius: 1.8rem; padding: 0.45rem; }
  .phone-screen { border-radius: 1.4rem; }
  .feed-panel h3 { font-size: 1.4rem; }
  .feed-panel p { font-size: 0.95rem; }
  .funnel li { width: 100%; grid-template-columns: 1fr; gap: 0.2rem; }
  .metrics li { grid-template-columns: 6.5rem minmax(0, 1fr) 3rem; }

  .stickers li { display: none; }
  .stickers li:nth-child(1) { display: block; left: 3%; top: 0.5%; }
  .stickers li:nth-child(3) { display: block; left: 38%; top: 1%; }
  .stickers li:nth-child(6) { display: block; left: 72%; top: 0.5%; }
  .stickers span { width: 5.8rem; }
  .hero-stage { padding-top: 6.6rem; }
}

@media (max-width: 640px) {
  .brand-name { font-size: 0.95rem; }
  .brand-school { font-size: 0.72rem; }
  .statement { font-size: 1.7rem; }
  .hero-title { font-size: min(17vw, 13svh); }
  .hero-actions .btn { padding: 0.75rem 1.2rem; }
  .timeline { height: 46px; gap: 0.6rem; padding-left: 0.9rem; }
  .timecode { min-width: 6.6em; font-size: 0.72rem; }
  .timeline-track { height: 30px; }
  .timeline-clips a { padding: 0; font-size: 0; }
  .next-link strong { font-size: 2.2rem; }
}

@media (max-height: 720px) {
  .motion .module-topics li { padding-block: 0.1rem; }
  .motion .wf-kind { display: none; }
  .motion .wf-thumb { --wf-thumb-h: 2.4rem; }
  .motion .wf-seitlich .wf-kind { display: block; }
  .motion .wf-panel p { margin-bottom: 0.5em; }
}

/* ===== Bewegung reduzieren: JS setzt dann kein .motion, hier nur noch kleine Animationen abschalten ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ===== Nachträge: Karten, Workflow-Hinweise, Feed-Auswertung ===== */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cards li { padding: 1.4rem; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-soft); }
.cards h3 { font-size: var(--step-1); }
.cards p { margin: 0; color: var(--muted); }
.cards-more { margin-top: 1.5rem; font-weight: 700; }
.card-bilder { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.35rem; margin: -0.4rem -0.4rem 1rem; border-radius: 16px; }
.card-bilder { height: clamp(8.5rem, 13vw, 10rem); }
.card-bilder > img { border-radius: 12px; object-position: 50% 18%; }
.card-frei > img + img { background: repeating-conic-gradient(#e4e4e8 0% 25%, #fafafa 0% 50%) 50% / 16px 16px; }
.wf-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2.5rem; }
.wf-notes p { margin: 0; padding-top: 1rem; border-top: 2px solid rgb(255 255 255 / 0.4); max-width: 60ch; color: var(--on-dark); }
/* Auswertung im Handy: dunkle Karte, ohne Bewegung hochkant */
.post-summary { background: #1c1310; }
.phone .post.post-summary.is-current, .motion .phone .post.post-summary { display: grid; }
.summary-quer { position: relative; isolation: isolate; display: grid; align-content: center; gap: 3cqi; padding: 20cqi 6cqi; overflow: hidden; color: var(--on-dark); }
/* Dezenter Hintergrund: Ausschnitt aus der Story, dunkel abgedeckt */
.summary-bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.summary-quer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(17 17 19 / 0.85), rgb(17 17 19 / 0.35)); }
.summary-quer h3 { position: relative; }
/* Große Krone hinter dem Titel */
.phone-screen .summary-krone { position: absolute; left: -2%; top: 50%; z-index: -1; width: 3.4em; height: 3.4em; translate: 0 -58%; rotate: -10deg; fill: var(--ochre); stroke: none; opacity: 0.35; }
.summary-quer h3 { margin: 0; font-size: 6.5cqi; color: var(--on-dark); }
.summary-quer p { display: none; margin: 0; color: var(--on-dark-muted); }
.summary-quer .score { gap: 3cqi; margin: 0; }
.summary-quer .score li { grid-template-columns: 22cqi minmax(0, 1fr); gap: 2.4cqi; font-size: 3.8cqi; color: var(--on-dark); }
.summary-quer .score .bar { height: 3cqi; background: rgb(255 255 255 / 0.14); }
.summary-quer .score output { display: none; }
/* Mit Bewegung: Nach der Story dreht sich das Handy quer und rückt unter den Schriftzug „Auswertung“.
   Ziel und Größe (--quer-x, --quer-y, --quer-s) misst das kleine Skript in social-media.html. */
.feed-inner { position: relative; }
.motion .feed-inner .phone { transition: translate 0.9s var(--smooth), rotate 0.9s var(--smooth), scale 0.9s var(--smooth); }
.motion .feed-inner:has(.post-summary.is-current) .phone { translate: var(--quer-x, 0) var(--quer-y, 0); rotate: 90deg; scale: var(--quer-s, 1); }
.motion .feed-kopf :is(.badge, h2), .motion .feed-panels { transition: opacity 0.4s var(--smooth), translate 0.9s var(--smooth); }
.motion .feed-auswertung { transition: opacity 0.4s var(--smooth), translate 0.9s var(--smooth); }
.motion .feed-inner:has(.post-summary.is-current) :is(.feed-kopf .badge, .feed-kopf h2, .feed-panels) { opacity: 0; }
.motion .feed-inner:has(.post-summary.is-current) .feed-auswertung { opacity: 1; translate: var(--titel-x, 0) 0; }
.phone-screen:has(.post-summary.is-current) .app-oben { opacity: 0; }
/* Der Inhalt dreht sich zurück und liegt quer im Bildschirm; links (= unten im Handy) bleibt Platz für die Leiste */
.motion .summary-quer { position: absolute; left: 50%; top: 50%; width: 100cqh; height: 100cqw; translate: -50% -50%; rotate: -90deg; gap: 3.2cqw; padding: 6cqw 7cqw 6cqw 19cqw; }
.motion .summary-quer h3 { padding-left: 7cqw; font-size: 8.5cqw; }
.motion .summary-quer p { display: block; max-width: 62ch; font-size: 4.3cqw; line-height: 1.35; }
.motion .summary-quer .score { gap: 1.6cqw; }
.motion .summary-quer .score li { grid-template-columns: 30cqw minmax(0, 1fr) 19cqw; gap: 3cqw; font-size: 5.6cqw; font-weight: 800; }
.motion .summary-quer .score .bar { height: 1.8cqw; }
.motion .summary-quer .score output { display: block; font-family: var(--font-display); font-size: 6cqw; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
/* Quer im kleinen Handy ist der Fließtext zu klein: dort nur Titel und Balken, der Text steht darunter */
@media (max-width: 860px) {
  .motion .summary-quer p { display: none; }
  .motion .feed-inner:has(.post-summary.is-current) .feed-panels.step-panels { opacity: 1; translate: 0 var(--panels-y, 0); }
  .feed-panel[data-panel="3"] :is(.kicker, h3) { display: none; }
}
@media (max-width: 860px) {
  .cards, .wf-notes { grid-template-columns: 1fr; }
}
.info-card .kicker { color: var(--ink); opacity: 0.75; }

/* ===== Crew: Vorschau der Begleiter-Figuren =====
   Ein Streifen enthält n gezeichnete Phasen nebeneinander; JS schiebt die Hintergrundposition. */
.sprite { display: block; aspect-ratio: var(--w) / var(--h); background-repeat: no-repeat; background-size: calc(var(--n, 8) * 100%) 100%; background-position: 0 0; }
.crew-hero-art { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 22rem; }
.crew-hero-art img { width: auto; height: clamp(11rem, 26vw, 19rem); margin: 0 -1.6rem; object-fit: contain; filter: drop-shadow(0 18px 18px rgb(20 20 24 / 0.18)); }
.crew-hero-art img:nth-child(2) { height: clamp(12.5rem, 29vw, 21rem); z-index: 1; }
.crew-hero-art img.is-tier { height: clamp(5rem, 11vw, 7.5rem); margin: 0 -0.6rem; }
.motion .crew-hero-art img { animation: crew-atmen 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.motion .crew-hero-art img:nth-child(2n) { animation-delay: -1.1s; }
.motion .crew-hero-art img:nth-child(3n) { animation-delay: -2s; }
@keyframes crew-atmen { 50% { scale: 1 1.018; translate: 0 -2px; } }

.crew-parade-sektion { padding-block: clamp(3.5rem, 7vw, 5rem) calc(var(--nav-h) + 3rem); overflow: hidden; }
.crew-parade { position: relative; height: clamp(10rem, 18vw, 13rem); margin: 2rem 0 1rem; border-bottom: 3px solid rgb(255 255 255 / 0.12); }
.crew-parade::after { content: ""; position: absolute; inset: auto 0 -3px; height: 3px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.35) 0 18px, transparent 18px 46px); }
.crew-walker { position: absolute; left: 0; bottom: 0; height: 100%; will-change: transform; }
.crew-walker .sprite { height: 100%; width: auto; }
.crew-walker.is-tier { height: 52%; }
.crew-parade-steuerung { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.crew-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.crew-karte { display: flex; flex-direction: column; padding: 1rem 1.1rem 1.2rem; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-soft); }
.crew-buehne { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: end center; height: 13.5rem; margin: -0.2rem -0.3rem 0.9rem; border-radius: 20px; background: radial-gradient(70% 55% at 50% 100%, color-mix(in srgb, var(--dot) 38%, transparent), transparent 70%), var(--cream); overflow: hidden; }
.crew-buehne > * { grid-area: 1 / 1; height: 88%; width: auto; max-width: 96%; object-fit: contain; }
.crew-buehne .sprite { height: 88%; }
.crew-buehne [hidden] { display: none; }
.crew-karte.is-tier .crew-buehne > * { height: 55%; }
.motion .crew-figur { animation: crew-atmen 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.crew-buehne.is-lauf::after { content: ""; position: absolute; inset: auto 0 6%; height: 2px; background: repeating-linear-gradient(90deg, rgb(20 20 24 / 0.25) 0 14px, transparent 14px 34px); }
.motion .crew-buehne.is-lauf::after { animation: crew-boden 0.8s linear infinite; }
@keyframes crew-boden { to { background-position: -34px 0; } }
.crew-aktion.is-pop { animation: crew-pop 0.45s var(--spring); transform-origin: 50% 100%; }
@keyframes crew-pop { from { scale: 0.9; opacity: 0.4; } }
.crew-karte h3 { margin: 0; font-size: var(--step-1); }
.crew-rolle { margin: 0.1rem 0 0.4rem; font-size: var(--step--1); font-weight: 700; color: var(--terra); }
.crew-karte > p:not(.crew-rolle) { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.95rem; }
.crew-karte .chips { margin-top: auto; }
.crew-karte .chip { padding: 0.35rem 0.75rem; font-size: 0.8rem; }

.icon-sets { display: grid; gap: 2rem; margin-top: 2rem; }
.icon-set h3 { margin-bottom: 0.8rem; font-size: var(--step-1); }
.icon-reihe { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.icon-reihe li { aspect-ratio: 1; min-height: 0; overflow: hidden; padding: 0.45rem; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-soft); }
.icon-reihe img { display: block; width: 100%; height: 100%; object-fit: contain; transition: scale 0.3s var(--spring), rotate 0.3s var(--spring); }
.icon-reihe li:hover img { scale: 1.15; rotate: -6deg; }
.reaktionen-buehne { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.reaktionen-buehne img { position: absolute; bottom: -4rem; width: 3.2rem; height: 3.2rem; object-fit: contain; }
.crew-technik { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin-top: 2rem; }
.crew-technik p { margin: 0; padding-top: 1rem; border-top: 2px solid var(--line); }

@media (max-width: 1100px) {
  .crew-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon-reihe { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .crew-buehne { height: 10.5rem; }
  .crew-karte { padding: 0.8rem 0.8rem 1rem; }
  .crew-karte > p:not(.crew-rolle) { font-size: 0.85rem; }
  .crew-karte .chip { padding: 0.3rem 0.55rem; font-size: 0.72rem; }
  .crew-technik { grid-template-columns: 1fr; }
  .crew-hero-art { min-height: 14rem; }
  .icon-reihe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =====================================================================
   Variante 3
   Nur noch die Gestaltung „Editorial“ (html[data-ansicht="editorial"] steht fest im Markup).
   ===================================================================== */
:root { --c-recht: #e3b12f; }
[data-area="recht"] { --dot: var(--c-recht); }
:is(.loop-node, .clip, .timeline-clips a, .next-link):is([data-area="foto"], [data-area="web"]) { color: #fff; }

/* Hinweisleiste oben: fassungen.js setzt dort Bearbeitungsstand und die Fassungs-Bubbles ein */
.draft-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.3rem 1.2rem; }
.draft-note p { margin: 0; }

/* Wahl der Variante A/B im Kopf, direkt hinter dem Namen. Wo Platz ist, stehen die Namen der Varianten dabei. */
@media (min-width: 900px) and (max-width: 1360px), (min-width: 1700px) {
  .ansicht-titel, .ansicht-lang { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}


/* Kopf: der lange offizielle Name bleibt auf einer Zeile, auf dem Handy bricht er ausgewogen um.
   Mit sechs Lehrgebieten und der Wahl A/B klappt das Menü schon unter 1360 px ein, früher als in V2. */
.brand-name { font-size: 1.02rem; white-space: nowrap; }
@media (max-width: 860px) { .brand-name { font-size: 0.95rem; } }
@media (max-width: 1440px) { .main-nav a { padding-inline: 0.6rem; } }
@media (max-width: 1360px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 0.5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .site-header.is-dark .main-nav { border-bottom-color: rgb(255 255 255 / 0.1); background: var(--espresso); }
}

/* ----- 1 Start: Kursversprechen und Kontaktbogen ----- */
.hero-v3 .hero-ring, .hero-v3 .hero-wipe { display: none !important; }
.motion .hero-v3 .hero-scene { --len: 45; }
/* Beim Scrollen bleibt der Text, wie er ist (nicht kleiner, nicht feiner). Der Filmstreifen spult in Scrollrichtung durch
   (main.js), kurz darauf gleitet die nächste Karte darüber */
.motion .hero-v3 .hero-title { transform: none; letter-spacing: -0.035em; }
.motion .hero-v3 .hero-copy > * { translate: none; opacity: 1; }
.hero-v3 .hero-stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 4svh, 2.6rem); padding-bottom: calc(var(--nav-h) + 1.4rem); }
.hero-v3 .hero-title { font-size: min(7.6vw, 10.5svh); line-height: 0.98; }
.hero-v3 .hero-title em { color: var(--terra); }
.hero-v3 .hero-facts { max-width: 62ch; font-size: var(--step-0); }
.hero-v3 .hero-facts strong { color: var(--ink); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0.1rem 0 0; padding: 0; list-style: none; }
.hero-chips li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-soft); font-size: var(--step--1); }
.hero-chips b { font-family: var(--font-display); font-weight: 800; }

.kontaktbogen {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100vw;
  max-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding: 15px 0;
  overflow: hidden;
  background: #000; /* Filmstreifen schwarz */
}
/* Perforation wie bei einem Filmstreifen */
.kontaktbogen::before, .kontaktbogen::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgb(248 248 247 / 0.5) 10px 18px);
  pointer-events: none;
}
.kontaktbogen::before { top: 4px; }
.kontaktbogen::after { bottom: 4px; }
.kb-streifen { display: flex; flex: none; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.kb-bild {
  position: relative;
  display: block;
  height: var(--kb-h, calc(clamp(9.5rem, 15vw, 14rem) * 2 / 3));
  aspect-ratio: var(--r, 3 / 2);
  transition: height 0.7s var(--smooth); /* Rahmen so breit wie das Bildformat: Hoch- und Querformat gemischt */
  overflow: hidden;
  border-radius: 6px;
  background: var(--cocoa);
  color: #fff;
  text-align: left;
  text-decoration: none;
}
.kb-bild :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: scale 0.6s var(--smooth), filter 0.3s; }
.kb-bild:hover :is(img, video), .kb-bild:focus-visible :is(img, video) { scale: 1.07; filter: none; transition: scale 0.6s var(--smooth) 0.5s, filter 0.3s 0.5s; } /* erst nach kurzem Verweilen */
/* Das Lehrgebiet erscheint nur beim Drüberfahren: mittig, von unten eingeblendet, ohne Farbe; beim Wegfahren blendet es langsam aus */
.kb-name { position: absolute; left: 50%; top: 50%; padding: 0.35rem 0.6rem; border-radius: 0.8rem; background: rgb(17 17 19 / 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 0.85rem; font-weight: 800; line-height: 1.15; text-align: center; width: max-content; max-width: calc(100% - 8px); text-wrap: balance; opacity: 0; translate: -50% 40%; transition: opacity 0.9s ease, translate 0.9s var(--smooth); pointer-events: none; }
.kb-bild:hover .kb-name, .kb-bild:focus-visible .kb-name { opacity: 1; translate: -50% -50%; transition: opacity 0.35s ease 0.5s, translate 0.45s var(--smooth) 0.5s; }
.kontaktbogen > .ki-hinweis { left: auto; right: 0.7rem; top: 1.25rem; bottom: auto; }
/* Läuft per Skript (main.js): ohne Maus langsam nach links, mit der Maus schneller in die Richtung, in der sie steht */
.kontaktbogen.laeuft .kb-streifen { will-change: translate; }

/* ----- Start: HendriX und iV werden in die Seite geladen und stehen auf dem Filmstreifen -----
   Sobald der Filmstreifen zu sehen ist (main.js setzt .los), schwingt ein Kleiderbügel mit Hoodie bzw. T-Shirt herein,
   das Kleidungsstück wird zum Oberkörper, ein schwarzes Drahtgitter (v3_gitter.py) wächst heraus und bekommt Stück für Stück Textur.
   Danach stehen sie gechillt da, HendriX lehnt mit dem Rücken an der Wand:
   Die Steh-Pose besteht aus Ebenen (bildauswahl/figuren/crew/v3_rig.py), die Arme pendeln leicht, der Kopf neigt sich zur Maus (main.js). */
.kb-buehne { position: relative; z-index: 2; }
/* --rand: Figur mittig in den freien Streifen neben dem 44rem breiten Text (0.352 = halbe Zellbreite in Figurhöhen) */
.hero-duo { --h: clamp(14rem, 50svh, 30rem); --rand: calc((100vw - 44rem) / 4 - var(--h) * 0.352 - 3rem); position: absolute; left: 0; right: 0; bottom: 100%; height: 0; pointer-events: none; }
.duo-figur { position: absolute; bottom: -0.4rem; width: calc(var(--h) * 380 / 540); height: var(--h); }
.duo-hendrix { left: var(--rand); --kopf-o: 52.6% 30.3%; --arm-l-o: 40.4% 36.3%; --arm-r-o: 64.5% 36.3%; }
.duo-iv { right: var(--rand); --kopf-o: 50.3% 34.5%; --arm-l-o: 32.8% 41.9%; --arm-r-o: 60.9% 47%; }
.motion .duo-iv.ist-da .duo-rig > .rig-arm-l { animation: none; } /* ihre Hand liegt in der Hüfte, nur der andere Arm pendelt */
.duo-figur > *, .duo-rig > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.duo-rig { --gegen: 0deg; }
.duo-hendrix :is(.duo-rig, .duo-echt) { filter: drop-shadow(0.7rem -0.3rem 0.8rem rgb(30 30 40 / 0.26)); } /* Schatten an der Wand, an die er sich lehnt */
.duo-rig > .rig-arm-l { transform-origin: var(--arm-l-o); rotate: var(--gegen); }
.duo-rig > .rig-arm-r { transform-origin: var(--arm-r-o); rotate: var(--gegen); }
.duo-rig > .rig-kopf { transform-origin: var(--kopf-o); rotate: calc(var(--gegen) * 0.6 + var(--neigung, 0deg)); transition: rotate 0.7s cubic-bezier(0.3, 0.7, 0.3, 1); }
.motion .ist-da .duo-rig > .rig-arm-l { animation: arm-pendel 4.6s ease-in-out infinite; }
.motion .ist-da .duo-rig > .rig-arm-r { animation: arm-pendel 5.3s ease-in-out -2.1s infinite reverse; }
.motion .ist-da .duo-rig > .rig-kopf { animation: kopf-wippen 3.8s ease-in-out infinite; }
.motion .duo-iv .duo-rig > * { animation-delay: -1.3s; }
.motion .kb-buehne:not(.los) .duo-figur { visibility: hidden; } /* warten, bis der Filmstreifen zu sehen ist */
/* Ablauf je Figur ab --start (main.js setzt .los erst, wenn der orange Balken über dem Titel durch ist):
   Bügel schwingt herein (1,3 s). Das Kleidungsstück ist exakt aus der Figur geschnitten (v3_buegel.py): darunter liegt schon
   der Oberkörper, der Bügel verschwimmt nur noch. Dann wächst das Gitter von der Brust nach oben und unten,
   Hände und Hose laden zusammen nach unten (die Ärmel hängen schon am Kleidungsstück), zuletzt Kopf und Hals nach oben. Dann setzt main.js .ist-da: erst ab da Bewegung und Hover.
   --rumpf: Saum von Hoodie bzw. Shirt (wie RUMPF in v3_buegel.py). */
.duo-hendrix { --brust: 40.7%; --rumpf: 58%; --haken: 24%; --start: 0s; }
.duo-iv { --brust: 41.5%; --rumpf: 50%; --haken: 25.6%; --start: 0.6s; }
.duo-gitter, .duo-buegel, .duo-rig > :is(.rig-frei, .rig-hals) { opacity: 0; }
.motion .los .duo-figur:not(.ist-da) .rig-hals { opacity: 1; } /* der Hals lädt mit dem Kopf */
/* Das fertige Körperbild ist beim Laden schon (fast unsichtbar) gezeichnet, und das Ladebild geht erst kurz danach weg:
   so entsteht beim Umschalten kein Loch, durch das der helle Hintergrund aufblitzt */
.motion .duo-figur:not(.ist-da) .rig-koerper { opacity: 0.01; }
.duo-rig > :is(.rig-frei, .rig-hals) { transition: opacity 0s 0.25s; }
.motion .los .duo-buegel { transform-origin: 50% var(--haken); animation: buegel-rein 1.3s cubic-bezier(0.3, 0.6, 0.4, 1) var(--start) both, aufloesen 0.5s ease-in calc(var(--start) + 1.3s) both; }
.motion .los .duo-figur:not(.ist-da) .rig-frei {
  mask-image: linear-gradient(#000 var(--beine), transparent calc(var(--beine) + 3%));
  animation: da 0s calc(var(--start) + 1.3s) forwards, beine-laden 0.5s ease-in calc(var(--start) + 2.4s) both;
}
.motion .los .duo-gitter {
  mask-image: linear-gradient(transparent calc(var(--brust) - var(--g)), #000 calc(var(--brust) - var(--g) + 2%), #000 calc(var(--brust) + var(--g) - 2%), transparent calc(var(--brust) + var(--g)));
  animation: gitter-wachsen 0.6s ease-out calc(var(--start) + 1.8s) both, weg 0.3s ease-in calc(var(--start) + 3.3s) forwards;
}
.motion .los .duo-figur:not(.ist-da) :is(.rig-arm-l, .rig-arm-r) { mask-image: linear-gradient(#000 var(--arm), transparent calc(var(--arm) + 3%)); animation: arme-laden 0.5s ease-in calc(var(--start) + 2.4s) both; }
.motion .los :is(.rig-kopf, .rig-hals) { mask-image: linear-gradient(to top, #000 var(--kw), transparent calc(var(--kw) + 3%)); animation: kopf-laden 0.4s ease-out calc(var(--start) + 2.9s) both; }
.motion .ist-da .rig-kopf { mask-image: none; }
.motion .ist-da .duo-gitter { animation: none; mask-image: none; }
@property --g { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --beine { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --arm { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --kw { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@keyframes buegel-rein {
  0% { opacity: 1; translate: 0 -40svh; rotate: -28deg; }
  45% { opacity: 1; translate: 0 0; rotate: 14deg; }
  62% { opacity: 1; rotate: -8deg; }
  76% { opacity: 1; rotate: 4deg; }
  88% { opacity: 1; rotate: -1.5deg; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; }
}
@keyframes aufloesen { from { opacity: 1; filter: blur(0); } to { opacity: 0; filter: blur(12px); } }
@keyframes da { from, to { opacity: 1; } }
@keyframes weg { from { opacity: 1; } to { opacity: 0; } }
@keyframes gitter-wachsen { 0% { opacity: 0; --g: 0%; } 1% { opacity: 1; } 100% { opacity: 1; --g: 62%; } }
@keyframes beine-laden { from { --beine: var(--rumpf); } to { --beine: 103%; } }
@keyframes arme-laden { from { --arm: 30%; } to { --arm: 74%; } }
@keyframes kopf-laden { from { --kw: 60%; } to { --kw: 78%; } }
/* Mit der Maus nahe einer Figur: in einem Kreis um den Zeiger (knapp halb so groß wie die Person) steht darunter die echte Person.
   Zwischen beiden liegt ein schmaler Streifen Hintergrundfarbe (85–91 % des Radius), nach außen läuft er weich aus. Nie überlagern sie sich.
   Ein Klick friert den Kreis ein und lässt ihn wachsen (.waechst), bis die ganze Person getauscht ist (.getauscht):
   dann steht die echte Person da und der Kreis zeigt umgekehrt die Zeichnung. Ein weiterer Klick tauscht zurück.
   main.js setzt .ist-echt, .waechst, .getauscht, die Zeigerposition --zx/--zy und --neigung an der Figur, so neigen beide Köpfe gleich */
@property --loch { syntax: "<length>"; inherits: true; initial-value: 0px; }
.duo-figur { --loch: calc(var(--h) * 0.21); }
.duo-figur.waechst { --loch: calc(var(--h) * 1.25); transition: --loch 0.75s cubic-bezier(0.5, 0, 0.75, 0); }
.duo-figur:not(.ist-echt, .waechst, .getauscht) .duo-echt { visibility: hidden; }
.duo-echt { mask-image: radial-gradient(circle var(--loch) at var(--zx, 50%) var(--zy, 50%), #000 76%, transparent 85%); }
.motion .ist-da:is(.ist-echt, .waechst):not(.getauscht) .duo-rig { mask-image: radial-gradient(circle var(--loch) at var(--zx, 50%) var(--zy, 50%), transparent 91%, #000 112%); }
.getauscht .duo-echt { mask-image: none; }
.getauscht:is(.ist-echt, .waechst) .duo-echt { mask-image: radial-gradient(circle var(--loch) at var(--zx, 50%) var(--zy, 50%), transparent 91%, #000 112%); }
.motion .getauscht:not(.ist-echt, .waechst) .duo-rig { visibility: hidden; }
.motion .getauscht:is(.ist-echt, .waechst) .duo-rig { mask-image: radial-gradient(circle var(--loch) at var(--zx, 50%) var(--zy, 50%), #000 76%, transparent 85%); }
/* Spur (main.js, .mit-spur): wo die Maus eben war, bleibt die echte Person noch kurz zu sehen und blendet langsam aus.
   Das Skript setzt dafür die Masken direkt an .duo-echt und .duo-rig: viele Kreise statt einem */
.duo-figur.mit-spur .duo-echt, .motion .getauscht.mit-spur .duo-rig { visibility: visible; }
.duo-figur.mit-spur .duo-rig { -webkit-mask-composite: source-in; mask-composite: intersect; }
.getauscht.mit-spur .duo-echt { -webkit-mask-composite: source-in; mask-composite: intersect; }
.duo-echt > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.duo-echt > .echt-kopf { transform-origin: var(--echt-o); rotate: var(--neigung, 0deg); transition: rotate 0.7s cubic-bezier(0.3, 0.7, 0.3, 1); }
/* Schmaler als 1200 px fehlt neben dem Text der Platz: die beiden stehen dann vorn auf dem Filmstreifen */
@media (max-width: 1199px) {
  .hero-duo { bottom: 0; z-index: 3; }
  .hero-duo { --h: clamp(7.5rem, 17vw, 11rem); }
  .duo-figur { bottom: 0.15rem; }
  .duo-hendrix { left: 0.4rem; }
  .duo-iv { right: 0.4rem; }
}
@keyframes arm-pendel { 0%, 100% { rotate: calc(var(--gegen) - 1.3deg); } 50% { rotate: calc(var(--gegen) + 1.3deg); } }
@keyframes kopf-wippen { 0%, 100% { translate: 0 0; } 50% { translate: 0 0.35%; } }

/* ----- HendriX und iV tauchen beim Scrollen wieder auf: beim Praxisbeispiel mit Kamera und Handy,
   beim Studium zeigen sie auf die Eckdaten. Rechts neben der Überschrift, schmaler darunter. ----- */
.section-head:has(> .szene-duo) { position: relative; }
.section-head:has(> .szene-duo) > :not(.szene-duo) { max-width: min(100%, calc(100% - 25rem)); } /* Platz für die beiden rechts */
.szene-duo { position: absolute; right: var(--gutter); bottom: 0; display: flex; align-items: flex-end; gap: 0.3rem; pointer-events: none; }
.szene-duo img { width: auto; height: clamp(10rem, 21vw, 17rem); }
.szene-duo .gespiegelt { transform: scaleX(-1); } /* nicht über scale, das nutzt das Atmen */
.motion .szene-duo img { animation: crew-atmen 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.motion .szene-duo img + img { animation-delay: -1.4s; }
@media (max-width: 1100px) {
  .szene-duo { position: static; margin-top: 1.2rem; }
  .section-head:has(> .szene-duo) > :not(.szene-duo) { max-width: none; }
  .szene-duo img { height: 8.5rem; }
}

/* Prüfliste für Medienrecht: Projektkarte und Einblendung im Kopfbild */
.recht-karte { display: grid; align-content: center; gap: 0.3rem; width: 100%; height: 100%; padding: 0.7rem 0.85rem; background: linear-gradient(160deg, #eef3f1, #d9e6e4); color: var(--ink); }
.recht-karte i { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-style: normal; font-weight: 700; line-height: 1.2; }
.recht-karte i::before { content: "✓"; display: grid; flex: none; place-items: center; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--c-recht); color: var(--ink); font-size: 0.65rem; }

/* ----- 2 Was du danach kannst ----- */
.koennen { padding-bottom: clamp(3rem, 6vw, 5rem); }
.koennen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.koennen-grid li { padding: 1.4rem 1.4rem 1.5rem; border-top: 5px solid var(--dot); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-soft); }
.k-ico { width: 2.6rem; height: 2.6rem; color: color-mix(in srgb, var(--dot) 88%, var(--ink)); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } /* Symbol selbst in der Farbe des Lehrgebiets, ohne Kreis */
.k-gebiet { margin: 0.8rem 0 0.35rem; font-family: var(--font-display); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.k-satz { margin: 0; line-height: 1.5; }
/* Großes Symbol des Lehrgebiets leise im Hintergrund jeder Kachel, mit der Maus kommt es etwas hervor */
.koennen-grid li { position: relative; overflow: hidden; isolation: isolate; }
.k-bild { position: absolute; right: -0.6rem; bottom: -0.8rem; z-index: -1; width: min(42%, 8.5rem); height: auto; opacity: 0.15; rotate: -8deg; pointer-events: none; transition: opacity 0.35s, scale 0.45s var(--spring), rotate 0.45s var(--spring); }
.koennen-grid li:hover .k-bild { opacity: 0.3; scale: 1.08; rotate: -2deg; }
/* „Für wen?“: Personen-Karten mit den Crew-Figuren als Laufband wie die Themen auf den Unterseiten (topics-band) */
.ziel-karten { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.ziel-karte { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 0.7rem; align-content: start; width: 18rem; height: 5.6rem; padding: 0.6rem 0.9rem 0 0.5rem; overflow: hidden; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-soft); white-space: normal; }
.ziel-karte img { grid-row: 1 / 3; width: 100%; height: auto; } /* nur der Oberkörper, der Rest wird von der Karte abgeschnitten */
.ziel-karte b { font-size: 0.92rem; line-height: 1.2; }
.ziel-karte span { padding-top: 0.2rem; color: var(--muted); font-size: 0.82rem; line-height: 1.3; }
.motion .ziel-band { width: auto; min-width: 0; margin-inline: 0; padding-block: 0.4rem; }
.motion .ziel-band .ziel-karten { flex-wrap: nowrap; padding-right: 0.6rem; }
.motion .ziel-band .ziel-karte { white-space: normal; }
.motion .ziel-band .topics-spur { animation-duration: 45s; }
.zielgruppe { margin-top: 2rem; padding: 1.3rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius); }
.zielgruppe h3 { margin: 0 0 0.7rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; }
.chips-liste { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
/* Am Desktop passt der ganze Bereich auf eine Bildschirmhöhe: Symbol und Titel in einer Zeile, Zielgruppe als Leiste */
@media (min-width: 1100px) {
  .koennen { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--header-h)); padding-bottom: calc(var(--nav-h) + 0.5rem); }
  /* Titel in einer Zeile, darunter der Satz in einer Zeile */
  .koennen .section-head { width: 100%; padding-top: clamp(1.2rem, 4svh, 3rem); padding-bottom: clamp(0.8rem, 2.5svh, 1.5rem); }
  .koennen .section-head h2 { max-width: none; margin: 0; font-size: clamp(2.2rem, 6.5svh, 3.8rem); white-space: nowrap; }
  .koennen .section-head .lead { max-width: none; margin: 0.4rem 0 0; font-size: var(--step-0); }
  .koennen-grid { gap: clamp(0.6rem, 1.6svh, 1rem); }
  .koennen-grid li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; column-gap: 0.7rem; padding: clamp(0.8rem, 2svh, 1.2rem) 1.2rem; }
  .k-ico { width: 2.4rem; height: 2.4rem; }
  .k-gebiet { margin: 0; }
  .k-satz { grid-column: 1 / -1; margin-top: 0.55rem; font-size: clamp(0.88rem, 2.1svh, 1rem); line-height: 1.45; }
  .zielgruppe { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: clamp(0.7rem, 2svh, 1.2rem); padding: 0.7rem 1.2rem; }
  .zielgruppe h3 { margin: 0; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); white-space: nowrap; }
  .zielgruppe .chips-liste { margin: 0; gap: 0.3rem; }
  .zielgruppe .ziel-band { flex: 1 1 100%; }
  .zielgruppe .chips-liste li { padding: 0.2rem 0.6rem; font-size: 0.85rem; }
}
/* Niedrige Laptop-Bildschirme: noch etwas dichter, damit Zielgruppe und Karten zusammen sichtbar bleiben */
@media (min-width: 1100px) and (max-height: 820px) {
  .koennen-grid li { padding-block: 0.7rem; }
  .k-satz { margin-top: 0.4rem; font-size: 0.86rem; line-height: 1.4; }
  .zielgruppe { padding-block: 0.5rem; }
  .zielgruppe .chips-liste li { padding: 0.12rem 0.5rem; font-size: 0.78rem; }
}
.chips-liste li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-soft); font-size: var(--step--1); font-weight: 700; }

/* ----- 3 Praxisbeispiel: das Produktionsrad zeigt in der Mitte das Arbeitsergebnis ----- */

.loop-artefakte {
  position: relative;
  width: calc(var(--R) * 1.12);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: var(--cocoa);
  box-shadow: 0 0 0 3px rgb(244 244 245 / 0.14), 0 30px 60px -24px rgb(0 0 0 / 0.8);
  text-align: left;
}
.art { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.6s var(--smooth); }
.art.is-current { z-index: 1; opacity: 1; }
.art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.motion .art > img { scale: 1.06; transition: scale 1.6s var(--smooth); }
.motion .art.is-current > img { scale: 1; }
.art > i, .art > b, .art > span { position: absolute; font-style: normal; pointer-events: none; }
.art > b { left: 50%; translate: -50% 0; padding: 0.2rem 0.75rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 18px -8px rgb(0 0 0 / 0.6); }
/* 3 Website: Produktseite mit Messwert */
/* 4 Social Media: Beitrag mit Zahlen */
/* 5 Reaktionen: Balken, der Bomber ist hervorgehoben */
/* 6 KI und CG: der digitale Zwilling */
.art-chip { left: 50%; bottom: 0.7rem; translate: -50% 0; padding: 0.22rem 0.75rem; border-radius: 999px; background: var(--plum); color: #fff; font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.loop-artefakte > .ki-hinweis { left: 0.6rem; top: 0.6rem; bottom: auto; z-index: 3; font-size: 0.75rem; }

/* Ohne Szene (Variante B, weniger Bewegung): das Rad läuft neben der Liste der Schritte mit */
html:not(.motion) .loop-inner { align-items: start; }
html:not(.motion) .loop-ring { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Rechte Spalte: Karten, darin Zurück und Weiter */
.loop-seite { display: grid; gap: 0.9rem; }
.loop-steuerung { display: none; }

/* ----- Rad: Szene ohne Rahmen im Kreis, Name darüber, Symbole grau bis erreicht, Karte zum Ring gewölbt ----- */
.loop-artefakte { width: calc(var(--R) * 1.6); margin: calc(var(--R) * -0.32) auto calc(var(--R) * -0.18); background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.loop-artefakte > .ki-hinweis { left: 50%; top: auto; bottom: 7%; translate: -50% 0; }

.loop-node { width: 2.9rem; height: 2.9rem; min-height: 0; margin: -1.45rem 0 0 -1.45rem; padding: 0; border-radius: 50%; background: var(--espresso); color: rgb(244 244 245 / 0.38); box-shadow: 0 0 0 2px rgb(244 244 245 / 0.2); opacity: 1; transition: color 0.4s, box-shadow 0.4s, background-color 0.4s, scale 0.5s var(--spring); }
.loop-ico { position: static; translate: none; width: 100%; height: 100%; padding: 0.62rem; border-radius: 0; background: none; box-shadow: none; color: inherit; }
.loop-node.is-done { opacity: 1; color: var(--dot); box-shadow: 0 0 0 2px var(--dot); }
/* Die Knoten bleiben auf der Linie und färben sich nur ein (kein scale: das würde sie vom Ring wegschieben) */
.loop-node.is-current { opacity: 1; background: var(--dot); color: var(--espresso); box-shadow: 0 0 0 3px var(--dot); }
.loop-node.is-current:is([data-area="video"], [data-area="ki"], [data-area="foto"], [data-area="web"]) { color: #fff; }
.loop-node:hover, .loop-node:focus-visible { color: var(--dot); }

/* Karte: größer, rückt an den Ring heran, die linke Kante folgt dem Kreis (Maske aus dem Skript) */
.motion .loop-seite { margin-left: calc(-1 * clamp(2rem, 5vw, 4rem) - 4.5rem); }
.loop-panel { display: flex; flex-direction: column; }
.motion .loop-panel { min-height: 23rem; padding: clamp(1.5rem, 3vw, 2.3rem) clamp(1.5rem, 3vw, 2.3rem) 1rem 5.6rem; border: 0; border-top: 5px solid var(--dot);
  background: radial-gradient(circle at var(--mx, -999px) var(--my, 50%), transparent var(--rr, 0px), rgb(255 255 255 / 0.18) var(--rr, 0px), rgb(255 255 255 / 0.18) calc(var(--rr, 0px) + 1.5px), transparent calc(var(--rr, 0px) + 2px)), rgb(255 255 255 / 0.05);
  -webkit-mask: radial-gradient(circle at var(--mx, -999px) var(--my, 50%), transparent var(--rr, 0px), #000 calc(var(--rr, 0px) + 1px));
  mask: radial-gradient(circle at var(--mx, -999px) var(--my, 50%), transparent var(--rr, 0px), #000 calc(var(--rr, 0px) + 1px)); }
.motion .loop-steuerung { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.loop-pfeil { padding: 0.3rem 0; border: 0; background: none; color: var(--on-dark-muted); font: inherit; font-size: var(--step--1); font-weight: 700; cursor: pointer; opacity: 0.75; transition: opacity 0.2s, color 0.2s; }
.loop-pfeil:hover, .loop-pfeil:focus-visible { color: var(--on-dark); opacity: 1; }
/* Praxisbeispiel am großen Bildschirm (main.js setzt .rad-knoepfe): keine Scroll-Strecke, die Schritte wechseln mit
   Pfeilen über und unter der Karte. Jeder Wechsel spielt die Animation des Schritts in Ruhe ab. */
.loop-skip { display: none; }
.rad-knoepfe .loop-skip { display: grid; place-items: center; width: 100%; height: 3.2rem; margin: 0; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  opacity: 0.18; transition: opacity 1.4s ease; }
/* Nah dran: deckend weiß, der Winkel schwillt leicht an und wird dicker; beim Weggehen schwillt er langsam wieder ab */
.rad-knoepfe .loop-skip svg { width: 9rem; height: 2.6rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: scale 1.2s ease, stroke-width 1.2s ease; }
.rad-knoepfe .loop-skip:is(.nah, :focus-visible) { opacity: 1; transition: opacity 0.25s ease; }
.rad-knoepfe .loop-skip:is(.nah, :focus-visible) svg { scale: 1.08; stroke-width: 3.4; transition: scale 0.35s ease, stroke-width 0.35s ease; }
.rad-knoepfe .loop-skip:disabled { opacity: 0.06; cursor: default; }
.rad-knoepfe .loop-skip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 12px; }
.rad-knoepfe .loop-seite { display: grid; gap: 0.3rem; }
.rad-knoepfe .loop-steuerung { display: none; }
.motion .rad-knoepfe.kreislauf-scene { height: auto; }
.rad-knoepfe .loop-fill { stroke-dashoffset: calc(100 - var(--ring, 0) * 100); }
/* Rückwärts (main.js: .rad-zurueck): der Balken verliert zuerst seine Farbe, fährt neutral zurück, und erst am Ziel
   färbt er sich in der Farbe des Ziels */
.rad-knoepfe.rad-zurueck .loop-fill { stroke: rgb(244 244 245 / 0.45); transition: stroke 0.3s ease; }
/* Am Ende (KI und CG) wird der Pfeil nach unten zum weißen Wiederholen-Kreis; ein Klick blendet alles aus und beginnt bei Fotografie */
.loop-skip .skip-nochmal { display: none; }
.rad-knoepfe .loop-skip.ist-nochmal .skip-pfeil { display: none; }
.rad-knoepfe .loop-skip.ist-nochmal .skip-nochmal { display: block; width: 2.6rem; height: 2.6rem; padding: 0.45rem; border: 2px solid currentColor; border-radius: 50%; stroke-width: 2.2; }
.rad-knoepfe .loop-skip.ist-nochmal { opacity: 0.85; }
.rad-knoepfe .loop-inner { transition: opacity 0.5s ease, filter 0.5s ease; }
.rad-knoepfe.rad-neustart .loop-inner { opacity: 0; filter: blur(8px); }
.motion .rad-knoepfe .kreislauf-stage { position: relative; top: 0; }

/* Karten fliegen immer nach oben: die alte nach oben weg, die neue kommt von unten */
.motion .loop-panel, .motion .loop-panel.is-before { translate: 0 110px; transition: opacity 0s, translate 0s, visibility 0s; }
/* Die alte Karte geht genau umgekehrt: sie fährt nach oben, wird schneller, verschwimmt und wird durchsichtig */
.motion .loop-panel.is-weg:not(.is-current) { visibility: visible; opacity: 0; translate: 0 -110px; filter: blur(12px); transition: opacity 0.8s ease, translate 0.85s cubic-bezier(0.7, 0, 0.84, 0), filter 0.8s ease, visibility 0s linear 0.85s; }
/* Die neue Karte bremst weich vor ihrem Platz ab (kein Überschwingen) und wird dabei aus der Unschärfe scharf */
.motion .loop-panel { filter: blur(12px); }
.motion .loop-panel.is-current { translate: 0 0; filter: blur(0); transition: opacity 0.9s ease 0.1s, translate 0.95s cubic-bezier(0.16, 1, 0.3, 1), filter 1.1s ease 0.1s, visibility 0s; }
/* Rückwärts genau umgekehrt: die neue Karte kommt von oben, die alte geht nach unten */
.motion .loop-panels.rueckwaerts .loop-panel:not(.is-current) { translate: 0 -110px; }
.motion .loop-panels.rueckwaerts .loop-panel.is-weg:not(.is-current) { translate: 0 110px; }

@media (max-width: 860px) {
  .loop-node { width: 2.3rem; height: 2.3rem; margin: -1.15rem 0 0 -1.15rem; padding: 0; }
  .loop-ico { width: 100%; height: 100%; padding: 0.48rem; }
  .loop-artefakte { width: calc(var(--R) * 1.6); }
  .motion .loop-seite { margin-left: 0; margin-top: -2.2rem; }
  .motion .loop-panel { min-height: 0; padding: 2.6rem 1.2rem 0.6rem; }
}


/* ----- 4 Lehrgebiete: sechs Clips in zwei Semestern ----- */
.plan-lane-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.plan-ruler { display: grid; grid-template-columns: 1fr 1fr; }
.plan-ruler span + span { padding-left: 0.6rem; border-left: 2px solid rgb(255 255 255 / 0.2); }
.clip-neues-semester { margin-left: 6px; }
.module-meta { margin: 0 0 0.35rem; font-family: var(--font-display); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.module-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); hyphens: auto; overflow-wrap: break-word; }
.modules-inner { grid-template-columns: minmax(0, 1fr); }
.module-hinweis { max-width: 54ch; color: var(--muted); }

/* ----- 5 Warum eine Weiterbildung ----- */
.warum { padding-bottom: clamp(3rem, 6vw, 5rem); }
.vergleich { width: 100%; margin-top: 0.5rem; border-collapse: collapse; }
.vergleich th, .vergleich td { padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vergleich thead th { border-bottom: 2px solid var(--ink); font-family: var(--font-display); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.vergleich thead th:last-child { color: var(--terra); }
.vergleich tbody th { width: 20%; font-family: var(--font-serif); font-size: var(--step-1); font-weight: 500; }
.vergleich td:nth-child(2) { width: 32%; color: var(--muted); }
.vergleich td:last-child { background: rgb(255 200 0 / 0.07); font-weight: 700; }
.warum .note { margin-top: 1rem; max-width: none; }
.warum .section-head { padding-top: clamp(2.5rem, 6vh, 4.5rem); padding-bottom: 0.6rem; }
.warum .section-head h2 { white-space: nowrap; margin-bottom: 0.4rem; }
.warum .section-head .lead { max-width: none; margin: 0; }
.vergleich th, .vergleich td { padding: 0.6rem 1rem; }
.vergleich tbody th { font-size: var(--step-0); }
.vergleich td:nth-child(2) { width: 28%; }
@media (max-width: 860px) { .warum .section-head h2 { white-space: normal; } }

/* ----- 6 Praxisprojekte ----- */
.projekte { padding-bottom: clamp(3rem, 6vw, 5rem); }
.projekte-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
/* Praxis zum Anfassen: Bild im Rahmen der Bereichsfarbe, unten ein dicker Balken mit dem Lehrgebiet, darunter knapp der Titel */
.projekt { display: flex; flex-direction: column; gap: 0.15rem; height: 100%; color: inherit; text-decoration: none; transition: translate 0.3s var(--spring); }
.projekt:hover { translate: 0 -4px; }
.projekt-bild { position: relative; display: block; aspect-ratio: 2.4 / 1; margin-bottom: 0.45rem; overflow: hidden; border: 5px solid var(--dot); border-radius: 18px; background: var(--dot); box-shadow: var(--shadow-soft); }
.projekt:hover .projekt-bild { box-shadow: var(--shadow); }
.projekt-bild img { height: 100%; }
/* Lehrgebiet als Reiter oben links, aus dem Rahmen gewachsen: bündig mit dem Rahmen, wo der Text steht etwas breiter,
   nach rechts und nach unten läuft er mit einer weichen Hohlkehle (::before, ::after) wieder in die Rahmenbreite aus */
.projekt-gebiet { --kehle: 14px; position: absolute; left: 0; top: 0; z-index: 1; height: 1.75rem; display: flex; align-items: center; padding: 0 0.85rem 0.15rem 0.6rem; border-radius: 0 0 var(--kehle) 0; white-space: nowrap; background: var(--dot); color: #fff; font-family: var(--font-display); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.03em; }
.projekt-gebiet::before, .projekt-gebiet::after { content: ""; position: absolute; width: var(--kehle); height: var(--kehle); background: radial-gradient(circle at 100% 100%, transparent calc(var(--kehle) - 0.5px), var(--dot) var(--kehle)); pointer-events: none; }
.projekt-gebiet::before { left: 100%; top: 0; }
.projekt-gebiet::after { left: 0; top: 100%; }
.projekt:is([data-area="recht"], [data-area="social"]) .projekt-gebiet { color: var(--ink); }
.projekt b { padding: 0 0.2rem; font-family: var(--font-serif); font-size: var(--step-1); font-weight: 500; line-height: 1.2; }
.projekt > span:last-child { padding: 0 0.2rem; color: var(--muted); font-size: var(--step--1); }
/* Kopf kompakt, damit alle neun auf eine Bildschirmhöhe passen */
.projekte .section-head { padding-top: clamp(1rem, 3vh, 2.2rem); padding-bottom: 0.8rem; }
.projekte-titel { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.4rem; }
.projekte-titel .kicker { margin: 0; }
.projekte .section-head h2 { margin-bottom: 0.3rem; font-size: clamp(2.2rem, 1rem + 2.6vw, 3.4rem); }
.projekte .section-head .lead { max-width: none; margin: 0; }
.projekte-grid { row-gap: 0.9rem; }
/* KI-Daten als Zähler mit Icons */
.projekt-daten { display: flex; align-items: center; justify-content: center; gap: 8%; padding: 1.4rem 0 0; background: radial-gradient(circle at 50% 40%, #fff, #f1f1f1); }
.pd-zahl { display: grid; justify-items: center; gap: 0.2rem; color: var(--ink); }
.projekt .pd-zahl b { padding: 0; font-family: var(--font-display); font-size: var(--step-0); font-weight: 900; }
.pd-zahl img { width: clamp(2.4rem, 4vw, 3.4rem); height: auto; }
.motion .pd-zahl img { animation: pd-hopp 2.4s ease-in-out infinite; }
.motion .pd-zahl:nth-child(2) img { animation-delay: 0.4s; } .motion .pd-zahl:nth-child(3) img { animation-delay: 0.8s; }
@keyframes pd-hopp { 0%, 60%, 100% { translate: 0 0; } 20% { translate: 0 -5px; } }
.projekte { padding-bottom: clamp(2rem, 4vw, 3rem); }
/* Breit: der Bereich füllt das Fenster vom Kopf bis über die Zeitleiste, die Bilder wachsen in die freie Höhe */
@media (min-width: 861px) and (min-height: 640px) {
  .projekte { display: flex; flex-direction: column; box-sizing: border-box; height: calc(100svh - var(--header-h)); min-height: 40rem; padding-bottom: calc(var(--nav-h) + 1.4rem); }
  .projekte > .wrap { box-sizing: border-box; width: 100%; }
  .projekte > .wrap:not(.section-head) { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .projekte-grid { flex: 1 1 0; min-height: 0; grid-template-rows: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .projekte-grid > li { min-height: 0; display: flex; }
  .projekt { flex: 1; min-height: 0; }
  .projekt-bild { flex: 1 1 0; min-height: 4rem; aspect-ratio: auto; }
  .projekt-bild > img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* ----- 7 Mila: Fallstudie mit Streckenplan ----- */
.mila-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.mila-route { margin: 0; padding: 1rem; border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow-soft); }
.mila-route svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Milas Karte: echte Küsten und Grenzen (Natural Earth), topografisch angedeutet:
   Ringe im Meer entlang der Küste, Höhenstufen im Land, Reiseländer heller */
.mila-route .mila-karte-svg { overflow: hidden; border-radius: 14px; }
.mila-karte-svg .meer { fill: #dfeceb; }
.mila-karte-svg .kueste, .mila-karte-svg .hoehe, .mila-karte-svg .grenzen { fill: none; stroke-linejoin: round; }
.mila-karte-svg .k1 { stroke: #e8f1ef; stroke-width: 26; }
.mila-karte-svg .k2 { stroke: #d2e3e2; stroke-width: 18; }
.mila-karte-svg .k3 { stroke: #e6efed; stroke-width: 11; }
.mila-karte-svg .k4 { stroke: #c4d9d8; stroke-width: 5; }
.mila-karte-svg .land-rest { fill: #e7dfcf; }
.mila-karte-svg .land-reise { fill: #f1f1f1; }
.mila-karte-svg .hoehe { fill: none; stroke-linejoin: round; }
.mila-karte-svg .h1 { stroke: rgb(170 140 95 / 0.18); stroke-width: 70; }
.mila-karte-svg .h2 { stroke: rgb(170 140 95 / 0.12); stroke-width: 46; }
.mila-karte-svg .h3 { stroke: rgb(255 255 255 / 0.35); stroke-width: 28; }
.mila-karte-svg .h4 { stroke: rgb(170 140 95 / 0.18); stroke-width: 16; }
.mila-karte-svg .h5 { stroke: rgb(170 140 95 / 0.35); stroke-width: 1.2; stroke-dasharray: 2 3; }
.mila-karte-svg .grenzen { fill: none; stroke: rgb(93 93 102 / 0.55); stroke-width: 0.8; stroke-dasharray: 3 2; }
.mila-karte-svg .route-linie { fill: none; stroke: var(--terra); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.mila-karte-svg .anreise { fill: none; stroke: var(--terra); stroke-width: 2; stroke-dasharray: 5 5; }
.mila-karte-svg .halt-punkt { fill: #fff; stroke: var(--terra); stroke-width: 2; }
.mila-karte-svg .route-start { fill: var(--ink); }
.mila-karte-svg .route-ziel { fill: var(--hsm-orange); stroke: #fff; stroke-width: 2; }
.mila-karte-svg text { font-family: var(--font-body); font-size: 23px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #f1f1f1; stroke-width: 5px; stroke-linejoin: round; }
.mila-karte-svg .meer-name { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 24px; fill: #6d8f90; stroke: none; letter-spacing: 0.08em; }
.route-linie { fill: none; stroke: var(--terra); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--r, 1) * 100); }
.route-halte circle { fill: var(--panel); stroke: var(--terra); stroke-width: 2; }
.route-start { fill: var(--ink); }
.route-ziel { fill: var(--hsm-orange); }
.mila-route text { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: var(--ink); }
.mila-route figcaption { margin-top: 0.5rem; font-size: var(--step--1); color: var(--muted); text-align: center; }
.mila-schichten { display: grid; gap: 0.8rem; margin: 0 0 1.6rem; padding: 0; list-style: none; counter-reset: schicht; }
.mila-schichten li { position: relative; display: grid; gap: 0.15rem; padding: 0.9rem 1rem 0.9rem 3.3rem; border-radius: 18px; background: var(--cream); counter-increment: schicht; }
.mila-schichten li::before { content: counter(schicht); position: absolute; left: 0.9rem; top: 0.9rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-recht); color: var(--ink); font-family: var(--font-display); font-weight: 900; }
.mila-schichten li:not(:last-child)::after { content: "↓"; position: absolute; left: 1.45rem; bottom: -0.95rem; z-index: 1; color: var(--muted); font-weight: 800; }
.mila-schichten b { font-family: var(--font-serif); font-size: var(--step-1); font-weight: 500; }
.mila-text h3 { font-size: var(--step-1); }

/* ----- 8 Studium: Eckdaten ----- */
.studium { padding-bottom: clamp(3rem, 6vw, 5rem); }
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0.5rem 0 0; }
.fakten > div { padding: 1.1rem 1.25rem; border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-soft); }
.fakten dt { font-family: var(--font-display); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terra); }
.fakten dd { margin: 0.35rem 0 0; }
.fakten-quelle { margin: 0.9rem 0 0; font-size: var(--step--1); color: var(--muted); }
.studium-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 1.2rem 2rem; margin-top: 1.4rem; align-items: start; }
.zugang { font-size: var(--step--1); }
.zugang p { margin: 0 0 0.4rem; }
.zugang li { margin-bottom: 0.35rem; }
.dokumente a { padding: 0.6rem 0.9rem; font-size: var(--step--1); white-space: nowrap; }
.studium .section-head { padding-top: clamp(3rem, 15vh - 4rem, 7.5rem); padding-bottom: 0.2rem; }
@media (min-width: 861px) { .studium { box-sizing: border-box; min-height: calc(100svh - var(--header-h)); padding-bottom: calc(var(--nav-h) + 0.6rem); } .studium .studium-raster { margin-top: 1rem; } .studium .fakten-quelle { margin-top: 0.5rem; } }
.studium .lead a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.studium .section-head .kicker { margin-bottom: 0.3rem; }
.studium .section-head h2 { margin-bottom: 0.3rem; max-width: none; white-space: nowrap; font-size: clamp(2.2rem, 1rem + 2.8vw, 3.4rem); }
.studium .section-head .lead { margin: 0; }
.studium .szene-duo img { height: clamp(7rem, 11vw, 9.5rem); }
@media (max-width: 860px) { .studium .section-head h2 { white-space: normal; } }
.zugang ol { padding-left: 1.1rem; }
.zugang li { margin-bottom: 0.2rem; line-height: 1.35; }
.studium-raster h3 { font-size: var(--step-1); }
.zugang ol { margin: 0; padding-left: 1.3rem; }
.zugang li { margin-bottom: 0.5rem; max-width: 62ch; }
.dokumente ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.dokumente a { display: block; padding: 0.75rem 1rem; border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-soft); color: var(--ink); font-weight: 700; text-decoration: none; }
.dokumente a:hover { background: #fff; }

/* ----- 9 Beratung: drei Schritte ----- */
.info-card:has(.info-figur) .schritte { max-width: 44ch; }
.schritte { display: grid; gap: 0.85rem; margin: 0 0 1.6rem; padding: 0; list-style: none; counter-reset: schritt; }
.schritte li { position: relative; max-width: 54ch; padding-left: 2.7rem; counter-increment: schritt; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: -0.05rem; display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--espresso); color: var(--on-dark); font-family: var(--font-display); font-weight: 900; }
.schritte a { color: var(--ink); font-weight: 700; }

/* ----- Mittlere und schmale Bildschirme ----- */
@media (max-width: 1100px) {
  .koennen-grid, .projekte-grid, .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mila-raster, .studium-raster { grid-template-columns: 1fr; }
  .loop-artefakte { width: calc(var(--R) * 1.2); }
  .art > b { font-size: 0.62rem; padding: 0.1rem 0.5rem; }
  .art-chip { font-size: 0.58rem; }
  .plan-lane-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .clip-neues-semester { margin-left: 3px; }
  .beispiel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .koennen-grid, .projekte-grid, .fakten { grid-template-columns: 1fr; }
  .hero-v3 .hero-title { font-size: min(11.5vw, 9svh); }
  .hero-chips li { padding: 0.25rem 0.65rem; }
  .kb-bild { height: var(--kb-h, 5.7rem); } /* groß (Antippen) setzt main.js --kb-h */
  .site-header { gap: 0.5rem; }
  .menu-toggle { padding: 0.4rem 0.8rem; }
  .brand-name { font-size: 0.82rem; white-space: normal; text-wrap: balance; }
  .brand-zfw { display: none; }
  .vergleich, .vergleich tbody, .vergleich tr, .vergleich th, .vergleich td { display: block; width: auto; }
  .vergleich thead { display: none; }
  .vergleich tr { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .vergleich th, .vergleich td { padding: 0.15rem 0; border: 0; }
  .vergleich td:last-child { margin-top: 0.3rem; padding: 0.4rem 0.6rem; border-radius: 10px; }
  .vergleich td:nth-child(2)::before { content: "Tutorials: "; font-weight: 700; }
  .vergleich td:last-child::before { content: "Weiterbildung: "; color: var(--terra); }
  .mila-route text { font-size: 18px; }
  /* Der Start ist hier höher als der Bildschirm: nicht anheften, sonst schneidet die Bühne oben und unten ab */
  .motion .hero-v3 .hero-scene { height: auto; }
  .motion .hero-v3 .hero-stage { position: relative; top: 0; height: auto; padding-top: 2.2rem; overflow: clip visible; }
  .motion .hero-v3 .hero-title, .motion .hero-v3 .hero-copy > :not(.hero-title) { transform: none; translate: none; opacity: 1; }
  /* HendriX und iV stehen hier wieder oben auf dem Filmstreifen, mit Platz darüber */
  .kb-buehne { margin-top: 4.5rem; }
  .hero-duo { bottom: 100%; }
  .hero-duo { --h: 8.5rem; }
  .duo-figur { bottom: -0.4rem; }
}
/* Schmale Handys: Name, Wahl A/B und Menü müssen nebeneinander passen */
@media (max-width: 400px) {
  .brand-school { font-size: 0.66rem; }
  .brand-name { font-size: 0.76rem; }
  .menu-toggle { padding: 0.35rem 0.65rem; }
  .info-person .pill { white-space: normal; overflow-wrap: anywhere; }
}

/* ----- Rad als Geschichte (Schritte 1 und 2): HendriX und iV spielen die Produktion vor -----
   Jede Ebene ist ein volles 4:5-Bild mit Transparenz (bildauswahl/figuren/rad/rad_ebenen.py), alle liegen deckungsgleich.
   Ohne Bewegung zeigt jede Szene ihren Schlussstand. Storyboard: planung/RAD_STORYBOARD.md */
.art-szene { background: none; } /* kein heller Schein dahinter: die Bilder stehen für sich */
.art-szene::before { content: none; }
.art-szene .sz { position: absolute; inset: 0; }
/* Die Szenen gehen nahtlos ineinander über (Ende der einen = Anfang der nächsten): kein Überblenden, kein Heranzoomen beim Wechsel */
.motion .art-szene { transition: none; }
.motion .art-szene > img { scale: 1; transition: none; }
.art-szene .sz > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
/* Fotografie: iV posiert, HendriX fotografiert, der Blitz macht „Bing“. Danach als Daumenkino: Kamera senken und ganz in die
   Bauchtasche stecken, ein kleines Stativ mit Kamera halb und ganz herausziehen, umdrehen und hinstellen. Er holt die Klappe raus
   und hält sie, während Kamera und grünes Tuch an ihrem Platz groß werden (die Kamera steht vor ihm und darf über den Ring ragen).
   Zum Schluss hebt er die Klappe: Klick, weiter mit Video. Ohne Bewegung bleibt es beim Fotografieren. Storyboard: planung/RAD_STORYBOARD.md */
.art-foto :is(.f-gs, .f-senkt, .f-tasche, .f-stativhalb, .f-stativ, .f-stellt, .f-kamera, .f-klapperaus, .f-klappe) { opacity: 0; }
.motion .loop-center { z-index: 3; }
.sz-blitz { left: 43%; top: 44%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, rgb(255 250 225 / 0.75) 35%, transparent 70%); opacity: 0; }
/* Die Szenen laufen mit dem Balken: angehaltene Animation, --t (0 bis 1) wählt die Stelle */
.motion .art-foto.is-current .sz, .motion .art-foto.is-current .sz-blitz, .motion .art-video.is-current .sz { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-foto.is-current .sz-hx { animation-name: f-hx; }
.motion .art-foto.is-current .sz-iv { animation-name: f-iv; }
.motion .art-foto.is-current .sz-blitz { animation-name: f-blitz; }
.motion .art-foto.is-current .f-gs { animation-name: f-gs; transform-origin: 65% 76%; }
.motion .art-foto.is-current .f-senkt { animation-name: f-senkt; }
.motion .art-foto.is-current .f-tasche { animation-name: f-tasche; }
.motion .art-foto.is-current .f-stativhalb { animation-name: f-stativhalb; }
.motion .art-foto.is-current .f-stativ { animation-name: f-stativ; }
.motion .art-foto.is-current .f-stellt { animation-name: f-stellt; }
.motion .art-foto.is-current .f-kamera { animation-name: f-kamera; transform-origin: 20.6% 86%; }
.motion .art-foto.is-current .f-klapperaus { animation-name: f-klapperaus; }
.motion .art-foto.is-current .f-klappe { animation-name: f-klappe; }
@keyframes f-hx { 0% { opacity: 0; translate: 0 6%; } 10%, 23% { opacity: 1; translate: 0 0; } 24%, 100% { opacity: 0; translate: 0 0; } }
/* iV rückt beim Aufbau ein Stück nach rechts, dort steht sie im Video (video-iv-pose) */
@keyframes f-iv { 0%, 6% { opacity: 0; translate: 0 6%; } 16%, 62% { opacity: 1; translate: 0 0; } 76%, 100% { opacity: 1; translate: 1.9% 0; } }
@keyframes f-blitz { 0%, 15% { opacity: 0; scale: 0.6; } 19% { opacity: 1; scale: 1.25; } 24%, 100% { opacity: 0; scale: 1; } }
@keyframes f-senkt { 0%, 23% { opacity: 0; } 24%, 31% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes f-tasche { 0%, 31% { opacity: 0; } 32%, 40% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes f-stativhalb { 0%, 40% { opacity: 0; } 41%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes f-stativ { 0%, 48% { opacity: 0; } 49%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes f-stellt { 0%, 56% { opacity: 0; } 57%, 65% { opacity: 1; } 66%, 100% { opacity: 0; } }
/* die kleine Kamera aus dem Hinstellen (foto-hendrix-stellt) wird an derselben Stelle zur großen */
@keyframes f-kamera { 0%, 65% { opacity: 0; translate: -1.9% -7.6%; scale: 0.22; } 66%, 69% { opacity: 1; translate: -1.9% -7.6%; scale: 0.22; } 82%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes f-gs { 0%, 72% { opacity: 0; scale: 1 0; } 84%, 100% { opacity: 1; scale: 1 1; } }
@keyframes f-klapperaus { 0%, 65% { opacity: 0; } 66%, 89% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes f-klappe { 0%, 89% { opacity: 0; } 90%, 100% { opacity: 1; } }
/* Video: beim Ankommen schlägt HendriX die Klappe zu (klappe → klappe-zu), drückt sie an die Brust, steckt sie ganz weg, zieht das Mikro halb heraus und
   hält es iV hin, sie dreht sich zu ihm und erzählt. Ruhezustand (ohne Bewegung): Set mit Green Screen, Kamera und beiden im Interview. */
.art-video :is(.v-iv-pose, .v-hx-klappe, .v-hx-klappezu, .v-hx-klappeweg, .v-hx-tasche, .v-hx-mikro, .v-display, .phase-b) { opacity: 0; }
.v-rec { position: absolute; left: 7.2%; top: 31.6%; width: 2.2%; aspect-ratio: 1; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }
.motion .art-video.is-current .v-gs { animation-name: v-gs; }
.motion .art-video.is-current .v-kamera { animation-name: v-kamera; }
.motion .art-video.is-current .v-hx-klappe { animation-name: v-klappe; }
/* Klappe zu, Tasche, Mikrofon und das Gespräch davor fallen weg: nach dem Set kommt gleich der Kamerabildschirm */
.motion .art-video.is-current :is(.v-hx-klappezu, .v-hx-klappeweg, .v-hx-tasche, .v-hx-mikro, .v-hx-talk, .v-iv-talk) { animation: none; opacity: 0; }
.motion .art-video.is-current .v-iv-pose { animation-name: v-iv-pose; }

.motion .art-video.is-current .v-display { animation-name: v-display; transform-origin: 50.06% 50.3%; }
.motion .art-video.is-current .v-kamera { transform-origin: 24.75% 66%; }
.motion .art-video.is-current::before { animation: v-boden 1s linear both paused; animation-delay: calc(var(--t, 0) * -1s); }




.motion .art-video.is-current .phase-b { animation: v-wechsel 2.4s steps(1) infinite; }
/* Beim Interview immer nur eine Pose sichtbar: die andere Phase blendet im selben Takt aus (sonst stehen beide doppelt da) */
.motion .art-video.is-current :is(.v-hx-talk, .v-iv-talk) .phase-a { animation: v-wechsel-a 2.4s steps(1) infinite; }
.motion .art-video.is-current .v-rec { animation: fx-rec 1.2s steps(1) infinite; }
/* Start = Ende der Fotografie: Set steht, HendriX schlägt die Klappe. Dann Klappe weg, Mikro raus, Interview, die beiden blenden aus,
   die Kamera rückt heran und auf ihrem Display wächst das Bild, zuletzt verschwindet der Kamerakörper: nur das Bild bleibt. */
@keyframes v-gs { 0%, 14% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes v-kamera { 0%, 16% { opacity: 1; scale: 1; } 30%, 50% { opacity: 1; scale: 1.6; } 58%, 100% { opacity: 0; scale: 1.6; } }
@keyframes v-klappe { 0%, 14% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes v-klappezu { 0%, 3% { opacity: 0; } 4%, 8% { opacity: 1; } 9%, 100% { opacity: 0; } }
@keyframes v-klappeweg { 0%, 8% { opacity: 0; } 9%, 16% { opacity: 1; } 17%, 100% { opacity: 0; } }
@keyframes v-tasche { 0%, 16% { opacity: 0; } 17%, 23% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes v-mikro { 0%, 23% { opacity: 0; } 24%, 30% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes v-hx-talk { 0%, 30% { opacity: 0; } 31%, 54% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes v-iv-pose { 0%, 14% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes v-iv-talk { 0%, 32% { opacity: 0; } 33%, 54% { opacity: 1; } 64%, 100% { opacity: 0; } }
/* Der Monitor sitzt zuerst genau im kleinen Bildschirm der Kamera (227–273 × 644–683 px in video-kamera.webp, Kamera dann 1,6-fach
   um 24,75 % 66 % vergrößert), löst sich heraus und wächst auf volle Größe */
@keyframes v-display { 0%, 30% { opacity: 0; translate: -14.9% 16.3%; scale: 0.096; } 31%, 33% { opacity: 1; translate: -14.9% 16.3%; scale: 0.096; } 52%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes v-boden { 0%, 14% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes v-wechsel { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes v-wechsel-a { 0% { opacity: 1; } 50% { opacity: 0; } }
/* Website: Zoom auf das Kameradisplay, der Rahmen wird zum Browser, darin das Foto aus Schritt 1 und das Video aus Schritt 2.
   Der Browser liegt genau auf dem Display (Rahmen 18–783 × 278–728 px im 800 × 1000-Bild), Maße darin in Prozent des Browsers. */
.art-web::before { opacity: 0; }
.w-zoom { transform-origin: 50% 50.3%; }
.w-display { opacity: 0; }
.w-browser { position: absolute; left: 2.25%; top: 27.8%; width: 95.625%; height: 45%; overflow: hidden; container-type: inline-size; border-radius: 2.2cqw; background: #f8f8f7; box-shadow: 0 0 0 3px rgb(244 244 245 / 0.14), 0 30px 60px -24px rgb(0 0 0 / 0.8); color: var(--ink); }
.w-browser > * { position: absolute; }
.w-browser i { display: block; font-style: normal; }
.w-leiste { left: 0; right: 0; top: 0; height: 9%; display: flex; align-items: center; gap: 1.1cqw; padding: 0 2.2cqw; background: #f1f1f1; }
.w-leiste > i { width: 1.4cqw; aspect-ratio: 1; border-radius: 50%; background: #c7ae94; }
.w-url { flex: 0 1 46%; margin-left: 2cqw; padding: 0.3cqw 1.6cqw; border-radius: 999px; background: #fff; color: var(--muted); font-size: 2.1cqw; line-height: 1.4; }
.w-kopf { left: 4%; right: 4%; top: 12.5%; height: 7%; display: flex; align-items: center; gap: 2cqw; }
.w-kopf b { margin-right: auto; font-family: var(--font-display); font-size: 2.9cqw; font-weight: 800; }
.w-kopf i, .w-text i { width: 6cqw; height: 0.9cqw; border-radius: 1cqw; background: #d8c6b2; }
.w-foto { left: 4%; top: 23%; width: 31.5%; height: 72%; border-radius: 1.2cqw; object-fit: cover; }
.w-video { left: 38%; top: 23%; width: 58%; height: 55.5%; overflow: hidden; border-radius: 1.2cqw; background: #1e1729; }
.w-video img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.w-video .phase-b { opacity: 0; }
.w-play { left: 50%; top: 50%; width: 7cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: rgb(17 17 19 / 0.5); }
.w-play::after { content: ""; position: absolute; inset: 30% 25% 30% 38%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.w-zeit { left: 0; bottom: 0; width: 100%; height: 0.9cqw; background: var(--c-web); transform-origin: 0 50%; scale: 0.4 1; }
.w-play, .w-zeit { position: absolute; }
.w-text { left: 38%; top: 81.5%; width: 58%; display: grid; gap: 1.1cqw; }
.w-text b { font-size: 2.6cqw; font-weight: 800; }
.w-text i { width: 80%; }
.w-text i + i { width: 55%; }
/* Ablauf mit dem Balken: das Display aus dem Video rückt kurz heran, dann wird sein Rahmen zum Browser */
.motion .art-web.is-current :is(.w-zoom, .w-display, .w-browser, .w-leiste, .w-kopf, .w-foto, .w-video, .w-play, .w-zeit, .w-text) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-web.is-current .w-zoom { animation-name: w-zoom; }
.motion .art-web.is-current .w-display { animation-name: w-display; }
.motion .art-web.is-current .w-browser { animation-name: w-browser; }
.motion .art-web.is-current .w-leiste { animation-name: w-leiste; }
.motion .art-web.is-current .w-kopf { animation-name: w-kopf; }
.motion .art-web.is-current .w-foto { animation-name: w-foto; }
.motion .art-web.is-current .w-video { animation-name: w-video; }
.motion .art-web.is-current .w-play { animation-name: w-play; }
.motion .art-web.is-current .w-zeit { animation-name: w-zeit; }
.motion .art-web.is-current .w-text { animation-name: w-text; }
.motion .art-web.is-current .w-video .phase-b { animation: v-wechsel 2.4s steps(1) infinite; }
@keyframes w-zoom { 0% { scale: 1; } 22% { scale: 1.08; } 40%, 100% { scale: 1; } }
@keyframes w-display { 0%, 20% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes w-browser { 0%, 20% { opacity: 0; background-color: #1e1729; } 21%, 22% { opacity: 1; background-color: #1e1729; } 34%, 100% { opacity: 1; background-color: #f8f8f7; } }
@keyframes w-leiste { 0%, 22% { opacity: 0; translate: 0 -100%; } 32%, 100% { opacity: 1; translate: 0 0; } }
@keyframes w-kopf { 0%, 32% { opacity: 0; translate: 0 -40%; } 42%, 100% { opacity: 1; translate: 0 0; } }
@keyframes w-foto { 0%, 34% { opacity: 0; translate: -40% 0; rotate: -4deg; } 46%, 100% { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes w-video { 0%, 22% { left: 2.9%; top: 4.9%; width: 94.1%; height: 90%; border-radius: 0; } 36%, 100% { left: 38%; top: 23%; width: 58%; height: 55.5%; border-radius: 1.2cqw; } }
@keyframes w-play { 0%, 34% { opacity: 0; scale: 0.5; } 40%, 100% { opacity: 1; scale: 1; } }
@keyframes w-zeit { 0%, 40% { scale: 0 1; } 100% { scale: 1 1; } }
@keyframes w-text { 0%, 40% { opacity: 0; } 50%, 100% { opacity: 1; } }
/* Unten rechts beim Interview erscheint der Teilen-Pfeil, der Mauszeiger kommt und klickt darauf (weiter in Schritt 4) */
.w-teilen { left: 87.5%; top: 79%; width: 8cqw; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--c-web); box-shadow: 0 0.6cqw 1.6cqw rgb(63 116 173 / 0.45); }
.w-teilen svg { width: 56%; height: 56%; fill: #fff; translate: 6% 0; }
.w-zeiger { left: 92%; top: 86%; width: 5.5cqw; aspect-ratio: 1; opacity: 0; filter: drop-shadow(0 0.4cqw 0.6cqw rgb(0 0 0 / 0.35)); }
.w-zeiger svg { width: 100%; height: 100%; fill: #fff; stroke: #1e1729; stroke-width: 1.4; stroke-linejoin: round; }
.motion .art-web.is-current :is(.w-teilen, .w-zeiger) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-web.is-current .w-teilen { animation-name: w-teilen; }
.motion .art-web.is-current .w-zeiger { animation-name: w-zeiger; }
@keyframes w-teilen { 0%, 52% { opacity: 0; scale: 0.3; } 57% { opacity: 1; scale: 1.15; } 60%, 82% { opacity: 1; scale: 1; } 85% { scale: 0.86; } 89%, 100% { opacity: 1; scale: 1; } }
@keyframes w-zeiger { 0%, 60% { opacity: 0; left: 70%; top: 112%; } 64% { opacity: 1; } 80% { left: 92%; top: 86%; scale: 1; } 85% { scale: 0.85; } 89%, 100% { opacity: 1; left: 92%; top: 86%; scale: 1; } }

/* Social Media: die Website schiebt sich nach links in eine Leere (.s-leere schneidet sie ab), der Teilen-Pfeil fährt mit.
   Ist nur noch ein Drittel zu sehen, löst er sich nach rechts, tippt Instagram an (weißer Rand), dann TikTok, und verschwindet.
   Beim Weiterscrollen öffnen sich beide Symbole zu Handys mit demselben Post (Interview vom Campus). Ohne Bewegung: die zwei Handys.
   Maße in Prozent der Szene (800 × 1000), Inhalte der Handys in cqw, damit alles mitwächst. */
.art-social { container-type: inline-size; }
.art-social::before { opacity: 0; }
.art-social > * { position: absolute; }
.s-leere { left: 2.25%; top: 27.8%; width: 95.625%; height: 45%; overflow: hidden; opacity: 0; }
.s-leere > .s-browser { left: 0; top: 0; width: 100%; height: 100%; }
.s-pfeil { z-index: 2; width: 7.6%; aspect-ratio: 1; display: grid; place-items: center; opacity: 0; }
.art-social .s-pfeil svg { width: 100%; height: 100%; fill: var(--hsm-orange); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; filter: drop-shadow(0 0.6cqw 1cqw rgb(0 0 0 / 0.35)); }
.art-social > svg.s-spur { inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.s-spur-fenster { fill: none; stroke: #fff; stroke-width: 30; stroke-dasharray: 0 2; }
.s-spur-linie { fill: none; stroke: var(--hsm-orange); stroke-width: 4; stroke-dasharray: 3 11; stroke-linecap: round; }
.s-app { top: 44%; width: 20%; opacity: 0; }
.s-ig { left: 26%; }
.s-tt { left: 54%; }
.s-ico { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 24%; box-shadow: 0 1cqw 2.4cqw rgb(0 0 0 / 0.45); }
.s-ico svg { width: 62%; height: 62%; }
.s-ig .s-ico { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 92%); }
.s-ig svg { fill: none; stroke: #fff; stroke-width: 2; }
.s-ig .s-punkt { fill: #fff; stroke: none; }
.s-tt .s-ico { background: #111; }
.s-tt svg { fill: #fff; filter: drop-shadow(-0.35cqw -0.25cqw 0 #25f4ee) drop-shadow(0.35cqw 0.25cqw 0 #fe2c55); }
.s-handy { top: 21%; width: 40%; height: 62%; overflow: hidden; container-type: inline-size; border-radius: 5.5cqw; box-shadow: 0 0 0 1.4cqw #1b1320, 0 3cqw 6cqw -2cqw rgb(0 0 0 / 0.75); }
.s-handy { background: #000; color: #fff; }
.s-handy-ig { left: 6.5%; }
.s-handy-tt { left: 53.5%; }
.s-post, .s-post > * { position: absolute; }
.s-post { inset: 0; }
.s-reel { inset: 0; overflow: hidden; }
.s-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-reel-kopf { left: 0; right: 0; top: 8cqw; text-align: center; font-size: 4.6cqw; font-weight: 800; text-shadow: 0 0.5cqw 1.5cqw rgb(0 0 0 / 0.6); }
.s-reel-leiste { right: 3cqw; bottom: 28cqw; display: grid; justify-items: center; gap: 4cqw; text-shadow: 0 0.5cqw 1.5cqw rgb(0 0 0 / 0.6); }
.s-reel-leiste b { font-size: 9cqw; line-height: 1; }
.s-reel-text { left: 5cqw; right: 20cqw; bottom: 8cqw; display: grid; gap: 1cqw; font-size: 4.4cqw; text-shadow: 0 0.5cqw 1.5cqw rgb(0 0 0 / 0.7); }
.motion .art-social.is-current :is(.s-leere, .s-browser, .s-browser .w-teilen, .s-browser .w-teilen svg, .s-pfeil, .s-spur-fenster, .s-app, .s-ico, .s-handy, .s-post) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-social.is-current .s-leere { animation-name: s-leere; }
.motion .art-social.is-current .s-browser { animation-name: s-wegschieben; }
.motion .art-social.is-current .s-browser .w-teilen { animation-name: s-knopf; }
.motion .art-social.is-current .s-browser .w-teilen svg { animation-name: s-knopf-ico; }
.motion .art-social.is-current .s-spur-fenster { animation-name: s-spur; }
.motion .art-social.is-current .s-pfeil { animation-name: s-pfeil; }
.motion .art-social.is-current .s-app { animation-name: s-app; }
.motion .art-social.is-current .s-ig .s-ico { animation-name: s-tipp-ig; }
.motion .art-social.is-current .s-tt .s-ico { animation-name: s-tipp-tt; }
.motion .art-social.is-current .s-handy-ig { animation-name: s-handy-ig; }
.motion .art-social.is-current .s-handy-tt { animation-name: s-handy-tt; }
.motion .art-social.is-current .s-post { animation-name: s-post; }
.motion .art-social.is-current .w-video .phase-b { animation: v-wechsel 2.4s steps(1) infinite; }
@keyframes s-leere { 0%, 30% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes s-wegschieben { 0% { translate: 0 0; } 30% { translate: -100% 0; } 100% { translate: -100% 0; } }
/* der Knopf im Browser verschwindet, wenn noch ein Drittel der Seite zu sehen ist (bei 20 %), dort übernimmt .s-pfeil */
@keyframes s-knopf { 0%, 20% { opacity: 1; scale: 1; } 24%, 100% { opacity: 0; scale: 0.4; } }
@keyframes s-knopf-ico { 0%, 19.9% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes s-pfeil {
  0%, 19% { opacity: 0; left: 21.9%; top: 63.4%; scale: 1; rotate: 0deg; }
  20% { opacity: 1; left: 21.9%; top: 63.4%; scale: 1; rotate: -40deg; }
  23% { left: 24.5%; top: 59%; scale: 1.2; rotate: -62deg; }
  31% { rotate: -58deg; }
  32% { left: 32.2%; top: 48.96%; scale: 1; rotate: -20deg; }
  34% { scale: 0.82; }
  36% { left: 32.2%; top: 48.96%; scale: 1; rotate: 0deg; }
  44% { left: 60.2%; top: 48.96%; rotate: 0deg; }
  46% { scale: 0.82; }
  48% { opacity: 1; left: 60.2%; top: 48.96%; scale: 1; }
  52%, 100% { opacity: 0; left: 64%; top: 46%; scale: 0.6; rotate: -20deg; }
}
/* Strichlinie hinter dem Flieger: das Fenster der Maske wächst mit dem Flug und wird von hinten wieder aufgelöst */
@keyframes s-spur {
  0%, 20% { stroke-dasharray: 0 2; stroke-dashoffset: 0; }
  23% { stroke-dasharray: 0.123 2; stroke-dashoffset: 0; }
  30% { stroke-dasharray: 0.358 2; stroke-dashoffset: 0; }
  32% { stroke-dasharray: 0.384 2; stroke-dashoffset: -0.041; }
  36% { stroke-dasharray: 0.302 2; stroke-dashoffset: -0.123; }
  44% { stroke-dasharray: 0.575 2; stroke-dashoffset: -0.425; }
  52%, 100% { stroke-dasharray: 0 2; stroke-dashoffset: -1; }
}
@keyframes s-app { 0%, 22% { opacity: 0; scale: 0.3; } 28% { opacity: 1; scale: 1.1; } 31%, 55% { opacity: 1; scale: 1; } 60%, 100% { opacity: 0; scale: 1; } }
@keyframes s-tipp-ig { 0%, 33% { box-shadow: 0 1cqw 2.4cqw rgb(0 0 0 / 0.45); scale: 1; } 34% { scale: 0.9; } 35%, 100% { box-shadow: 0 0 0 0.9cqw #fff, 0 1cqw 2.4cqw rgb(0 0 0 / 0.45); scale: 1; } }
@keyframes s-tipp-tt { 0%, 45% { box-shadow: 0 1cqw 2.4cqw rgb(0 0 0 / 0.45); scale: 1; } 46% { scale: 0.9; } 47%, 100% { box-shadow: 0 0 0 0.9cqw #fff, 0 1cqw 2.4cqw rgb(0 0 0 / 0.45); scale: 1; } }
@keyframes s-handy-ig { 0%, 54% { opacity: 0; left: 26%; top: 44%; width: 20%; height: 16%; } 57% { opacity: 1; } 78%, 100% { opacity: 1; left: 6.5%; top: 21%; width: 40%; height: 62%; } }
@keyframes s-handy-tt { 0%, 54% { opacity: 0; left: 54%; top: 44%; width: 20%; height: 16%; } 57% { opacity: 1; } 78%, 100% { opacity: 1; left: 53.5%; top: 21%; width: 40%; height: 62%; } }
@keyframes s-post { 0%, 70% { opacity: 0; } 82%, 100% { opacity: 1; } }

/* ----- Demos zum Anfassen: Licht und Grading folgen der Maus, Looks als Karteikarten, Spill per Klick ----- */
#licht-demo { grid-template-columns: minmax(0, 1fr); }
.light-view { aspect-ratio: 3 / 2; cursor: crosshair; }
.demo-view > .light-compass { width: clamp(5.5rem, 11vw, 8rem); }
.light-view .compass-label { top: calc(0.9rem + clamp(5.5rem, 11vw, 8rem)); width: clamp(5.5rem, 11vw, 8rem); font-size: 0.7rem; }
/* Fotografie: kleine Draufsicht mit HendriX als Profilbild und dem Titel unten im Kasten */
.compass-person { fill: #111113; }
.compass-person-grund { fill: var(--sage); }
.compass-titel { fill: rgb(244 244 245 / 0.9); font-family: var(--font-body); font-size: 8.5px; font-weight: 700; }
/* Fotografie: über dem Bild zoomt die Draufsicht groß in die Mitte, der Lichtpunkt zeigt in Richtung des Zeigers */
.light-view.licht-gross > .light-compass { top: var(--kompass-oben); right: var(--kompass-rechts); width: var(--kompass-b); padding: 0; background-color: transparent; filter: drop-shadow(0 0 6px rgb(0 0 0 / 0.45)); }
.light-view.licht-gross .compass-ring { stroke: rgb(255 246 230 / 0.75); stroke-width: 0.45; stroke-dasharray: 1.2 1.6; }
.light-compass :is(.compass-person, .light-lamp) { transform-box: fill-box; transform-origin: center; }
.light-view.licht-gross .compass-person { scale: 0; opacity: 0; }
.light-view.licht-gross .compass-titel { opacity: 0; }
.light-view.licht-gross .light-lamp { scale: 0.45; }
.motion .light-view > .light-compass { transition: top 0.5s var(--smooth), right 0.5s var(--smooth), width 0.5s var(--smooth), padding 0.5s var(--smooth), background-color 0.3s; }
.motion .light-compass :is(.compass-person, .light-lamp) { transition: scale 0.5s var(--smooth), opacity 0.3s; }
.motion .light-compass .compass-titel { transition: opacity 0.2s; }
/* Fotografie: Bild, Lichtgröße und Lichtsetzungen sitzen zusammen auf einer dunklen Bühne.
   Rechts vom Bild der senkrechte Regler für die Lichtgröße, darunter die Chips als aufgeklappte Leiste. */
.licht-buehne { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: min(100%, 58rem, calc((100svh - 26rem) * 1.5 + 3.6rem)); min-width: 0; padding: 0.4rem; border-radius: calc(var(--radius) + 0.4rem); background: #111113; box-shadow: var(--shadow); }
.licht-buehne > .light-view { box-shadow: none; }
.licht-groesse { display: flex; align-items: stretch; gap: 0.15rem; padding: 0.7rem 0.15rem 0.7rem 0.35rem; color: var(--on-dark-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; cursor: ns-resize; touch-action: none; user-select: none; }
.licht-groesse span { writing-mode: vertical-rl; rotate: 180deg; text-align: center; }
.licht-buehne .licht-groesse input { width: 1.5rem; height: auto; margin: 0; writing-mode: vertical-lr; direction: rtl; cursor: ns-resize; }
/* Der Einleitungssatz klappt oben aus der Bühne, die Überschrift rückt dafür nah ans Bild und steht optisch mittig zwischen Badge und Bühne */
#licht-demo { margin-top: 1.2rem; }
#licht h2 { margin-top: 0.5rem; margin-bottom: 1.75rem; }
.licht-satz { grid-column: 1 / -1; margin: 0; padding: 0.35rem 0.9rem 0.75rem; color: var(--on-dark-muted); font-size: 0.98rem; line-height: 1.45; text-wrap: balance; }
.licht-menue { grid-column: 1 / -1; flex-wrap: nowrap; gap: 0; padding-top: 0.4rem; }
.licht-menue .chip { position: relative; flex: 1 1 0; min-width: 0; padding: 0.5rem 0.3rem; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-muted); font-size: var(--step--1); white-space: nowrap; }
.licht-menue .chip + .chip::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgb(244 244 245 / 0.16); }
.licht-menue .chip[aria-pressed="true"]::before, .licht-menue .chip[aria-pressed="true"] + .chip::before { opacity: 0; }
.licht-menue .chip:hover { transform: none; color: var(--on-dark); }
.licht-menue .chip[aria-pressed="true"] { background: var(--hsm-orange); color: var(--ink); }
@media (max-width: 520px) {
  .licht-menue .chip { padding-inline: 0.15rem; font-size: 0.74rem; }
  .licht-satz { font-size: 0.95rem; }
}
/* Fotografie, KI-Teil: Überschrift und Lead je in einer Zeile */
@media (min-width: 1000px) {
  #ki-foto h2 { max-width: none; white-space: nowrap; font-size: calc(var(--step-3) * 0.92); }
  #ki-foto .lead { max-width: none; }
}
/* Fotografie, KI-Teil: jedes Bild ist eine kleine Karte zum Umdrehen, hinten dasselbe mit der anderen Person; die Reihe dreht sich gemeinsam, nacheinander in Wischrichtung */
.cards-dreh .card-bilder { overflow: visible; }
.bild-dreh { display: block; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; }
.bild-dreh .dreh-innen { position: relative; display: block; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.3, 1.25, 0.45, 1); }
.bild-dreh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 12px; backface-visibility: hidden; }
.bild-dreh .dreh-hinten { transform: rotateY(180deg); }
.bild-dreh:focus-visible { outline: 3px solid var(--dot, var(--hsm-orange)); outline-offset: 3px; border-radius: 12px; }
.cards-dreh .card-frei .bild-dreh + .bild-dreh img { background: repeating-conic-gradient(#e4e4e8 0% 25%, #fafafa 0% 50%) 50% / 16px 16px; }
.cards-dreh .card-bilder > .ki-hinweis { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .bild-dreh .dreh-innen { transition: none; }
}
/* Fotografie, Tutorials: Lead über die volle Breite (zwei Zeilen), sechs Kacheln als ruhiges 3×2-Raster */
#tutorials .lead { max-width: none; }
/* Icons aus dem Begleiter-Pack rechts in den Kacheln; die Blende dreht sich und atmet */
#tutorials .tut-list li { position: relative; padding-right: 5.8rem; }
.tut-icon { position: absolute; right: 1rem; top: 50%; width: 3.9rem; height: 3.9rem; translate: 0 -50%; object-fit: contain; }
.motion .tut-icon-blende { animation: blende-atmen 3.2s ease-in-out infinite alternate; }
@keyframes blende-atmen { from { scale: 0.82; rotate: -35deg; } to { scale: 1.08; rotate: 25deg; } }
@media (min-width: 861px) {
  #tutorials .tut-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Fotografie, Color Grading: breites 21:9-Bild auf einer dunklen Bühne, die Erklärung klappt darunter aus */
/* Kopf des Abschnitts: der Badge steht senkrecht links, so hoch wie Überschrift und Lead; der Lead läuft über die volle Breite */
@media (min-width: 861px) {
  #grading > .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.4rem; }
  #grading > .wrap > .badge { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; margin: 0.35rem 0 0.35rem; padding: 0.8rem 0.3rem; writing-mode: vertical-rl; rotate: 180deg; }
  #grading > .wrap > :is(h2, .lead) { grid-column: 2; }
  #grading > .wrap > .lead { max-width: none; margin-bottom: 0; }
  #grading > .wrap > #grading-demo { grid-column: 1 / -1; }
}
#grading-demo { grid-template-columns: minmax(0, 1fr); }
.grade-buehne { padding: 0.4rem; border-radius: calc(var(--radius) + 0.4rem); background: #111113; box-shadow: var(--shadow); }
.grade-buehne > .grade-view { aspect-ratio: 21 / 9; box-shadow: none; }
.grade-info { padding: 0.7rem 0.9rem 0.4rem; text-align: center; }
.grade-info p { margin: 0; min-height: 0; max-width: none; color: var(--on-dark-muted); }
/* „Original“ und „Look“ als dicke weiße Schrift. Fährt die Linie über eine, blendet sie weich aus und die andere wächst (Werte aus dem Skript) */
.grade-view .grade-label { top: 0.7rem; padding: 0; border-radius: 0; background: none; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 900; letter-spacing: 0.01em; line-height: 1; text-shadow: 0 1px 3px rgb(0 0 0 / 0.5), 0 0 22px rgb(0 0 0 / 0.35); transition: opacity 0.12s, scale 0.12s; }
.grade-view .grade-label-before { left: 1rem; transform-origin: left top; opacity: var(--a-vor, 1); scale: calc(1 + 0.8 * (1 - var(--a-nach, 1))); clip-path: inset(-1rem var(--schnitt-vor, 0%) -1rem -1rem); }
.grade-view .grade-label-after { right: 1rem; transform-origin: right top; opacity: var(--a-nach, 1); scale: calc(1 + 0.8 * (1 - var(--a-vor, 1))); clip-path: inset(-1rem -1rem -1rem var(--schnitt-nach, 0%)); }
.grade-view .ki-hinweis { z-index: 3; }
/* Fixierte Linie: der Griff wird orange */
.grade-view.ist-fest .grade-handle::after { background: var(--hsm-orange); }
@media (max-width: 860px) {
  .grade-buehne > .grade-view { aspect-ratio: 16 / 9; }
}
.grade-stapel { position: relative; padding-top: 3.9rem; }
.grade-stapel > :is(.grade-view, .grade-buehne) { position: relative; z-index: 1; }
/* Karteikarten: der Name steht über dem Kartenbild und kippt mit der Karte */
.look-karte { position: absolute; top: 0; left: calc(6% + var(--i) * 30%); width: 27%; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; rotate: calc((var(--i) - 1) * 2.5deg); transition: translate 0.35s var(--spring); }
.look-karte img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); outline: 3px solid transparent; outline-offset: 2px; transition: outline-color 0.2s; }
.look-karte b { display: block; padding: 0 0.35rem 0.3rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.02em; }
.look-karte:hover, .look-karte:focus-visible { translate: 0 -0.9rem; }
.look-karte.ist-aktiv img { outline-color: var(--hsm-orange); }
.look-karte.ist-aktiv b { color: var(--terra); }
.gs-view { cursor: row-resize; }
/* Video-Werkstatt: die Lektionen schauen wie ein Schubfach unter dem Player heraus (wie die Hook-Leiste),
   die gewählte Lektion leuchtet als orange Pille */
.werkstatt-body { grid-template-columns: minmax(0, 1fr); }
/* Player und Schubfach stehen mittig im Abschnitt */
.lesson-panel { min-width: 0; width: 100%; margin-inline: auto; }
.lesson-panel .player { position: relative; z-index: 1; box-shadow: 0 14px 24px -10px rgb(20 20 24 / 0.55); }
.lesson-panel .lessons {
  flex-wrap: nowrap; gap: 0.3rem; margin: -1.6rem 0 1rem; padding: 2.05rem 0.45rem 0.45rem; overflow-x: auto;
  border-radius: 0 0 var(--radius) var(--radius); background: var(--panel);
  box-shadow: inset 0 12px 14px -10px rgb(20 20 24 / 0.35), 0 0 0 1px var(--line), 0 18px 30px -22px rgb(20 20 24 / 0.5);
  scrollbar-width: none;
}
.lesson-panel .lessons li { flex: 1 1 0; min-width: 8.5rem; }
.lesson-panel .lesson { flex-direction: column; align-items: center; justify-content: center; gap: 0.12rem; width: 100%; height: 100%; padding: 0.55rem 0.9rem; border: 0; border-radius: 999px; background: none; color: var(--on-dark-muted); font-size: 0.9rem; line-height: 1.2; text-align: center; transition: background-color 0.35s var(--smooth), color 0.2s, box-shadow 0.35s; }
.lesson-panel .lesson::before { content: "Lektion " counter(lesson); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); }
.lesson-panel .lesson:hover { transform: none; background: rgb(20 20 24 / 0.05); }
.lesson-panel .lesson.is-active { background: var(--hsm-orange); color: var(--ink); box-shadow: 0 0 22px 2px rgb(255 200 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.lesson-panel .lesson.is-active::before { color: var(--ink); opacity: 0.7; }
/* Helles Schubfach: Namen kräftig dunkel, die gewählte Lektion bleibt die orange Pille */
.lesson-panel .lesson { color: var(--ink); font-weight: 800; }
.lesson-panel .lesson.is-active { color: var(--ink); }
/* Über dem Video steht nichts mehr: Nummer und Name der Lektion zeigt das Schubfach */
.lesson-panel .lesson-kopf { display: none; }
#werkstatt .werkstatt-body { margin-top: 1.25rem; }
/* Infos zum Video: das i sitzt oben rechts im Player. Beim Drüberfahren klappt links davon „Infos zum Video“ aus,
   ein Klick legt den Infotext mittig über das Video (main.js setzt .zeigt-info) */
.player-i { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; display: flex; align-items: center; gap: 0; padding: 0.25rem; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 999px; background: rgb(17 17 19 / 0.55); backdrop-filter: blur(8px); color: var(--on-dark); font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: gap 0.35s var(--smooth), padding 0.35s var(--smooth), background 0.2s; }
.player-i-text { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 0.4s var(--smooth), opacity 0.25s; }
.player-i:hover, .player-i:focus-visible, .player.zeigt-info .player-i { gap: 0.55rem; padding-left: 0.9rem; background: rgb(17 17 19 / 0.8); }
.player-i:hover .player-i-text, .player-i:focus-visible .player-i-text, .player.zeigt-info .player-i-text { max-width: 12rem; opacity: 1; }
.player-i:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 2px; }
.player-i-zeichen { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--hsm-orange); color: var(--ink); font-family: var(--font-serif); font-style: italic; font-size: 1rem; font-weight: 700; }
.player.zeigt-info .player-i-zeichen { background: var(--on-dark); }
/* Der Infotext überblendet den Videobereich, solange er offen ist */
.lesson-panel .player .player-info { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 0.2rem; margin: 0; padding: 3.5rem 12% 2.5rem; background: rgb(17 17 19 / 0.86); backdrop-filter: blur(10px); text-align: center; color: var(--on-dark); visibility: hidden; opacity: 0; transition: opacity 0.35s var(--smooth), visibility 0s 0.35s; }
.lesson-panel .player.zeigt-info .player-info { visibility: visible; opacity: 1; transition: opacity 0.35s var(--smooth); }
.lesson-panel .player .player-title { max-width: 30ch; font-size: var(--step-1); text-wrap: balance; color: #fff; }
.lesson-panel .player .player-text { margin: 0.4rem 0 0.9rem; color: var(--on-dark-muted); }
.lesson-panel .player .player-source { color: var(--on-dark-muted); }
.lesson-panel .player .player-source a { color: #fff; }
.lesson-panel .player .player-hinweis { background: rgb(255 255 255 / 0.08); box-shadow: none; color: var(--on-dark); }
/* Am Handy ist der Player flach: Infotext kompakter, notfalls scrollbar */
@media (max-width: 640px) {
  .lesson-panel .player .player-info { place-content: start center; overflow-y: auto; padding: 3rem 1rem 1rem; font-size: 0.85rem; }
  .lesson-panel .player .player-text { margin: 0.2rem 0 0.5rem; }
}
/* Das Schubfach fährt erst heraus, wenn der Player ganz aufgegangen ist (main.js setzt .ist-offen) */
.motion .lesson-panel .lessons { translate: 0 -105%; opacity: 0; transition: translate 0.7s var(--spring), opacity 0.3s; }
.motion .lesson-panel .lessons.ist-offen { translate: 0 0; opacity: 1; }
/* „Als Tutorial“ senkrecht links neben der Überschrift */
@media (min-width: 861px) {
  .werkstatt-titel { display: flex; align-items: stretch; gap: 1.1rem; margin-bottom: 0.5em; }
  /* schmal und dezent, nur gedreht, so hoch wie die zweizeilige Überschrift */
  .werkstatt-titel .badge { flex: none; display: flex; align-items: center; justify-content: center; margin: 0.15em 0 0.1em; padding: 0.7rem 0.2rem; border-width: 1px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; writing-mode: vertical-rl; rotate: 180deg; }
  .werkstatt-titel h2 { margin: 0; }
}
.lesson-panel .lesson:focus-visible { outline: 3px solid var(--on-dark); outline-offset: -3px; }
@media (max-width: 860px) {
  #licht-demo { grid-template-columns: minmax(0, 1fr); }
  .grade-stapel { padding-top: 3rem; }
  .look-karte b { font-size: 0.72rem; }
}

/* ----- Kompakte Ablaufleiste statt gestapelter Karten (Medienrecht, Websites): alles auf einen Blick ----- */
.paths.paths-kompakt { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.paths-kompakt .path { position: relative; top: auto; align-items: start; gap: 0.3rem 0.9rem; min-height: 0; margin: 0; padding: 1.2rem 1.3rem 1.3rem; border-radius: 22px; scale: none; filter: none; }
.paths-kompakt .path-no { font-size: 2.6rem; line-height: 0.9; }
.paths-kompakt .path h3 { margin-bottom: 0.35rem; font-size: var(--step-1); }
.paths-kompakt .path p { font-size: 0.95rem; }
.paths-kompakt .path:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -0.85rem; z-index: 1; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; translate: 0 -50%; border-radius: 50%; background: var(--hsm-orange); color: var(--ink); font-weight: 800; }
@media (max-width: 860px) {
  .paths.paths-kompakt { grid-template-columns: minmax(0, 1fr); }
  .paths-kompakt .path:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -0.85rem; translate: 50% 0; }
}

/* Die Mitte des Rads: Symbol und Wort statt Foto */
/* Lehrgebiete und Projekte ohne Fotos, Studienplan hell */

/* ----- Unterseiten: offizieller Name des Lehrgebiets unter dem Titel ----- */
.modul-offiziell { margin: -0.2rem 0 0.8rem; font-family: var(--font-display); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.wf-notes .forschung-hinweis { grid-column: 1 / -1; border-top-color: var(--ochre); }

/* ----- Medienrecht: vier Fragen ----- */
@keyframes recht-haken { from { opacity: 0; translate: -12px 0; } }
.check-fragen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 1.5rem 0 1rem; padding: 0; list-style: none; counter-reset: frage; }
/* Jede Frage ist eine Karteikarte: Szene oben, Frage und Antwort darunter */
.check-frage { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--panel); box-shadow: var(--shadow-soft); counter-increment: frage; transition: translate 0.25s var(--spring), box-shadow 0.25s; }
.check-frage:hover { translate: 0 -3px; box-shadow: var(--shadow); }
.check-bild { aspect-ratio: 4 / 3; border-block: 1px solid var(--line); }
/* Frage fett und mittig über dem Bild, darunter Ja/Nein, unten rechts grau der Zähler */
.check-text { margin: 0; padding: 1rem 1rem 0.85rem; color: var(--ink); font-family: var(--font-serif); font-size: min(var(--step-1), 4.6vw); font-weight: 700; line-height: 1.25; text-align: center; text-wrap: balance; }
.check-koerper { display: flex; flex: 1; align-items: center; justify-content: center; padding: 1rem 1.3rem 1.15rem; }
/* Hinweis „keine Rechtsberatung“ als kleines i unten rechts im Bild, so groß wie das Schild „KI-Bild“; Text beim Drüberfahren oder Antippen */
.recht-info { position: absolute; right: 0.5rem; bottom: 0.5rem; z-index: 3; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgb(19 19 22 / 0.62); color: #f4f4f5; font-size: 0.72rem; line-height: 1; cursor: help; }
.recht-info b { font-family: var(--font-serif); font-style: italic; font-weight: 700; }
.recht-info-text { position: absolute; right: 0; bottom: calc(100% + 0.45rem); width: min(17rem, 70vw); padding: 0.6rem 0.75rem; border-radius: 12px; background: rgb(19 19 22 / 0.9); color: #f4f4f5; font-size: 0.78rem; line-height: 1.45; text-align: left; opacity: 0; translate: 0 6px; pointer-events: none; transition: opacity 0.2s, translate 0.2s; }
.recht-info:hover .recht-info-text, .recht-info:focus .recht-info-text { opacity: 1; translate: 0 0; }
.recht-info:focus-visible { outline: 2px solid #f4f4f5; outline-offset: 2px; }

/* Ja grün, Nein rot, beide gleich groß; nach der Antwort tritt die andere Wahl zurück */
.check-frage .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 8.5rem)); gap: 0.8rem; margin: 0; }
.check-frage .chip { --farbe: #187a41; justify-content: center; min-height: 3rem; padding: 0.6rem 1rem; border: 0; background: var(--farbe); color: #fff; font-size: 1.05rem; font-weight: 800; text-align: center; box-shadow: 0 6px 14px -8px var(--farbe); transition: transform 0.2s, opacity 0.3s, box-shadow 0.2s, filter 0.2s; }
.check-frage .chip[data-antwort="nein"] { --farbe: #c4362b; }
.check-frage .chip:hover { background: var(--farbe); filter: brightness(1.08); }
.check-frage[data-gewaehlt] .chip[aria-pressed="false"] { opacity: 0.35; }
.check-frage .chip[aria-pressed="true"] { background: var(--farbe); color: #fff; box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--farbe); }
@media (max-width: 860px) {
  .check-fragen { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .check-frage, .check-frage:hover { transition: none; translate: none; }
}

/* Stapel (mit Skript): Karteikarten liegen versetzt übereinander, die Ecken der unteren schauen heraus */
#check { overflow-x: clip; }
.recht-check.ist-stapel { display: flex; gap: 2rem 3.5rem; align-items: flex-start; margin-top: 1.5rem; }
.ist-stapel .check-stapel { display: grid; flex: 0 0 min(34rem, 100%); justify-items: center; gap: 1.6rem; margin-left: auto; }
.ist-stapel.hat-hinweise .check-stapel { margin-left: 0; }
/* Die Überschrift steht als Dreizeiler links vom Stapel und blendet mit der ersten Antwort aus (für Screenreader bleibt sie) */
.check-intro { margin: 0 0 1.5rem; }
.check-intro h2 { margin: 0; }
.check-intro h2 span { display: block; }
.ist-stapel .check-intro { flex: 1; align-self: center; margin: 0; transition: opacity 0.3s, translate 0.3s; }
.ist-stapel .check-intro.geht { opacity: 0; translate: -24px 0; }
@media (min-width: 901px) and (max-width: 1100px) { .ist-stapel .check-intro h2 { font-size: 2.3rem; } }
.ist-stapel.hat-hinweise .check-intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ist-stapel .check-seite { display: none; flex: 1; min-width: 0; }
.ist-stapel.hat-hinweise .check-seite { display: grid; animation: hinweise-rein 0.6s var(--smooth) 0.35s both; }
@keyframes hinweise-rein { from { opacity: 0; translate: 40px 0; } }
.ist-stapel .check-fragen { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 0; margin: 0.6rem 0 0; padding: 0 0.9rem 1.6rem 0; }
.ist-stapel .check-frage { --dreh: -1.6deg; position: relative; grid-area: 1 / 1; z-index: calc(10 - var(--pos, 0));
  transform: translate(calc(var(--pos, 0) * 7px), calc(var(--pos, 0) * 11px)) rotate(var(--dreh));
  transition: transform 0.42s cubic-bezier(0.3, 1.2, 0.5, 1), box-shadow 0.3s; box-shadow: 0 1px 0 var(--line), var(--shadow-soft); }
.ist-stapel .check-frage:nth-child(2) { --dreh: 2.3deg; }
.ist-stapel .check-frage:nth-child(3) { --dreh: -3.2deg; }
.ist-stapel .check-frage:nth-child(4) { --dreh: 1.1deg; }
.ist-stapel .check-frage.ist-oben { transform: rotate(calc(var(--dreh) * 0.4)); box-shadow: var(--shadow); }
.ist-stapel .check-frage:hover { translate: none; }
.ist-stapel .check-frage.raus { transform: translate(78%, -6%) rotate(10deg); }
/* „Nächste Karte“: schlichter grauer Textlink mit Pfeil, erst unter der Überschrift, dann mittig unter dem letzten Hinweis */
.check-weiter { justify-self: start; margin-top: 1.2rem; padding: 0.2rem 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 0.25em; cursor: pointer; }
.check-weiter::after { content: "→"; display: inline-block; margin-left: 0.4em; text-decoration: none; transition: translate 0.2s; }
.check-weiter:hover, .check-weiter:focus-visible { color: var(--ink); }
.check-weiter:hover::after { translate: 3px 0; }
.check-seite > .check-weiter { justify-self: center; margin-top: 0.9rem; }
/* Falsche Antwort: Karte wackelt kurz und leuchtet rot, kein Stempel */
.ist-stapel .check-frage.falsch { box-shadow: 0 0 0 3px #c4362b, var(--shadow); }
.motion .check-frage.falsch { animation: karte-wackeln 0.5s ease; }
@keyframes karte-wackeln { 20% { translate: -10px 0; } 40% { translate: 9px 0; } 60% { translate: -6px 0; } 80% { translate: 3px 0; } }

/* Stempel „Genehmigt“: grün, schräg, wird aufgedrückt und bleibt bis zum Neuladen */
.stempel { position: absolute; top: 44%; left: 50%; translate: -50% -50%; rotate: -13deg; padding: 0.2em 0.6em; border: 0.17em solid currentColor; border-radius: 0.3em;
  color: #1d8a4a; background: rgb(255 255 255 / 0.4); box-shadow: inset 0 0 0 0.09em rgb(255 255 255 / 0.6), 0 0 0 0.06em rgb(29 138 74 / 0.35);
  font-family: var(--font-display); font-size: clamp(1.5rem, 5.5vw, 2.3rem); font-weight: 900; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase;
  opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.check-frage[data-gewaehlt] .stempel { opacity: 0.86; }
.stempelt .stempel { animation: stempel 0.38s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
.stempelt.ist-oben { animation: stempel-druck 0.25s 0.24s; }
@keyframes stempel { from { opacity: 0; scale: 2.6; } 65% { opacity: 0.95; scale: 0.93; } to { opacity: 0.86; scale: 1; } }
@keyframes stempel-druck { 40% { translate: 0 4px; } }

/* Hinweise zu den Antworten neben dem Stapel, erscheinen erst nach der ersten Antwort */
.check-seite { display: grid; padding-top: 0.6rem; }
.check-protokoll { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.check-protokoll li { position: relative; overflow: hidden; padding: 0.75rem 1rem; border-left: 4px solid var(--hsm-orange); border-radius: 4px 14px 14px 4px; background: var(--panel); box-shadow: var(--shadow-soft); animation: recht-haken 0.4s ease both; }
.check-protokoll p { margin: 0; color: var(--muted); }
.check-protokoll .protokoll-kopf { margin-bottom: 0.2rem; color: var(--ink); font-weight: 800; }
.check-protokoll .protokoll-text { font-size: 0.95rem; line-height: 1.5; }
.check-protokoll p { position: relative; z-index: 1; }
/* Ein Klick auf einen Hinweis holt seine Karte wieder nach oben; der Hinweis zur obersten Karte ist farbig markiert */
.check-protokoll li[role="button"] { cursor: pointer; transition: translate 0.2s, border-color 0.2s, box-shadow 0.2s; }
.check-protokoll li[role="button"]:hover { translate: 4px 0; box-shadow: var(--shadow); }
.check-protokoll li[role="button"]:focus-visible { outline: 2px solid var(--c-recht); outline-offset: 2px; }
.check-protokoll li.ist-aktiv { border-left-color: var(--c-recht); }
.protokoll-motiv { position: absolute; right: 0.3rem; bottom: -0.8rem; width: auto; height: 7.5rem; opacity: 0.2; pointer-events: none; }
@media (max-width: 900px) {
  .recht-check.ist-stapel { flex-direction: column; align-items: stretch; }
  .ist-stapel .check-stapel, .ist-stapel.hat-hinweise .check-stapel { flex-basis: auto; width: 100%; max-width: 34rem; margin-inline: auto; transition: none; }
  .ist-stapel .check-intro { align-self: stretch; margin-bottom: 0.5rem; }
  .ist-stapel.hat-hinweise .check-seite { animation-name: hinweise-rein-unten; }
  @keyframes hinweise-rein-unten { from { opacity: 0; translate: 0 20px; } }
}
@media (prefers-reduced-motion: reduce) {
  .ist-stapel .check-frage { transition: none; }
  .stempelt .stempel, .stempelt.ist-oben, .check-protokoll li, .ist-stapel.hat-hinweise .check-seite { animation: none; }
}

/* ----- Neue Bilder: Medienrecht mit Prüfliste über dem Foto, Mila neben der Einleitung ----- */
.recht-kopf .recht-overlay { position: absolute; left: 1rem; top: 1rem; z-index: 2; width: auto; height: auto; gap: 0.35rem; padding: 0.8rem 1rem; border-radius: 16px; box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.6); }
.motion .recht-kopf .recht-overlay i { animation: recht-haken 0.6s var(--spring) backwards; }
.motion .recht-kopf .recht-overlay i:nth-child(2) { animation-delay: 0.3s; }
.motion .recht-kopf .recht-overlay i:nth-child(3) { animation-delay: 0.6s; }
.motion .recht-kopf .recht-overlay i:nth-child(4) { animation-delay: 0.9s; }
/* Im hohen Kopfbild rechts vor den Ordnern, damit das Neon-Paragrafenzeichen frei bleibt */
.hero-spalte .recht-kopf .recht-overlay { left: auto; right: 1rem; top: 17%; }
/* Recht: freigestellte Comicfiguren statt Foto, ohne Rahmen und Schatten; 5 ECTS stehen im Bild auf dem Tablet */
.hero-art.recht-figuren { border-radius: 0; box-shadow: none; overflow: visible; }
.hero-art.recht-figuren > img { object-fit: contain; object-position: 50% 100%; }
/* Link zu den Studieninhalten nicht mitten im Namen umbrechen */
.page-hero[data-area="recht"] .lead .ext { white-space: nowrap; }
/* „Medienrecht“ in einer Zeile, darf in den freien Raum über den Figuren ragen */
.page-hero[data-area="recht"] h1 { position: relative; z-index: 2; white-space: nowrap; }
/* „Eine Produktion steuern“ als Comic-Strip: drei gerahmte Panels, Überschrift und Einleitung in je einer Zeile */
#management h2 { white-space: nowrap; }
#management .lead { max-width: none; }
/* Überschrift und Einleitung mittig über dem Comic-Strip */
#management h2, #management .lead { text-align: center; }
#management h2 { max-width: none; }
@media (max-width: 960px) { #management h2 { white-space: normal; } }
.recht-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.6rem; margin: 2.2rem 0 0; padding: 0; list-style: none; counter-reset: panel; }
.recht-strip li { counter-increment: panel; }
.strip-bild { aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 6px 6px 0 var(--ink); background: #f6f6f7; rotate: -1deg; }
.recht-strip li:nth-child(2) .strip-bild { rotate: 1.2deg; }
.recht-strip li:nth-child(3) .strip-bild { rotate: -0.6deg; }
.recht-strip h3 { display: flex; align-items: center; gap: 0.55rem; margin: 1.3rem 0 0.35rem; }
.recht-strip h3::before { content: counter(panel); display: grid; flex: none; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--c-recht); color: #fff; font-family: var(--font-display); font-size: 0.95rem; font-weight: 900; }
.recht-strip p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .recht-strip { grid-template-columns: minmax(0, 1fr); max-width: 26rem; margin-inline: auto; } }
/* Weiter-Banner (eingeführt auf medienrecht.html): schmales Bild unter Milchglas, unter der Maus ein klarer Kreis mit Spur,
   Beschriftung mittig als Glasknopf. HTML: <a class="next-link next-banner ki-bild"> mit img.banner-bild, span.banner-milch, span.banner-knopf, span.ki-hinweis */
@property --kreis { syntax: "<length>"; inherits: true; initial-value: 0px; }
.next-banner { --mx: 50%; --my: 50%; --kreis: 0px; position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(9.5rem, 15vw, 12.5rem); padding: clamp(1rem, 2.5vw, 1.6rem); background: #ececef; top: 0; transition: top 0.5s var(--spring), box-shadow 0.3s, --kreis 0.45s var(--smooth); }
/* Anheben über die Position statt per Transform: mit Transform bleibt am Rand eine Pixelreihe ohne Milchglas */
/* Mit Spur bleibt es erhoben (.ist-erhoben), bis das Milchglas überall wieder zu ist; erst dann gleitet es zurück */
.next-banner:hover, .next-banner.ist-erhoben { top: -4px; transform: none; box-shadow: var(--shadow); }
/* Auf dem Glas immer dunkle Schrift, auch wenn das Ziel sonst weiße Schrift hat (Video, KI, Recht) */
.next-link.next-banner[data-area] { color: var(--ink); } /* stärker als die weißen Leistenfarben je Lehrgebiet */
.next-banner > .banner-bild { position: absolute; inset: 0; object-position: 50% 55%; }
/* Der klare Kreis hat einen weichen Rand */
.banner-milch { position: absolute; inset: 0; background: rgb(255 255 255 / 0.26); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), transparent calc(var(--kreis) * 0.45), #000 var(--kreis));
  mask-image: radial-gradient(circle at var(--mx) var(--my), transparent calc(var(--kreis) * 0.45), #000 var(--kreis)); }
.next-banner:hover, .next-banner:focus-visible { --kreis: clamp(5rem, 10vw, 8rem); }
.banner-knopf { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); padding: 0.9rem 1.3rem 0.9rem 1.6rem; border: 1px solid rgb(255 255 255 / 0.6); border-radius: 28px; background: rgb(255 255 255 / 0.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 12px 30px -14px rgb(19 19 22 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.7); }
.next-banner .next-arrow { font-size: clamp(2rem, 1.6rem + 2vw, 3.4rem); }
.next-banner .ki-hinweis { top: 0.45rem; bottom: auto; left: 0.9rem; }
@media (max-width: 860px) { .next-banner { padding-top: 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .next-banner { transition: none; } }
/* Spur aus mehreren klaren Stellen (Skript): das Glas bleibt nur dort, wo keine Stelle ist */
.next-banner.mit-spur .banner-milch { -webkit-mask-composite: source-in; mask-composite: intersect; }
/* Seitenende gestapelt (body.ende-gestapelt, bisher nur Recht): Weiter-Banner und Peggy rücken ohne Trennstrich zusammen.
   Ganz unten angekommen steht Peggys Oberkante genau auf der Grenze zum unteren Drittel, darüber das Banner, darunter der Impressum-Knopf. */
.ende-gestapelt .next { padding-bottom: 0.75rem; }
html .ende-gestapelt .site-footer:has(.peggy-band) { box-sizing: border-box; min-height: calc(100svh / 3); padding: 0 0 calc(var(--nav-h) + 1rem); border-top: 0; }
/* Mit Skript (ab 861 px): zusätzlicher Scrollweg, auf dem das Banner nach oben wächst; Unterkante und Folgendes bleiben, wo sie sind */
html .ende-gestapelt.ende-wachsen .site-footer:has(.peggy-band) { min-height: calc(100svh / 3 + var(--lauf, 0px)); }
@property --extra { syntax: "<length>"; inherits: true; initial-value: 0px; }
.ende-wachsen .next-banner { min-height: calc(clamp(9.5rem, 15vw, 12.5rem) + var(--extra)); margin-top: calc(var(--extra) * -1); }
/* Ruckelfrei: Festhalten und Wachsen hängen direkt am Scrollfortschritt (letzte --lauf Pixel der Seite), ohne Skript-Verzug */
@keyframes ende-halten { to { transform: translateY(var(--lauf)); } }
/* Wachsen über echte Eigenschaften (min-height, margin-top), nicht über die Variable --extra: Safari wendet animierte
   registrierte Variablen in Scroll-Animationen nicht an (am iPad gemessen). --extra bleibt für den Skript-Ersatz. */
@keyframes ende-wachsen { from { min-height: clamp(9.5rem, 15vw, 12.5rem); margin-top: 0px; } to { min-height: calc(clamp(9.5rem, 15vw, 12.5rem) + var(--lauf)); margin-top: calc(var(--lauf) * -1); } }
@supports (animation-timeline: scroll()) {
  .ende-wachsen .next, .ende-wachsen .peggy-band, .ende-wachsen .fuss-vier { animation: ende-halten linear both; animation-timeline: scroll(root); animation-range: calc(100% - var(--lauf)) 100%; }
  .ende-wachsen .next-banner { animation: ende-wachsen linear both; animation-timeline: scroll(root); animation-range: calc(100% - var(--lauf)) 100%; }
}
/* Milchglas als vorab weichgezeichnetes Bild: kein Neuberechnen der Unschärfe beim Scrollen */
img.banner-milch { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; object-position: 50% 55%; }
/* KI & CG: Banner zur Fotografie zeigt iV auf dem Blumenmarkt, Ausschnitt auf Kopf und Blumen (scharf und Milchglas gleich) */
.next[data-area="foto"] .next-banner > .banner-bild, .next[data-area="foto"] .next-banner > img.banner-milch { object-position: 50% 24%; }
/* Mila auf einer Bildschirmhöhe: links Kopf, darunter Streckenplan (bündig) und die drei Stufen, rechts das Bild über beide Reihen.
   Was man daran übt, läuft unten als Band durch. */
.mila-buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(14rem, 19rem); grid-template-areas: "kopf kopf kopf" "route stufen bild";
  gap: 1.4rem clamp(1.2rem, 3vw, 2.4rem); align-items: start; padding-top: clamp(2.5rem, 6vh, 4rem); }
.mila-kopf { grid-area: kopf; }
.mila-kopf h2 { margin: 0 0 0.6rem; line-height: 1.05; white-space: nowrap; font-size: clamp(2.2rem, 1rem + 2.8vw, 3.4rem); }
.mila-kopf .lead { margin: 0; max-width: calc(100% - min(19rem, 26vw) - 2rem); font-size: var(--step-0); }
.mila-buehne .mila-route { grid-area: route; padding: 0.8rem 0.9rem 0.6rem; border: 2px solid var(--c-recht); border-radius: 22px; background: var(--panel); }
.mila-route text { paint-order: stroke; stroke: var(--panel); stroke-width: 5px; stroke-linejoin: round; }
.mila-buehne .mila-schichten { grid-area: stufen; margin: 0; gap: 0.6rem; }
.mila-buehne .mila-schichten li { padding: 0.55rem 0.9rem 0.55rem 3rem; border: 1px solid var(--line); background: var(--panel); font-size: var(--step--1); line-height: 1.4; }
.mila-buehne .mila-schichten li::before { top: 0.6rem; left: 0.75rem; }
.mila-buehne .mila-schichten b { font-size: var(--step-0); }
/* Großes Icon leise im Hintergrund jeder Stufe, wie bei den Quizkarten */
.mila-buehne .mila-schichten li { overflow: hidden; isolation: isolate; }
.mila-ico { position: absolute; right: -0.4rem; top: 50%; z-index: -1; width: 5.2rem; height: auto; translate: 0 -50%; opacity: 0.2; rotate: -10deg; pointer-events: none; transition: opacity 0.35s, rotate 0.35s; }
.mila-schichten li:hover .mila-ico { opacity: 0.35; rotate: -3deg; }
.mila-buehne .mila-schichten li:not(:last-child)::after { bottom: -0.85rem; left: 1.3rem; }
.mila-bild { grid-area: bild; justify-self: end; align-self: start; margin-top: -2.5rem; width: 100%; max-width: 16rem; aspect-ratio: 9 / 16; border-radius: var(--radius); box-shadow: var(--shadow); rotate: 2deg; }
.mila-bild img { object-position: 50% 50%; }
.mila-bild .ki-hinweis { left: 0.7rem; top: 0.7rem; right: auto; bottom: auto; }
.mila-blog { position: absolute; right: 0.7rem; bottom: 0.7rem; z-index: 2; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--hsm-orange); color: #fff; font-weight: 800; font-size: var(--step--1); text-decoration: none; box-shadow: 0 10px 22px -10px rgb(20 20 24 / 0.7); }
.mila-blog:hover { background: var(--espresso); }
.mila-uebt { display: flex; align-items: stretch; height: 2.3rem; margin-top: 1.6rem; }
.mila-uebt-titel, .mila-uebt .chips-liste li { display: flex; align-items: center; height: 2.3rem; padding-block: 0; }
.mila-uebt-titel { flex: none; position: relative; z-index: 1; margin: 0; padding: 0.45rem 1rem; border-radius: 999px; background: var(--espresso); color: var(--on-dark); font-size: var(--step--1); font-weight: 800; white-space: nowrap; }
.mila-uebt .mila-band { flex: 1; min-width: 0; box-sizing: border-box; height: 100%; display: flex; align-items: center; margin: 0 0 0 -1.2rem; padding: 0 0 0 1.2rem; border-radius: 0 999px 999px 0; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.motion .mila-uebt .mila-band { width: auto; height: 100%; box-sizing: border-box; margin-inline: -1.2rem 0; padding: 0 0 0 1.2rem; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.mila-uebt .chips-liste { margin: 0; gap: 0; }
.mila-uebt .chips-liste li { padding: 0.45rem 1rem; border-radius: 0; background: none; box-shadow: none; font-weight: 700; white-space: nowrap; }
.mila-uebt .chips-liste li + li::before { content: "·"; margin-right: 1rem; color: var(--muted); }
.mila-uebt .topics-kopie li:first-child::before { content: "·"; margin-right: 1rem; color: var(--muted); }
.mila { padding-bottom: clamp(2rem, 4vw, 3rem); }
@media (max-width: 860px) {
  .mila-buehne { grid-template-columns: 1fr; grid-template-areas: "kopf" "bild" "stufen" "route"; }
  .mila-kopf h2 { white-space: normal; }
  .mila-kopf .lead { max-width: none; }
  .mila-bild { margin-top: 0; }
  .mila-bild { justify-self: start; max-width: 15rem; }
  .recht-kopf .recht-overlay { display: none; }
}

/* ----- Fotografie: Kopfbild als Karte zum Umdrehen (9:16) rechts neben dem Text ----- */
.hero-flip.ki-bild { width: auto; max-width: 100%; height: min(calc(100svh - var(--header-h) - var(--nav-h) - 7rem), 44rem); aspect-ratio: 9 / 16; overflow: visible; border-radius: 0; box-shadow: none; perspective: 1600px; cursor: ew-resize; touch-action: pan-y; }
.flip-innen { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.3, 1.25, 0.45, 1); }
.flip-seite { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); backface-visibility: hidden; }
.flip-seite img { width: 100%; height: 100%; object-fit: cover; }
.flip-hinten { transform: rotateY(180deg); }
/* Die Leistungspunkte stehen weiß unten rechts auf beiden Seiten und drehen mit */
.flip-ects { position: absolute; right: 1.1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.06em; font-family: var(--font-display); font-size: clamp(3.2rem, 5.5vw, 4.6rem); line-height: 0.78; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.5), 0 0 22px rgb(0 0 0 / 0.45); pointer-events: none; }
.flip-ects b { font-weight: 900; font-stretch: 150%; font-variation-settings: "wdth" 150; }
/* „ECTS“ steht senkrecht und ist so lang, wie die 5 hoch ist */
.flip-ects span { writing-mode: vertical-rl; rotate: 180deg; font-size: 0.35em; font-weight: 800; font-stretch: 70%; font-variation-settings: "wdth" 70; letter-spacing: 0.04em; line-height: 0.85; translate: 0 -0.2em; }
.hero-flip { user-select: none; -webkit-user-select: none; }
.hero-flip.wird-gezogen { cursor: grabbing; }
.hero-flip .ki-hinweis { z-index: 2; }
.hero-flip:focus-visible { outline: 3px solid var(--dot); outline-offset: 6px; border-radius: var(--radius); }
.hero-flip .ki-hinweis { top: 0.8rem; bottom: auto; left: 0.8rem; }
.page-hero .hero-flip { align-self: start; }
@media (max-width: 860px) {
  .hero-flip.ki-bild { width: min(64vw, 16rem); height: auto; aspect-ratio: 9 / 16; }
  .hero-flip { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .flip-innen { transition: none; }
}

/* ----- Unterseiten: Peggy als schmale orange Leiste im Footer (die große Karte steht auf der Startseite) ----- */
.footer-grid > .peggy-band { grid-column: 1 / -1; }
.footer-grid:has(.peggy-band) > div:last-child, .footer-grid > div:only-child { grid-column: 1 / -1; }
/* Peggy winkt links in der Leiste: Brustbild unten bündig, der Kopf reicht bis an die Oberkante (Bild 520 × 541) */
.peggy-band { --fig-h: clamp(7.6rem, 6rem + 2.2vw, 9rem); position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  min-height: var(--fig-h); overflow: hidden; padding: 1.2rem clamp(1.2rem, 2.5vw, 2rem) 1.2rem calc(var(--fig-h) * 0.96 + 1.6rem);
  border-radius: 28px; background: var(--hsm-orange); color: var(--ink); box-shadow: 0 30px 60px -36px rgb(255 200 0 / 0.9); }
.peggy-band-figur { position: absolute; z-index: 1; left: 1rem; bottom: 0; width: auto; height: var(--fig-h); pointer-events: none; }
.peggy-band-hinweis { left: auto; right: 1rem; top: 0.7rem; bottom: auto; }
.peggy-band-text { flex: 1 1 auto; }
.peggy-band-text p { margin: 0; }
.peggy-band-frage { font-size: var(--step--1); font-weight: 700; opacity: 0.75; }
.peggy-band-name { font-family: var(--font-serif); font-size: clamp(1.5rem, 1rem + 1vw, 1.85rem); line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.peggy-band .footer-pills { flex: 0 1 auto; justify-content: flex-end; gap: 0.4rem; margin: 0; }
.peggy-band .pill { padding: 0.5rem 0.95rem; font-size: 0.92rem; }
/* Startseite: unter Telefon und Mail die nächsten Schritte als zweite Knopfreihe über die ganze Breite */
.peggy-band .peggy-band-schritte { flex: 1 1 100%; justify-content: flex-start; }
.pill-glas { background: rgb(255 255 255 / 0.28); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.45); }
a.pill-glas:hover { background: rgb(255 255 255 / 0.55); }
span.pill-glas { font-weight: 700; cursor: default; }
.pill-hell { background: rgb(255 255 255 / 0.55); color: var(--ink); white-space: nowrap; }
.pill-hell:hover { background: #fff; }
@media (max-width: 640px) {
  .peggy-band { --fig-h: 6.6rem; padding: 1.2rem 1.2rem 1.2rem calc(var(--fig-h) * 0.96 + 1rem); }
  .peggy-band-figur { left: 0.4rem; }
  .peggy-band .pill { white-space: normal; overflow-wrap: anywhere; }
  .peggy-band .pill-hell { white-space: nowrap; }
  .peggy-band .footer-pills { justify-content: flex-start; }
  .peggy-band-name { white-space: normal; }
}

/* ----- Seitenende: Die Zeitleiste wird zum milchigen Glasknopf „Impressum“, ein Klick schiebt Adresse und Links
   als Fußleiste über die ganze Breite von unten hoch. Der Knopf fährt oben auf der Leiste mit (--fuss-h misst main.js).
   Auf Seiten mit Peggy-Leiste sitzt der Knopf knapp unter der Leiste. ----- */
.timeline-fuss { display: none; }
.fuss-klappe .site-footer { padding: clamp(2rem, 4vw, 3rem) 0 calc(var(--nav-h) + 2rem); }
.fuss-klappe .fuss-info { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
  grid-template-areas: "adr off copy" "adr links copy"; gap: 0.3rem clamp(1.5rem, 4vw, 3rem); align-items: start; font-size: var(--step--1); line-height: 1.5;
  padding: 1.1rem max(var(--gutter), (100% - 72rem) / 2) calc(1.1rem + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0; background: rgb(19 19 22 / 0.96); color: var(--on-dark); box-shadow: 0 -30px 60px -30px rgb(20 20 24 / 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  translate: 0 100%; visibility: hidden; transition: translate 0.5s var(--smooth), visibility 0s linear 0.5s; }
.fuss-klappe .fuss-info p { margin: 0; }
.fuss-klappe .fuss-info > p:first-child { grid-area: adr; }
.fuss-klappe .fuss-info > p:has(.footer-official) { grid-area: off; }
.fuss-klappe .fuss-info .footer-links { grid-area: links; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin: 0; padding: 0; list-style: none; }
.fuss-klappe .fuss-info .footer-copy { grid-area: copy; font-size: var(--step--1); color: var(--on-dark-muted); }
.fuss-klappe .fuss-info a { color: var(--on-dark); }
.fuss-offen .fuss-info { translate: 0 0; visibility: visible; transition: translate 0.5s var(--smooth), visibility 0s; }
.timeline { transition: width 0.5s var(--smooth), translate 0.5s var(--smooth), background-color 0.4s, border-color 0.4s, opacity 0.6s ease, visibility 0s; }
/* Startseite: die Zeitleiste kommt erst mit „Können“ und geht, solange der Filmstreifen groß ist (main.js setzt .leiste-weg) */
.leiste-weg .timeline { opacity: 0; visibility: hidden; transition: width 0.5s var(--smooth), translate 0.5s var(--smooth), opacity 0.4s ease, visibility 0s 0.4s; }
.fuss-offen .timeline { translate: -50% calc(-1 * var(--fuss-h, 0px)); }
/* am Ende: milchiges Glas statt dunkler Leiste */
.timeline.am-ende { width: 11rem; grid-template-columns: minmax(0, 1fr); padding: 0 0.4rem; border-color: rgb(255 255 255 / 0.7); background: rgb(255 255 255 / 0.55); box-shadow: 0 16px 34px -14px rgb(20 20 24 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.8); }
.timeline.am-ende > .timecode, .timeline.am-ende > .timeline-track { display: none; }
.timeline.am-ende .timeline-fuss { display: block; width: 100%; height: 40px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 800; cursor: pointer; animation: fuss-knopf 0.4s var(--smooth) both; }
.timeline-fuss:hover, .timeline-fuss:focus-visible { background: rgb(255 255 255 / 0.45); outline: none; }
@keyframes fuss-knopf { from { opacity: 0; } }
@media (max-width: 760px) {
  .fuss-klappe .fuss-info { grid-template-columns: minmax(0, 1fr); grid-template-areas: "adr" "off" "links" "copy"; gap: 0.7rem; padding-top: 1.3rem; }
  .timeline.am-ende { width: 10rem; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline, .fuss-klappe .fuss-info, .timeline.am-ende .timeline-fuss { transition: none; animation: none; }
}

/* ----- Unterseiten: hohes Kopfbild mit Themen-Laufband (.hero-spalte, eingeführt auf websites.html) -----
   HTML: <div class="hero-spalte"> mit Bild-<figure class="hero-art ki-bild"> und <div class="topics-band">.
   Desktop: Bild beginnt auf Höhe des Kickers, das Laufband schließt unten mit dem Text ab. Bild am besten quadratisch. */
.hero-spalte { min-width: 0; }
.hero-spalte .hero-art.ki-bild { max-width: none; aspect-ratio: 3 / 2; }
.topics-band .topics { margin: 0; }
.topics-kopie { display: none; }
.motion .topics-band {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-block: 0.8rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.motion .topics-spur { display: flex; width: max-content; animation: topics-lauf 55s linear infinite; }
.motion .topics-band .topics { flex-wrap: nowrap; padding-right: 0.45rem; }
.motion .topics-band li { white-space: nowrap; }
.motion .topics-kopie { display: flex; }
.motion .topics-band:hover .topics-spur { animation-play-state: paused; }
@keyframes topics-lauf { to { translate: -50% 0; } }
@media (min-width: 861px) {
  [data-ansicht="editorial"] .page-hero-inner:has(.hero-spalte) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-content: center; }
  [data-ansicht="editorial"] .page-hero-inner:has(.hero-spalte) .page-hero-copy > :last-child { margin-bottom: 0; }
  [data-ansicht="editorial"] .hero-spalte { align-self: stretch; display: flex; flex-direction: column; gap: 0.4rem; }
  [data-ansicht="editorial"] .hero-spalte .hero-art.ki-bild { flex: 1; min-height: 18rem; aspect-ratio: auto; }
  [data-ansicht="editorial"] .hero-spalte .hero-art.ki-bild > img { position: absolute; inset: 0; }
  .motion .topics-band { width: auto; margin-inline: 0; margin-bottom: -0.8rem; }
}
/* Handy: Bild und Band oben, Text darunter */
@media (max-width: 860px) {
  .hero-spalte { grid-row: 1; }
}
/* KI & CG: „Computergrafik“ steht in einer Zeile und füllt die Textspalte (das Wort ist gut 7 em breit) */
.page-hero[data-area="ki"] .page-hero-copy { container-type: inline-size; }
[data-ansicht="editorial"] .page-hero[data-area="ki"] h1 { font-size: min(6.4rem, 14cqi); }
/* Social Media: Titel in einer Zeile (gut 5,5 em breit), dafür Textspalte breiter und Hochformat-Bild schmaler */
.page-hero[data-area="social"] .page-hero-copy { container-type: inline-size; }
[data-ansicht="editorial"] .page-hero[data-area="social"] h1 { font-size: min(8rem, 17.4cqi); white-space: nowrap; }
.page-hero[data-area="social"] .claim { text-wrap: balance; }
@media (min-width: 861px) {
  [data-ansicht="editorial"] .page-hero[data-area="social"] .page-hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
/* Fotografie: die Wendekarte füllt die hohe Spalte statt des 9:16-Hochformats */
.hero-spalte .hero-flip.ki-bild { width: 100%; height: auto; margin: 0; align-self: stretch; }
.hero-spalte .flip-innen { position: absolute; inset: 0; width: auto; height: auto; }
/* Fotografie: Bildspalte schmaler, damit „Fotografie“ in einer Zeile steht */
@media (min-width: 861px) {
  [data-ansicht="editorial"] .page-hero-inner:has(.hero-flip) { grid-template-columns: minmax(min-content, 1.3fr) minmax(0, 1fr); }
  .page-hero-inner:has(.hero-flip) h1 { white-space: nowrap; }
}

/* Reaktionen: die zwei Handys aus Social Media rücken mittig in den Kreis, darunter eine Vergleichszeile.
   Nacheinander Aufrufe, Gefällt mir, Kommentare: nur die Überschrift dreht sich weiter, Balken und Zahlen wachsen von 0,
   die Krone erscheint beim höheren Wert und fliegt aufs Handy, dann schrumpfen die Balken und die Zahlen blenden aus.
   Die drei Zeilen liegen übereinander. Ohne Bewegung: Kommentare und alle drei Kronen. */
@property --zaehler { syntax: "<integer>"; inherits: true; initial-value: 0; }
.art-reakt { container-type: inline-size; }
.art-reakt::before { opacity: 0; }
.art-reakt > * { position: absolute; }
.r-handy { top: 19%; width: 32%; height: 49.6%; }
.r-handy.s-handy-ig { left: 13.5%; }
.r-handy.s-handy-tt { left: 54.5%; }
.r-zeilen { left: 5%; top: 72.6%; width: 90%; height: 14%; margin: 0; padding: 0; list-style: none; border-radius: 4cqw; background: rgb(30 23 41 / 0.94); color: #fff; box-shadow: 0 3cqw 6cqw -3cqw rgb(0 0 0 / 0.7); }
.r-zeile { position: absolute; inset: 0; padding: 0 4cqw; display: grid; grid-template-columns: 17cqw 1fr 1fr 17cqw; grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 1.2cqw; row-gap: 1cqw; perspective: 40cqw; }
.r-z1, .r-z2 { visibility: hidden; }
.r-zeile > b { grid-column: 1 / -1; text-align: center; font-size: 3.6cqw; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(255 255 255 / 0.75); backface-visibility: hidden; }
.r-wert { font-size: 4.6cqw; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-wert small, .r-tsd::after { font-size: 2.8cqw; font-weight: 700; }
.r-wert-tt { text-align: right; }
.r-balken { position: relative; height: 2.8cqw; border-radius: 99px; background: rgb(255 255 255 / 0.1); }
.r-z1 .r-balken, .r-z2 .r-balken { background: none; }
.r-balken::after { content: ""; position: absolute; top: 0; bottom: 0; border-radius: inherit; }
.r-b-ig::after { right: 0; width: calc(var(--ig) * 100%); background: linear-gradient(270deg, #d6249f, #fd5949 70%, #fdb349); transform-origin: right; }
.r-b-tt::after { left: 0; width: calc(var(--tt) * 100%); background: linear-gradient(90deg, #25f4ee, #fe2c55); transform-origin: left; }
.r-krone { width: 8%; aspect-ratio: 24 / 19; filter: drop-shadow(0 0.5cqw 0.8cqw rgb(0 0 0 / 0.45)); }
.r-krone svg { width: 100%; height: 100%; fill: #f5b928; }
.r-krone rect { fill: #d9951a; }
.r-ki { left: 50%; top: 9%; bottom: auto; translate: -50% 0; padding: 0.05rem 0.4rem; font-size: 0.58rem; }
.loop-artefakte:has(:is(.art-reakt, .art-flow).is-current) > .ki-hinweis { visibility: hidden; }
/* Endplätze auf den Handys: zwei Kronen über TikTok, eine über Instagram */
.r-k1 { left: 61.5%; top: 13.2%; rotate: -10deg; }
.r-k2 { left: 70.5%; top: 13.2%; rotate: 10deg; }
.r-k3 { left: 25.5%; top: 13.2%; }
.motion .art-reakt.is-current :is(.r-handy, .r-zeilen, .r-zeile > b, .r-wert, .r-krone), .motion .art-reakt.is-current .r-balken::after { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-reakt.is-current :is(.r-z1, .r-z2) { visibility: visible; }
.motion .art-reakt.is-current .r-handy.s-handy-ig { animation-name: r-handy-ig; }
.motion .art-reakt.is-current .r-handy.s-handy-tt { animation-name: r-handy-tt; }
.motion .art-reakt.is-current .r-zeilen { animation-name: r-karte; }
.motion .art-reakt.is-current .r-z1 > b { animation-name: r-l1; }
.motion .art-reakt.is-current .r-z2 > b { animation-name: r-l2; }
.motion .art-reakt.is-current .r-z3 > b { animation-name: r-l3; }
.motion .art-reakt.is-current .r-z1 .r-wert { animation-name: r-w1; }
.motion .art-reakt.is-current .r-z2 .r-wert { animation-name: r-w2; }
.motion .art-reakt.is-current .r-z3 .r-wert { animation-name: r-w3; }
.motion .art-reakt.is-current .r-z1 .r-balken::after { animation-name: r-b1; }
.motion .art-reakt.is-current .r-z2 .r-balken::after { animation-name: r-b2; }
.motion .art-reakt.is-current .r-z3 .r-balken::after { animation-name: r-b3; }
.motion .art-reakt.is-current .r-k1 { animation-name: r-k1; }
.motion .art-reakt.is-current .r-k2 { animation-name: r-k2; }
.motion .art-reakt.is-current .r-k3 { animation-name: r-k3; }
/* Zahlen zählen mit (--zaehler läuft von 0 bis --ziel, Tausender mit einer Nachkommastelle); ohne round()/mod() bleibt der feste Text */
@supports (width: round(down, 5.5px, 1px)) and (width: mod(5px, 2px)) {
  .motion .art-reakt.is-current .r-fest { display: none; }
  .motion .art-reakt.is-current .r-zahl::before { counter-reset: z var(--zaehler); content: counter(z); }
  .motion .art-reakt.is-current .r-tsd::before { counter-reset: z round(down, var(--zaehler) / 10, 1) d mod(var(--zaehler), 10); content: counter(z) "," counter(d); }
  .motion .art-reakt.is-current .r-tsd::after { content: " Tsd."; }
}
@keyframes r-handy-ig { 0% { left: 6.5%; top: 21%; width: 40%; height: 62%; } 12%, 100% { left: 13.5%; top: 19%; width: 32%; height: 49.6%; } }
@keyframes r-handy-tt { 0% { left: 53.5%; top: 21%; width: 40%; height: 62%; } 12%, 100% { left: 54.5%; top: 19%; width: 32%; height: 49.6%; } }
@keyframes r-karte { 0%, 8% { opacity: 0; translate: 0 30%; } 13%, 100% { opacity: 1; translate: 0 0; } }
/* Überschrift dreht sich um die senkrechte Achse rein und raus */
@keyframes r-l1 { 0%, 12% { opacity: 0; rotate: y 90deg; } 15%, 40% { opacity: 1; rotate: y 0deg; } 43%, 100% { opacity: 0; rotate: y -90deg; } }
@keyframes r-l2 { 0%, 43% { opacity: 0; rotate: y 90deg; } 46%, 70% { opacity: 1; rotate: y 0deg; } 73%, 100% { opacity: 0; rotate: y -90deg; } }
@keyframes r-l3 { 0%, 73% { opacity: 0; rotate: y 90deg; } 76%, 100% { opacity: 1; rotate: y 0deg; } }
@keyframes r-w1 { 0%, 15% { opacity: 0; --zaehler: 0; } 16% { opacity: 1; --zaehler: 0; } 24%, 33% { opacity: 1; --zaehler: var(--ziel); } 36%, 100% { opacity: 0; --zaehler: var(--ziel); } }
@keyframes r-w2 { 0%, 45% { opacity: 0; --zaehler: 0; } 46% { opacity: 1; --zaehler: 0; } 54%, 63% { opacity: 1; --zaehler: var(--ziel); } 66%, 100% { opacity: 0; --zaehler: var(--ziel); } }
@keyframes r-w3 { 0%, 75% { opacity: 0; --zaehler: 0; } 76% { opacity: 1; --zaehler: 0; } 84%, 100% { opacity: 1; --zaehler: var(--ziel); } }
@keyframes r-b1 { 0%, 16% { scale: 0 1; } 24%, 33% { scale: 1 1; } 38%, 100% { scale: 0 1; } }
@keyframes r-b2 { 0%, 46% { scale: 0 1; } 54%, 63% { scale: 1 1; } 68%, 100% { scale: 0 1; } }
@keyframes r-b3 { 0%, 76% { scale: 0 1; } 84%, 100% { scale: 1 1; } }
/* Krone taucht über dem höheren Wert auf (rechts TikTok, links Instagram), dann Flug aufs Handy */
@keyframes r-k1 { 0%, 24% { opacity: 0; left: 86%; top: 66.6%; scale: 0.3; rotate: 0deg; } 26% { opacity: 1; scale: 1.25; } 28%, 29% { opacity: 1; left: 86%; top: 66.6%; scale: 1; rotate: 0deg; } 35%, 100% { opacity: 1; left: 61.5%; top: 13.2%; scale: 1; rotate: -10deg; } }
@keyframes r-k2 { 0%, 54% { opacity: 0; left: 86%; top: 66.6%; scale: 0.3; rotate: 0deg; } 56% { opacity: 1; scale: 1.25; } 58%, 59% { opacity: 1; left: 86%; top: 66.6%; scale: 1; rotate: 0deg; } 65%, 100% { opacity: 1; left: 70.5%; top: 13.2%; scale: 1; rotate: 10deg; } }
@keyframes r-k3 { 0%, 84% { opacity: 0; left: 6%; top: 66.6%; scale: 0.3; } 86% { opacity: 1; scale: 1.25; } 88%, 89% { opacity: 1; left: 6%; top: 66.6%; scale: 1; } 95%, 100% { opacity: 1; left: 25.5%; top: 13.2%; scale: 1; } }

/* KI und CG: Instagram und die Zahlen gehen, iV setzt sich links mit dem Laptop dazu, aus ihrem Kabel klappt ein Workflow-Fenster auf.
   Das Sieger-Reel (zwei Kronen) schrumpft in die Eingangs-Kachel, die orange Leitung läuft durch zwei leere Kacheln,
   am Ausgang entstehen neun Varianten. Im Fenster läuft eine Lichtwelle über ein Kachelraster.
   Ohne Bewegung: das fertige Fenster mit iV, Reel und Varianten. */
.art-flow { container-type: inline-size; }
.art-flow::before { opacity: 0; }
.art-flow > * { position: absolute; }
.f-weg { opacity: 0; }
.f-ig { left: 13.5%; top: 19%; width: 32%; height: 49.6%; }
.f-k3 { left: 25.5%; top: 13.2%; }
.art-flow > .f-iv { left: -1%; top: 33%; width: 30%; height: 35.4%; object-fit: contain; z-index: 1; }
.f-fenster { left: 29%; top: 30%; width: 64%; height: 40%; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 2.4cqw; background-color: #131316; box-shadow: 0 0 0 0.5cqw rgb(255 200 0 / 0.25), 0 3cqw 6cqw -2cqw rgb(0 0 0 / 0.8); }
.f-leiste { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 9%; background: #1e1e22; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.f-leiste::before { content: ""; position: absolute; left: 2cqw; top: 50%; width: 1.2cqw; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: #fe5f57; box-shadow: 2cqw 0 #febc2e, 4cqw 0 #28c840; }
/* Kachelraster: helle Welle, die nur in den Rechtecken sichtbar ist */
/* Punkteraster im Fenster: läuft zügig nach oben rechts */
.f-fenster::before { content: ""; position: absolute; inset: -3cqw; background-image: radial-gradient(rgb(255 255 255 / 0.12) 0.25cqw, transparent 0.25cqw); background-size: 3cqw 3cqw; }
.motion .art-flow.is-current .f-fenster::before { animation: f-punkte 1.4s linear infinite; }
@keyframes f-punkte { to { translate: 3cqw -3cqw; } }
.f-raster { position: absolute; inset: 9% 0 0; background: linear-gradient(45deg, transparent 40%, rgb(255 200 0 / 0.4) 50%, transparent 60%) 0 0 / 300% 300% no-repeat, rgb(255 255 255 / 0.035);
  -webkit-mask: linear-gradient(90deg, #000 82%, transparent 82%) 0 0 / 4.5cqw 100%, linear-gradient(#000 76%, transparent 76%) 0 0 / 100% 3.2cqw; -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, #000 82%, transparent 82%) 0 0 / 4.5cqw 100%, linear-gradient(#000 76%, transparent 76%) 0 0 / 100% 3.2cqw; mask-composite: intersect; }
.motion .art-flow.is-current .f-raster { animation: f-welle 9s linear infinite; }
/* der orange Schimmer zieht langsam von unten links nach oben rechts */
@keyframes f-welle { from { background-position: 100% 0%, 0 0; } to { background-position: 0% 100%, 0 0; } }
.art-flow > svg.f-leitung { inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.f-leitung path { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.f-leitung .base { stroke: rgb(255 255 255 / 0.3); stroke-dasharray: 0.5 7; stroke-linecap: round; }
.f-leitung .flow { stroke: var(--hsm-orange); filter: drop-shadow(0 0 4px rgb(255 200 0 / 0.8)); stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.f-kachel { top: 46.5%; width: 8%; height: 9%; display: grid; align-content: center; gap: 1cqw; padding: 0 1.4cqw; border: 1px solid rgb(255 255 255 / 0.14); border-top: 0.6cqw solid var(--kachel, var(--hsm-orange)); border-radius: 1.4cqw; background: #3a241a; }
.f-kachel i { height: 1cqw; border-radius: 99px; background: rgb(255 255 255 / 0.14); }
.f-kachel i + i { width: 60%; }
.f-k-a { left: 48%; }
.f-k-b { left: 60%; }
.f-sieger { left: 33%; top: 42.5%; width: 11%; height: 17%; z-index: 2; }
.f-krone { z-index: 3; width: 4%; }
.f-k1 { left: 34.5%; top: 39.6%; rotate: -10deg; }
.f-k2 { left: 38.5%; top: 39.6%; rotate: 10deg; }
.f-kopie { left: var(--x); top: var(--y); width: 5.2%; height: 8%; overflow: hidden; border-radius: 0.9cqw; box-shadow: 0 0 0 0.4cqw #1b1320, 0 1cqw 2cqw -0.5cqw rgb(0 0 0 / 0.7); }
.f-kopie img { width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(var(--farbe)); }
.motion .art-flow.is-current :is(.f-weg, .f-iv, .f-fenster, .f-leitung .flow, .f-kachel, .f-sieger, .f-krone, .f-kopie) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-flow.is-current .f-weg { animation-name: f-weg; }
.motion .art-flow.is-current .f-iv { animation-name: f-iv; }
.motion .art-flow.is-current .f-fenster { animation-name: f-fenster; }
.motion .art-flow.is-current .f-leitung .flow { animation-name: f-fluss; }
.motion .art-flow.is-current .f-k-a { animation-name: f-kachel-a; }
.motion .art-flow.is-current .f-k-b { animation-name: f-kachel-b; }
.motion .art-flow.is-current .f-sieger { animation-name: f-sieger; }
.motion .art-flow.is-current .f-k1 { animation-name: f-krone-1; }
.motion .art-flow.is-current .f-k2 { animation-name: f-krone-2; }
/* die Varianten kommen nacheinander, jede etwas später (--i) */
.motion .art-flow.is-current .f-kopie { animation-name: f-kopie; animation-delay: calc(var(--t, 0) * -1s + var(--i) * 0.022s); }
@keyframes f-weg { 0% { opacity: 1; scale: 1; } 10%, 100% { opacity: 0; scale: 0.9; } }
@keyframes f-iv { 0%, 8% { opacity: 0; translate: -30% 0; } 18%, 100% { opacity: 1; translate: 0 0; } }
@keyframes f-fenster { 0%, 14% { opacity: 0; clip-path: inset(48% 100% 48% 0 round 2.4cqw); } 16% { opacity: 1; } 22% { clip-path: inset(48% 0 48% 0 round 2.4cqw); } 30%, 100% { opacity: 1; clip-path: inset(0 0 0 0 round 2.4cqw); } }
@keyframes f-kachel-a { 0%, 26% { opacity: 0; scale: 0.5; --kachel: rgb(255 255 255 / 0.22); } 30%, 44% { opacity: 1; scale: 1; --kachel: rgb(255 255 255 / 0.22); } 46%, 100% { opacity: 1; scale: 1; --kachel: var(--hsm-orange); } }
@keyframes f-kachel-b { 0%, 28% { opacity: 0; scale: 0.5; --kachel: rgb(255 255 255 / 0.22); } 32%, 50% { opacity: 1; scale: 1; --kachel: rgb(255 255 255 / 0.22); } 52%, 100% { opacity: 1; scale: 1; --kachel: var(--hsm-orange); } }
@keyframes f-fluss { 0%, 38% { stroke-dashoffset: 1; opacity: 0; } 39% { opacity: 1; } 56%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes f-sieger { 0%, 12% { left: 54.5%; top: 19%; width: 32%; height: 49.6%; } 34%, 100% { left: 33%; top: 42.5%; width: 11%; height: 17%; } }
@keyframes f-krone-1 { 0%, 12% { left: 61.5%; top: 13.2%; width: 8%; } 34%, 100% { left: 34.5%; top: 39.6%; width: 4%; } }
@keyframes f-krone-2 { 0%, 12% { left: 70.5%; top: 13.2%; width: 8%; } 34%, 100% { left: 38.5%; top: 39.6%; width: 4%; } }
@keyframes f-kopie { 0%, 56% { opacity: 0; left: 65%; top: 47%; scale: 0.3; } 58% { opacity: 1; } 66%, 100% { opacity: 1; left: var(--x); top: var(--y); scale: 1; } }

/* Praxisbeispiel, Kopf: Text und aufklappbares Beispiel links, rechts die zwei echten Teile so hoch wie der linke Block */
.prozess-text { display: grid; align-content: start; gap: 0.9rem; }
.prozess-text .lead { max-width: none; margin: 0; font-size: min(1.2rem, 2.25cqi); }
.beispiel { border-radius: 20px; background: rgb(255 255 255 / 0.06); color: var(--on-dark); }
.beispiel summary { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1.1rem; cursor: pointer; list-style: none; }
.beispiel summary::-webkit-details-marker { display: none; }
.beispiel summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -0.15rem; transition: rotate 0.3s var(--smooth); }
.beispiel[open] summary::after { rotate: 225deg; translate: 0 0.15rem; }
.beispiel summary:hover { background: rgb(255 255 255 / 0.04); border-radius: 20px; }
.beispiel-teile { display: flex; flex: none; align-items: flex-end; gap: 0.3rem; }
.beispiel-teile img { width: auto; height: 3.6rem; }
.beispiel-teile img + img { height: 2.8rem; }
.beispiel-zeile { font-size: var(--step-0); }
.beispiel { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1.1rem; }
/* Die Zeile führt in den Demo-Shop: rechts ein Pfeil, beim Drüberfahren hellt sie auf und der Pfeil rückt vor */
a.beispiel { text-decoration: none; transition: background-color 0.25s; }
a.beispiel:hover, a.beispiel:focus-visible { background: rgb(255 255 255 / 0.11); }
.beispiel-pfeil { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-left: auto; border: 2px solid currentColor; border-radius: 50%; opacity: 0.8; transition: translate 0.3s var(--smooth), opacity 0.2s, background-color 0.2s, color 0.2s; }
.beispiel-pfeil svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
a.beispiel:hover .beispiel-pfeil, a.beispiel:focus-visible .beispiel-pfeil { opacity: 1; translate: 4px 0; background: var(--on-dark); color: var(--espresso); }
/* Die Teile nehmen genau die Höhe des linken Blocks (Text plus Beispiel), deshalb absolut in einer festen Breite */
.prozess-teile { position: relative; width: clamp(13rem, 19vw, 17rem); }
.prozess-teile img { position: absolute; left: 0; bottom: 0; width: auto; height: 100%; max-width: 50%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 1rem 1.4rem rgb(0 0 0 / 0.5)); }
.prozess-teile img + img { left: auto; right: 0; height: 94%; }
.prozess-teile .ki-hinweis { left: auto; right: 0; bottom: 0; }
@media (max-width: 760px) {
  .prozess-teile { width: min(100%, 22rem); height: 12rem; margin-inline: auto; }
}

/* Der Kopf des Praxisbeispiels steht auf breiten Bildschirmen in der Bühne über dem Rad (main.js setzt ihn dorthin),
   der Kreis richtet sich nach der Resthöhe (--kopf-h misst main.js). Schmal läuft der Kopf vor der Bühne mit. */
.prozess-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: clamp(1.5rem, 4vw, 3rem); }
/* Überschrift immer in einer Zeile: Größe richtet sich nach der Breite der Textspalte */
.prozess-text { container-type: inline-size; }
.prozess-text h2 { margin: 0; max-width: none; white-space: nowrap; font-size: min(3.2rem, 6.3cqi); }
.prozess-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }
.prozess-rechts .prozess-teile { flex: 1; }
.beispiel { position: relative; z-index: 3; }

.motion .kreislauf-stage > .rad-kopf { flex: none; width: 100%; padding-top: clamp(0.6rem, 2svh, 1.4rem); padding-bottom: clamp(0.8rem, 2.5svh, 1.6rem); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.motion .kreislauf-stage:has(> .rad-kopf) { flex-direction: column; }
.motion .kreislauf-stage:has(> .rad-kopf) > .loop-inner { margin-block: auto; }
.motion .kreislauf-stage .loop-ring { --R: min(19vw, (100svh - var(--header-h) - var(--kopf-h, 0px) - var(--nav-h) - 3.5rem) / 2.3, 250px); }
@media (max-width: 860px) {
  .prozess-kopf { grid-template-columns: 1fr; }
  .prozess-rechts { align-items: center; }
  .prozess-text h2 { white-space: normal; font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .prozess-text .lead { font-size: var(--step-0); }
  .prozess-text .lead br { display: none; }
  .prozess-rechts .prozess-teile { flex: none; width: min(100%, 22rem); height: 12rem; }
  .motion .kreislauf-scene { height: calc(100svh - var(--header-h) + var(--len) * 1svh + var(--kopf-h, 0px)); }
  .motion .kreislauf-stage .loop-ring { --R: min(33vw, 19svh); }
}
/* Marken für das Einrasten mit dem Mausrad (main.js): ohne Höhe, nur zum Messen */
.karten-marke { display: block; height: 0; margin: 0; }
/* ----- Karten-Stapel (body.karten-stapel, eingeführt auf websites.html) -----
   Jeder Abschnitt in <main> ist eine Karte. Beim Scrollen bleibt die aktuelle Karte stehen, die nächste gleitet von unten
   darüber und ist vorher nur angeteasert: ihre Oberkante steht auf der Mitte der Zeitleiste. Die Kopfzeile nimmt die Farbe
   der obersten Karte an. Die letzte Karte (.next mit Weiter-Banner) reicht mit Peggy und Impressum bis ganz unten und
   wächst mit dem Banner. main.js setzt je Karte --karte-oben, --karte-min und z-index, an <html> --kopf-farbe.
   Eigene Kartenfarbe je Seite: --karte am Abschnitt setzen (eng begrenzte Regel darunter). */
.karten-stapel main > section { position: relative; background: var(--karte, var(--cream)); }
.karten-stapel main > .sheet-panel { --karte: var(--panel); }
.karten-stapel main > .sheet-dark { --karte: var(--espresso); }
.karten-stapel main > .sheet { box-shadow: 0 -22px 40px -26px rgb(20 20 24 / 0.4); }
/* Die letzte Karte bekommt einen zarten Ton aus der Farbe des nächsten Lehrgebiets */
.karten-stapel { --ende-farbe: var(--c-title); --ende-karte: color-mix(in srgb, var(--ende-farbe) 16%, var(--cream)); }
.karten-stapel:has(.next[data-area="foto"]) { --ende-farbe: var(--c-foto); }
.karten-stapel:has(.next[data-area="video"]) { --ende-farbe: var(--c-video); }
.karten-stapel:has(.next[data-area="recht"]) { --ende-farbe: var(--c-recht); }
.karten-stapel:has(.next[data-area="web"]) { --ende-farbe: var(--c-web); }
.karten-stapel:has(.next[data-area="ki"]) { --ende-farbe: var(--c-ki); }
.karten-stapel:has(.next[data-area="social"]) { --ende-farbe: var(--c-social); }
.karten-stapel .site-footer:has(.peggy-band) { background: var(--ende-karte); }
/* Der Grund der letzten Karte liegt im ::before und wächst mit dem Banner nach oben, damit der Abstand darüber gleich bleibt.
   Eigene Größe --karte-extra: --extra am .next würde das Banner erben und dann doppelt wachsen.
   Am Ende schiebt sich der Grund 28 px weiter als das Banner, bis unter die Kopfzeile: die färbt sich ein letztes Mal um. */
@property --karte-extra { syntax: "<length>"; inherits: true; initial-value: 0px; }
/* Mit Scroll-Animation wächst der Grund über top (siehe ende-wachsen: Safari animiert die Variable dort nicht) */
@keyframes karte-wachsen { from { top: 0px; } to { top: calc((var(--lauf) + 28px) * -1); } }
.karten-stapel main > .next { border-radius: 40px 40px 0 0; background: none; }
.karten-stapel main > .next::before { content: ""; position: absolute; inset: calc(var(--karte-extra) * -1) 0 0; z-index: -1; border-radius: 40px 40px 0 0; background: var(--ende-karte); box-shadow: 0 -22px 40px -26px rgb(20 20 24 / 0.4); }
/* Das Banner wächst nur so weit, dass der Rand der Karte (Polster oben + 16 px) unter der Kopfzeile sichtbar bleibt */
@property --wachs-luft { syntax: "<length>"; inherits: false; initial-value: 16px; }
.karten-stapel main > .next { --wachs-luft: calc(clamp(3.5rem, 8vw, 6rem) + 16px); }
@supports (animation-timeline: scroll()) {
  .karten-stapel.ende-wachsen main > .next { animation: ende-halten linear both; animation-timeline: scroll(root); animation-range: calc(100% - var(--lauf)) 100%; }
  .karten-stapel.ende-wachsen main > .next::before { animation: karte-wachsen linear both; animation-timeline: scroll(root); animation-range: calc(100% - var(--lauf)) 100%; }
}
@media (min-width: 861px) {
  /* Die Karten kleben bis zum Seitenende: <main> gibt keinen eigenen Kasten vor, sonst endet er mit der kurzen letzten
     Karte und schiebt die vorige Karte mit hoch. Der Footer liegt zwischen vorletzter und letzter Karte (z-index aus main.js). */
  .karten-stapel main { display: contents; }
  .karten-stapel .site-footer { position: relative; }
  .karten-stapel main > section:not(.next) { position: sticky; top: var(--karte-oben, 0px); }
  /* Karten mit Bühne enden mit der Bühne: kein Polster darunter, sonst rutscht die stehende Bühne vor der nächsten Karte hoch */
  .motion .karten-stapel main > section:has(> [data-scene], > .wrap > [data-scene]) { padding-bottom: 0; }
  /* Kurze Karten füllen den Platz bis zur Teaser-Linie, der Inhalt steht mittig */
  .karten-stapel main > section:not(.next, .page-hero) { display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; min-height: var(--karte-min, auto); }
  .karten-stapel main > section:not(.next, .page-hero) > .wrap { width: 100%; box-sizing: border-box; }
  .karten-stapel .site-header:not(.is-dark) { background: color-mix(in srgb, var(--kopf-farbe, var(--cream)) 94%, transparent); transition: background-color 0.4s; }
}
/* KI & CG: Die Workflow-Karte klebt direkt am Ende der Bühne, ohne Polster darunter, sonst rutscht die Bühne erst hoch */
@media (min-width: 861px) { .motion .karten-stapel #workflow { padding-bottom: 0; } }
/* Websites: der Shop liegt auf einer zartblauen Karte (Websites-Farbe) */
.karten-stapel #shop { --karte: color-mix(in srgb, var(--c-web) 9%, #fff); }
/* Video: der Green-Screen-Abschnitt bleibt im Karten-Stapel eine dunkle Karte */
.karten-stapel #greenscreen { --karte: var(--espresso); }
/* Websites: „In drei Schritten“ als Comicstreifen wie auf Medienrecht, Nummern in der Websites-Farbe */
.schritte-strip h3::before { background: var(--c-web); }
/* Websites: Überschrift der drei Schritte mittig über dem Comicstreifen, am großen Bildschirm in einer Zeile */
#schritte h2 { max-width: none; text-align: center; }
@media (min-width: 861px) { #schritte h2 { white-space: nowrap; font-size: min(var(--step-3), calc((min(100vw, 1200px) - 2 * var(--gutter)) / 16.2)); } }

/* ----- Ablauf, Abschluss, Kosten: Kopf mit Illustration rechts oben (Sonne, Hügel, Campus), sechs Kacheln mit Linien-Icons ----- */
.studium { position: relative; isolation: isolate; overflow: hidden; }
.studium-kulisse { position: absolute; z-index: -1; top: 0; right: 0; width: min(78rem, 92vw); height: auto; pointer-events: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.studium-kopf .kicker { display: flex; align-items: center; gap: 1rem; }
.studium-kopf .kicker::after { content: ""; width: 4.5rem; height: 2px; background: currentColor; }
.studium .studium-kopf h2 { white-space: nowrap; font-size: clamp(2.4rem, 0.6rem + 3.6vw, 4.2rem); line-height: 1; margin-bottom: 0.4rem; }
@media (max-width: 760px) { .studium .studium-kopf h2 { white-space: normal; } }
.studium-kopf .lead { max-width: 40rem; }
.eckdaten { display: grid; grid-template-columns: 1fr 1fr 1.45fr; gap: 0.9rem; margin: 1.3rem 0 0; }
.eckdatum { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 0.9rem; row-gap: 0.3rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: 22px; background: rgb(255 255 255 / 0.88); box-shadow: 0 18px 40px -26px rgb(20 20 24 / 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.eckdatum-ico { grid-row: 1 / 3; grid-column: 1; width: clamp(2.5rem, 3.4vw, 3.2rem); }
.eckdatum-ico svg { display: block; width: 100%; height: auto; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eckdatum-ico svg circle { fill: var(--ink); stroke: none; }
.eckdatum-ico .akzent, .eckdatum-ico .akzent * { stroke: var(--terra); }
.eckdatum-ico circle.akzent { fill: none; stroke: var(--terra); }
.eckdatum-ico .voll { fill: var(--terra); }
.eckdatum::before { content: ""; grid-row: 1 / 3; grid-column: 2; width: 1.5px; height: 100%; min-height: 3rem; background: var(--terra); opacity: 0.55; }
.eckdatum dt { grid-column: 3; font-family: var(--font-serif); font-size: clamp(1rem, 0.7rem + 0.55vw, 1.25rem); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--terra); }
.eckdatum dd { grid-column: 3; margin: 0; font-family: var(--font-serif); font-size: clamp(0.92rem, 0.8rem + 0.25vw, 1.05rem); line-height: 1.4; color: var(--ink); }
.studium .fakten-quelle { margin-top: 1rem; }
.studium .studium-raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin-top: 2rem; }
@media (max-width: 1100px) { .eckdaten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .eckdaten { grid-template-columns: 1fr; }
  .studium-kulisse { width: 120vw; opacity: 0.5; }
}

/* ----- Start: Filmstreifen größer (Klick auf ein Bild, main.js setzt .film-gross, --kb-h und --polster-gross) -----
   Der Streifen wächst nur nach unten bis an den Fensterrand; die Bühne gibt unten genauso viel Polster ab,
   deshalb bleiben Text, HendriX und iV, wo sie sind. */
.hero-v3 .hero-stage { transition: padding-bottom 0.7s var(--smooth); }
.hero-v3 .hero-stage.film-gross { padding-bottom: var(--polster-gross, 0px); }
.hero-v3 .kontaktbogen:not(.ist-gross) .kb-bild { cursor: zoom-in; }
.hero-v3 .kontaktbogen.ist-gross .kb-bild { cursor: zoom-out; }
.hero-v3 .kontaktbogen.ist-gross .kb-name { pointer-events: auto; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }

/* ----- Können: „Für wen“ als Wechsel: „Für“, die Zielgruppe fett, mittig der Satz, rechts die Person ----- */
.zielgruppe.ziel-wechsel { position: relative; display: flex; align-items: center; gap: 0.6rem 1.2rem; padding: 0.4rem 1.5rem; border: 0; }
/* Rahmen: schwarze Striche, die langsam im Kreis um den Kasten laufen */
.ziel-rahmen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ziel-rahmen rect { width: calc(100% - 2px); height: calc(100% - 2px); fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 9 7; }
.motion .ziel-rahmen rect { animation: ziel-ameisen 1.1s linear infinite; }
@keyframes ziel-ameisen { to { stroke-dashoffset: -16; } }
.ziel-fuer { flex: none; margin: 0; font-family: var(--font-serif); font-size: var(--step-2); font-style: italic; color: var(--muted); }
.ziel-liste { flex: 1; display: grid; gap: 0.8rem; min-width: 0; margin: 0; padding: 0; list-style: none; }
.ziel-eintrag { display: grid; grid-template-columns: auto minmax(0, 1fr) 4.4rem; align-items: center; gap: 1.4rem; }
.ziel-eintrag .ziel-name { max-width: 17rem; }
.ziel-eintrag .ziel-text { justify-self: center; max-width: 36rem; text-align: center; } /* immer mittig zwischen Zielgruppe und Person */
.ziel-name { font-family: var(--font-display); font-size: clamp(1.25rem, 0.9rem + 1vw, 1.8rem); font-weight: 800; line-height: 1.1; }
.ziel-text { color: var(--muted); font-size: var(--step-0); line-height: 1.4; font-style: italic; }
.ziel-figur { display: block; height: 5.2rem; overflow: hidden; } /* nur der Oberkörper */
.ziel-figur img { display: block; width: 100%; height: auto; transform: scaleX(-1); } /* gespiegelt: sie schaut nach links ins Bild */
/* Mit Bewegung liegen alle übereinander, eine ist zu sehen: kommt aus der Unschärfe von unten, geht nach oben */
.ziel-wechsel.laeuft .ziel-eintrag { grid-area: 1 / 1; opacity: 0; visibility: hidden; filter: blur(8px); translate: 0 0.7rem;
  transition: opacity 0.7s ease, filter 0.7s ease, translate 0.7s cubic-bezier(0.7, 0, 0.84, 0), visibility 0s 0.7s; }
.ziel-wechsel.laeuft .ziel-eintrag.ist-weg { translate: 0 -0.7rem; }
.ziel-wechsel.laeuft .ziel-eintrag.ist-aktiv { opacity: 1; visibility: visible; filter: blur(0); translate: 0 0;
  transition: opacity 0.8s ease 0.2s, filter 0.9s ease 0.2s, translate 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, visibility 0s; }
@media (max-width: 700px) {
  .ziel-eintrag { grid-template-columns: minmax(0, 1fr) 3.6rem; gap: 0.2rem 0.8rem; }
  .ziel-text { grid-row: 2; font-size: var(--step--1); }
  .ziel-figur { grid-row: 1 / 3; grid-column: 2; height: 4.4rem; }
}

/* ----- Lehrgebiete am großen Bildschirm (main.js setzt .plan-manuell): keine Scroll-Strecke. Ein Dreh am Mausrad fährt
   den orangen Balken zügig zum nächsten Lehrgebiet, dort läuft er langsam durch ----- */
.motion .bereiche-scene.plan-manuell { height: auto; }
.motion .plan-manuell .bereiche-stage { position: relative; top: 0; }
/* Beim Wechsel schließt das offene Fach, der Balken fährt, erst am Ziel klappt das neue Fach auf (main.js: .plan-faehrt) */
@media (min-width: 861px) {
  .motion .plan-faehrt .bereiche-stage .module-card.step-panel.is-current { clip-path: inset(0 -4rem 100% -4rem); transition: clip-path 0.35s var(--smooth); }
}

/* Können: Überschrift als Einzeiler, die „2“ groß hervorgehoben (in der Display-Schrift, HSM-Orange) */
.koennen-titel .titel-zahl { display: inline-block; margin: 0 0.04em; font-family: var(--font-display); font-size: 1.55em; font-weight: 900; line-height: 0.8; color: var(--hsm-orange); vertical-align: -0.08em; }

/* Mila am großen Bildschirm: Das Bild steht unten in der Leiste „Was man daran übt“ und ragt aus ihr heraus.
   Die Leiste liegt davor und verdeckt die Unterkante des Bildes; dafür blendet sie rechts nicht mehr aus. */
@media (min-width: 861px) {
  .mila-buehne .mila-bild { position: relative; z-index: 1; align-self: end; margin-bottom: calc(-1 * (1.6rem + 2.3rem) + 0.35rem); }
  .mila-uebt { position: relative; z-index: 2; }
  .mila-buehne .mila-bild .mila-blog { bottom: calc(2.3rem + 1rem); } /* Blog-Knopf über der Leiste, nicht dahinter */
  .motion .mila-uebt .mila-band { -webkit-mask-image: none; mask-image: none; }
  .mila-uebt .mila-band { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), 0 -10px 22px -14px rgb(20 20 24 / 0.35); }
}

/* Lehrgebiete: Kacheln, die der Balken noch nicht erreicht hat, sind grau; die Farbe kommt bei Ankunft (main.js: .noch-grau) */
.clip { transition: filter 0.6s ease, opacity 0.6s ease, translate 0.3s var(--smooth), box-shadow 0.3s; }

/* ----- Start mit Blende (index.html, main.js): Solange html.intro gesetzt ist, liegt die Blende über allem.
   Erst ein weicher grauer Brei (stark weichgezeichnet, bewegt sich leicht), daraus schärft sich eine geschlossene
   Kamerablende, die sich dann öffnet. Die Seite und HendriX und iV (Kleiderbügel) starten erst danach. ----- */
.blende { display: none; }
.intro .blende { position: fixed; inset: 0; z-index: 9999; display: block; overflow: hidden; background: #2a2a2e; cursor: progress; }
.blende-brei { position: absolute; inset: -25%; filter: blur(60px);
  background: radial-gradient(38% 34% at 32% 38%, #5a5a60, transparent 70%), radial-gradient(40% 36% at 70% 64%, #1c1c20, transparent 70%),
    radial-gradient(30% 30% at 62% 30%, #48484e, transparent 70%), radial-gradient(34% 30% at 30% 72%, #333338, transparent 70%), #2a2a2e;
  animation: brei-wabern 3.2s ease-in-out infinite alternate; }
@keyframes brei-wabern { from { translate: -2% -1%; rotate: -3deg; scale: 1; } to { translate: 2% 2%; rotate: 4deg; scale: 1.08; } }
.blende-lamellen { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; filter: blur(28px); }
.blende-lamellen rect { fill: url(#blende-verlauf); stroke: rgb(255 255 255 / 0.13); stroke-width: 1.4; }
.blende.scharf .blende-lamellen { opacity: 1; filter: blur(0); transition: opacity 0.6s ease, filter 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.blende.scharf .blende-brei { opacity: 0; transition: opacity 0.8s ease; }
.blende.offen { pointer-events: none; background: transparent; } /* die Lamellen decken zu; in der Öffnung erscheint die Seite */
.blende.offen .blende-brei { display: none; }
.blende.weg { opacity: 0; transition: opacity 0.3s ease; }
/* Mit Blende steht der Text schon da, während sie aufgeht: kein oranger Balken, kein Einblenden */
.intro .hero-v3 .hero-scrub { display: none; }
.intro .hero-v3 .hero-copy { animation: none; }

/* ===== Runde 14.–16.11. (Hendrik) ===== */
/* Können: „Ziel:“ in Orange, der Rest grau */
.ziel-satz b { color: var(--hsm-orange); font-weight: 800; }

/* Praxisbeispiel-Kopf: Überschrift in einer Zeile und das Beispiel mittig, ohne Trennlinie zum Rad */
.prozess-kopf { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.prozess-text { justify-items: center; width: 100%; }
.prozess-text h2 { font-size: min(3.4rem, 6.3cqi); }
.prozess-text a.beispiel { justify-self: center; width: fit-content; max-width: 100%; gap: 1.2rem; }
.motion .kreislauf-stage > .rad-kopf { border-bottom: 0; }

/* Rad: Knoten grau, bis sie dran sind; nur der aktuelle ist farbig gefüllt. Mit der Maus leuchten sie weiß */
/* Schon erreichte Knoten behalten Rand und Symbol in ihrer Farbe, die Fläche bleibt dunkel */
.rad-knoepfe .loop-node.is-done { color: var(--dot); box-shadow: 0 0 0 2px var(--dot); background: var(--espresso); }
.rad-knoepfe .loop-node:not(.is-current):is(:hover, :focus-visible) { color: #fff; box-shadow: 0 0 0 2px #fff; }
/* Am Ende bei KI und CG: alles lila, ein Schimmer läuft ab und zu einmal die Runde (Fotografie → KI und CG) */
.rad-knoepfe.rad-ende .loop-node { background: var(--c-ki); color: #fff; box-shadow: 0 0 0 3px var(--c-ki); }
.rad-knoepfe.rad-ende .loop-node.is-current { box-shadow: 0 0 0 3px #fff; }
/* Balken in Abschnitten: jeder Abschnitt trägt die Farbe des Knotens, von dem er losläuft (main.js setzt --seg-farbe) */
.loop-seg, .loop-schimmer { display: none; }
.rad-knoepfe .loop-fill { display: none; }
.rad-knoepfe .loop-seg { display: block; fill: none; stroke: var(--seg-farbe, var(--hsm-orange)); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - clamp(0, var(--ring, 0) * 5 - var(--k), 1) * 100); }
.rad-knoepfe.rad-ende .loop-schimmer { display: block; fill: none; stroke: url(#rad-glanz); stroke-width: 7; stroke-linecap: round; filter: blur(2.5px); }
/* Pfeil nach oben bei Fotografie ganz weg; Neustart ohne Kreis, dafür größer; keine Umrandung nach dem Klick */
.rad-knoepfe .loop-skip:disabled { visibility: hidden; }
.rad-knoepfe .loop-skip.ist-nochmal .skip-nochmal { width: 3.3rem; height: 3.3rem; padding: 0; border: 0; stroke-width: 2; }
.rad-knoepfe .loop-skip:focus, .rad-knoepfe .loop-skip:focus-visible { outline: none; }
/* Karte: statt „1 · Fotografie“ läuft unten ein Band in der Farbe des Schritts mit dem Namen durch */
.rad-knoepfe .loop-from { display: none; }
.loop-band { display: none; }
.rad-knoepfe .loop-band { display: flex; overflow: hidden; contain: inline-size; min-width: 0; margin: auto calc(-1 * clamp(1.5rem, 3vw, 2.3rem)) -1rem -5.6rem; padding: 0.55rem 0; background: var(--dot); color: #111; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
/* Nur die Schrift läuft an den Rändern weich aus, die Farbfläche bleibt voll */
.rad-knoepfe .loop-band { position: relative; }
.rad-knoepfe .loop-band::before, .rad-knoepfe .loop-band::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 14%; pointer-events: none; }
.rad-knoepfe .loop-band::before { left: 0; background: linear-gradient(90deg, var(--dot), transparent); }
.rad-knoepfe .loop-band::after { right: 0; background: linear-gradient(-90deg, var(--dot), transparent); }
.rad-knoepfe .loop-band > span { flex: none; display: flex; animation: band-lauf 28s linear infinite; }
.rad-knoepfe .loop-band > span i { font-style: italic; padding-right: 3.5rem; }
@keyframes band-lauf { to { translate: -100% 0; } }
.rad-knoepfe .loop-panel h3 { margin-top: 0.3rem; }

/* Lehrgebiete: der Balken „druckt“ die Farbe auf die Kacheln. Rechts vom Balken ist die Kachel noch grau
   (Milchglas-Filter ab --druck, main.js rechnet --druck aus der Lage des Balkens) */
.motion .plan-manuell .clip::after { content: ""; position: absolute; inset: 0 0 0 calc(var(--druck, 0) * 100%); z-index: 1; -webkit-backdrop-filter: grayscale(1) brightness(0.8); backdrop-filter: grayscale(1) brightness(0.8); pointer-events: none; }

/* Praxis zum Anfassen: Titel und Satz unter den Bildern erst beim Drüberfahren (gleiten von oben herein);
   der erste ist sichtbar, bis man über eine andere Kachel fährt (main.js: .beruehrt) */
@media (hover: hover) {
  .projekte-grid .projekt > :is(b, span:last-child) { opacity: 0; translate: 0 -0.7rem; transition: opacity 0.45s ease, translate 0.55s var(--smooth); }
  .projekte-grid .projekt:is(:hover, :focus-visible) > :is(b, span:last-child),
  .projekte-grid:not(.beruehrt) > li:first-child .projekt > :is(b, span:last-child) { opacity: 1; translate: 0 0; }
}

/* Mila: Text über die ganze Breite */
.mila-kopf .lead { max-width: none; }

/* Ablauf, Abschluss, Kosten: das Bild rechts läuft auch nach links weich aus */
.studium-kulisse { -webkit-mask-image: linear-gradient(#000 70%, transparent), linear-gradient(90deg, transparent, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(#000 70%, transparent), linear-gradient(90deg, transparent, #000 30%); mask-composite: intersect; }

/* Alle Karten im Stapel haben oben runde Ecken wie Karteikarten, bis sie oben angekommen sind (.ist-oben) */
.karten-stapel main > section:not(:first-of-type) { border-top-left-radius: 40px; border-top-right-radius: 40px; transition: border-radius 0.35s var(--smooth); }
.karten-stapel main > section:not(:first-of-type):not(.sheet) { box-shadow: 0 -22px 40px -26px rgb(20 20 24 / 0.4); }
.karten-stapel main > section.ist-oben { border-top-left-radius: 0; border-top-right-radius: 0; }

/* ===== Runde 16.11. nachmittags ===== */
/* Start: wie ein Trichter. Die zwei Knöpfe zusammen so breit wie die Eckdaten-Chips darüber,
   der Satz darüber im Blocksatz etwas breiter, der Titel am breitesten (main.js misst --chips-w) */
.hero-v3 .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: var(--chips-w, auto); }
.hero-v3 .hero-actions .btn { justify-content: center; width: 100%; box-sizing: border-box; }
.hero-v3 .hero-facts { max-width: calc(var(--chips-w, 40rem) * 1.28); text-align: justify; text-align-last: center; hyphens: auto; }

/* Rad: bei KI und CG wird alles lila, auch die Abschnitte im Ring */
.rad-knoepfe .loop-seg { transition: stroke 0.6s ease; }
.rad-knoepfe.rad-ende .loop-seg { stroke: var(--c-ki); }

/* Rad, Reaktionen: links ein Karussell (Bilder gleiten nacheinander durch), rechts eine Story */
.r-karussell { background: #111; }
.r-bahn { position: absolute; inset: 0; display: flex; width: 300%; }
.r-bahn img { width: calc(100% / 3); height: 100%; object-fit: cover; }
.motion .art-reakt.is-current .r-bahn { animation: r-karussell 7.5s ease-in-out infinite; }
@keyframes r-karussell { 0%, 27% { translate: 0 0; } 33%, 60% { translate: -33.333% 0; } 66%, 94% { translate: -66.666% 0; } 100% { translate: 0 0; } }
.r-punkte { position: absolute; left: 0; right: 0; bottom: 22cqw; display: flex; justify-content: center; gap: 1.6cqw; }
.r-punkte i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: rgb(255 255 255 / 0.5); }
.motion .art-reakt.is-current .r-punkte i { animation: r-punkt 7.5s steps(1) infinite; }
.motion .art-reakt.is-current .r-punkte i:nth-child(2) { animation-delay: -5s; }
.motion .art-reakt.is-current .r-punkte i:nth-child(3) { animation-delay: -2.5s; }
@keyframes r-punkt { 0% { background: #fff; } 33.3% { background: rgb(255 255 255 / 0.5); } }
.r-story-balken { position: absolute; left: 4cqw; right: 4cqw; top: 4cqw; display: flex; gap: 1.2cqw; }
.r-story-balken i { flex: 1; height: 0.9cqw; border-radius: 1cqw; background: rgb(255 255 255 / 0.45); }
.r-story-balken i:first-child { background: #fff; }
.r-story-balken i:nth-child(2) { background: linear-gradient(90deg, #fff 55%, rgb(255 255 255 / 0.45) 55%); }

/* Praxis zum Anfassen: lädt zum Klicken ein – auf jeder Kachel ein Knopf „Ausprobieren“, beim Drüberfahren
   gleitet er herein und das Bild zoomt leicht */
.projekt-bild::after { content: "Ausprobieren →"; position: absolute; right: 0.7rem; bottom: 0.7rem; z-index: 1; padding: 0.35rem 0.85rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: var(--step--1); font-weight: 800; box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.5); opacity: 0; translate: 0 0.5rem; transition: opacity 0.3s ease, translate 0.35s var(--smooth); }
.projekt:is(:hover, :focus-visible) .projekt-bild::after { opacity: 1; translate: 0 0; }
.projekt-bild img { transition: scale 0.6s var(--smooth); }
.projekt:is(:hover, :focus-visible) .projekt-bild img { scale: 1.05; }
@media (hover: none) { .projekt-bild::after { opacity: 1; translate: none; } }

/* Mila: ein größeres Kreislauf-Rad an der Stelle der drei Stufen. Es dreht sich langsam, Symbole und Namen bleiben aufrecht */
.mila-kreis { grid-area: stufen; align-self: center; justify-self: center; position: relative; width: min(100%, 20rem); aspect-ratio: 1; }
.mila-kreis-dreh { position: absolute; inset: 0; }
.mila-kreis svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--c-recht); stroke-width: 3.5; stroke-linecap: round; }
.mila-kreis marker path { fill: var(--c-recht); stroke: none; }
.mila-kreis .mk { position: absolute; display: grid; justify-items: center; gap: 0.2rem; width: 30%; translate: -50% -50%; cursor: help; }
.mila-kreis .mk img { width: 78%; height: auto; transition: scale 0.3s var(--spring); }
.mila-kreis .mk:hover img { scale: 1.12; }
.mila-kreis .mk b { font-family: var(--font-serif); font-size: var(--step-0); font-weight: 600; }
.mila-kreis .mk-1 { left: 50%; top: 14%; }
.mila-kreis .mk-2 { left: 81%; top: 68%; }
.mila-kreis .mk-3 { left: 19%; top: 68%; }
.motion .mila-kreis-dreh { animation: kreis-dreh 40s linear infinite; }
.motion .mila-kreis .mk { animation: kreis-gegen 40s linear infinite; }
.motion .mila-kreis:hover :is(.mila-kreis-dreh, .mk) { animation-play-state: paused; }
@keyframes kreis-dreh { to { rotate: 360deg; } }
@keyframes kreis-gegen { to { rotate: -360deg; } }

/* Nach der Blende steht die Seite sofort da: kein oranger Balken über dem Titel, kein Einblenden des Textes */
.nach-blende .hero-v3 .hero-scrub { display: none; }
.nach-blende .hero-v3 .hero-copy { animation: none; }

/* HendriX und iV drehen sich beim Drüberfahren wie auf einem Drehteller (main.js setzt --dreh und --spiegel) */
.duo-figur { transform: perspective(1600px) rotateY(var(--dreh, 0deg)) scaleX(var(--spiegel, 1)); }
.motion .hero-duo .duo-figur.ist-da { pointer-events: auto; cursor: pointer; }
/* Der alte Kreis zur echten Person entfällt: die ganze Figur zeigt je nach .getauscht eine Fassung */
.duo-figur.getauscht .duo-echt { visibility: visible; mask-image: none; -webkit-mask-image: none; }
.motion .duo-figur.getauscht .duo-rig { visibility: hidden; }
.duo-figur:not(.getauscht) .duo-echt { visibility: hidden; }

/* Lehrgebiete: Steuerung auf den Kacheln (main.js fügt .clip-aktion ein). Beim Drüberfahren weichen Nummer und Symbol:
   auf einer anderen Kachel ein Pfeil (dorthin springen), auf der aktiven Pause, wenn pausiert Play */
.clip-aktion { display: none; }
@media (min-width: 861px) {
  .motion .plan-manuell .clip-aktion { display: grid; place-items: center; grid-row: 1; grid-column: 2 / 4; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
  .clip-aktion svg { display: none; width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .clip-aktion :is(.ca-play, .ca-pfeil) { fill: currentColor; stroke-width: 1.5; }
  .clip-aktion .ca-pause { stroke-width: 3.2; }
  /* Lehrgebiete vor dem aktuellen: Doppelpfeil nach links (zurückspringen) */
  .plan-manuell .clip.is-done .ca-pfeil { rotate: 180deg; }
  .motion .plan-manuell .clip:is(:hover, :focus-visible) .clip-aktion { opacity: 0.85; }
  .motion .plan-manuell .clip:is(:hover, :focus-visible) :is(.clip-no, .clip-ico) { visibility: hidden; }
  .plan-manuell .clip:not(.is-current) .ca-pfeil { display: block; }
  .plan-manuell:not(.plan-pause) .clip.is-current .ca-pause { display: block; }
  .plan-manuell.plan-pause .clip.is-current .ca-play { display: block; }
  /* Pausiert: auf der aktiven Kachel bleibt Play zu sehen, auch ohne Maus */
  .motion .plan-manuell.plan-pause .clip.is-current .clip-aktion { opacity: 0.85; }
  .motion .plan-manuell.plan-pause .clip.is-current :is(.clip-no, .clip-ico) { visibility: hidden; }
}

/* Während der Drehung stehen Kopf und Arme still (keine Pendel-, Wipp- und Neige-Animation): die Figur dreht sich
   als ein Bild, ohne dass der Browser Ebenen einzeln neu berechnet */
.motion .duo-figur.dreht :is(.duo-rig > *, .echt-kopf) { animation: none !important; transition: none !important; rotate: 0deg !important; }
.duo-figur.dreht { will-change: transform; }

/* ===== Rad, Fotografie: HendriX fotografiert iV am Greenscreen, Blitz, dann steht das fertige Foto da =====
   Läuft über --t (Fortschritt im Schritt, 0–1). Eigene Keyframe-Namen (fs-…), damit nichts mit anderen Szenen kollidiert. */
.art-foto .f-gs { opacity: 1; }
.art-foto .f-weiss { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
.art-foto .f-echt { position: absolute; left: 20%; top: 17%; width: 60%; height: 66%; z-index: 3; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 40px -14px rgb(0 0 0 / 0.75), 0 0 0 4px #fff; opacity: 0; }
.motion .art-foto.is-current :is(.f-gs, .sz-iv, .sz-hx, .sz-blitz, .f-weiss, .f-echt) { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-foto.is-current .f-gs { animation-name: fs-szene; }
.motion .art-foto.is-current .sz-iv { animation-name: fs-szene; }
.motion .art-foto.is-current .sz-hx { animation-name: fs-hx; }
.motion .art-foto.is-current .sz-blitz { animation-name: fs-blitz; }
.motion .art-foto.is-current .f-weiss { animation-name: fs-weiss; }
.motion .art-foto.is-current .f-echt { animation-name: fs-echt; }
@keyframes fs-szene { 0% { opacity: 0; translate: 0 5%; } 10%, 46% { opacity: 1; translate: 0 0; } 58%, 100% { opacity: 0.15; translate: 0 0; } }
@keyframes fs-hx { 0%, 4% { opacity: 0; translate: -6% 0; } 14%, 46% { opacity: 1; translate: 0 0; } 58%, 100% { opacity: 0.15; translate: 0 0; } }
@keyframes fs-blitz { 0%, 38% { opacity: 0; scale: 0.6; } 41% { opacity: 1; scale: 1.3; } 46%, 100% { opacity: 0; scale: 1; } }
@keyframes fs-weiss { 0%, 40% { opacity: 0; } 43% { opacity: 0.95; } 62%, 100% { opacity: 0; } }
@keyframes fs-echt { 0%, 42% { opacity: 0; scale: 1.06; filter: blur(6px); } 56% { opacity: 1; filter: blur(0); } 100% { opacity: 1; scale: 1; filter: blur(0); } }
/* Ohne Bewegung: nur das fertige Foto */
html:not(.motion) .art-foto .f-echt { opacity: 1; }

/* ===== Rad, Social Media: iVs Story mit echtem Story-Overlay (nach dem NOPAL-Kreislauf). Ein Mauszeiger klickt,
   ein Herz steigt auf, rechts schlägt der Balken der Reaktionen aus. Läuft in einer Schleife, solange der Schritt offen ist. */
.art-social { --takt: 7.2s; container-type: normal; }
.art-social > * { position: absolute; }
.art-social .story-handy { left: 26%; top: 15%; height: 70%; aspect-ratio: 9 / 19; padding: 1.6%; border-radius: 13% / 6.2%; background: #0b0b0c; box-shadow: 0 18px 36px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.12); }
.art-social .story-schirm { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 11% / 5.2%; container-type: inline-size; color: #fff; font-family: var(--font-body); }
.art-social .story-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-social .story-schirm::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgb(0 0 0 / 0.45), transparent 22%, transparent 62%, rgb(0 0 0 / 0.65)); pointer-events: none; }
.art-social .story-schirm > :not(.story-bild) { position: absolute; z-index: 2; }
.art-social .story-balken { inset: 4cqi 4cqi auto; display: flex; gap: 1.6cqi; }
.art-social .story-balken i { flex: 1; height: 1.1cqi; border-radius: 1cqi; background: rgb(255 255 255 / 0.35); overflow: hidden; }
.art-social .story-balken i.voll { background: #fff; }
.art-social .story-balken i.laeuft::before { content: ""; display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0.3); }
.art-social .story-kopf { inset: 8.5cqi 4.5cqi auto; display: flex; align-items: center; gap: 2.6cqi; font-size: 6cqi; line-height: 1; text-shadow: 0 1px 2px rgb(0 0 0 / 0.5); }
.art-social .story-kopf img { width: 11cqi; height: 11cqi; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 0.6cqi #fff; }
.art-social .story-kopf em { font-style: normal; opacity: 0.75; }
.art-social .story-kopf svg { width: 8cqi; height: 8cqi; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.art-social .story-kopf svg:first-of-type { margin-left: auto; fill: currentColor; }
.art-social .story-umfrage { left: 50%; top: 52%; width: 80cqi; translate: -50% 0; rotate: -3deg; padding: 4cqi; border-radius: 5cqi; background: #fff; color: #111113; box-shadow: 0 2cqi 6cqi rgb(0 0 0 / 0.35); text-align: center; }
.art-social .story-umfrage b { display: block; margin-bottom: 3cqi; font-size: 6cqi; font-weight: 800; line-height: 1.1; }
.art-social .story-umfrage > span { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqi; font-size: 5cqi; font-weight: 700; }
.art-social .story-umfrage i { padding: 2.4cqi 0; border-radius: 3cqi; background: #f1f1f1; font-style: normal; }
.art-social .story-umfrage i:first-child { background: linear-gradient(90deg, #d8f5b5, #b6ec7a); }
.art-social .story-kommentar { left: 4cqi; right: 14cqi; bottom: 21cqi; display: flex; align-items: center; gap: 2.4cqi; font-size: 4.6cqi; line-height: 1.25; }
.art-social .story-kommentar img { flex: none; width: 10cqi; height: auto; }
.art-social .story-kommentar > span { padding: 1.8cqi 3.4cqi; border-radius: 4cqi; background: rgb(255 255 255 / 0.92); color: #111113; }
.art-social .story-kommentar strong { display: block; color: var(--terra); font-size: 4cqi; }
.art-social .story-unten { inset: auto 4.5cqi 5cqi; display: flex; align-items: center; gap: 3.6cqi; }
.art-social .story-unten > span { flex: 1; min-width: 0; padding: 3cqi 4.5cqi; border: 0.5cqi solid rgb(255 255 255 / 0.75); border-radius: 999px; font-size: 4.6cqi; white-space: nowrap; overflow: hidden; }
.art-social .story-unten svg { width: 9cqi; height: 9cqi; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.art-social .story-herz { left: 33cqi; top: 26%; width: 34cqi; opacity: 0; }
.art-social .story-herz svg { display: block; width: 100%; aspect-ratio: 1; fill: #ff3b5c; filter: drop-shadow(0 2cqi 4cqi rgb(0 0 0 / 0.35)); }
.art-social .klick-messer { left: 66%; top: 27%; height: 46%; width: 4.5%; border-radius: 99px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16); }
.art-social .klick-messer i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, var(--c-social), color-mix(in srgb, var(--c-social) 55%, #fff)); clip-path: inset(84% 0 0 0 round 99px); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c-social) 60%, transparent)); }
.art-social .maus { left: 82%; top: 88%; width: 8%; z-index: 3; opacity: 0; pointer-events: none; }
.art-social .maus svg { display: block; width: 100%; aspect-ratio: 1; fill: #fff; stroke: #141613; stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 3px 5px rgb(0 0 0 / 0.5)); transform-origin: 19% 9%; }
.art-social .maus .welle { position: absolute; left: 19%; top: 9%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.motion .art-social.is-current .story-balken i.laeuft::before { animation: so-lauf var(--takt) linear infinite; }
.motion .art-social.is-current .maus { animation: so-maus var(--takt) ease-in-out infinite; }
.motion .art-social.is-current .maus svg { animation: so-klick var(--takt) linear infinite; }
.motion .art-social.is-current .maus .welle { animation: so-welle var(--takt) ease-out infinite; }
.motion .art-social.is-current .story-herz { animation: so-herz var(--takt) ease-out infinite; }
.motion .art-social.is-current .story-like { animation: so-like var(--takt) ease-out infinite; }
.motion .art-social.is-current .klick-messer i { animation: so-messer var(--takt) linear infinite; }
@keyframes so-lauf { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes so-maus { 0% { left: 82%; top: 88%; opacity: 0; } 4% { opacity: 1; } 12%, 18% { left: 30%; top: 44%; } 30%, 38% { left: 38%; top: 34%; } 50%, 58% { left: 39%; top: 85%; } 70%, 78% { left: 27%; top: 60%; } 92% { left: 82%; top: 88%; opacity: 1; } 97%, 100% { left: 82%; top: 88%; opacity: 0; } }
@keyframes so-klick { 0%, 15%, 17.5%, 35%, 37.5%, 55%, 57.5%, 75%, 77.5%, 100% { transform: scale(1); } 16%, 36%, 56%, 76% { transform: scale(0.8); } }
@keyframes so-welle { 0%, 15.9%, 21.1%, 35.9%, 41.1%, 55.9%, 61.1%, 75.9%, 81.1%, 100% { opacity: 0; transform: scale(0.2); } 16%, 36%, 56%, 76% { opacity: 0.9; transform: scale(0.2); } 21%, 41%, 61%, 81% { opacity: 0; transform: scale(1); } }
@keyframes so-herz { 0%, 16%, 27.1%, 36%, 47.1%, 56%, 67.1%, 76%, 87.1%, 100% { opacity: 0; transform: scale(0.3); } 17.5%, 37.5%, 57.5%, 77.5% { opacity: 1; transform: scale(1.15); } 20%, 40%, 60%, 80% { opacity: 1; transform: translateY(-10%) scale(1); } 27%, 47%, 67%, 87% { opacity: 0; transform: translateY(-70%) scale(0.85); } }
@keyframes so-like { 0%, 55.9% { fill: none; color: #fff; transform: scale(1); } 57% { fill: #ff3b5c; color: #ff3b5c; transform: scale(1.4); } 61%, 95% { fill: #ff3b5c; color: #ff3b5c; transform: scale(1); } 100% { fill: none; color: #fff; transform: scale(1); } }
@keyframes so-messer { 0%, 16% { clip-path: inset(84% 0 0 0 round 99px); } 17.2% { clip-path: inset(42% 0 0 0 round 99px); } 23%, 36% { clip-path: inset(70% 0 0 0 round 99px); } 37.2% { clip-path: inset(28% 0 0 0 round 99px); } 43%, 56% { clip-path: inset(60% 0 0 0 round 99px); } 57.2% { clip-path: inset(15% 0 0 0 round 99px); } 63%, 76% { clip-path: inset(48% 0 0 0 round 99px); } 77.2% { clip-path: inset(3% 0 0 0 round 99px); } 84%, 92% { clip-path: inset(36% 0 0 0 round 99px); } 100% { clip-path: inset(84% 0 0 0 round 99px); } }

/* Rad: Knoten, die noch nicht erreicht sind, bleiben grau (auch Video, Websites und KI, die sonst weiße Symbole haben);
   mit der Maus leuchten sie weiß */
.rad-knoepfe .loop-node:not(.is-current):not(.is-done) { color: rgb(244 244 245 / 0.38); }
.rad-knoepfe .loop-node:not(.is-current):is(:hover, :focus-visible) { color: #fff; box-shadow: 0 0 0 2px #fff; }
.rad-knoepfe.rad-ende .loop-node:not(.is-current) { color: #fff; }
/* Der aktive Knoten behält sein Symbol, auch wenn er nach einem Klick den Fokus hat */
.rad-knoepfe .loop-node.is-current, .rad-knoepfe .loop-node.is-current:is(:hover, :focus-visible) { color: var(--espresso); }
.rad-knoepfe .loop-node.is-current:is([data-area="video"], [data-area="ki"], [data-area="foto"], [data-area="web"]),
.rad-knoepfe .loop-node.is-current:is([data-area="video"], [data-area="ki"], [data-area="foto"], [data-area="web"]):is(:hover, :focus-visible) { color: #fff; }
.rad-knoepfe .loop-node:focus { outline: none; }
.rad-knoepfe .loop-node:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ===== Rad, Fotografie (Schleife, solange der Schritt offen ist): HendriX fotografiert iV auf der grünen Box,
   Blitz, das fertige Foto steht da, blendet aus, die Figuren kommen wieder ===== */
.art-foto { --takt: 7.5s; }
.art-foto .fs-szene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.art-foto .sz-blitz { left: 21%; top: 47%; z-index: 2; }
.art-foto .f-echt { left: 22%; top: 14%; width: 56%; height: 72%; object-position: 50% 40%; }
.motion .art-foto.is-current :is(.fs-szene, .sz-blitz, .f-weiss, .f-echt) { animation-duration: var(--takt); animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both; animation-play-state: running; animation-delay: 0s; }
.motion .art-foto.is-current .fs-szene { animation-name: fl-szene; }
.motion .art-foto.is-current .sz-blitz { animation-name: fl-blitz; }
.motion .art-foto.is-current .f-weiss { animation-name: fl-weiss; }
.motion .art-foto.is-current .f-echt { animation-name: fl-echt; }
/* Im hellsten Moment des Blitzes verschwindet das Shooting ganz; erst wenn das Foto weg ist, kommen die beiden wieder */
@keyframes fl-szene { 0% { opacity: 0; translate: 0 4%; } 7%, 30% { opacity: 1; translate: 0 0; } 32%, 81% { opacity: 0; translate: 0 0; } 90%, 100% { opacity: 1; translate: 0 0; } }
@keyframes fl-blitz { 0%, 27% { opacity: 0; scale: 0.6; } 30% { opacity: 1; scale: 1.3; } 34%, 100% { opacity: 0; scale: 1; } }
@keyframes fl-weiss { 0%, 29% { opacity: 0; } 32% { opacity: 0.95; } 46%, 100% { opacity: 0; } }
@keyframes fl-echt { 0%, 31% { opacity: 0; scale: 1.06; filter: blur(6px); } 42% { opacity: 1; scale: 1; filter: blur(0); } 72% { opacity: 1; scale: 1; filter: blur(0); } 80%, 100% { opacity: 0; scale: 0.96; filter: blur(4px); } }

/* ===== Rad, Video (Schleife): der Hook. iV redet in die Kamera, am Hocker hängt ein durchgeschnittenes Seil,
   hinten fährt HendriX mit dem Auto davon und zieht sein Seilende mit. Die Zuschauerkurve bleibt oben ===== */
.art-video { --takt: 9s; }
.art-video > * { position: absolute; }
.art-video .hk-szene { inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; }
.art-video .hk-auto { left: 6%; top: 55%; width: 36%; height: auto; z-index: 1; transform-origin: 50% 100%; }
.art-video .hk-rec { left: 80.5%; top: 25.5%; width: 3.2%; aspect-ratio: 1; z-index: 3; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px 3px rgb(255 59 48 / 0.8); opacity: 0; }
.art-video .hk-kurve { left: 6%; top: 5%; z-index: 3; width: 40%; padding: 0.4rem 0.55rem 0.3rem; border-radius: 10px; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); color: var(--on-dark); font-size: clamp(0.55rem, 0.9vw, 0.75rem); font-weight: 800; letter-spacing: 0.02em; }
.art-video .hk-kurve b { display: block; margin-bottom: 0.2rem; }
.art-video .hk-kurve svg { display: block; width: 100%; height: 1.8rem; overflow: visible; }
.art-video .hk-kurve path { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.art-video .hk-grund { stroke: rgb(255 255 255 / 0.15); stroke-dasharray: 2 4; }
.art-video .hk-linie { stroke: var(--c-video); stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .art-video.is-current :is(.hk-auto, .hk-rec, .hk-linie) { animation-duration: var(--takt); animation-iteration-count: infinite; animation-fill-mode: both; }
.motion .art-video.is-current .hk-auto { animation-name: hk-fahrt; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.6); }
.motion .art-video.is-current .hk-rec { animation-name: hk-rec; animation-duration: 1s; animation-timing-function: steps(1); }
.motion .art-video.is-current .hk-linie { animation-name: hk-linie; animation-timing-function: linear; }
@keyframes hk-fahrt {
  0% { opacity: 0; translate: 0 0; scale: 1; }
  6%, 20% { opacity: 1; translate: 0 0; scale: 1; }
  70% { opacity: 1; translate: 45% -150%; scale: 0.22; }
  80%, 100% { opacity: 0; translate: 50% -165%; scale: 0.12; }
}
@keyframes hk-rec { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.15; } }
@keyframes hk-linie { 0%, 5% { stroke-dashoffset: 1; } 85%, 100% { stroke-dashoffset: 0; } }
html:not(.motion) .art-video .hk-linie { stroke-dashoffset: 0; }

/* Die neuen Szenen etwas kleiner, damit die Knoten im Ring frei bleiben */
:is(html, .motion) .art-szene.art-foto > :is(img.fs-szene, .sz-blitz), :is(html, .motion) .art-szene.art-video > :is(img.hk-szene, .hk-rec) { scale: 0.84; transform-origin: 50% 50%; }
.art-video .hk-auto { transform-origin: 50% 100%; }

/* Hook: das Seil vom Auto zum Hocker (main.js zeichnet es jedes Bild neu, es wird mitgezogen) */
.art-video .hk-seil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.art-video .hk-seil path { fill: none; stroke-linecap: round; }
.art-video .hk-seil .s1 { stroke: #8a6a3e; stroke-width: 6; }
.art-video .hk-seil .s2 { stroke: #e2bd85; stroke-width: 3.5; stroke-dasharray: 4 4; }

/* ===== Rad: Schritte wechseln nacheinander – erst blendet die alte Szene aus, dann die neue ein ===== */
.motion .rad-knoepfe .art { transition: opacity 0.4s ease; }
.motion .rad-knoepfe .art.is-current { transition: opacity 0.55s ease 0.4s; }

/* ===== Rad, Video-Hook als Blick über die Schulter der Kamera ===== */
.art-video .hk-auto { left: 4%; top: 38%; width: 26%; z-index: 1; }
.art-video .hk-seil { z-index: 2; }
.art-video .hk-iv { left: 18%; top: 14%; width: 46%; height: auto; z-index: 3; }
.art-video .hk-kamera { left: 50%; top: 22%; width: 50%; z-index: 4; }
.art-video .hk-kamera img { display: block; width: 100%; height: auto; }
.art-video .hk-kamera .hk-rec { position: absolute; left: 56%; top: 3.2%; width: 4%; translate: -50% -50%; }
@keyframes hk-fahrt {
  0% { opacity: 0; translate: 0 0; scale: 1; }
  6%, 22% { opacity: 1; translate: 0 0; scale: 1; }
  72% { opacity: 1; translate: 30% -95%; scale: 0.3; }
  82%, 100% { opacity: 0; translate: 34% -110%; scale: 0.18; }
}

/* ===== Rad, Social: Mauszeiger im Handy (Ziele: Umfrage, Doppeltipp aufs Bild, Herz unten, Kommentar);
   der Ausschlag-Balken steht rechts neben dem Handy ===== */
.art-social .story-handy { left: 20%; }
.art-social .klick-messer { left: 68%; top: 22%; height: 56%; width: 5%; }
.art-social .story-handy > .maus { position: absolute; left: 115%; top: 100%; width: 20%; z-index: 4; }
@keyframes so-maus {
  0% { left: 115%; top: 100%; opacity: 0; }
  4% { opacity: 1; }
  12%, 18% { left: 26%; top: 60%; }
  30%, 38% { left: 50%; top: 32%; }
  50%, 58% { left: 64%; top: 93%; }
  70%, 78% { left: 32%; top: 83%; }
  92% { left: 115%; top: 100%; opacity: 1; }
  97%, 100% { left: 115%; top: 100%; opacity: 0; }
}

/* Peggy-Leiste: Telefon und E-Mail mit Symbol; Infoabend bis Bewerbungsschluss rechtsbündig;
   auch der Bewerbungsschluss (kein Link) hellt beim Drüberfahren auf wie die anderen Glas-Knöpfe */
.pill-ico { display: inline-flex; align-items: center; gap: 0.45rem; }
.pill-ico svg { flex: none; width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 861px) { .peggy-band .peggy-band-schritte { justify-content: flex-end; } }
span.pill-glas:hover { background: rgb(255 255 255 / 0.55); color: var(--ink); }

/* ===== Rad, Video-Hook: Auto fährt nach hinten links davon, auch über den Ring hinaus, und zieht das Seil mit;
   REC blinkt oben rechts im kleinen Aufnahmebild der Kamera ===== */
.art-video .hk-kamera .hk-rec { left: 77.5%; top: 18.5%; width: 2.4%; box-shadow: 0 0 6px 2px rgb(255 59 48 / 0.8); }
@keyframes hk-fahrt {
  0% { opacity: 0; translate: 0 0; scale: 1; }
  6%, 20% { opacity: 1; translate: 0 0; scale: 1; }
  60% { opacity: 1; translate: -120% -55%; scale: 0.55; }
  86% { opacity: 1; translate: -330% -95%; scale: 0.3; }
  92%, 100% { opacity: 0; translate: -380% -100%; scale: 0.26; }
}

/* ===== Rad, Website (Schleife): die eigene Seite ===== */
.art-web { --takt: 10s; }
.art-web > .ws-browser { position: absolute; left: 4%; top: 17%; width: 92%; height: 66%; overflow: hidden; container-type: inline-size; border-radius: 2.6cqi; background: #f8f8f7; box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.1); }
.ws-browser > * { position: absolute; }
.ws-leiste { left: 0; right: 0; top: 0; height: 8%; display: flex; align-items: center; gap: 1.2cqi; padding: 0 2.4cqi; background: #e6e6ea; }
.ws-leiste i { width: 1.8cqi; height: 1.8cqi; border-radius: 50%; background: #c9c9cf; }
.ws-leiste i:first-child { background: #fe5f57; } .ws-leiste i:nth-child(2) { background: #febc2e; } .ws-leiste i:nth-child(3) { background: #28c840; }
.ws-leiste span { margin-left: 2cqi; padding: 0.3cqi 2cqi; border-radius: 999px; background: #fff; color: #5d5d66; font-size: 2.4cqi; }
.ws-kopf { left: 4%; right: 4%; top: 10.5%; height: 7%; display: flex; align-items: center; gap: 2.4cqi; }
.ws-kopf b { margin-right: auto; color: #17171a; font-family: var(--font-display); font-size: 3.6cqi; font-weight: 900; }
.ws-kopf i { width: 7cqi; height: 1.2cqi; border-radius: 99px; background: #d6d6dc; }
.ws-video { left: 4%; top: 21%; width: 30%; height: 75%; overflow: hidden; border-radius: 1.8cqi; background: #1e1729; }
.ws-video video { width: 100%; height: 100%; object-fit: cover; }
.ws-play { position: absolute; left: 50%; top: 50%; width: 9cqi; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: rgb(17 17 19 / 0.55); box-shadow: inset 0 0 0 0.5cqi rgb(255 255 255 / 0.8); }
.ws-play::after { content: ""; position: absolute; left: 40%; top: 30%; border: 2cqi solid transparent; border-left: 3cqi solid #fff; border-right: 0; }
.ws-seite { left: 38%; top: 21%; width: 58%; height: 75%; overflow: hidden; }
.ws-rolle { display: grid; gap: 1.6cqi; }
.ws-rolle b { color: #17171a; font-family: var(--font-serif); font-size: 4.6cqi; line-height: 1.1; }
.ws-zeile { display: block; height: 1.4cqi; border-radius: 99px; background: #d6d6dc; }
.ws-zeile.kurz { width: 62%; }
.ws-rolle img { display: block; width: 100%; height: auto; border-radius: 1.8cqi; }
.ws-platz { display: block; height: 22cqi; border-radius: 1.8cqi; background: repeating-linear-gradient(45deg, #ececf0 0 2cqi, #e2e2e8 2cqi 4cqi); }
.ws-maus { left: 90%; top: 95%; width: 6cqi; z-index: 3; opacity: 0; filter: drop-shadow(0 0.5cqi 0.8cqi rgb(0 0 0 / 0.4)); }
.ws-maus svg { display: block; width: 100%; aspect-ratio: 1; fill: #fff; stroke: #141613; stroke-width: 1.4; stroke-linejoin: round; }
.ws-maus i { position: absolute; left: 19%; top: 9%; width: 200%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 0.4cqi solid var(--c-web); opacity: 0; }
.motion .art-web.is-current :is(.ws-browser, .ws-rolle, .ws-maus, .ws-maus i, .ws-play) { animation-duration: var(--takt); animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: ease-in-out; }
.motion .art-web.is-current .ws-browser { animation-name: ws-auf; }
.motion .art-web.is-current .ws-rolle { animation-name: ws-scroll; }
.motion .art-web.is-current .ws-maus { animation-name: ws-maus; }
.motion .art-web.is-current .ws-maus i { animation-name: ws-klick; animation-timing-function: ease-out; }
.motion .art-web.is-current .ws-play { animation-name: ws-play; }
@keyframes ws-auf { 0% { opacity: 0; scale: 0.94; } 6%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 0.97; } }
@keyframes ws-scroll { 0%, 34% { translate: 0 0; } 70%, 88% { translate: 0 -38%; } 96%, 100% { translate: 0 0; } }
@keyframes ws-maus { 0%, 6% { opacity: 0; left: 90%; top: 95%; } 10% { opacity: 1; } 20%, 24% { left: 18%; top: 55%; } 34%, 86% { left: 66%; top: 70%; } 94%, 100% { opacity: 0; left: 90%; top: 95%; } }
@keyframes ws-klick { 0%, 21.9% { opacity: 0; scale: 0.2; } 22% { opacity: 1; scale: 0.2; } 28%, 100% { opacity: 0; scale: 1; } }
@keyframes ws-play { 0%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }

/* ===== Runde 17.11. ===== */
/* Titel „Die ersten 3 Sekunden“: „3 Sekunden“ in Orange, die 3 groß */
.loop-panel h3 .h3-akzent { font-style: normal; color: var(--hsm-orange); }
.loop-panel h3 .h3-akzent b { font-family: var(--font-display); font-size: 1.35em; font-weight: 900; line-height: 0.8; }
/* Laufband: Schrift größer, reicht fast bis an die Kanten des Farbbands */
.rad-knoepfe .loop-band { padding: 0.15rem 0; font-size: 1.55rem; line-height: 1.05; }

/* Hook: neue Kamera, weiter vorn und kleiner; das Auto fährt hinter dem Ring durch */
.art-video .hk-kamera { left: 58%; top: 36%; width: 40%; }
.rad-knoepfe .loop-ring > svg { z-index: 2; }
.rad-knoepfe .loop-center { z-index: 1; }
.rad-knoepfe .loop-node { z-index: 3; }

/* Website: nach dem Klick aufs Video blendet das echte Interview über das Cartoon-Interview */
.ws-video video { position: absolute; inset: 0; }
.ws-video .ws-echt { opacity: 0; }
.motion .art-web.is-current .ws-echt { animation: ws-echt var(--takt) ease-in-out infinite both; }
@keyframes ws-echt { 0%, 23% { opacity: 0; } 30%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
html:not(.motion) .ws-video .ws-echt { opacity: 1; }

/* Social: Ablauf in einer Runde – Klick auf „Klar!“ (erst dann grün, Balken schlägt aus), Doppeltipp ins Video
   (Herz steigt, Like wird rot), Klick auf Kommentieren (Kommentar erscheint und geht), dann alles zurück */
.art-social { --takt: 9s; }
.art-social .story-umfrage i:first-child { background: #f1f1f1; }
.art-social .story-kommentar { opacity: 0; }
.motion .art-social.is-current .story-umfrage i:first-child { animation: so-klar var(--takt) ease-out infinite both; }
.motion .art-social.is-current .story-kommentar { animation: so-komm var(--takt) ease-out infinite both; }
html:not(.motion) .art-social .story-kommentar { opacity: 1; }
@keyframes so-klar { 0%, 15% { background: #f1f1f1; } 17%, 88% { background: linear-gradient(90deg, #d8f5b5, #b6ec7a); } 94%, 100% { background: #f1f1f1; } }
@keyframes so-komm { 0%, 58% { opacity: 0; translate: 0 1.5rem; } 62%, 80% { opacity: 1; translate: 0 0; } 86%, 100% { opacity: 0; translate: 0 0; } }
@keyframes so-maus {
  0% { left: 115%; top: 100%; opacity: 0; }
  4% { opacity: 1; }
  11%, 16% { left: 29%; top: 62%; }
  30%, 38% { left: 52%; top: 30%; }
  52%, 59% { left: 76%; top: 92%; }
  72% { left: 115%; top: 100%; opacity: 1; }
  78%, 100% { left: 115%; top: 100%; opacity: 0; }
}
@keyframes so-klick { 0%, 14.5%, 16.5%, 35%, 37.5%, 57%, 59%, 100% { transform: scale(1); } 15.5%, 36%, 58% { transform: scale(0.8); } }
@keyframes so-welle { 0%, 15.4%, 20.5%, 35.9%, 41%, 57.9%, 63%, 100% { opacity: 0; transform: scale(0.2); } 15.5%, 36%, 58% { opacity: 0.9; transform: scale(0.2); } 20.4%, 40.9%, 62.9% { opacity: 0; transform: scale(1); } }
@keyframes so-herz { 0%, 36%, 47%, 100% { opacity: 0; transform: scale(0.3); } 37.5% { opacity: 1; transform: scale(1.15); } 40% { opacity: 1; transform: translateY(-10%) scale(1); } 46.9% { opacity: 0; transform: translateY(-70%) scale(0.85); } }
@keyframes so-like { 0%, 36.4% { fill: none; color: #fff; transform: scale(1); } 37.5% { fill: #ff3b5c; color: #ff3b5c; transform: scale(1.4); } 41%, 88% { fill: #ff3b5c; color: #ff3b5c; transform: scale(1); } 94%, 100% { fill: none; color: #fff; transform: scale(1); } }
@keyframes so-messer { 0%, 15.5% { clip-path: inset(86% 0 0 0 round 99px); } 17% { clip-path: inset(40% 0 0 0 round 99px); } 24%, 36% { clip-path: inset(60% 0 0 0 round 99px); } 37.5% { clip-path: inset(22% 0 0 0 round 99px); } 44%, 58% { clip-path: inset(44% 0 0 0 round 99px); } 59.5% { clip-path: inset(6% 0 0 0 round 99px); } 68%, 82% { clip-path: inset(26% 0 0 0 round 99px); } 94%, 100% { clip-path: inset(86% 0 0 0 round 99px); } }

/* Reaktionen: das Karussell mit echtem Instagram-Overlay (wie in social-media.html) */
.art-reakt .r-app-aktionen { position: absolute; right: 3cqw; bottom: 26cqw; z-index: 2; display: grid; gap: 4cqw; color: #fff; }
.art-reakt .r-app-aktionen svg { width: 9cqw; height: 9cqw; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.5)); }
.art-reakt .r-app-info { position: absolute; left: 4cqw; right: 18cqw; bottom: 7cqw; z-index: 2; display: grid; gap: 2cqw; color: #fff; font-size: 4cqw; text-shadow: 0 1px 2px rgb(0 0 0 / 0.6); }
.art-reakt .r-app-konto { display: flex; align-items: center; gap: 2.4cqw; }
.art-reakt .r-app-konto img { width: 9cqw; height: 9cqw; border: 0.6cqw solid #fff; border-radius: 50%; object-fit: cover; }
.art-reakt .r-app-konto i { padding: 0.5cqw 2.4cqw; border: 0.4cqw solid rgb(255 255 255 / 0.8); border-radius: 2cqw; font-style: normal; font-size: 3.6cqw; font-weight: 700; }
.art-reakt .r-app-text { line-height: 1.3; }
.art-reakt .r-app-text em { margin-right: 1cqw; padding: 0.3cqw 1.8cqw; border-radius: 999px; background: var(--ochre); color: #111113; font-style: normal; font-size: 3.4cqw; font-weight: 800; text-shadow: none; }
.art-reakt .r-punkte { bottom: 29cqw; }

/* ===== Runde 17.11. abends ===== */
/* Fotografie: „Erwartung“ und „aussieht wie auf der Website“ in Grün */
.foto-gruen { color: color-mix(in srgb, var(--c-foto) 70%, #fff); }
.loop-panel h3 .foto-gruen { font-style: italic; }
/* Blitz: rund und weich statt eines hellen Rechtecks */
.art-foto .f-weiss { background: radial-gradient(circle at 34% 47%, #fff 0, rgb(255 255 255 / 0.92) 22%, rgb(255 255 255 / 0.45) 42%, transparent 66%); }

/* Hook: Kamera gespiegelt (Linse nach links, Bildschirm rechts); das Auto fährt in einem Zug davon und blendet am Ende aus */
.art-video .hk-kamera img { transform: scaleX(-1); }
@keyframes hk-fahrt {
  0% { opacity: 0; }
  6% { opacity: 1; }
  20% { translate: 0 0; scale: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.75, 0.75); }
  0%, 20% { translate: 0 0; scale: 1; }
  80% { opacity: 1; }
  97%, 100% { opacity: 0; }
  100% { translate: -380% -105%; scale: 0.26; }
}
.motion .art-video.is-current .hk-auto { animation-timing-function: linear; }

/* Reaktionen: läuft als Schleife, sobald man im Schritt ist (nicht mehr am Fortschritt der Fahrt) */
.motion .rad-knoepfe .art-reakt.is-current :is(.r-zeilen, .r-zeile > b, .r-wert, .r-krone), .motion .rad-knoepfe .art-reakt.is-current .r-balken::after {
  animation-duration: 9s; animation-play-state: running; animation-delay: 0s; animation-iteration-count: infinite; }
.motion .rad-knoepfe .art-reakt.is-current .r-handy { animation: none; }
.art-reakt .r-zeilen { left: 13.5%; width: 73%; }

/* KI und CG: Trainingsmaterial im Fenster (Interview, Logo, Shirt, iV), kein KI-Hinweis */
.art-flow > .f-train { position: absolute; left: 45%; top: 39%; width: 25%; height: 22%; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.f-train img { width: 100%; height: 100%; object-fit: cover; border-radius: 1cqw; box-shadow: 0 0 0 0.35cqw rgb(255 255 255 / 0.25); }
.motion .art-flow.is-current .f-train img { animation: f-train 1s linear both paused; animation-delay: calc(var(--t, 0) * -1s); }
.motion .art-flow.is-current .f-train img:nth-child(2) { animation-name: f-train-2; }
.motion .art-flow.is-current .f-train img:nth-child(3) { animation-name: f-train-3; }
.motion .art-flow.is-current .f-train img:nth-child(4) { animation-name: f-train-4; }
@keyframes f-train { 0%, 24% { opacity: 0; scale: 0.5; } 28%, 100% { opacity: 1; scale: 1; } }
@keyframes f-train-2 { 0%, 27% { opacity: 0; scale: 0.5; } 31%, 100% { opacity: 1; scale: 1; } }
@keyframes f-train-3 { 0%, 30% { opacity: 0; scale: 0.5; } 34%, 100% { opacity: 1; scale: 1; } }
@keyframes f-train-4 { 0%, 33% { opacity: 0; scale: 0.5; } 37%, 100% { opacity: 1; scale: 1; } }
.art-flow .ki-hinweis, .loop-artefakte:has(.art-flow.is-current) > .ki-hinweis { display: none; }

/* Praxisbeispiel: „Vom Shooting zum Shop“ rückt näher ans Rad */
.motion .rad-knoepfe .kreislauf-stage > .loop-inner { margin-bottom: 0.5rem; }
.motion .rad-knoepfe .kreislauf-stage > .rad-kopf { margin-bottom: auto; padding-top: 0.4rem; }

/* Praxis zum Anfassen: statt „Ausprobieren“ ein weißer Doppelpfeil ohne Hintergrund */
.projekt-bild::after { content: ""; right: 0.8rem; bottom: 0.7rem; width: 2.4rem; height: 1.5rem; padding: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 15'%3E%3Cpath fill='%23fff' d='M1 1.5v12l9-6zM12 1.5v12l9-6z'/%3E%3C/svg%3E") center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.6)); }

/* Peggy-Leiste: schmal wie auf den Unterseiten – Text links, Knöpfe rechts daneben (auf der Startseite zwei Reihen);
   KI-Hinweis klein auf Peggys Brust */
@media (min-width: 1000px) {
  .peggy-band { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.5rem; row-gap: 0.45rem; align-items: center; }
  .peggy-band-text { grid-row: 1 / span 2; }
  .peggy-band .footer-pills, .peggy-band .peggy-band-schritte { grid-column: 2; justify-content: flex-end; }
  .peggy-band .footer-pills:not(.peggy-band-schritte):last-child { grid-row: 1 / span 2; }
}
.peggy-band-hinweis { left: calc(1rem + var(--fig-h) * 0.47); right: auto; top: auto; bottom: 0.7rem; translate: -50% 0; font-size: 0.6rem; }
@media (min-width: 1000px) { .peggy-band .footer-pills { flex-wrap: nowrap; } .peggy-band .pill { white-space: nowrap; } }
/* Blitz: ein kreisrunder Lichtfleck mit weichem Rand (nicht mehr die ganze rechteckige Bildfläche) */
.art-foto .f-weiss { inset: auto; left: 46%; top: 48%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle closest-side, #fff 0, rgb(255 255 255 / 0.95) 30%, rgb(255 255 255 / 0.55) 58%, rgb(255 255 255 / 0.15) 82%, transparent 100%); }
/* Das Foto erscheint erst, wenn der Blitz schon abklingt: im hellsten Moment ist nur der runde Lichtfleck zu sehen */
@keyframes fl-echt { 0%, 36% { opacity: 0; scale: 1.04; filter: blur(4px); } 46% { opacity: 1; scale: 1; filter: blur(0); } 72% { opacity: 1; scale: 1; filter: blur(0); } 80%, 100% { opacity: 0; scale: 0.96; filter: blur(4px); } }

/* ===== Runde 17.11. nachts ===== */
/* Hook: iV redet – der Kopf wackelt leicht, die freie Hand gestikuliert (Ebenen aus hook-iv.webp) */
.art-video .hk-iv { aspect-ratio: 640 / 960; }
.art-video .hk-iv img { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-video .hk-iv-kopf { transform-origin: 49.7% 26%; }
.art-video .hk-iv-hand { transform-origin: 64.8% 43.8%; }
.motion .art-video.is-current .hk-iv-kopf { animation: hk-kopf 1.7s ease-in-out infinite; }
.motion .art-video.is-current .hk-iv-hand { animation: hk-hand 2.6s ease-in-out infinite; }
@keyframes hk-kopf {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  14% { rotate: -2.6deg; translate: 0 -0.3%; }
  30% { rotate: 1.4deg; translate: 0 0.2%; }
  44% { rotate: -1deg; translate: 0 -0.2%; }
  62% { rotate: 3deg; translate: 0 0.3%; }
  80% { rotate: -1.8deg; translate: 0 0; }
}
@keyframes hk-hand {
  0%, 100% { rotate: 0deg; }
  18% { rotate: -11deg; }
  32% { rotate: 3deg; }
  46% { rotate: -6deg; }
  60% { rotate: -6deg; }
  74% { rotate: 6deg; }
  88% { rotate: -3deg; }
}

/* Website (12 s): Klick aufs Video, runterscrollen bis zur Merch-Kollektion, Klick auf ein Bild öffnet die Merch-Seite,
   dann blendet alles aus und beginnt von vorn – nichts scrollt sichtbar zurück nach oben */
.art-web { --takt: 12s; --ws-tief: -22%; --ws-mx: 47%; --ws-my: 73%; }
.ws-leiste em { font-style: normal; color: var(--c-web); opacity: 0; }
.ws-merch-titel { margin-top: 0.6cqi; font-family: var(--font-display) !important; font-size: 3.2cqi !important; font-weight: 900; }
.ws-merch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqi; }
.ws-rolle .ws-merch img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1.4cqi; background: #ececf0; }
.ws-shop { left: 0; right: 0; top: 8%; bottom: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr; gap: 1.4cqi; padding: 1.6cqi 4% 2.4cqi; background: #fff; opacity: 0; pointer-events: none; }
.ws-shop-kopf { display: flex; align-items: center; gap: 2.4cqi; }
.ws-shop-kopf b { margin-right: auto; color: #17171a; font-family: var(--font-display); font-size: 3.6cqi; font-weight: 900; letter-spacing: 0.04em; }
.ws-shop-kopf i { width: 7cqi; height: 1.2cqi; border-radius: 99px; background: #d6d6dc; }
.motion .art-web.is-current :is(.ws-shop, .ws-leiste em, .ws-merch img:nth-child(2)) { animation-duration: var(--takt); animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: ease-in-out; }
.motion .art-web.is-current .ws-shop { animation-name: ws-shop; }
.motion .art-web.is-current .ws-leiste em { animation-name: ws-url; }
.motion .art-web.is-current .ws-merch img:nth-child(2) { animation-name: ws-merch-druck; }
@keyframes ws-auf { 0% { opacity: 0; scale: 0.96; } 5%, 92% { opacity: 1; scale: 1; } 99%, 100% { opacity: 0; scale: 0.98; } }
@keyframes ws-scroll { 0%, 28% { translate: 0 0; } 50%, 100% { translate: 0 var(--ws-tief, -45%); } }
@keyframes ws-maus { 0%, 4% { opacity: 0; left: 90%; top: 95%; } 8% { opacity: 1; } 15%, 19% { left: 18%; top: 55%; } 27%, 50% { left: 70%; top: 72%; } 57%, 61% { left: var(--ws-mx, 48%); top: var(--ws-my, 70%); } 70%, 86% { left: 82%; top: 88%; opacity: 1; } 92%, 100% { opacity: 0; left: 90%; top: 95%; } }
@keyframes ws-klick { 0%, 16.9% { opacity: 0; scale: 0.2; } 17% { opacity: 1; scale: 0.2; } 22%, 58.9% { opacity: 0; scale: 1; } 59% { opacity: 1; scale: 0.2; } 64%, 100% { opacity: 0; scale: 1; } }
@keyframes ws-play { 0%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes ws-echt { 0%, 18% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes ws-shop { 0%, 61% { opacity: 0; translate: 0 3%; } 67%, 100% { opacity: 1; translate: 0 0; } }
@keyframes ws-url { 0%, 61% { opacity: 0; } 64%, 100% { opacity: 1; } }
@keyframes ws-merch-druck { 0%, 57% { scale: 1; box-shadow: none; } 59% { scale: 0.94; box-shadow: 0 0 0 0.5cqi var(--c-web); } 62%, 100% { scale: 1; box-shadow: 0 0 0 0.5cqi var(--c-web); } }
html:not(.motion) .ws-video .ws-echt { opacity: 1; }

/* Karte „Ort für deine Werke“: Beispiel-Link zum Demo-Shop */
.loop-panel .loop-beispiel { display: block; margin-bottom: 0.35rem; color: color-mix(in srgb, var(--c-web) 55%, #fff); }
.loop-panel .loop-beispiel strong { color: var(--on-dark); }

/* Website-Knoten: beim Drüberfahren (egal in welchem Zustand) blau wie ausgewählt, mit Link-Symbol statt Browser */
.loop-node .loop-link { display: none; }
@media (hover: hover) {
  .kreislauf .rad-knoepfe .loop-node[data-link]:is(:hover, :focus-visible),
  .kreislauf .rad-knoepfe.rad-ende .loop-node[data-link]:is(:hover, :focus-visible) { background: var(--dot); color: #fff; box-shadow: 0 0 0 0.4rem var(--dot); }
  .kreislauf .rad-knoepfe .loop-node[data-link]:is(:hover, :focus-visible) .loop-ico:not(.loop-link) { display: none; }
  .kreislauf .rad-knoepfe .loop-node[data-link]:is(:hover, :focus-visible) .loop-link { display: block; }
}

/* HendriX und iV: Während der Drehung ist nur ein flaches, kleineres Bild je Seite zu sehen (main.js fügt .duo-dreh ein) */
.duo-dreh { visibility: hidden; pointer-events: none; }
.duo-dreh img { position: absolute; inset: 0; width: 100%; height: 100%; }
.duo-hendrix .duo-dreh { filter: drop-shadow(0.7rem -0.3rem 0.8rem rgb(30 30 40 / 0.26)); }
.motion .duo-figur.dreht .duo-dreh { visibility: visible; }
.duo-figur.dreht .duo-dreh .dreh-echt, .duo-figur.dreht.getauscht .duo-dreh .dreh-zeichnung { visibility: hidden; }
.duo-figur.dreht.getauscht .duo-dreh .dreh-echt { visibility: visible; }
.motion .duo-figur.dreht :is(.duo-rig, .duo-echt) { visibility: hidden !important; }

/* Für wen: alles rückt etwas zusammen; links und rechts ist Platz für Keil-Pfeile reserviert.
   Die Pfeile erscheinen erst, wenn die Maus in der Box ist, und schalten dann durch die Zielgruppen */
.zielgruppe.ziel-wechsel { gap: 0.6rem 0.9rem; padding-inline: 0.7rem; }
@media (min-width: 701px) { .ziel-wechsel .ziel-eintrag { gap: 1rem; } }
.ziel-pfeil { display: none; }
.ziel-wechsel.laeuft .ziel-pfeil { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 2.2rem; height: 4.6rem; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.ziel-pfeil svg { width: 1.1rem; height: 4rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: scale 0.35s ease, stroke-width 0.35s ease; }
.ziel-wechsel.laeuft:is(:hover, :focus-within) .ziel-pfeil { opacity: 0.55; pointer-events: auto; }
.ziel-wechsel.laeuft .ziel-pfeil:is(:hover, :focus-visible) { opacity: 1; }
.ziel-pfeil:is(:hover, :focus-visible) svg { scale: 1.12; stroke-width: 3.4; }
.ziel-pfeil:focus { outline: none; }
.ziel-pfeil:focus-visible svg { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
/* Ohne Maus (Handy, Tablet) gibt es kein Drüberfahren: dort stehen die Pfeile dezent immer da */
@media (hover: none) { .ziel-wechsel.laeuft .ziel-pfeil { opacity: 0.45; pointer-events: auto; } }
@media (max-width: 640px) { .ziel-wechsel.laeuft .ziel-pfeil { width: 1.4rem; } .ziel-pfeil svg { width: 0.8rem; height: 3rem; } }

/* ===== Runde 17.11. spät ===== */
/* Können: das Wichtigste je Karte in der Farbe des Lehrgebiets (etwas dunkler, damit es auf Weiß lesbar bleibt) */
.k-satz .k-akzent { font-style: normal; font-weight: 700; color: color-mix(in srgb, var(--dot) 78%, #111); }
/* Rad, Video: „scrollt nicht weiter“ in Orange */
.loop-panel .text-orange { font-style: normal; font-weight: 700; color: var(--hsm-orange); }
/* Website-Knoten: wächst beim Drüberfahren auf der Stelle (Ring wird dicker, das Symbol größer) statt nach außen zu rücken */
.kreislauf .rad-knoepfe .loop-node[data-link] { transition: color 0.3s, box-shadow 0.35s var(--spring), background-color 0.3s; }
.kreislauf .rad-knoepfe .loop-node[data-link] .loop-link { transition: scale 0.35s var(--spring); }
.kreislauf .rad-knoepfe .loop-node[data-link]:is(:hover, :focus-visible) .loop-link { scale: 1.12; }
/* Für wen: „Für“, Zielgruppe, daneben die Person (schaut nach rechts zu ihrem Satz), dann der Satz */
@media (min-width: 701px) {
  .ziel-wechsel .ziel-eintrag { grid-template-columns: auto 4.4rem minmax(0, 1fr); }
  .ziel-wechsel .ziel-eintrag .ziel-figur { grid-column: 2; grid-row: 1; }
  .ziel-wechsel .ziel-eintrag .ziel-text { grid-column: 3; grid-row: 1; justify-self: start; text-align: left; }
  .ziel-wechsel .ziel-figur img { transform: none; }
}

/* ===== Runde 17.11. Nacht ===== */
/* Können: Titel und Ziel-Zeile mittig; die Ziel-Zeile wird so groß, dass sie genau so breit ist wie der Titel (main.js) */
@media (min-width: 861px) {
  .koennen .section-head { display: grid; justify-items: center; text-align: center; }
  .koennen .section-head h2.koennen-titel { width: fit-content; }
  .koennen .section-head .ziel-satz { width: fit-content; white-space: nowrap; margin-top: 0.5rem; }
}
/* Können: die Überschrift jeder Kachel sagt, was du kannst, in der Farbe des Lehrgebiets */
.koennen-grid .k-gebiet { font-size: clamp(1.1rem, 0.9rem + 0.5vw, 1.35rem); letter-spacing: 0; text-transform: none; line-height: 1.15;
  color: color-mix(in srgb, var(--dot) 82%, #111); }
/* Für wen: Zielgruppe höchstens zweizeilig und nie unter der Person; die Person steht immer rechts daneben */
/* feste Umbrüche im HTML: der Block ist so breit wie seine längste Zeile, die Person steht direkt daneben */
@media (min-width: 701px) { .ziel-wechsel .ziel-eintrag .ziel-name { max-width: none; white-space: nowrap; } }
/* Praxisbeispiel: „Vom Shooting zum Shop“ steht über dem Rad, größer und kräftiger */
.motion .rad-knoepfe .kreislauf-stage > .rad-kopf { margin: 0; padding: clamp(0.3rem, 1.6svh, 1.1rem) 0 0; }
.motion .rad-knoepfe .kreislauf-stage > .loop-inner { margin-block: auto; }
.rad-kopf h2 { font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
/* Start: keine Scroll-Strecke mehr, gleich weiter zu „Was du nach 2 Semestern kannst“ */
.motion .hero-v3 .hero-scene { --len: 0; }

/* ===== Überschrift über dem Rad: fünf Stile zum Vergleichen (?kopf=1 … 5 in der Adresse, ohne Angabe Stil 3) =====
   Schriften: Anybody (breit bis 150 %, bis 900 fett) und Noto Serif, beide SIL Open Font License, schon eingebettet. */
.motion .rad-knoepfe .kreislauf-stage > .rad-kopf { margin-top: auto; padding-top: 0.6rem; }
.motion .rad-knoepfe.kreislauf-scene .kreislauf-stage > .loop-inner { margin-top: clamp(0.2rem, 1.2svh, 0.9rem); margin-bottom: auto; }
.rad-kopf h2 { margin: 0; line-height: 1; }
.rad-kopf h2 em { font-style: normal; }
.rad-kopf .kopf-pfeil { display: none; }
.rad-kopf :is(.kopf-start, .kopf-ziel) { white-space: nowrap; }
/* 1 Breit und laut: alles in Großbuchstaben, extrabreit, „Shop“ in Rosa */
.kopf-1 h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 0.7rem + 2.7vw, 3.2rem); font-weight: 900; font-stretch: 150%; letter-spacing: -0.015em; text-transform: uppercase; }
.kopf-1 h2 em { color: #f3a39b; }
/* 2 Gestaffelt: „Vom Shooting“ klein und kursiv darüber, darunter riesig „zum SHOP“ mit Verlauf */
.kopf-2 h2 { display: grid; justify-items: center; gap: 0.1em; }
.kopf-2 .kopf-start { font-family: var(--font-serif); font-size: clamp(1.4rem, 0.9rem + 1.2vw, 2.1rem); font-style: italic; font-weight: 400; color: rgb(255 255 255 / 0.75); }
.kopf-2 .kopf-ziel { font-family: var(--font-display); font-size: clamp(2.8rem, 1rem + 4.6vw, 5.4rem); font-weight: 900; font-stretch: 150%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.9; }
.kopf-2 .kopf-zum { font-family: var(--font-serif); font-size: 0.42em; font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; color: rgb(255 255 255 / 0.75); vertical-align: 0.6em; margin-right: 0.15em; }
.kopf-2 h2 em { background: linear-gradient(90deg, #f3a39b, var(--hsm-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 3 Kontur und Verlauf: „VOM SHOOTING“ nur als Umriss, „ZUM SHOP“ voll in den Farben der sechs Schritte */
.kopf-3 h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 0.7rem + 3vw, 3.5rem); font-weight: 850; font-stretch: 140%; text-transform: uppercase; letter-spacing: 0.01em; }
.kopf-3 .kopf-start { color: transparent; -webkit-text-stroke: 1.6px rgb(255 255 255 / 0.85); }
.kopf-3 .kopf-ziel { background: linear-gradient(90deg, var(--c-foto), var(--c-video), var(--c-web), var(--c-social), var(--c-ki)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kopf-3 h2 em { color: inherit; }
/* 4 Pfeil: SHOOTING ⟶ SHOP, die kleinen Wörter fallen weg (für Vorleseprogramme bleiben sie da) */
.kopf-4 h2 { display: flex; align-items: center; justify-content: center; gap: 0.35em; font-family: var(--font-display); font-size: clamp(2rem, 0.8rem + 3.4vw, 3.9rem); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; }
.kopf-4 :is(.kopf-vom, .kopf-zum) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kopf-4 .kopf-pfeil { position: relative; display: block; width: 2.2em; height: 0.12em; border-radius: 99px; background: linear-gradient(90deg, rgb(255 255 255 / 0.3), #fff); }
.kopf-4 .kopf-pfeil::after { content: ""; position: absolute; right: -0.05em; top: 50%; width: 0.38em; height: 0.38em; border-top: 0.12em solid #fff; border-right: 0.12em solid #fff; border-radius: 0.04em; translate: 0 -50%; rotate: 45deg; }
.motion .kopf-4 .kopf-pfeil { animation: kopf-pfeil 2.4s ease-in-out infinite; transform-origin: 0 50%; }
@keyframes kopf-pfeil { 0%, 100% { scale: 0.75 1; } 50% { scale: 1 1; } }
.kopf-4 h2 em { color: var(--gelb); }
/* 5 Sticker: „VOM SHOOTING“ breit und weiß, „ZUM SHOP“ als schräg geklebtes Etikett */
.kopf-5 h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 0.8rem + 3vw, 3.5rem); font-weight: 900; font-stretch: 130%; text-transform: uppercase; letter-spacing: -0.01em; }
.kopf-5 .kopf-ziel { display: inline-block; margin-left: 0.15em; padding: 0.08em 0.32em 0.12em; border-radius: 0.14em; background: var(--gelb); color: #141416; rotate: -3deg; box-shadow: 0 0.18em 0.5em -0.15em rgb(0 0 0 / 0.6); }
.kopf-5 h2 em { color: inherit; }

/* Können: die Tätigkeiten möglichst in einer Zeile */
@media (min-width: 1100px) { .koennen-grid .k-gebiet { white-space: nowrap; font-stretch: 92%; } }

/* Praxis zum Anfassen: alles etwas tiefer, damit über der Überschrift und unter der letzten Reihe gleich viel Luft ist */
@media (min-width: 861px) {
  .motion .projekte .section-head { padding-top: calc(clamp(1rem, 3vh, 2.2rem) + 1.6rem); }
  .motion .projekte { padding-bottom: calc(var(--nav-h) - 0.2rem); }
}

/* ===== Überschrift Stil 3 (Standard): in „ZUM SHOP“ wandern weiche Farbkreise in den Farben der Schritte umeinander.
   Ein Winkel --w läuft in 16 s einmal herum; jeder Kreis zieht seine eigene Bahn (ganzzahlige Vielfache, daher nahtlos). */
@property --kopf-winkel { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.kopf-3 .kopf-ziel {
  /* leuchtende Fassungen der Bereichsfarben (auf Dunkel kräftiger als die Originale) */
  --hf: #67d65a; --hv: #ff7a3a; --hw: #4f9dff; --hs: #ff8fb4; --hk: #b65cff; --hr: #ffd23f;
  display: inline-block;
  background:
    radial-gradient(ellipse 30% 120% at calc(18% + 14% * cos(var(--kopf-winkel))) calc(50% + 55% * sin(var(--kopf-winkel))), var(--hf), transparent 70%),
    radial-gradient(ellipse 28% 130% at calc(42% + 18% * cos(var(--kopf-winkel) * 2 + 120deg)) calc(50% + 45% * sin(var(--kopf-winkel) * 2 + 120deg)), var(--hv), transparent 70%),
    radial-gradient(ellipse 30% 120% at calc(66% + 16% * cos(200deg - var(--kopf-winkel))) calc(50% + 60% * sin(200deg - var(--kopf-winkel))), var(--hw), transparent 70%),
    radial-gradient(ellipse 26% 130% at calc(86% + 10% * cos(var(--kopf-winkel) + 300deg)) calc(50% + 50% * sin(var(--kopf-winkel) + 300deg)), var(--hs), transparent 70%),
    radial-gradient(ellipse 34% 140% at calc(50% + 38% * sin(60deg - var(--kopf-winkel))) calc(50% + 70% * cos(var(--kopf-winkel) * 2 + 60deg)), var(--hk), transparent 72%),
    radial-gradient(ellipse 22% 110% at calc(30% + 25% * cos(var(--kopf-winkel) * 3 + 30deg)) calc(50% + 40% * sin(var(--kopf-winkel) * 3 + 30deg)), var(--hr), transparent 70%),
    linear-gradient(90deg, var(--hf), var(--hv), var(--hw), var(--hs), var(--hk));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.motion .kopf-3 .kopf-ziel { animation: kopf-farbkreise 16s linear infinite; }
@keyframes kopf-farbkreise { to { --kopf-winkel: 360deg; } }

/* ===== Rückmeldung 17.11. spät (über Moderator) ===== */
/* Fotografie: eine saubere Runde je Abschnitt (10 s, so lang wie der Balken bis Video braucht): Shooting, Blitz so groß
   wie der ganze Kreis, darunter blendet das Shooting aus und das Foto in einem Zug ein; danach bleibt das Foto stehen */
.art-foto { --takt: 10s; }
.motion .art-foto.is-current :is(.fs-szene, .sz-blitz, .f-weiss, .f-echt) { animation-iteration-count: 1; animation-fill-mode: both; }
.art-foto .f-weiss { left: 50%; top: 53.5%; width: 121%; z-index: 5;
  background: radial-gradient(circle closest-side, #fff 0, #fff 52%, rgb(255 255 255 / 0.9) 68%, rgb(255 255 255 / 0.45) 86%, transparent 100%); }
@keyframes fl-szene { 0%, 24% { opacity: 1; translate: 0 0; } 36%, 100% { opacity: 0; translate: 0 0; } }
@keyframes fl-blitz { 0%, 20% { opacity: 0; scale: 0.6; } 23% { opacity: 1; scale: 1.3; } 27%, 100% { opacity: 0; scale: 1; } }
@keyframes fl-weiss { 0%, 22% { opacity: 0; scale: 0.35; } 28% { opacity: 1; scale: 1; } 31% { opacity: 0.95; scale: 1; } 46%, 100% { opacity: 0; scale: 1.02; } }
@keyframes fl-echt { 0%, 27% { opacity: 0; scale: 1.05; filter: blur(6px); } 42%, 100% { opacity: 1; scale: 1; filter: blur(0); } }

/* Website: nach dem Klick aufs Merch-Bild zeigt der Browser die Produktseite des Demo-Shops (wie shop/index.html) */
.ws-shop-kopf b small { margin-left: 0.6cqi; font-family: var(--font-body, inherit); font-size: 0.5em; font-weight: 700; letter-spacing: 0.14em; color: #5d5d66; }
.ws-pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqi; min-height: 0; }
.ws-pd-galerie { display: grid; grid-template-columns: 7cqi minmax(0, 1fr); gap: 1.2cqi; min-height: 0; }
.ws-pd-vorschau { display: grid; align-content: center; gap: 1cqi; }
.ws-pd-vorschau img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 0.5cqi; background: #ececf0; opacity: 0.55; }
.ws-pd-vorschau img:first-child { opacity: 1; box-shadow: 0 0.4cqi 0 #17171a; }
.ws-pd-bild { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; border-radius: 0.8cqi; overflow: hidden; background: #e4e3ea; }
.ws-pd-bild i { padding: 0.6cqi; background: rgb(17 17 19 / 0.62); color: #fff; font-size: 1.6cqi; font-style: normal; text-align: center; }
.ws-pd-bild img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.ws-pd-kauf { display: grid; align-content: start; gap: 0.9cqi; color: #17171a; font-size: 1.7cqi; line-height: 1.2; }
.ws-pd-kauf u { font-size: 2.2cqi; text-underline-offset: 0.3cqi; }
.ws-pd-kauf b { font-size: 3cqi; font-weight: 800; line-height: 1.1; }
.ws-pd-kauf em { font-size: 2.4cqi; font-style: normal; font-weight: 800; }
.ws-pd-zeile strong { font-weight: 800; }
.ws-pd-knoepfe, .ws-pd-groessen, .ws-pd-farben { display: flex; gap: 0.8cqi; }
.ws-pd-knoepfe i, .ws-pd-groessen i { display: grid; place-items: center; min-width: 4.4cqi; padding: 0.7cqi 1.4cqi; border: 0.2cqi solid #d6d6dc; border-radius: 0.4cqi; font-style: normal; }
.ws-pd-knoepfe i.an { border-color: #17171a; background: #17171a; color: #fff; }
.ws-pd-farben img { width: 5.4cqi; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0.5cqi; border: 0.2cqi solid transparent; }
.ws-pd-farben img.an { border-color: #17171a; }
.ws-pd-korb { margin-top: 0.6cqi; padding: 1.2cqi; border-radius: 99px; background: #17171a; color: #fff; font-weight: 800; text-align: center; }
/* Klick auf die Website-Szene führt in den Demo-Shop (nur solange sie zu sehen ist) */
.art-web .ws-link { position: absolute; left: 4%; top: 17%; width: 92%; height: 66%; z-index: 4; border-radius: 2.6cqi; pointer-events: none; }
.art-web.is-current .ws-link { pointer-events: auto; cursor: pointer; }
/* Website: eine Runde je Abschnitt (10 s wie der Balken); am Ende bleibt die Shop-Seite stehen, bis der nächste Abschnitt kommt */
.art-web { --takt: 10s; }
.motion .art-web.is-current :is(.ws-browser, .ws-rolle, .ws-maus, .ws-maus i, .ws-play, .ws-echt, .ws-shop, .ws-leiste em, .ws-merch img:nth-child(2)) { animation-iteration-count: 1; animation-fill-mode: both; }
@keyframes ws-auf { 0% { opacity: 0; scale: 0.96; } 5%, 100% { opacity: 1; scale: 1; } }

/* ===== Filmstreifen am Start ===== */
/* Beim Scrollen der Seite stehen die Clips still, ein Pause-Zeichen zeigt das (main.js setzt .kb-pause) */
.kb-pause-zeichen { position: absolute; left: 50%; top: 50%; z-index: 2; width: 2.6rem; height: 2.6rem; translate: -50% -50%; border-radius: 50%;
  background: rgb(17 17 19 / 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 5h3.5v14H7zM13.5 5H17v14h-3.5z'/%3E%3C/svg%3E") center / 50% no-repeat;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; scale: 0.8; transition: opacity 0.2s ease, scale 0.2s ease; pointer-events: none; }
.kontaktbogen.kb-pause .kb-pause-zeichen { opacity: 1; scale: 1; }
/* Die äußeren Kacheln: beim Drüberfahren blinkende Doppeldreiecke (schneller in diese Richtung), in der Zone ruhig und hell */
.kb-zone { position: absolute; top: 0; bottom: 0; z-index: 3; display: grid; place-items: center; width: calc(100% / 11); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.kb-zone-links { left: 0; background: linear-gradient(90deg, rgb(17 17 19 / 0.55), transparent); }
.kb-zone-rechts { right: 0; background: linear-gradient(270deg, rgb(17 17 19 / 0.55), transparent); }
.kb-zone svg { width: 2.4rem; height: 2.4rem; fill: #fff; filter: drop-shadow(0 1px 4px rgb(0 0 0 / 0.6)); transition: scale 0.3s ease; }
.kb-zone-links svg { rotate: 180deg; }
.kontaktbogen.kb-hover .kb-zone { opacity: 1; }
.motion .kontaktbogen.kb-hover .kb-zone:not(.ist-aktiv) svg { animation: kb-blinken 1.1s ease-in-out infinite; }
.kb-zone.ist-aktiv svg { scale: 1.2; }
@keyframes kb-blinken { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }
.kontaktbogen.ist-gross .kb-zone { display: none; }

/* ===== Rad: Pause über der Szene ===== */
.rad-pause { display: none; }
.rad-knoepfe .rad-pause { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: auto; display: grid; place-items: center; width: 66%; aspect-ratio: 1; translate: -50% -50%;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.rad-pause > span { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: rgb(17 17 19 / 0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.35); opacity: 0; scale: 0.85; transition: opacity 0.25s ease, scale 0.25s ease; }
.rad-pause svg { width: 1.8rem; height: 1.8rem; fill: #fff; }
.rad-pause .rp-play { display: none; }
.rad-pause:is(:hover, :focus-visible) > span { opacity: 1; scale: 1; }
.rad-angehalten .rad-pause > span { opacity: 0.9; scale: 1; }
.rad-angehalten .rad-pause .rp-pause { display: none; }
.rad-angehalten .rad-pause .rp-play { display: block; }
.rad-knoepfe .rad-pause:focus { outline: none; }
.rad-knoepfe.rad-angehalten .art.is-current, .rad-knoepfe.rad-angehalten .art.is-current * { animation-play-state: paused !important; }
/* bei Website kein Pause-Knopf: dort führt ein Klick auf die Szene in den Shop */
.rad-knoepfe:has(.art-web.is-current) .rad-pause { display: none; }

/* Fotografie: Nach dem Foto wischt ein weißer Strich von links nach rechts darüber; dahinter liegt dasselbe Bild im Herbst
   (gleiche Pose, orange Bäume, Laub auf den Stufen). Danach bleibt die Herbst-Fassung stehen. */
.art-foto .f-herbst { position: absolute; left: 22%; top: 14%; width: 56%; height: 72%; z-index: 4; object-fit: cover; object-position: 50% 40%;
  border-radius: 14px; box-shadow: 0 0 0 4px #fff; clip-path: inset(0 100% 0 0 round 14px); }
.art-foto .f-wisch { left: 22%; top: 13%; z-index: 5; width: 1.1%; height: 74%; translate: -50% 0; border-radius: 99px; background: #fff;
  box-shadow: 0 0 12px 4px rgb(255 255 255 / 0.85), 0 0 34px 10px rgb(255 255 255 / 0.4); opacity: 0; }
.motion .art-foto.is-current :is(.f-herbst, .f-wisch) { animation-duration: var(--takt); animation-timing-function: linear; animation-iteration-count: 1; animation-fill-mode: both; }
.motion .art-foto.is-current .f-herbst { animation-name: fl-herbst; }
.motion .art-foto.is-current .f-wisch { animation-name: fl-wisch; }
@keyframes fl-herbst { 0%, 60% { clip-path: inset(0 100% 0 0 round 14px); animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); } 74%, 100% { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes fl-wisch { 0%, 59% { left: 22%; opacity: 0; } 60% { left: 22%; opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); } 74% { left: 78%; opacity: 1; } 77%, 100% { left: 78%; opacity: 0; } }
html:not(.motion) .art-foto .f-herbst { display: none; }

/* ===== Runde 17.11. Können-Auftritt ===== */
/* Ablauf (main.js setzt .k-bereit, beim Hereinscrollen .k-los), zusammen gut 4 s: die Titelwörter ploppen nacheinander
   auf (0,2–1,75 s), „Ziel“ klappt wie eine Würfelseite von oben herein (ab 1,35 s), die Kacheln blenden weich nacheinander
   ein (ab 2 s, oben links zuerst), dann die Box „Für wen“ (ab 3,3 s) */
.motion .koennen.k-bereit:not(.k-los) :is(.koennen-titel, .ziel-satz, .koennen-grid > li, .zielgruppe) { opacity: 0; }
/* Titel: die Wörter ploppen einzeln von links nach rechts auf (main.js packt sie in .kt-w, --tw = Nummer; --w ist schon ein Winkel) */
.koennen-titel .kt-w { display: inline-block; }
.motion .koennen.k-bereit:not(.k-los) .koennen-titel { opacity: 1; }
.motion .koennen.k-bereit:not(.k-los) .koennen-titel .kt-w { opacity: 0; }
.motion .koennen.k-los .koennen-titel .kt-w { animation: k-wort 0.7s cubic-bezier(0.34, 1.45, 0.55, 1) calc(0.2s + var(--tw, 0) * 0.17s) both; }
@keyframes k-wort { from { opacity: 0; translate: 0 0.45em; scale: 0.75; filter: blur(6px); } 55% { opacity: 1; filter: blur(0); } }
.motion .koennen.k-los .koennen-titel .titel-zahl { animation-name: k-zahl; animation-duration: 0.8s; animation-timing-function: cubic-bezier(0.34, 1.8, 0.5, 1); }
@keyframes k-zahl { from { opacity: 0; scale: 0.3; rotate: -14deg; } 50% { opacity: 1; } }
.koennen .section-head { perspective: 900px; }
.motion .koennen.k-los .ziel-satz { transform-origin: 50% 50% -0.75em; backface-visibility: hidden;
  animation: k-wuerfel 0.85s cubic-bezier(0.3, 1.35, 0.55, 1) 1.35s both; }
@keyframes k-wuerfel { from { transform: rotateX(90deg); opacity: 0; } 40% { opacity: 1; } to { transform: rotateX(0); opacity: 1; } }
.motion .koennen.k-los .koennen-grid > li { animation: k-kachel 1s cubic-bezier(0.22, 1, 0.36, 1) calc(2s + var(--k, 0) * 0.17s) both; }
.koennen-grid > li:nth-child(2) { --k: 1; } .koennen-grid > li:nth-child(3) { --k: 2; } .koennen-grid > li:nth-child(4) { --k: 3; }
.koennen-grid > li:nth-child(5) { --k: 4; } .koennen-grid > li:nth-child(6) { --k: 5; }
@keyframes k-kachel { from { opacity: 0; translate: -1.4rem 0.6rem; scale: 0.97; filter: blur(7px); } }
.motion .koennen.k-los .zielgruppe { animation: k-box 0.8s ease 3.3s both; }
@keyframes k-box { from { opacity: 0; translate: 0 0.8rem; } }

/* Für wen: „Für“ steht bei einzeiligen Zielgruppen auf derselben Grundlinie wie der Name, bei zweizeiligen mittig links davon */
.ziel-kopf { display: flex; align-items: baseline; gap: 0.55rem; min-width: 0; }
.ziel-kopf:has(br) { align-items: center; }
.ziel-kopf .ziel-fuer { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1; }
/* Der Satz in zwei Zeilen: was du schon machst (leise), was jetzt dazukommt (kräftig, das Wichtigste in Orange) */
.ziel-text { font-style: normal; }
.ziel-text .zt-1 { display: block; font-style: italic; color: var(--muted); font-size: var(--step-0); line-height: 1.35; }
.ziel-text .zt-2 { display: block; margin-top: 0.1rem; font-family: var(--font-display); font-size: clamp(1.1rem, 0.85rem + 0.7vw, 1.5rem);
  font-weight: 800; line-height: 1.2; color: var(--ink); }
.ziel-text .zt-2 em { font-style: normal; color: var(--hsm-orange); }
@media (max-width: 700px) { .ziel-text .zt-1 { font-size: var(--step--1); } .ziel-text .zt-2 { font-size: 1.02rem; } }

/* Mit Bewegung: Wechsel. Die alte Zielgruppe verschwindet zügig, die neue Person dreht sich schnell um die senkrechte Achse
   ins Bild und bremst ab; schon während sie anhält, springen rechts ihre Worte nacheinander von unten hinter einer Kante hoch */
.ziel-wechsel.laeuft .ziel-eintrag { translate: 0 0; transition: opacity 0.35s ease, filter 0.35s ease, translate 0.35s ease, visibility 0s 0.35s; }
.ziel-wechsel.laeuft .ziel-eintrag.ist-weg { translate: 0 -0.5rem; }
.ziel-wechsel.laeuft .ziel-eintrag.ist-aktiv { opacity: 1; filter: none; translate: 0 0; transition: opacity 0.01s linear 0.3s, filter 0s 0.3s, translate 0s 0.3s, visibility 0s; }
.ziel-wechsel.laeuft .ist-aktiv .ziel-kopf { animation: z-kopf 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
@keyframes z-kopf { from { opacity: 0; translate: -0.8rem 0; filter: blur(5px); } }
.ziel-wechsel.laeuft .ist-aktiv .ziel-figur { animation: z-dreh 1.3s cubic-bezier(0.1, 0.75, 0.2, 1) 0.35s both; }
@keyframes z-dreh { from { transform: perspective(500px) rotateY(-1080deg) scale(0.85); opacity: 0; } 12% { opacity: 1; } to { transform: perspective(500px) rotateY(0) scale(1); opacity: 1; } }
.ziel-text .zw { display: inline-block; overflow: hidden; padding: 0 0.12em 0.14em 0; margin: 0 -0.12em -0.14em 0; vertical-align: top; }
.ziel-text .zw-i { display: inline-block; }
.ziel-wechsel.laeuft .ziel-eintrag:not(.ist-aktiv, .ist-weg) .zw-i { translate: 0 115%; }
.ziel-wechsel.laeuft .ist-aktiv .zw-i { animation: z-wort 0.55s cubic-bezier(0.34, 1.45, 0.6, 1) calc(0.95s + var(--i, 0) * 0.055s) both; }
@keyframes z-wort { from { translate: 0 115%; } to { translate: 0 0; } }
.ziel-text .zt-2 em .zw-nach { color: var(--ink); }
@media (max-width: 700px) { .ziel-eintrag .ziel-text { justify-self: start; text-align: left; } }

/* ===== Runde 17.11. Zeitleiste flach mit Glasbubble =====
   Die Leiste ist flacher (36 statt 52 px), die Clips grau. Über ihr gleitet ein Schauglas mit vollem Rahmen: Wo es steht,
   ist die Leiste farbig (der Grauschleier hat dort ein Loch). main.js setzt --g0/--g1 (linker und rechter Rand des Glases
   in px) und --g-druck (wie stark es gerade gedehnt ist). Beim Wechsel eilt die vordere Kante voraus, die hintere folgt:
   das Glas dehnt sich und zieht sich wieder zusammen. */
.timeline { height: 36px; gap: 0.7rem; padding: 0 0.4rem 0 0.95rem; }
.timecode { min-width: 7.4em; font-size: 0.72rem; }
.timeline-track { height: 22px; }
.timeline-clips a { padding: 0 0.5rem; border-radius: 6px; font-size: 0.7rem; opacity: 1; }
.timeline-clips li:first-child a { border-radius: 999px 6px 6px 999px; }
.timeline-clips li:last-child a { border-radius: 6px 999px 999px 6px; }
.timeline-clips a.is-current { scale: none; }
.playhead { top: -4px; bottom: -4px; width: 2px; margin-left: -1px; z-index: 2; }
.playhead::before { top: -2px; border-width: 4px; border-top-width: 5px; }
/* Grauschleier über den Clips, mit Loch dort, wo das Glas steht */
.timeline-track::after { content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: 999px; pointer-events: none;
  background: rgb(19 19 22 / 0.5); -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1);
  --glas-loch: linear-gradient(90deg, #000 calc(var(--g0, -99px) + 1px), transparent calc(var(--g0, -99px) + 3px), transparent calc(var(--g1, -98px) - 3px), #000 calc(var(--g1, -98px) - 1px));
  -webkit-mask-image: var(--glas-loch); mask-image: var(--glas-loch); }
.timeline-clips a:hover { filter: brightness(1.9) saturate(1.4); }
/* Das Glas */
.timeline-glas { position: absolute; top: -5px; bottom: -5px; left: 0; z-index: 3; width: calc(var(--g1, 0px) - var(--g0, 0px)); translate: var(--g0, 0px) 0;
  scale: 1 calc(1 - var(--g-druck, 0) * 0.22); border: 1.5px solid rgb(255 255 255 / 0.85); border-radius: 9px; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.32), rgb(255 255 255 / 0.06) 45%, rgb(255 255 255 / 0) 55%, rgb(255 255 255 / 0.12));
  -webkit-backdrop-filter: saturate(1.35) brightness(1.08); backdrop-filter: saturate(1.35) brightness(1.08);
  box-shadow: 0 3px 10px -2px rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -1px 0 rgb(255 255 255 / 0.25); }
.timeline-glas::before { content: ""; position: absolute; inset: 1px 10% auto; height: 34%; border-radius: 99px; background: linear-gradient(rgb(255 255 255 / 0.55), rgb(255 255 255 / 0)); }
html:not(.motion) .timeline-track::after { display: none; }
@media (max-width: 640px) {
  .timeline { height: 32px; gap: 0.5rem; padding-left: 0.8rem; }
  .timecode { min-width: 6.6em; font-size: 0.66rem; }
  .timeline-track { height: 18px; }
  .timeline-clips a { padding: 0; font-size: 0; }
  .timeline-glas { top: -4px; bottom: -4px; border-radius: 7px; }
}
.timeline.am-ende .timeline-fuss { height: 30px; font-size: 0.88rem; }

/* Für wen: Klick ins linke oder rechte Fünftel schaltet weiter (main.js); dort zeigt der Zeiger eine Hand und der Pfeil leuchtet */
.ziel-wechsel.laeuft:is(.rand-links, .rand-rechts) { cursor: pointer; }
.ziel-wechsel.laeuft.rand-links .ziel-zurueck, .ziel-wechsel.laeuft.rand-rechts .ziel-vor { opacity: 1; }
.ziel-wechsel.laeuft.rand-links .ziel-zurueck svg, .ziel-wechsel.laeuft.rand-rechts .ziel-vor svg { scale: 1.12; stroke-width: 3.4; }
/* Der kräftige Satz bleibt am großen Bildschirm in einer Zeile */
.ziel-text .zt-2 { font-size: clamp(1rem, 0.78rem + 0.55vw, 1.38rem); }
@media (min-width: 1100px) { .ziel-text .zt-2, .ziel-text .zt-1 { white-space: nowrap; } }

/* KI, Wenn die Daten sprechen: der Vorführ-Zeiger (main.js) schwebt über die Kollektion, bis man selbst klickt */
.wahl { position: relative; }
.vorfuehr-zeiger { position: absolute; top: 0; left: 0; z-index: 5; width: 30px; height: 30px; translate: 40% 60%; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.35)); transition: translate 1.1s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.5s ease, scale 0.18s ease; }
.vorfuehr-zeiger svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #141416; stroke-width: 1.4; stroke-linejoin: round; }
.vorfuehr-zeiger.ist-da { opacity: 1; }
.vorfuehr-zeiger.drueckt { scale: 0.82; }
.vorfuehr-zeiger::after { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -12px; border: 2px solid var(--c-ki, #8a3a8f);
  border-radius: 50%; opacity: 0; scale: 0.3; }
.vorfuehr-zeiger.drueckt::after { animation: zeiger-klick 0.6s ease-out; }
@keyframes zeiger-klick { from { opacity: 0.9; scale: 0.3; } to { opacity: 0; scale: 1.4; } }

/* KI, Wo KI nichts zu suchen hat: Überschrift und Satz am großen Bildschirm mittig über den Bildern */
@media (min-width: 861px) {
  #grenzen .grenzen-titel, #grenzen .grenzen-titel + .lead { margin-inline: auto; text-align: center; }
  #grenzen .grenzen-titel + .lead { max-width: 52rem; }
}
.wahl-teil.vorfuehr-hover:not([aria-pressed="true"]) img { opacity: 0.8; }

/* ===== Social Media, Feed: Überschrift mit Wechselwort =====
   „3 Beiträge, / eine Auswertung, / hier ist: Reel“ – das goldene Wort wechselt mit dem Beitrag im Handy (Reel, Karussell,
   Story) und rollt dabei wie ein Würfel: das neue kommt von oben, das alte kippt nach unten weg. Der Glanz läuft ständig durch. */
.feed-kopf h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.4rem); line-height: 1.12; }
.feed-wort { display: inline-grid; vertical-align: baseline; perspective: 700px; }
.feed-wort .fw { grid-area: 1 / 1; justify-self: start; padding-right: 0.08em; font-family: var(--font-display); font-style: normal; font-weight: 900;
  font-size: 0.92em; letter-spacing: 0.01em; color: transparent;
  background: linear-gradient(100deg, #b07a12 0%, #f3cf63 22%, #f1f1f1 30%, #e2ae38 42%, #b98319 60%, #f6d877 80%, #b07a12 100%);
  background-size: 200% 100%; background-repeat: repeat; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 10px rgb(240 190 70 / 0.28));
  transform-origin: 50% 50% -0.45em; backface-visibility: hidden; }
.motion .feed-wort .fw { animation: fw-glanz 3.2s linear infinite; }
/* nahtlos: das Verlaufsbild wiederholt sich, bewegt wird es um genau eine Bildbreite (200 % der Schrift) */
@keyframes fw-glanz { from { background-position: 0% 0; } to { background-position: -200% 0; } }
/* sichtbar ist das Wort des aktuellen Beitrags; ohne aktuellen Beitrag (Anfang, ohne Bewegung) das Reel */
.feed-wort .fw:not([data-panel="0"]) { opacity: 0; transform: rotateX(-90deg); }
.feed-inner:has(.post:is([data-panel="1"], [data-panel="2"], [data-panel="3"]).is-current) .fw[data-panel="0"] { opacity: 0; transform: rotateX(-90deg); }
.feed-inner:has(.post[data-panel="1"].is-current) .fw[data-panel="1"],
.feed-inner:has(.post[data-panel="2"].is-current) .fw[data-panel="2"] { opacity: 1; transform: none; }
.motion .feed-wort .fw { transition: transform 0.55s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.35s ease 0.15s; }
.motion .feed-inner:has(.post[data-panel="0"].is-current) .fw[data-panel="0"],
.motion .feed-inner:has(.post[data-panel="1"].is-current) .fw[data-panel="1"],
.motion .feed-inner:has(.post[data-panel="2"].is-current) .fw[data-panel="2"] {
  transition: none; animation: fw-glanz 3.2s linear infinite, fw-rein 0.8s cubic-bezier(0.3, 1.4, 0.55, 1) 0.2s both; }
@keyframes fw-rein { from { transform: rotateX(90deg); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }
/* Die Art des Beitrags steht jetzt groß in der Überschrift, die kleine Zeile darüber fällt weg */
.feed-panel:not([data-panel="3"]) .kicker { display: none; }

/* ===== Tablet (main.js: html.tablet-steuerung) =====
   Filmstreifen per Finger: quer ziehen gehört dem Streifen, senkrecht scrollt die Seite; langes Drücken öffnet kein Menü.
   Groß: die Bühne rückt hoch, bis der Streifen direkt unter der Kopfzeile steht (--film-hoch aus main.js). */
.kontaktbogen.kb-finger { touch-action: pan-y; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.kontaktbogen.kb-finger img { -webkit-user-drag: none; }
:is(.tablet-steuerung, .finger-streifen) .hero-v3 .hero-stage { transition: padding-bottom 0.7s var(--smooth), translate 0.7s var(--smooth); }
:is(.tablet-steuerung, .finger-streifen) .hero-v3 .hero-stage.film-gross { translate: 0 calc(-1 * var(--film-hoch, 0px)); }
.kb-messen :is(.hero-stage, .kb-bild, .kontaktbogen, .kb-buehne) { transition: none !important; }

/* Feed: „Im Kurs“ steht in der ersten Zeile der Überschrift */
.feed-kopf h2 .badge { position: relative; top: -0.3em; margin: 0 0.3em 0 0; font-family: var(--font-body, system-ui), sans-serif; font-size: 0.85rem; vertical-align: middle; }
.feed-kopf h2 { font-size: clamp(1.8rem, 1rem + 2vw, 2.9rem); }
@media (min-width: 861px) { .feed-kopf h2 { white-space: nowrap; } }

/* ===== Social Media, Feed: Auswertung als Rennen (Skript in social-media.html) =====
   Drei Beiträge nebeneinander, darunter je Name, Zahl und Balken (--v). .steht = Balken steht, .aus = verloren (grau,
   blass). Die Krone wackelt groß im Hintergrund, .krone-da: sie sitzt auf dem Reel (--kx/--ky). .gewonnen: das Reel
   füllt den Bildschirm, der Titel „Das Reel liegt vorn“ erscheint. Ohne Bewegung bleibt die Liste mit den Balken. */
.rennen, .rennen-krone { display: none; }
.motion .summary-quer:has(.rennen) :is(.summary-bild, .score, p, h3 .summary-krone) { display: none; }
.motion .summary-quer:has(.rennen)::before { background: linear-gradient(180deg, rgb(17 17 19 / 0) 40%, rgb(17 17 19 / 0.55)); z-index: 1; pointer-events: none; }
.motion .rennen { position: absolute; inset: 5cqw 5cqw 5cqw 18cqw; z-index: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.4cqw;
  transition: grid-template-columns 1s var(--smooth), gap 1s var(--smooth); }
.renner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 1cqw; min-width: 0; padding: 2.6cqw; overflow: hidden;
  border-radius: 3cqw; color: #fff; transition: filter 0.7s ease, opacity 0.7s ease; }
.renner img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.renner::after { content: ""; position: absolute; inset: 35% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgb(10 10 12 / 0.85)); }
.renner b { font-size: 4.6cqw; line-height: 1; white-space: nowrap; }
.renner output { font-family: var(--font-display); font-size: 6.4cqw; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.renner .bar { display: block; height: 1.6cqw; border-radius: 99px; background: rgb(255 255 255 / 0.18); overflow: hidden; }
.renner .bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--dot); box-shadow: 0 0 1.6cqw var(--dot); }
.renner.steht output { animation: renner-stopp 0.45s var(--spring); }
@keyframes renner-stopp { 40% { scale: 1.15; } }
.renner.aus { filter: grayscale(1) brightness(0.6); opacity: 0.45; }
/* Gewonnen: die Verlierer schrumpfen weg, das Reel füllt den Bildschirm */
.motion .gewonnen .rennen { grid-template-columns: 1fr 0fr 0fr; gap: 0; }
.motion .gewonnen .renner.aus { opacity: 0; padding-inline: 0; }
.motion .gewonnen .renner:first-child b { font-size: 6cqw; }
.motion .gewonnen .renner:first-child output { font-size: 9cqw; }
/* Krone: zuerst groß und blass im Hintergrund, wackelt; dann springt sie aufs Reel und wird golden */
.motion .rennen-krone { display: block; position: absolute; left: 0; top: 0; z-index: 2; width: 28cqw; height: 28cqw; fill: var(--ochre); opacity: 0.6;
  translate: calc(var(--kx, (13cqw + 100cqh) / 2) - 50%) calc(var(--ky, 42cqw) - 50%); pointer-events: none;
  filter: drop-shadow(0 0.6cqw 1.6cqw rgb(0 0 0 / 0.5));
  transition: translate 0.9s cubic-bezier(0.34, 1.45, 0.6, 1), width 0.9s var(--smooth), height 0.9s var(--smooth), opacity 0.6s ease;
  animation: krone-wackeln 1.1s ease-in-out infinite alternate; transform-origin: 50% 85%; }
@keyframes krone-wackeln { from { rotate: -9deg; } to { rotate: 9deg; } }
.motion .krone-da .rennen-krone { width: 13cqw; height: 13cqw; opacity: 1; translate: calc(var(--kx) - 50%) calc(var(--ky) - 62%); animation-duration: 0.7s; }
.motion .gewonnen .rennen-krone { translate: calc(23cqw - 50%) calc(9cqw - 50%); width: 11cqw; height: 11cqw; animation: krone-wackeln 1.6s ease-in-out infinite alternate; }
.motion .summary-quer:has(.rennen) h3 { position: absolute; left: 30cqw; top: 4.2cqw; z-index: 2; padding: 0; font-size: 8cqw; opacity: 0; translate: 0 2cqw;
  text-shadow: 0 0.4cqw 2cqw rgb(0 0 0 / 0.6); transition: opacity 0.6s ease 0.5s, translate 0.8s var(--smooth) 0.5s; }
.motion .summary-quer.gewonnen:has(.rennen) h3 { opacity: 1; translate: 0 0; }
.renner:first-child img { object-position: 50% 18%; }

/* ===== KI, Wo KI nichts zu suchen hat: Auftritt (main.js setzt .g-bereit, beim Hereinscrollen .g-los) =====
   Titelwörter ploppen auf (0,15–1,1 s), der Satz kommt (ab 1,2 s), das mittlere Bild blendet ein (ab 1,7 s),
   dann fahren links und rechts die anderen beiden aus ihm heraus (ab 2,4 s). */
.grenzen-titel .gt-w { display: inline-block; }
.motion #grenzen.g-bereit:not(.g-los) :is(.grenzen-titel .gt-w, .grenzen-titel + .lead, .limits > li) { opacity: 0; }
.motion #grenzen.g-los .grenzen-titel .gt-w { animation: k-wort 0.8s cubic-bezier(0.34, 1.45, 0.55, 1) calc(0.15s + var(--tw, 0) * 0.2s) both; }
.motion #grenzen.g-los .grenzen-titel + .lead { animation: k-box 0.9s ease 1.2s both; }
.limits > li { position: relative; }
.limits > li:nth-child(2) { z-index: 2; }
.motion #grenzen.g-los .limits > li:nth-child(2) { animation: g-mitte 1s cubic-bezier(0.22, 1, 0.36, 1) 1.7s both; }
@keyframes g-mitte { from { opacity: 0; scale: 0.9; filter: blur(8px); } }
@media (min-width: 861px) {
  .motion #grenzen.g-los .limits > li:nth-child(1) { animation: g-links 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.4s both; }
  .motion #grenzen.g-los .limits > li:nth-child(3) { animation: g-rechts 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.4s both; }
  @keyframes g-links { from { opacity: 0; translate: calc(100% + 1rem) 0; scale: 0.94; } 55% { opacity: 1; } }
  @keyframes g-rechts { from { opacity: 0; translate: calc(-100% - 1rem) 0; scale: 0.94; } 55% { opacity: 1; } }
}
@media (max-width: 860px) {
  .motion #grenzen.g-los .limits > li:nth-child(1) { animation: g-mitte 1s cubic-bezier(0.22, 1, 0.36, 1) 2.2s both; }
  .motion #grenzen.g-los .limits > li:nth-child(3) { animation: g-mitte 1s cubic-bezier(0.22, 1, 0.36, 1) 2.6s both; }
}
/* Shop-Zeiger: fährt per Skript im Bogen (keine Übergänge auf translate), Klick-Ring in Orange */
.shop-zeiger { transition: opacity 0.4s ease, scale 0.18s ease; }
.shop-zeiger::after { border-color: var(--hsm-orange); }
.kontaktbogen.kb-finger * { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

/* Tablet: Start-Blende leichter (Safari ruckelte). Der Brei ohne riesigen Weichzeichner (die Verläufe sind schon weich),
   die Lamellen werden ohne Unschärfe scharf, nur per Deckkraft; der Zoom läuft über die Grafikkarte (main.js). */
.tablet-steuerung .blende-brei { filter: none; will-change: transform; inset: -10%;
  background: radial-gradient(48% 44% at 32% 38%, #55555b, transparent 72%), radial-gradient(50% 46% at 70% 64%, #1e1e22, transparent 72%),
    radial-gradient(40% 40% at 62% 30%, #46464c, transparent 72%), #2a2a2e; }
.tablet-steuerung .blende-lamellen { filter: none; will-change: transform, opacity; transform-origin: 50% 50%; }
.tablet-steuerung .blende.scharf .blende-lamellen { transition: opacity 0.7s ease; }

/* Tablet, großer Filmstreifen: die Entwurf-Leiste oben (fassungen.js) klappt weich zu, alles rückt um ihre Höhe hoch (main.js) */
:is(.tablet-steuerung, .finger-streifen) .draft-note { transition: margin-top 0.6s var(--smooth), opacity 0.4s ease; }
:is(.tablet-steuerung, .finger-streifen).leiste-zu .draft-note { margin-top: calc(-1 * var(--leiste-h, 0px)); opacity: 0; pointer-events: none; }
.kb-messen .draft-note { transition: none !important; }

/* ===== Tablet: natives Einrasten (main.js setzt html.nativ-rasten und die Rastmarken) =====
   Safari rastet selbst an den Marken ein; an Können, Rad und Plan rutscht der Schwung nicht vorbei (Scrollzwang).
   Die Marken liegen unsichtbar über der Seite (Lage in px ab Seitenanfang, inklusive scroll-padding-top). */
html.tablet-steuerung.nativ-rasten { scroll-snap-type: y proximity; }
.rast-schicht { position: absolute; top: 0; left: 0; width: 1px; height: 0; pointer-events: none; }
.rast { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; }
.rast-stopp { scroll-snap-stop: always; }

/* ===== Zeitleiste dezenter: statt der Glasblase nur der Strich (Abspielkopf). Links von ihm sind die Clips bunt, rechts
   grau; so färbt er beim Scrollen einen Abschnitt nach dem anderen ein (main.js setzt --kopf-x am Track) ===== */
.timeline-glas { display: none; }
.timeline-track::after { --glas-loch: linear-gradient(90deg, transparent calc(var(--kopf-x, 0px) - 1px), #000 calc(var(--kopf-x, 0px) + 1px)); }
.playhead { width: 2px; margin-left: -1px; top: -3px; bottom: -3px; border-radius: 1px; box-shadow: 0 0 6px rgb(255 200 0 / 0.7); }
.playhead::before { display: none; }

/* ===== Praxisbeispiel, KI und CG: links das echte Reel, ein Verbinder, rechts sechs neue Reels =====
   Das Siegerhandy zeigt beim Hineingleiten ins Fenster das echte Reel (Drehung); eine orange Kachel verbindet es mit
   sechs Startbildern neuer Reels (3 × 2), die nacheinander herausfliegen */
.f-k-a { left: 52%; }
.s-reel .f-echt-reel { opacity: 0; }
.motion .art-flow.is-current .f-echt-reel { animation: f-echt-reel 1s linear both paused; animation-delay: calc(var(--t, 0) * -1s); }
@keyframes f-echt-reel { 0%, 12% { opacity: 0; } 28%, 100% { opacity: 1; } }
html:not(.motion) .art-flow .f-echt-reel { opacity: 1; }
.f-kopie { width: 6.6%; height: 10.15%; border-radius: 1.1cqw; }
.f-kopie img { filter: none; }
@keyframes f-kopie { 0%, 56% { opacity: 0; left: 56%; top: 46%; scale: 0.3; } 58% { opacity: 1; } 68%, 100% { opacity: 1; left: var(--x); top: var(--y); scale: 1; } }
.motion .art-flow.is-current .f-kopie { animation-delay: calc(var(--t, 0) * -1s + var(--i) * 0.03s); }

/* ===== Startseite ohne „Können“: die Lehrgebiete kommen direkt nach dem Start und tragen dessen Sätze (Hendrik) =====
   Über dem offiziellen Titel steht der Spruch des Gebiets („Mit KI arbeiten“), darunter statt der kurzen Zeile der Satz,
   was du danach kannst; die Hervorhebung in der Farbe des Gebiets */
.module-gebiet { margin: 0 0 0.15rem; font-family: var(--font-display); font-size: var(--step-0); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--dot) 82%, #111); }
.module-satz { max-width: 74ch; margin: 0.35rem 0 0.9rem; color: var(--muted); font-size: var(--step-0); line-height: 1.5; text-wrap: pretty; }
.module-satz .k-akzent { font-style: normal; font-weight: 700; color: color-mix(in srgb, var(--dot) 78%, #111); }
@media (min-width: 861px) {
  /* nur der farbige Spruch steht mittig und groß, er sagt, in welchem Gebiet man ist; Titel, Satz und Stichpunkte linksbündig (Hendrik) */
  /* der Spruch steht mittig über der Breite seines Titels (Kopf so breit wie der Titel; Hendrik) */
  .motion .bereiche-stage .module-kopf { width: fit-content; max-width: 100%; }
  .motion .bereiche-stage .module-gebiet { margin-bottom: 0.35rem; text-align: center; font-size: clamp(1.2rem, 0.4rem + 0.9vw + 0.9svh, 1.75rem); font-weight: 900; letter-spacing: 0.05em; line-height: 1.1; }
  .motion .bereiche-stage .module-satz { margin: 0.3rem 0 0.7rem; font-size: clamp(0.95rem, 2svh, 1.12rem); }
  .motion .bereiche-stage .module-card h3 { font-size: clamp(1.4rem, 0.8rem + 1.3vw, min(2rem, 4svh)); } /* höchstens 2rem: auch der längste Titel (Video) bleibt einzeilig */
}

/* ===== Für wen: eigene dunkle Karte hinter dem Rad. Auf Dunkel: helle Schrift, Rahmen und Pfeile hell, Hervorhebungen warm ===== */
.fuer-wen { padding-bottom: clamp(3rem, 6vw, 5rem); }
.fuer-wen .section-head { display: grid; justify-items: center; text-align: center; }
.fuer-wen .ziel-text .zt-1 { color: var(--on-dark-muted); }
.fuer-wen .ziel-text .zt-2 { color: var(--on-dark); }
.fuer-wen .ziel-text .zt-2 em, .fuer-wen .ziel-text .zt-2 em .zw-nach { color: var(--ochre); }
.fuer-wen .section-head .ziel-satz { margin-inline: auto; color: var(--on-dark); }
.fuer-wen .ziel-satz b { color: var(--ochre); }
.fuer-wen .zielgruppe.ziel-wechsel { background: rgb(255 255 255 / 0.05); border-radius: 28px; }
.fuer-wen .ziel-rahmen rect { stroke: rgb(255 255 255 / 0.55); }
.fuer-wen .ziel-fuer { color: var(--on-dark-muted); }
.fuer-wen .ziel-name { color: var(--on-dark); }
.fuer-wen .ziel-text { color: var(--on-dark); }
.fuer-wen .ziel-wechsel.laeuft .ziel-pfeil { color: var(--on-dark); }
@media (min-width: 861px) {
  .fuer-wen { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--header-h)); padding-bottom: calc(var(--nav-h) + 0.5rem); }
  .fuer-wen .section-head { padding-top: 0; }
  .fuer-wen .section-head .ziel-satz { max-width: none; text-wrap: balance; }
  .fuer-wen .zielgruppe.ziel-wechsel { margin-top: clamp(1.2rem, 4svh, 2.6rem); padding-block: 1.4rem; }
  /* größer als vorher in Können: die Box hat jetzt die ganze Karte für sich */
  .fuer-wen .ziel-figur { height: clamp(6rem, 13svh, 8.5rem); }
  .fuer-wen .ziel-wechsel .ziel-eintrag { grid-template-columns: auto clamp(5.5rem, 8vw, 7.5rem) minmax(0, 1fr); }
  .fuer-wen .ziel-name { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.2rem); }
  .fuer-wen .ziel-text .zt-1 { font-size: var(--step-1); }
  .fuer-wen .ziel-text .zt-2 { font-size: clamp(1.2rem, 0.85rem + 0.8vw, 1.6rem); }
  .fuer-wen .ziel-text :is(.zt-1, .zt-2) { white-space: normal; text-wrap: balance; }
}

/* ===== Kontakt-Pillen: Telefon klingelt, Ziffern als Welle; Mail zeigt Kopieren-Symbol, „Kopiert!“ auf Grün (main.js) ===== */
.tel-ziffern { display: inline-flex; }
.tel-z { display: inline-block; }
.mail-kopieren .kopier-ico { display: none; }
.mail-kopieren:is(:hover, :focus-visible, .ist-kopiert) .mail-ico { display: none; }
.mail-kopieren:is(:hover, :focus-visible, .ist-kopiert) .kopier-ico { display: block; }
.mail-kopieren .mail-text { display: inline-block; text-align: center; }
.pill.mail-kopieren.ist-kopiert { background: #2f7d4a; border-color: #2f7d4a; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .tel-klingel:is(:hover, :focus-visible) .tel-ico { animation: tel-klingeln 2.2s ease-in-out infinite; transform-origin: 50% 60%; }
  .tel-klingel:is(:hover, :focus-visible) .tel-z { animation: tel-welle 2.2s ease-in-out infinite; animation-delay: calc(0.55s + var(--i) * 45ms); }
  .mail-kopieren:is(:hover, :focus-visible) .kopier-ico { animation: kopier-rein 0.25s var(--spring, ease-out); }
}
@keyframes tel-klingeln { 0%, 26%, 100% { rotate: 0deg; } 2%, 10%, 18% { rotate: -16deg; } 6%, 14%, 22% { rotate: 16deg; } }
@keyframes tel-welle { 0%, 14%, 100% { translate: 0 0; } 5% { translate: 0 -0.28em; } 10% { translate: 0 0.06em; } }
@keyframes kopier-rein { from { scale: 0.6; opacity: 0; } }

/* ===== Start: orange Flächen hinter den Figuren (Hendrik, nach Entwurf A, Variante „Klar“) =====
   Je Seite eine große orange Fläche, schräg wie das „//“ im Logo, davor ein heller Pfirsich-Streifen. Sie liegen hinter
   Text und Figuren und enden in der Mitte des Filmstreifens (main.js setzt den unteren Abstand). */
.hero-v3 .hero-stage { isolation: isolate; }
.hero-balken { --orange: var(--gelb); --pfirsich: #dfe5ef; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.balken-seite { position: absolute; bottom: 0; width: 30vw; height: 72%; }
.balken-links { left: 0; }
.balken-rechts { right: 0; }
.balken-seite i { position: absolute; bottom: 0; display: block; transform: skewX(-22deg); background: var(--gelb-verlauf); }
.balken-seite i:nth-child(n + 3) { display: none; }
.balken-links i:nth-child(1) { left: -14%; width: 62%; height: 80%; }
.balken-links i:nth-child(2) { left: 30%; width: 74%; height: 38%; background: linear-gradient(90deg, var(--pfirsich), rgb(223 229 239 / 0)); }
.balken-rechts i:nth-child(1) { right: -8%; width: 58%; height: 86%; }
.balken-rechts i:nth-child(2) { right: -30%; width: 74%; height: 44%; background: var(--pfirsich); }
.motion .hero-balken { animation: balken-rein 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
@keyframes balken-rein { from { opacity: 0; translate: 0 6%; } }
@media (max-width: 1280px) { .balken-seite { width: 25vw; } }
@media (max-width: 700px) { .balken-seite { width: 34vw; height: 24%; } }

/* ===== Start: Infoabend-Knopf mit weißer Schrift, Eckdaten umrandet mit leichtem Schatten (wie Entwurf A) ===== */
.hero-v3 .hero-actions .btn-primary { color: #fff; }
.hero-v3 .hero-chips li { border: 1.5px solid rgb(20 20 20 / 0.16); background: #fff; box-shadow: 0 3px 8px -4px rgb(0 0 0 / 0.3); }

/* ===== Menü: statt der Punkte die farbigen Symbole der Lehrgebiete (main.js setzt sie ein) ===== */
.main-nav a[data-area]:has(.nav-ico)::before { content: none; }
.nav-ico { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: var(--dot); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Fußleiste wie in der Fassung Chantelau (Hendrik) =====
   Impressum: zu nur das unterstrichene Wort, ohne Glasknopf und Pfeil. Offen fährt die dunkle Klappe bis an die Oberkante
   der Peggy-Leiste hoch; oben in ihr liegt ein breiter Griff (Linie mit Keil nach unten), der beim Drüberfahren orange glüht. */
html:not(.fuss-offen) .timeline.am-ende { width: 8.5rem; border-color: transparent; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html:not(.fuss-offen) .timeline.am-ende .timeline-fuss { font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
html:not(.fuss-offen) .timeline.am-ende .timeline-fuss:is(:hover, :focus-visible) { background: none; color: var(--terra); }
.fuss-klappe .fuss-info { padding-top: 3.2rem; align-content: start; }
html.fuss-offen .timeline.am-ende { z-index: 32; width: min(72rem, calc(100vw - 2 * var(--gutter, 1.25rem))); padding: 0; border-color: transparent; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  translate: -50% calc(-1 * var(--fuss-h, 0px) + 2.6rem); }
html.fuss-offen .timeline.am-ende .timeline-fuss { position: relative; height: 30px; border-radius: 99px; background: none; color: rgb(246 233 220 / 0.55); transition: color 0.25s, filter 0.25s; }
html.fuss-offen .timeline.am-ende .timeline-fuss::before, html.fuss-offen .timeline.am-ende .timeline-fuss::after { content: ""; position: absolute; top: 50%; height: 3px; translate: 0 -50%; border-radius: 3px; background: currentColor; opacity: 0.45; transition: opacity 0.25s; }
html.fuss-offen .timeline.am-ende .timeline-fuss::before { left: 0; right: calc(50% + 32px); }
html.fuss-offen .timeline.am-ende .timeline-fuss::after { left: calc(50% + 32px); right: 0; }
html.fuss-offen .timeline.am-ende .timeline-fuss:is(:hover, :focus-visible) { color: var(--gelb); filter: drop-shadow(0 0 8px rgb(255 200 0 / 0.7)); }
html.fuss-offen .timeline.am-ende .timeline-fuss:is(:hover, :focus-visible)::before, html.fuss-offen .timeline.am-ende .timeline-fuss:is(:hover, :focus-visible)::after { opacity: 0.9; }
.fuss-keil { display: block; width: 40px; height: 14px; margin: 0 auto; }
.fuss-keil path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Startseite: die vier nächsten Schritte als Glasblasen direkt unter der Peggy-Leiste (Hendrik) ===== */
.fuss-vier { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0.9rem 0 0; }
.fuss-vier .pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 48px; padding: 0 1.3rem; border: 1px solid rgb(255 255 255 / 0.7); border-radius: 999px;
  background: rgb(255 250 244 / 0.55); color: var(--ink); font-size: 1rem; font-weight: 800; white-space: nowrap; text-decoration: none;
  box-shadow: 0 16px 34px -14px rgb(43 27 20 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.8); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); transition: background-color 0.2s, translate 0.2s; }
.fuss-vier .pill:hover { background: rgb(255 255 255 / 0.85); translate: 0 -2px; }
@media (min-width: 861px) {
  /* in der Leiste nur Telefon und Mail, etwas größer */
  .footer-grid:has(.fuss-vier) .peggy-band-kontakt > .pill { padding: 0.75rem 1.3rem; font-size: 1.05rem; }
  .footer-grid:has(.fuss-vier) .peggy-band .peggy-band-kontakt { grid-row: 1 / span 2; }
  /* direkt unter der orangen Leiste, alle vier in einer Reihe */
  .fuss-vier { flex-wrap: nowrap; gap: 0.7rem; margin-top: -1.1rem; } /* Zeilenabstand des Rasters ausgleichen: knapp unter der Leiste */
  @media (max-height: 800px) { .fuss-vier .pill { min-height: 42px !important; font-size: 0.88rem; } }
  .fuss-vier .pill { min-height: 52px; }
}
@media (min-width: 861px) and (max-width: 1240px) {
  .fuss-vier { gap: 0.5rem; }
  .fuss-vier .pill { min-height: 44px; padding: 0 0.9rem; font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) { .fuss-vier .pill { transition: none; } }

/* ===== Plan: gewollte Zeilenumbrüche in den Können-Sätzen nur am Desktop (darunter fließt der Text normal) ===== */
@media (max-width: 860px) { .br-breit { display: none; } }
/* ===== Rad: Hervorhebungen in der Farbe des Lehrgebiets (Website blau, Social Media rosa; wie Fotografie grün) ===== */
.web-blau { color: color-mix(in srgb, var(--c-web) 62%, #fff); }
.loop-panel h3 .web-werke { font-family: var(--font-serif); font-style: italic; font-weight: 700; }
.social-rosa { color: var(--c-social); }
.loop-panel h3 .social-rosa { font-style: italic; }

/* ===== Rad: Hervorhebungen (Hendrik) =====
   „Werke“ wirklich blau (die dunkle Fläche färbt em in Überschriften sonst rosa), Reaktionen hell und fett,
   KI in Lila: „Boosten“, „gut ankommt“ und der Satz zu Minuten und Sekunden */
.loop-panel h3 .web-blau { color: color-mix(in srgb, var(--c-web) 62%, #fff); }
.loop-panel .text-hell { font-style: normal; font-weight: 700; color: #fff; }
.ki-lila, .loop-panel h3 .ki-lila { color: color-mix(in srgb, var(--c-ki) 38%, #f2c6f8); }
.loop-panel h3 .ki-lila { font-style: italic; }
.loop-panel .ki-fett { font-style: normal; font-weight: 700; }

/* ===== Rad: Pause über der ganzen Szene (main.js hängt den Knopf in .loop-artefakte) ===== */
.rad-knoepfe .loop-artefakte .rad-pause { position: absolute; inset: -4%; z-index: 2; width: auto; height: auto; aspect-ratio: auto; translate: none; border-radius: 28px; }

/* ===== Praxisbeispiele: Überschrift mit Verlauf durch die Farben der Lehrgebiete, Pfeil zeigt nach unten ===== */
.projekte .praxis-wort { font-style: italic; background: linear-gradient(90deg, var(--c-foto), var(--c-video), var(--c-web), var(--c-social), var(--c-ki));
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.praxis-pfeil { display: inline-block; margin-left: 0.25em; color: var(--hsm-orange); font-family: var(--font-display); font-weight: 900; }
.motion .praxis-pfeil { animation: praxis-hopsen 1.8s ease-in-out infinite; }
@keyframes praxis-hopsen { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 0.18em; } }
@media (prefers-reduced-motion: reduce) { .praxis-pfeil { animation: none; } }
@media (min-width: 1000px) { .projekte .section-head h2 { flex: none; max-width: none; white-space: nowrap; font-size: clamp(2rem, 0.6rem + 2.5vw, 3.2rem); } }

/* ===== Start: iV als großes Fotoshooting unten rechts (Test, Hendrik 26.11.) – nur wo neben dem Text Platz ist ===== */
.hero-shooting { display: none; }
@media (min-width: 1360px) {
  .duo-iv { display: none; }
  .hero-shooting { display: block; position: absolute; right: 0; bottom: 0; z-index: 1; width: clamp(14rem, calc(50vw - 27rem), 28rem); aspect-ratio: 4 / 5; margin: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-shooting > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
  .hero-shooting .ki-hinweis { left: auto; right: 0.9rem; bottom: 0.9rem; }
  .motion .kb-buehne:not(.los) .hero-shooting { visibility: hidden; }
  .motion .kb-buehne.los .hero-shooting { animation: shooting-rein 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both; }
}
@keyframes shooting-rein { from { opacity: 0; translate: 6% 0; } }

/* ===== Start: Eckdaten als eine durchgehende Bubble, die Punkte getrennt durch dünne graue Striche (Hendrik, 26.11.) ===== */
@media (min-width: 861px) {
  .hero-v3 .hero-chips { flex-wrap: nowrap; gap: 0; width: fit-content; margin-inline: auto; border: 1.5px solid rgb(20 20 20 / 0.16); border-radius: 999px; background: #fff; box-shadow: 0 3px 8px -4px rgb(0 0 0 / 0.3); overflow: hidden; }
  .hero-v3 .hero-chips li { padding: 0.45rem 1.15rem; border: 0; border-radius: 0; background: none; box-shadow: none; white-space: nowrap; }
  .hero-v3 .hero-chips li + li { border-left: 1px solid rgb(20 20 20 / 0.16); }
}

/* ===== HSM-Corporate-Design (27.11.): Logo im Kopf, Urheberzeile im Fuß ===== */
.brand-logo { display: block; flex: none; margin-right: 1rem; padding-right: 1rem; border-right: 1px solid var(--graublau); line-height: 0; }
.brand-logo img { display: block; width: auto; height: 2rem; }
.site-header.is-dark .brand-logo { border-right-color: rgb(255 255 255 / 0.35); }
.site-header.is-dark .brand-logo img { filter: brightness(0) invert(1); }
.brand-name { color: var(--navy); }
.site-header.is-dark .brand-name { color: var(--on-dark); }
.fuss-urheber { grid-column: 1 / -1; margin: 0.9rem 0 0; text-align: center; font-size: var(--step--1); color: var(--muted); }
.fuss-urheber strong { color: var(--navy); font-weight: 700; }
@media (max-width: 860px) { .brand-logo { margin-right: 0.6rem; padding-right: 0.6rem; } .brand-logo img { height: 1.6rem; } }
@media (min-width: 861px) { .brand-name { font-size: 0.92rem !important; } .main-nav a { padding-inline: 0.55rem; font-size: 0.96rem; } .main-nav ul { gap: 0; } }
/* Fuß und Überschriften im HSM-Schema: kühles Graublau statt Bereichs-Tönung, „ZUM SHOP“ in HSM-Gelb statt Farbverlauf */
.karten-stapel { --ende-karte: color-mix(in srgb, var(--graublau) 20%, #fff); }
.kopf-3 .kopf-ziel { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gelb); }
.kopf-1 h2 em { color: var(--gelb); }
.kopf-2 h2 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gelb); }
/* Urheberzeile: mit der Impressum-Klappe steht sie fest über dem Wort „Impressum“, solange das Seitenende zu sehen ist */
html.fuss-klappe .fuss-urheber { display: none; }
html.fuss-klappe:has(.timeline.am-ende):not(.fuss-offen) .fuss-urheber { display: block; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 5; margin: 0; pointer-events: none; }

/* ===== HSM-Schrift Exo: Feinschliff (27.11.) ===== */
.fuer-wen .fuer-wen-titel em { color: var(--gelb); }
/* Die KI-Bilder hinter Studium und „Weiter“ waren warm (Orange, Rosa): per Farbdrehung ins HSM-Blau gekippt */
.studium-kulisse { filter: hue-rotate(190deg) saturate(0.75); }
.banner-bild, .banner-milch { filter: hue-rotate(205deg) saturate(0.7); }

/* ===== Rechtliche Seiten im v3-Stil (impressum.html, datenschutz.html) ===== */
.legal-page { padding-bottom: 0; }
.legal { max-width: 760px; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: 3rem; }
.legal h1 { font-size: var(--step-3); font-weight: 800; line-height: 1.05; hyphens: auto; color: var(--navy); }
.legal h2 { margin-top: 2rem; font-size: var(--step-1); font-weight: 700; max-width: none; color: var(--navy); }
.legal p { max-width: 65ch; }
.legal a { color: var(--hsm-blau); text-underline-offset: 0.18em; }
.legal-back { padding: 0.5rem 1.1rem; white-space: nowrap; }
.legal-meta { margin-top: 3rem; color: var(--muted); font-size: var(--step--1); }
.legal-fuss { padding: 1.4rem var(--gutter); border-top: 1px solid var(--line); background: var(--hellgrau); }
.legal-fuss .fuss-urheber { margin: 0; }
@media (max-width: 640px) { .legal-back { display: none; } }
