/* ============================================================================
   scrollcraft.css: the taste floor
   ----------------------------------------------------------------------------
   Two layers, and the split matters:

     TOKENS   what you override per brand. Colour roles, the type ramp, the
              spacing scale, elevation, motion. A brand is ~12 values.
     DEVICES  what the engine drives. Do not restyle these to taste; they are
              the mechanism. Style your own markup instead.

   Nothing here draws a "component". There are no card, badge, or pill classes,
   because a stylesheet that ships those is how every page built on it ends up
   with the same shapes. You get a floor and a vocabulary; the composition is
   yours.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* --- colour roles. Override these six and the page is rebranded. -------- */
  --sc-canvas:      #08090b;   /* the page ground. Drift interpolates this.   */
  --sc-surface:     #101217;   /* anything raised off the ground             */
  --sc-ink:         #f4f2ef;   /* primary text                               */
  --sc-ink-soft:    #9a9ba1;   /* secondary text. Tinted, never flat gray.   */
  --sc-accent:      #d8ff3e;   /* ONE accent. It owns a region, not confetti. */
  --sc-accent-ink:  #08090b;   /* text that sits on the accent               */

  --sc-hairline:    color-mix(in oklab, var(--sc-ink) 12%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 22%, transparent);

  /* --- type. Two families max. Display carries voice, text carries prose. - */
  --sc-font-display: "Instrument Sans", "Geist", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-font-mono:    "Geist Mono", ui-monospace, monospace;

  /* Fluid ramp. Tracking tightens as size grows because a face set at 6rem
     with 0 tracking reads loose; this is optical correction, not decoration. */
  --sc-t-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --sc-t-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --sc-t-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --sc-t-lg:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --sc-t-xl:   clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --sc-t-2xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --sc-t-3xl:  clamp(2.8rem, 1.9rem + 4.2vw, 5rem);
  --sc-t-4xl:  clamp(3.4rem, 1.9rem + 6.6vw, 7.5rem);

  --sc-track-tight:  -0.035em;
  --sc-track-snug:   -0.02em;
  --sc-track-normal: -0.005em;
  --sc-track-wide:    0.08em;

  --sc-leading-none: 0.94;
  --sc-leading-tight: 1.06;
  --sc-leading-body: 1.62;

  --sc-measure: 62ch;

  /* --- space. 4px base: the useful middle steps an 8-only scale misses. --- */
  --sc-1: 0.25rem;  --sc-2: 0.5rem;   --sc-3: 0.75rem;  --sc-4: 1rem;
  --sc-5: 1.5rem;   --sc-6: 2rem;     --sc-7: 3rem;     --sc-8: 4rem;
  --sc-9: 6rem;     --sc-10: 8rem;    --sc-11: 12rem;

  /* Section rhythm is fluid so a phone doesn't inherit desktop air. */
  --sc-section: clamp(4.5rem, 9vw, 11rem);
  --sc-gutter:  clamp(1.25rem, 5vw, 5.5rem);
  --sc-maxw:    82rem;

  /* --- radius. Pick one scale for the page and hold it. ------------------- */
  --sc-r-sm: 6px;  --sc-r-md: 12px;  --sc-r-lg: 20px;  --sc-r-pill: 999px;

  /* --- elevation. Every shadow has an offset AND a soft blur, and is tinted
         to the canvas hue. A zero-offset coloured halo is decoration, not
         depth, so there isn't one here. ---------------------------------- */
  --sc-shadow-color: 220 40% 2%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.28),
           0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.20);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.24),
           0 8px 18px -4px hsl(var(--sc-shadow-color) / 0.30);
  --sc-e3: 0 4px 8px hsl(var(--sc-shadow-color) / 0.22),
           0 18px 40px -8px hsl(var(--sc-shadow-color) / 0.38),
           0 48px 90px -24px hsl(var(--sc-shadow-color) / 0.30);

  /* Edge light: a 1px top highlight sells a raised surface better than any
     amount of blur, because real raised things catch light on their lip. */
  --sc-edge: inset 0 1px 0 color-mix(in oklab, var(--sc-ink) 10%, transparent);

  /* --- motion. Built-in CSS easings are too weak for UI. ------------------ */
  --sc-ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --sc-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --sc-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --sc-d-fast: 160ms;  --sc-d-base: 240ms;  --sc-d-slow: 420ms;

  --sc-z-stage: 1; --sc-z-copy: 20; --sc-z-chrome: 60;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sc-canvas);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  font-size: var(--sc-t-base);
  line-height: var(--sc-leading-body);
  letter-spacing: var(--sc-track-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ------------------------------------------------- the browser surfaces --
   The parts you did not draw still carry the design. Selection, caret, focus
   ring, scrollbar and tabular numerals all ship with defaults that belong to no
   design system. Theming them is the cheapest signal that a page was built
   rather than assembled, and it is the step that gets skipped most reliably. */
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }
:root { caret-color: var(--sc-accent); accent-color: var(--sc-accent); }
:focus-visible {
  outline: 2px solid var(--sc-accent);
  outline-offset: 3px;
  border-radius: var(--sc-r-sm);
}
:where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: color-mix(in oklab, var(--sc-ink) 26%, transparent) transparent; scrollbar-width: thin; }
}
:where(table, .sc-nums, [data-sc-count]) { font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------- typography -- */
.sc-display {
  font-family: var(--sc-font-display);
  font-weight: 500;
  line-height: var(--sc-leading-none);
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
  margin: 0;
}
.sc-display--xl { font-size: var(--sc-t-4xl); }
.sc-display--lg { font-size: var(--sc-t-3xl); }
.sc-display--md { font-size: var(--sc-t-2xl); letter-spacing: var(--sc-track-snug); }
.sc-lede {
  font-size: var(--sc-t-lg);
  line-height: 1.44;
  letter-spacing: var(--sc-track-snug);
  color: var(--sc-ink);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
}
.sc-body { max-width: var(--sc-measure); color: var(--sc-ink-soft); text-wrap: pretty; margin: 0; }
.sc-label {
  font-family: var(--sc-font-mono);
  font-size: var(--sc-t-xs);
  letter-spacing: var(--sc-track-wide);
  text-transform: uppercase;
  color: var(--sc-ink-soft);
}

/* ---------------------------------------------------------------- layout -- */
.sc-wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.sc-section { padding-block: var(--sc-section); }
/* More space above a heading than below it: the gap belongs to the boundary,
   not to the pair. */
.sc-stack > * + * { margin-top: var(--sc-4); }
.sc-stack > :is(h1,h2,h3) { margin-top: var(--sc-7); }
.sc-stack > :is(h1,h2,h3):first-child { margin-top: 0; }
.sc-rule { height: 1px; border: 0; background: var(--sc-hairline); margin: 0; }

/* =============================================================== DEVICES ==
   Driven by the engine. Restyle your own markup, not these.                */

.sc-act--pinned { position: relative; }
.sc-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
  z-index: var(--sc-z-stage);
}

/* scrub / sequence media */
.sc-stage :is(video[data-sc-scrub], canvas[data-sc-sequence], .sc-stage__poster) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
video[data-sc-scrub] { opacity: 0; transition: opacity 380ms var(--sc-ease-out); }
.sc-has-clip video[data-sc-scrub] { opacity: 1; }
/* The poster is a live frame-holder, not a placeholder: it stays up until a
   real video frame has painted, which is what stops the blank-stage flash. */
.sc-stage__poster { z-index: 0; transition: opacity 380ms var(--sc-ease-out); }
.sc-has-clip .sc-stage__poster { opacity: 0; }

/* A scrim only where text sits. A full-frame darkening layer flattens the
   image everywhere to fix contrast in one corner. */
.sc-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(
    var(--sc-scrim-angle, 180deg),
    color-mix(in oklab, var(--sc-canvas) var(--sc-scrim-a, 78%), transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
    transparent 68%);
}
/* Point the scrim at the copy. A scrim gradient that darkens the top while the
   copy sits at the bottom fixes contrast nowhere and flattens the image
   everywhere, which is the most common way text-over-video goes wrong. */
.sc-scrim--bottom { --sc-scrim-angle: 0deg; }
.sc-scrim--left   { --sc-scrim-angle: 90deg; }
.sc-scrim--right  { --sc-scrim-angle: 270deg; }

/* Corner scrims, for copy anchored to a corner. An edge gradient has to darken
   a whole band across the frame to cover one corner; a corner gradient puts the
   density where the text is and leaves the rest of the image alone. Pair with
   .sc-copy--lead / .sc-copy--trail. */
.sc-scrim--lead {
  background: linear-gradient(to top right,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 72%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
    transparent 72%);
}
.sc-scrim--trail {
  background: linear-gradient(to top left,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 72%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
    transparent 72%);
}
/* A band across the bottom, for copy that spans the full width of the frame.
   That is what both corner anchors become below 860px, and it is also the right
   shape whenever the copy block is wider than a corner. */
.sc-scrim--band {
  background: linear-gradient(to top,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 74%, transparent) 22%,
    color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
    transparent 58%);
}
.sc-scrim--vignette {
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%,
              color-mix(in oklab, var(--sc-canvas) 70%, transparent) 100%);
}

/* copy over a stage.
   max-width is in rem, never ch. A `ch` on this container resolves against the
   CONTAINER's font-size (body size), not the display size of the heading inside
   it, so `max-width: 20ch` here silently produces a ~180px column and wraps a
   hero headline to six lines. Set a ch measure on the text element itself. */
.sc-copy {
  position: absolute; z-index: var(--sc-z-copy);
  inset-inline: var(--sc-gutter);
  max-width: min(46rem, 76vw);
  will-change: opacity, transform;
}
.sc-copy--lead   { left: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); }
/* inset-inline FIRST. It is the shorthand for left+right, so declaring it after
   `left: 50%` resets left to auto and the block drifts off the left edge. */
.sc-copy--center { inset-inline: auto; left: 50%; top: 50%; translate: -50% -50%; text-align: center; }
.sc-copy--trail  { inset-inline: auto; right: var(--sc-gutter); bottom: clamp(3rem, 12vh, 9rem); text-align: right; }

/* cue defaults: the engine writes opacity/transform inline, these are the
   pre-paint state so nothing flashes before the first read() */
[data-sc-cue] { opacity: 0; will-change: opacity, transform; }
.sc-ready [data-sc-cue] { transition: none; }

/* kinetic split */
.sc-split { display: inline-block; overflow: hidden; vertical-align: top; }
/* Descenders live below the baseline; a line mask clipped to the line box eats
   the tails off g, y, p, j. The padding buys them room back. */
.sc-split--line { display: block; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.sc-split__i { display: inline-block; will-change: transform, opacity; }
.sc-is-split { opacity: 1 !important; }

/* horizontal rail */
[data-sc-pan] { display: flex; will-change: transform; }

/* reveal + parallax */
[data-sc-reveal] { will-change: clip-path; }
[data-sc-parallax] { will-change: transform; }

/* flow reveal (fires once) */
[data-sc-in], [data-sc-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out);
}
[data-sc-in].sc-in, [data-sc-stagger] > .sc-in { opacity: 1; transform: none; }

/* pointer devices */
[data-sc-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-sc-magnet] { will-change: transform; }
/* isolation always; position only if nothing more specific already set it.
   Written with :where() (zero specificity) on purpose: a plain `position:
   relative` here has the same weight as `.sc-stage` and, being later in the
   file, silently wins. A stage carrying both attributes then stops being
   sticky and the whole act scrolls away instead of pinning. */
[data-sc-spotlight] { isolation: isolate; }
:where([data-sc-spotlight]) { position: relative; }
[data-sc-spotlight]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(
    28rem 28rem at calc(var(--sc-mx, 0.5) * 100%) calc(var(--sc-my, 0.5) * 100%),
    color-mix(in oklab, var(--sc-accent) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity var(--sc-d-slow) var(--sc-ease-out);
}
[data-sc-spotlight]:hover::after { opacity: 1; }

/* =========================================================== WORLDFLIGHT ==
   One fixed stage for the whole page. The only thing in document flow is the
   spacer, and it is empty. If you find yourself adding a section here, you want
   act mode instead: the moment a real block scrolls past the fixed stage, the
   page has a seam again and the whole point is gone.                        */

[data-sc-mode="worldflight"] { position: relative; }

.sc-world {
  position: fixed; inset: 0;
  overflow: clip;
  z-index: var(--sc-z-stage);
  background: var(--sc-canvas);
}

/* Every leg is mounted for the life of the page and stacked in the same box.
   The engine owns opacity, visibility and z-index here; do not set them. */
.sc-world__seg {
  position: absolute; inset: 0;
  opacity: 0;
  will-change: opacity;
}
.sc-world__seg > :is(video, img, canvas) {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* The poster is the frame-holder AND the first camera move: the engine pushes
   it in slowly until a real decoded frame is available to replace it. */
.sc-world__poster {
  z-index: 0;
  transform-origin: 50% 50%;
  transition: opacity 420ms var(--sc-ease-out);
}
.sc-world__seg > video { z-index: 1; }
.sc-world__seg.sc-has-clip .sc-world__poster { opacity: 0; }
/* The act stylesheet lights a clip through its ancestor act. A worldflight leg
   has no act, so match the class the engine also writes on the clip itself. */
video[data-sc-scrub].sc-has-clip { opacity: 1; }

/* The copy layer is fixed too, and inert by default: the engine hands
   pointer-events back to a block only while it is actually legible. */
.sc-world__copy {
  position: fixed; inset: 0;
  z-index: var(--sc-z-copy);
  pointer-events: none;
}
.sc-world__scrim { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
[data-sc-copy] {
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.sc-ready [data-sc-copy] { transition: none; }

/* The track. Empty on purpose. */
.sc-world__spacer { pointer-events: none; }

/* scroll progress */
[data-sc-progress] {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--sc-z-chrome);
  background: var(--sc-accent); transform-origin: 0 50%; transform: scaleX(0);
  will-change: transform;
}

/* ----------------------------------------------------------- atmosphere --
   Depth is not only shadow. Grain keeps a flat dark ground from banding, and
   it is the difference between "a dark page" and "a lit room". */
.sc-grain { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0.045; }
.sc-grain::before {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  /* Fewer and gentler, not zero. Opacity still carries the reveal so the page
     is comprehensible; every position change is dropped. */
  [data-sc-in], [data-sc-stagger] > * { transform: none; transition-duration: 220ms; }
  [data-sc-parallax], [data-sc-pan], .sc-split__i { transform: none !important; }
  /* A wipe is a position change too. Show reveal content settled. */
  [data-sc-reveal] { clip-path: none !important; }
  /* A rail's transform IS its navigation, not decoration. Zeroing it the way
     parallax and kinetic type are zeroed parks the act on its first screenful
     and makes everything past the fold unreachable: a device degrading into
     missing content. Hand the travel back to the reader as an ordinary scroll
     region instead, so the same items are all still gettable without motion.
     A build that would rather re-lay the rail out as a grid can still do that;
     this is the floor, not the ceiling. */
  [data-sc-act="pan"] .sc-stage,
  [data-sc-act="pan"] [data-sc-stage] {
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }
  [data-sc-pan] > * { scroll-snap-align: center; }
  [data-sc-spotlight]::after { display: none; }
  /* A worldflight keeps its whole story here. No clip is ever fetched, so the
     posters are the film, and they cross-dissolve through exactly the same
     seams at exactly the same scroll positions. The push-in and the copy drift
     are the only things that go. */
  .sc-world__poster, [data-sc-copy] { transform: none !important; }
}

/* --------------------------------------------------------------- mobile -- */
@media (max-width: 860px) {
  .sc-copy { inset-inline: var(--sc-gutter); max-width: none; }
  .sc-copy--trail { text-align: left; }
  .sc-stage { height: 100svh; }
  /* .sc-copy--trail re-anchors to the left and spans the full width here, so a
     bottom-RIGHT corner gradient darkens the one corner the copy just left and
     guarantees a contrast failure over any bright clip. Point the density at
     the copy: the same band .sc-scrim--band paints. */
  .sc-scrim--trail {
    background: linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 74%, transparent) 22%,
      color-mix(in oklab, var(--sc-canvas) 30%, transparent) 42%,
      transparent 58%);
  }
}

/* Website Upgrade, Fassung 2 (19.11.2026). Steht auf scrollcraft.css (Engine der Skill scroll-craft, unveraendert).
   Hier nur: Marke (sechs Farben, zwei Schriften) und das eigene Markup. Keine [data-sc-*]-Regeln ueberschreiben. */

@font-face { font-family: "Outfit"; src: url("/fonts/outfit-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --sc-canvas: #f2f4f8;  --sc-surface: #ffffff;
  --sc-ink: #0c1322;     --sc-ink-soft: #55607a;
  --sc-accent: #2747f5;  --sc-accent-ink: #ffffff;
  --sc-font-display: "Outfit", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --band: #e2e8f7;
  --nacht: #0a1024; --nacht-2: #121a38; --nacht-ink: #eef2fb; --nacht-soft: #a9b4d0; --akzent-hell: #92a5ff;
  --gut: #17895a; --mittel: #a9710a; --schlecht: #c93a22;
  --schatten: 0 2px 6px rgb(12 19 34 / 0.06), 0 26px 60px -20px rgb(12 19 34 / 0.24);
  --schatten-klein: 0 1px 2px rgb(12 19 34 / 0.06), 0 10px 24px -12px rgb(12 19 34 / 0.18);
  --bar: 68px;
}
html { scroll-padding-top: calc(var(--bar) + 12px); }
/* Vor dem Start der Engine hat die Seite schon ihre endgueltige Form: nichts springt (CLS). */
.held { min-height: 170vh; min-height: 170svh; }
#beispiele { min-height: 480vh; min-height: 480svh; }
.held > [data-sc-stage], #beispiele > [data-sc-stage] { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
/* Ohne JavaScript: alles sichtbar, die Schiene laesst sich seitlich schieben. */
@media (scripting: none) {
  [data-sc-in], [data-sc-stagger] > * { opacity: 1; transform: none; }
  .held, #beispiele { min-height: 0; }
  #beispiele > [data-sc-stage] { position: static; height: auto; overflow-x: auto; padding-block: var(--sc-8); }
}
[hidden] { display: none !important; }
/* Faellt das Skript aus, bleibt alles sichtbar: unsichtbar starten nur Abschnitte, wenn seite.js die Engine gestartet hat. */
html:not(.sc-an) [data-sc-in], html:not(.sc-an) [data-sc-stagger] > * { opacity: 1; transform: none; }
/* Lange Woerter wie Mailadressen duerfen bei grosser Schrift umbrechen, statt die Seite seitlich zu verbreitern. */
body { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
/* Kawe 19.11.2026: "es soll immer ein ganzes Wort am Ende stehen". Keine Worttrennung, Zeilen ausgeglichen, kein einzelnes Wort am Schluss. */
h1, h2, h3 { font-family: var(--sc-font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
p, li, dt, dd, summary, figcaption, label { text-wrap: pretty; hyphens: manual; }
.sc-lede, .kopf p, dt, .faq summary span, .unter, .ablauf p, .abschnitt-kopf p, .vn__hinweis,
.anfrage__hinweis, .anfrage > p, .pruef__unter, .statt, .quelle, figcaption, .fuss p, .schiene__kopf p { text-wrap: balance; }
.knapp-oben { padding-top: var(--sc-8); }
.knapp-unten { padding-bottom: var(--sc-8); }
.held + .sc-section { padding-top: var(--sc-5); }
h2 { font-size: var(--sc-t-2xl); }
h3 { font-size: var(--sc-t-lg); letter-spacing: -0.02em; line-height: 1.15; }
.soft { color: var(--sc-ink-soft); }
@media (min-width: 30.01rem) { .nw { white-space: nowrap; } }
.treffer small, .seo-schau__quelle { overflow-wrap: anywhere; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 99; padding: 0.6rem 1rem; background: var(--sc-ink); color: var(--sc-canvas); border-radius: 8px; }
.skip:focus-visible { top: 1rem; }

/* ---------- Leiste ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome); height: var(--bar); background: color-mix(in oklab, var(--sc-canvas) 96%, transparent); /* kein Weichzeichner mehr: er rechnet bei jedem Scrollschritt das ganze Band neu, auf schwacher Grafik spuerbar (19.11.2026) */ border-bottom: 1px solid var(--sc-hairline); }
.bar .sc-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sc-5); }
.marke { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; }
/* Bei stark vergroesserter Schrift kuerzt sich der Name, der Knopf bleibt sichtbar (Pruefung 19.11.2026: Text 200 % lief seitlich ueber). */
.marke { min-width: 0; }
.marke span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bar nav { flex: none; }
.marke::before { flex: none;  content: ""; width: 0.95rem; height: 0.95rem; border-radius: 4px; background: var(--sc-accent); box-shadow: 5px 5px 0 color-mix(in oklab, var(--sc-accent) 28%, transparent); }
.bar ul { display: flex; align-items: center; gap: var(--sc-5); margin: 0; padding: 0; list-style: none; }
.bar li a:not(.knopf) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 0.98rem; text-decoration: none; color: var(--sc-ink-soft); transition: color var(--sc-d-fast) var(--sc-ease-out); }
.bar li a:not(.knopf):hover, .bar li a[aria-current="page"] { color: var(--sc-ink); }
/* Sprachumschalter DE/EN (Kawe 19.11.2026): zwei kleine Kuerzel, das aktive dunkel und unterstrichen. */
.bar__sprache { display: flex; align-items: center; gap: 0.15rem; }
.bar .bar__sprache a { min-width: 34px; justify-content: center; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--sc-ink-soft); text-decoration: none; }
.bar .bar__sprache a[aria-current="true"] { color: var(--sc-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Knoepfe und Felder ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem; border: 0; border-radius: var(--sc-r-pill); background: var(--sc-accent); color: var(--sc-accent-ink); font-family: var(--sc-font-text); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 2px rgb(39 71 245 / 0.25), 0 10px 22px -10px rgb(39 71 245 / 0.6); transition: transform var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out); }
.knopf:hover { background: color-mix(in oklab, var(--sc-accent) 88%, #000); transform: translateY(-1px); }
.knopf:active { transform: translateY(0) scale(0.985); }
.knopf:disabled { background: var(--sc-ink-soft); color: var(--sc-canvas); box-shadow: none; cursor: progress; transform: none; }
.knopf--klein { min-height: 44px; padding: 0 1.15rem; font-size: 0.95rem; }
.knopf--hell { background: #fff; color: var(--nacht); box-shadow: var(--schatten-klein); }
.knopf--hell:hover { background: #e9edf7; }
.knopf--linie { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf--linie:hover { background: color-mix(in oklab, currentColor 8%, transparent); }
.knopf--block { width: 100%; }

.pruef { display: flex; gap: 0.5rem; padding: 0.4rem; background: var(--sc-surface); border-radius: var(--sc-r-pill); box-shadow: var(--schatten-klein), inset 0 0 0 1px var(--sc-hairline-strong); max-width: 34rem; }
.pruef input { flex: 1; min-width: 0; min-height: 52px; padding: 0 1.1rem; border: 0; border-radius: var(--sc-r-pill); background: transparent; color: var(--sc-ink); font-size: 1.05rem; outline-offset: -2px; }
.pruef input::placeholder { color: var(--sc-ink-soft); opacity: 1; }
.pruef__unter { margin-top: 0.8rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* ---------- 1 Erster Bildschirm: die Verwandlung ---------- */
.held { background: radial-gradient(120% 90% at 82% 18%, #dfe6ff 0%, transparent 58%), var(--sc-canvas); }
.held__in { height: 100%; padding-top: var(--bar); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.held h1 { font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.7rem); }
.held .sc-lede { margin-top: var(--sc-5); color: var(--sc-ink-soft); max-width: 30ch; }
.held .pruef { margin-top: var(--sc-6); }

.buehne { position: relative; --w: var(--wm, clamp(0, (var(--sc-p, 0.5) - 0.04) / 0.6, 1)); }
.buehne__grund { position: absolute; inset: 9% -5% -9% 12%; border-radius: 28px; background: linear-gradient(140deg, var(--sc-accent), #6f86ff); opacity: 0.16; }
/* Abzeichen stehen ueber und unter dem Rahmen, nie im Bild (Pruefbericht 19.11.2026: sie verdeckten den Entwurf). */
.buehne__marken { position: absolute; left: 0; right: 0; bottom: calc(100% + 0.65rem); display: flex; justify-content: space-between; pointer-events: none; }
.buehne__marken span { padding: 0.3rem 0.8rem; border-radius: var(--sc-r-pill); font-size: var(--sc-t-sm); font-weight: 600; background: var(--sc-ink); color: #fff; }
.buehne__marken .ist-neu { background: var(--sc-accent); opacity: clamp(0, (var(--w) - 0.06) * 8, 1); }
.buehne__marken .ist-alt { opacity: clamp(0, (0.94 - var(--w)) * 8, 1); }
.wandel { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--schatten), 0 0 0 1px rgb(12 19 34 / 0.08); }
.wandel img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; }
.wandel__neu { clip-path: inset(0 calc((1 - var(--w)) * 100%) 0 0); }
/* Der Griff bleibt ganz im Bild: an den Raendern haelt er 26 px Abstand. */
.wandel__griff { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgb(12 19 34 / 0.18); transform: translateX(clamp(26px, calc(var(--w) * 100cqw), calc(100cqw - 26px))); pointer-events: none; }
.wandel__griff::after { content: ""; position: absolute; left: 50%; top: 30%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1322' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--schatten-klein); }
.regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.regler:focus-visible + .wandel__griff::after { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
/* Das Handy steht links unten: rechts steht im neuen Entwurf die Ueberschrift, die es sonst verdeckt. */
.buehne__handy { position: absolute; left: -4%; bottom: -9%; width: 21%; aspect-ratio: 9 / 18; border-radius: 22px; overflow: hidden; background: #fff; border: 5px solid var(--sc-ink); box-shadow: var(--schatten); }
.buehne__handy img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; }
.buehne__handy .neu { clip-path: inset(0 calc((1 - var(--w)) * 100%) 0 0); }
.buehne__zettel-reihe { position: absolute; right: 0; top: calc(100% + 0.8rem); display: flex; gap: 0.6rem; }
.buehne__zettel { padding: 0.5rem 0.9rem; border-radius: 12px; background: var(--sc-surface); box-shadow: var(--schatten-klein); font-size: var(--sc-t-sm); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.buehne__zettel::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gut); }
.buehne__zettel--1 { opacity: clamp(0, (var(--w) - 0.3) * 8, 1); }
.buehne__zettel--2 { opacity: clamp(0, (var(--w) - 0.6) * 8, 1); }

/* ---------- 2 Was sich aendert ---------- */
.kopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sc-6); align-items: end; margin-bottom: var(--sc-8); }
.kopf p { color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.45; letter-spacing: -0.015em; max-width: 34ch; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-5); }
.karte { background: var(--sc-surface); border-radius: var(--sc-r-lg); padding: var(--sc-6); box-shadow: var(--schatten-klein); display: flex; flex-direction: column; gap: var(--sc-4); min-height: 22rem; }
.karte__art { font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-accent); }
.karte__bild { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: var(--sc-5); border-radius: var(--sc-r-md); background: var(--sc-canvas); }
.karte p.unter { color: var(--sc-ink-soft); font-size: 0.98rem; line-height: 1.5; }
/* Vorher und Nachher untereinander, jedes mit kleinem Wort darueber */
.vn { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.vn > small { font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-ink-soft); }
.vn--neu > small { color: var(--sc-accent); }
.vn > .treffer { align-self: stretch; }
.vn__tel { font-family: "Times New Roman", Times, serif; font-size: 1.4rem; color: var(--sc-ink-soft); }
.vn__hinweis { font-size: var(--sc-t-sm); line-height: 1.4; color: var(--sc-ink-soft); }
.anruf { align-self: flex-start; padding: 0.75rem 1.25rem; border-radius: var(--sc-r-pill); background: var(--sc-ink); color: #fff; font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.treffer { background: #fff; border-radius: 10px; padding: 0.8rem 0.9rem; box-shadow: inset 0 0 0 1px var(--sc-hairline); }
.treffer small { display: block; font-size: 0.8rem; color: #4d5156; }
.treffer b { display: block; font-weight: 500; font-size: 1.02rem; line-height: 1.3; color: #1a0dab; margin: 0.15rem 0; }
.treffer span { font-size: 0.8rem; line-height: 1.35; color: #4d5156; display: block; text-wrap: balance; }
.treffer--alt { background: #f6f7f9; }
.treffer--alt b { color: #5d6269; }
.zwei-handys { display: flex; gap: 0.8rem; justify-content: center; align-items: flex-end; margin-inline: calc(var(--sc-5) * -0.5); }
.zwei-handys .vn { width: 48%; align-items: center; }
.zwei-handys figure { width: 100%; border-radius: 14px; overflow: hidden; border: 4px solid var(--sc-ink); background: #fff; aspect-ratio: 9 / 16; position: relative; }
.zwei-handys img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.zwei-handys .vn:first-child figure { border-color: #8a93a8; }

/* ---------- 3 Beispiele: die Schiene ---------- */
/* Kawe 19.11.2026: der dunkle Grund "tut im Auge weh". Die Baender sind deshalb helles Blaugrau statt Nachtblau. */
.nacht { background: var(--band); }
.schiene { background: var(--band); height: 100%; display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.5rem); padding: var(--bar) var(--sc-gutter) 0; width: max-content; }
.schiene__kopf { width: min(27rem, 78vw); flex: none; }
.schiene__kopf h2 { font-size: var(--sc-t-2xl); }
.schiene__kopf .knopf { margin-top: var(--sc-6); }
.schiene__kopf p { margin-top: var(--sc-5); color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.45; max-width: 26ch; }
/* Die Karten fuellen die Hoehe des Bildschirms: Breite aus der freien Hoehe gerechnet. Das Handy steht NEBEN dem Rechner-Bild
   (nur 3 % Ueberlappung), damit es keine Ueberschrift und kein Gesicht im Entwurf verdeckt. */
.entwurf { width: clamp(19rem, min(66vw, calc((100svh - var(--bar) - 10rem) * 1.86)), 70rem); flex: none; }
.entwurf__bild { position: relative; margin-bottom: 1.1rem; padding-right: 14%; }
.entwurf__bild > img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -26px rgb(12 19 34 / 0.45), 0 0 0 1px rgb(12 19 34 / 0.08); }
.entwurf__handy { position: absolute; right: 0; bottom: -3%; width: 17%; aspect-ratio: 1 / 2; border-radius: 16px; overflow: hidden; border: 4px solid var(--sc-ink); box-shadow: 0 18px 34px -14px rgb(12 19 34 / 0.5); background: #fff; }
.entwurf__handy img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.entwurf__marke { display: inline-flex; align-items: center; vertical-align: 0.15em; margin-left: 0.5rem; min-height: 28px; padding: 0 0.75rem; font-family: var(--sc-font-text); letter-spacing: 0; border-radius: var(--sc-r-pill); background: var(--sc-accent); color: var(--sc-accent-ink); font-size: var(--sc-t-sm); font-weight: 600; white-space: nowrap; box-shadow: var(--schatten-klein); }
.entwurf__zeile { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; }
.entwurf__zeile h3 { font-size: 1.3rem; white-space: nowrap; }
.entwurf__zeile a { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.entwurf__zeile a:hover { color: var(--sc-ink); }
.schiene__ende { width: min(24rem, 78vw); flex: none; }
.schiene__ende h3 { font-size: var(--sc-t-xl); margin-bottom: var(--sc-5); }

/* ---------- 4 Der Test ---------- */
.test { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "kopf ergebnis" "ablauf ergebnis"; grid-template-rows: auto 1fr; gap: var(--sc-8) clamp(2rem, 5vw, 5rem); align-items: start; }
.test__kopf { grid-area: kopf; }
.test > .ergebnis { grid-area: ergebnis; }
.test__ablauf { grid-area: ablauf; }
.test__ablauf h3 { font-size: var(--sc-t-xl); }
.test h2 { font-size: var(--sc-t-2xl); }
.test .sc-lede { margin-top: var(--sc-5); color: var(--sc-ink-soft); }
.test .pruef { margin-top: var(--sc-6); }
.ergebnis { background: var(--sc-surface); border-radius: 24px; box-shadow: var(--schatten); padding: clamp(1.25rem, 2.4vw, 2.25rem); }
.ergebnis__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: var(--sc-4); border-bottom: 1px solid var(--sc-hairline); }
.ergebnis__kopf b { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ergebnis__kopf span { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); white-space: nowrap; }
.punkte { list-style: none; padding: 0; }
.punkte li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; column-gap: 0.9rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--sc-hairline); }
.punkte i { grid-row: span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--sc-canvas) center / 1.1rem no-repeat; }
.punkte b { font-weight: 600; }
.punkte em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--sc-ink-soft); }
.punkte span { grid-column: 2 / -1; color: var(--sc-ink-soft); font-size: 0.98rem; line-height: 1.45; }
.punkte li[data-stand="laeuft"] i { background-image: none; box-shadow: inset 0 0 0 3px var(--sc-hairline-strong); border-top-color: var(--sc-accent); animation: dreh 0.9s linear infinite; background: conic-gradient(var(--sc-accent) 25%, var(--sc-canvas) 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.punkte li[data-stand="gut"] i { background-color: color-mix(in oklab, var(--gut) 14%, #fff); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317895a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.punkte li[data-stand="mittel"] i { background-color: color-mix(in oklab, var(--mittel) 16%, #fff); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9710a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.1'/%3E%3C/svg%3E"); }
.punkte li[data-stand="schlecht"] i { background-color: color-mix(in oklab, var(--schlecht) 13%, #fff); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c93a22' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.punkte li[data-stand="gut"] em { color: var(--gut); }
.punkte li[data-stand="mittel"] em { color: var(--mittel); }
.punkte li[data-stand="schlecht"] em { color: var(--schlecht); }
@keyframes dreh { to { transform: rotate(1turn); } }
.ergebnis__fuss { padding-top: var(--sc-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ergebnis__fuss p { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.ergebnis__fuss p:empty { display: none; }

.ablauf { margin-top: var(--sc-5); display: grid; gap: var(--sc-5); padding: 0; list-style: none; counter-reset: s; }
.ablauf li { counter-increment: s; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.ablauf li::before { content: counter(s); grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--sc-ink); color: #fff; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.1rem; }
.ablauf h4 { margin: 0; padding-top: 0.2rem; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.ablauf p { grid-column: 2; margin-top: 0.25rem; color: var(--sc-ink-soft); max-width: 38ch; }
.zahlen { margin-top: var(--sc-8); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sc-5); }
.zahlen > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.5rem; padding: var(--sc-5); border-radius: var(--sc-r-lg); background: var(--sc-surface); box-shadow: var(--schatten-klein); }
.zahlen dd { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-2xl); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zahlen dd small { font-size: 0.45em; font-weight: 500; letter-spacing: -0.01em; color: var(--sc-ink-soft); margin-left: 0.2em; }
.zahlen dt { color: var(--sc-ink-soft); font-size: 0.98rem; line-height: 1.4; }
.zahlen progress { display: block; width: 100%; height: 6px; margin-top: 0.9rem; border: 0; border-radius: 3px; overflow: hidden; -webkit-appearance: none; appearance: none; background: var(--sc-canvas); color: var(--sc-accent); }
.zahlen progress::-webkit-progress-bar { background: var(--sc-canvas); }
.zahlen progress::-webkit-progress-value { background: var(--sc-accent); border-radius: 3px; }
.zahlen progress::-moz-progress-bar { background: var(--sc-accent); border-radius: 3px; }
.quelle { margin-top: var(--sc-4); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 70ch; }

/* ---------- 5 Person ---------- */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.team { margin: 0; }
.team img { display: block; width: 100%; height: auto; }
.team figcaption { display: grid; grid-template-columns: 1fr 1fr; padding: 0.8rem 1.1rem; background: var(--sc-surface); font-weight: 600; font-size: 0.98rem; }
.team figcaption small { display: block; font-weight: 400; color: var(--sc-ink-soft); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sc-4); }
.duo figcaption { padding: 0.8rem 1rem; background: var(--sc-surface); font-weight: 600; font-size: 0.98rem; }
.duo figcaption small { display: block; font-weight: 400; color: var(--sc-ink-soft); }
.duo__leer > div { aspect-ratio: 720 / 899; display: grid; place-items: center; background: linear-gradient(150deg, #dfe6ff, #c9d3fb); font-family: var(--sc-font-display); font-weight: 600; font-size: clamp(3rem, 8vw, 6rem); color: var(--sc-accent); }
.person p + p { margin-top: var(--sc-4); }
.person figure { border-radius: 24px; overflow: hidden; box-shadow: var(--schatten); }
.person figure img { width: 100%; height: auto; }
.person h2 { max-width: 16ch; }
.person p { margin-top: var(--sc-5); max-width: 52ch; color: var(--sc-ink-soft); }
.chips { margin-top: var(--sc-6); display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: var(--sc-r-pill); background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--sc-hairline-strong); font-weight: 500; font-size: 0.98rem; text-decoration: none; transition: background-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out); }
.chips a:hover { background: var(--sc-ink); color: var(--sc-canvas); }
.chips span { box-shadow: none; background: transparent; color: var(--sc-ink-soft); padding-left: 0.4rem; }

/* ---------- 6 Fragen und Abschluss ---------- */
.schluss { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.schluss h2 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-6); }
.faq { border-top: 1px solid var(--sc-hairline-strong); }
.faq details { border-bottom: 1px solid var(--sc-hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 0.7rem 0; font-family: var(--sc-font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: color-mix(in oklab, var(--sc-ink) 10%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355607a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.2rem 0; color: var(--sc-ink-soft); max-width: 58ch; }
.hell .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355607a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }

.anfrage { background: #fff; color: #0c1322; --sc-ink: #0c1322; --sc-ink-soft: #55607a; --sc-hairline-strong: rgb(12 19 34 / 0.22); border-radius: 24px; padding: clamp(1.4rem, 2.6vw, 2.4rem); box-shadow: var(--schatten); position: sticky; top: calc(var(--bar) + 1.25rem); }
.anfrage h3 { font-size: var(--sc-t-xl); margin-bottom: 0.4rem; }
.anfrage > p { color: var(--sc-ink-soft); margin-bottom: var(--sc-5); }
.feld { display: block; margin-bottom: 0.9rem; }
.feld label { display: block; font-size: var(--sc-t-sm); font-weight: 600; margin-bottom: 0.3rem; }
.feld small { font-weight: 400; color: var(--sc-ink-soft); }
.feld input { display: block; width: 100%; min-height: 52px; padding: 0 1rem; border: 0; border-radius: 12px; background: #f2f4f8; color: #0c1322; font-size: 1.02rem; box-shadow: inset 0 0 0 1px rgb(12 19 34 / 0.14); outline-offset: 0; }
.feld input:focus-visible { box-shadow: inset 0 0 0 2px var(--sc-accent); outline: none; }
.falle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.anfrage__meldung { margin-top: 0.6rem; font-size: var(--sc-t-sm); }
.anfrage__meldung:empty { display: none; }
.anfrage__hinweis { margin-top: 0.9rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

.fuss { margin-top: var(--sc-9); padding-top: var(--sc-6); border-top: 1px solid var(--sc-hairline); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sc-6); color: var(--sc-ink-soft); font-size: 0.98rem; }
.fuss p { max-width: 40ch; }
.fuss .fuss__recht { grid-column: 1 / -1; max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.6rem; padding-top: var(--sc-3); border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-sm); }
#fragen { padding-bottom: var(--sc-6); }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin: 0; padding: 0; list-style: none; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; color: var(--sc-ink-soft); }
.fuss a:hover { color: var(--sc-ink); text-decoration: underline; }

.sc-section--eng { padding-top: 0; }
.zahlen--oben { margin-top: 0; }

/* ---------- Unterseiten ---------- */
.unter-held { padding-top: calc(var(--bar) + clamp(2.5rem, 6vw, 5.5rem)); padding-bottom: var(--sc-9); background: radial-gradient(120% 90% at 82% 10%, #dfe6ff 0%, transparent 58%), var(--sc-canvas); }
.unter-held .sc-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.unter-held--seo .sc-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.unter-held--seo h1 { max-width: none; font-size: clamp(2rem, 1.3rem + 2.1vw, 3rem); }
.unter-held h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.2rem); max-width: 14ch; }
.unter-held .sc-lede { margin-top: var(--sc-5); color: var(--sc-ink-soft); }
.unter-held .pruef { margin-top: var(--sc-6); }
.statt { margin-top: 0.9rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.schau { position: relative; padding-right: 12%; }
.schau > img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--schatten), 0 0 0 1px rgb(12 19 34 / 0.08); }
.schau__handy { position: absolute; right: -2%; bottom: 2.2rem; width: 19%; aspect-ratio: 1 / 2; border-radius: 22px; overflow: hidden; border: 5px solid var(--sc-ink); box-shadow: var(--schatten); background: #fff; }
.schau__handy img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.schau figcaption { margin-top: 1.1rem; padding-right: 12%; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
/* SEO-Seite: Treffer und KI-Antwort als Bild im Kopfbereich */
.seo-schau { display: grid; gap: var(--sc-4); }
.seo-schau > div { background: var(--sc-surface); border-radius: 20px; padding: var(--sc-5); box-shadow: var(--schatten); }
.seo-schau__google { margin-right: 14%; }
.seo-schau__ki { margin-left: 14%; display: flex; flex-direction: column; align-items: flex-start; }
.seo-schau__art { display: block; margin-bottom: 0.8rem; font-size: var(--sc-t-sm); font-weight: 600; color: var(--sc-accent); }
.seo-schau .treffer { padding: 0; box-shadow: none; }
.seo-schau .treffer b { font-size: 1.15rem; }
.seo-schau .treffer span { font-size: 0.9rem; }
.seo-schau__frage { align-self: flex-end; padding: 0.6rem 0.95rem; border-radius: 16px 16px 4px 16px; background: var(--sc-canvas); font-size: 0.98rem; text-wrap: balance; }
.seo-schau__antwort { margin-top: 0.9rem; line-height: 1.5; }
.seo-schau__quelle { margin-top: 0.9rem; padding: 0.25rem 0.75rem; border-radius: var(--sc-r-pill); background: color-mix(in oklab, var(--sc-accent) 10%, #fff); color: var(--sc-accent); font-size: var(--sc-t-sm); font-weight: 600; }
.seo-schau figcaption { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.punkte-drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-5); padding: 0; list-style: none; }
.punkte-drei li { background: var(--sc-surface); border-radius: var(--sc-r-lg); padding: var(--sc-6); box-shadow: var(--schatten-klein); }
.punkte-drei p { margin-top: 0.6rem; color: var(--sc-ink-soft); }
.liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-5); padding: 0; list-style: none; }
.liste li { background: var(--sc-surface); border-radius: var(--sc-r-lg); padding: var(--sc-6); box-shadow: var(--schatten-klein); }
.liste p { margin-top: 0.6rem; color: var(--sc-ink-soft); }
.abschnitt-kopf { margin-bottom: var(--sc-7); max-width: 46rem; }
.abschnitt-kopf p { margin-top: var(--sc-4); color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.45; }

.prose { padding-top: calc(var(--bar) + var(--sc-8)); padding-bottom: var(--sc-9); }
.prose .sc-wrap { max-width: 56rem; }
.prose h1 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-6); }
.prose h2 { font-size: var(--sc-t-xl); margin-top: var(--sc-7); margin-bottom: var(--sc-4); }
.prose h3 { font-size: 1.15rem; margin-top: var(--sc-5); margin-bottom: 0.4rem; }
/* Impeccable-Pruefung 19.11.2026: hoechstens rund 75 Zeichen je Zeile (ch ist bei Geist zu breit gerechnet, deshalb rem). */
.prose p, .prose ul { margin-bottom: var(--sc-4); max-width: 36rem; line-height: 1.7; }
.prose .kasten { padding: var(--sc-5); background: var(--sc-surface); border-radius: var(--sc-r-md); margin-bottom: var(--sc-5); max-width: 36rem; box-shadow: var(--schatten-klein); }
.prose .kasten p { margin-bottom: 0; }
.prose-fuss { padding-bottom: var(--sc-7); }

/* ---------- schmaler ---------- */
@media (max-width: 62rem) {
  .bar li:not(.bar__aktion):not(.bar__sprache) { display: none; }
  .bar ul { gap: var(--sc-2); }
  .bar .sc-wrap { gap: var(--sc-2); }
  .bar .bar__sprache a { min-width: 28px; }
  .bar .knopf--klein { padding: 0 0.9rem; }
  .held__in { grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--sc-6); padding-top: calc(var(--bar) + 2rem); }
  .held h1 { font-size: clamp(2.1rem, 8.4vw, 3.2rem); }
  .held .sc-lede { margin-top: var(--sc-4); font-size: 1.08rem; max-width: 38ch; }
  .held .pruef { margin-top: var(--sc-5); }
  .buehne { margin-top: 1.2rem; }
  /* Am Handy entfaellt das kleine Handy-Bild im Bild (unlesbar klein), der Griff wird kleiner und parkt am Rand. */
  .buehne__zettel-reihe, .buehne__handy { display: none; }
  .wandel__griff { transform: translateX(clamp(16px, calc(var(--w) * 100cqw), calc(100cqw - 16px))); }
  .wandel__griff::after { top: 17%; width: 30px; height: 30px; margin: -15px 0 0 -15px; background-size: 16px; }
  .kopf { grid-template-columns: minmax(0, 1fr); gap: var(--sc-4); margin-bottom: var(--sc-7); }
  .drei, .punkte-drei, .liste { grid-template-columns: minmax(0, 1fr); }
  .karte { min-height: 0; }
  .person, .schluss, .unter-held .sc-wrap { grid-template-columns: minmax(0, 1fr); }
  .test { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "ergebnis" "ablauf"; grid-template-rows: none; gap: var(--sc-7); }
  .duo { max-width: 30rem; }
  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-4); }
  .anfrage { position: static; }
  .fuss { grid-template-columns: minmax(0, 1fr); }
  .fuss .fuss__recht span { flex-basis: 100%; }
  .schau { margin-right: 3%; }
  .seo-schau__google { margin-right: 6%; }
  .seo-schau__ki { margin-left: 6%; }
  /* Galerie am Handy: die Handy-Ansicht gross, das Rechner-Bild entfaellt (vorher winzig und nicht lesbar). */
  .schiene { gap: 1.4rem; }
  .entwurf { width: auto; --h: min(calc(100svh - var(--bar) - 9.5rem), 156vw); }
  .entwurf__bild { margin-bottom: 0.7rem; padding-right: 0; }
  .entwurf__bild > img { display: none; }
  .entwurf__handy { position: static; height: var(--h); width: calc(var(--h) / 2); border-radius: 26px; border-width: 6px; }
  .entwurf__zeile { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
  .entwurf__zeile a { min-height: 44px; }
  .entwurf__marke { margin-left: 0.3rem; }
}
@media (max-width: 30rem) {
  .marke { font-size: 1.05rem; }
  .pruef { flex-direction: column; border-radius: 20px; padding: 0.5rem; }
  .pruef input { min-height: 50px; }
  .pruef input { width: 100%; }
  .knopf, .anruf { white-space: normal; text-align: center; max-width: 100%; }
  .zahlen > div { padding: var(--sc-4); }
  .punkte li { grid-template-columns: 2rem minmax(0, 1fr); }
  .punkte i { width: 2rem; height: 2rem; }
  .punkte em { grid-column: 2; }
  .punkte span { grid-column: 2; }
  .buehne__marken span { font-size: 0.8rem; padding: 0.22rem 0.7rem; }
  .seo-schau__google, .seo-schau__ki { margin-inline: 0; }
}
/* Sehr schmale Handys: der Knopf oben entfaellt (das Prueffeld steht direkt darunter), damit der Name ganz bleibt. */
@media (max-width: 22.5rem) { .bar__aktion { display: none; } }
@media (max-width: 62rem) and (max-height: 720px) { .held .pruef__unter { display: none; } .held .sc-lede { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  .buehne { --w: var(--wm, 0.5); }
  .punkte li[data-stand="laeuft"] i { animation: none; }
  .knopf { transition: none; }
}
