/* ==========================================================================
   CAIBIS Landing in Riso  (15.11.2026)
   --------------------------------------------------------------------------
   Schicht UEBER caibis-proto.css und caibis-v4.css: dieselbe Seite, derselbe
   Inhalt, gedruckt statt verglast. Stil: riso-lehrtafel, Variante CAIBIS
   (Repo designs, riso-lehrtafel/riso-lehrtafel.md).

   Regeln des Stils, an die sich jede Ergaenzung haelt:
   1) Ein Blatt Naturpapier traegt die ganze Seite. Es gibt keinen helleren
      Ton als das Papier und kein Schwarz.
   2) Drei Druckfarben: Tiefgruen, Hellgruen, Sonne. Jeder weitere Ton ist
      Raster (33 / 67 %) oder Ueberdruck, nie ein eigener Farbwert.
   3) Schrift und Linien laufen vollflaechig in Tiefgruen. Schrift wird nie
      gerastert.
   4) Kein Glas, kein Weichzeichner, kein Schlagschatten, kein Verlauf.
      Tiefe entsteht durch Ueberdruck und einen kleinen Passerversatz.
   5) Sonne ist der eine Punkt je Bild: der Datenpunkt, auf den es ankommt.
      Nie als Schrift, nie als Flaeche.
   Ausnahme (wie im Hero-Entwurf des Stils): Eingabefelder sind Bedienung,
   kein Druck. Sie liegen als ruhige helle Flaeche mit Haarlinie auf dem Blatt.

   Aufbau: 1 Farben und Kacheln · 2 Blatt · 3 Schrift · 4 Kopfzeile ·
   5 Knoepfe · 6 Baender und Karten · 7 Druck-Werkzeug (Klassen fuer alle
   Abschnitte) · danach die Abschnitte in Seitenreihenfolge: Hero mit
   Startanimation und Kopfzeile, obere Abschnitte, untere Abschnitte, Fuss
   und Unterseiten.
   ========================================================================== */

/* ---------- 1 · Farben und Kacheln ---------------------------------------- */
:root {
  --riso-paper: #f2ede1;
  --riso-deep:  #1c3d2d;   /* Trommel 1, Raster 14 Grad */
  --riso-light: #5ba288;   /* Trommel 2, Raster 76 Grad */
  --riso-sun:   #d4a017;   /* Trommel 3 */
  --riso-text-2: #4b6455;  /* Tiefgruen, duenner gedruckt: Fliesstext zweiter Ordnung (5,5:1 auf Papier) */
  --riso-text-3: #586e60;  /* Beschriftungen, Platzhalter (4,7:1) */
  --riso-rule:  rgba(28, 61, 45, 0.26);
  --riso-rule-soft: rgba(28, 61, 45, 0.13);
  --riso-dx: 2.2px;        /* Passerversatz Tiefgruen gegen Hellgruen */
  --riso-dy: 1.8px;
  --riso-cell: 33px;       /* Kachel der Raster unten: 17 Punkte, Rasterweite 8 px */

  --riso-s33: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' viewBox='0 0 33 33'%3E%3Cg fill='%231c3d2d'%3E%3Ccircle cx='0' cy='0' r='2.59'/%3E%3Ccircle cx='-1.94' cy='7.76' r='2.59'/%3E%3Ccircle cx='7.76' cy='1.94' r='2.59'/%3E%3Ccircle cx='5.82' cy='9.71' r='2.59'/%3E%3Ccircle cx='3.88' cy='17.47' r='2.59'/%3E%3Ccircle cx='1.94' cy='25.24' r='2.59'/%3E%3Ccircle cx='0' cy='33' r='2.59'/%3E%3Ccircle cx='15.53' cy='3.88' r='2.59'/%3E%3Ccircle cx='13.59' cy='11.65' r='2.59'/%3E%3Ccircle cx='11.65' cy='19.41' r='2.59'/%3E%3Ccircle cx='9.71' cy='27.18' r='2.59'/%3E%3Ccircle cx='7.76' cy='34.94' r='2.59'/%3E%3Ccircle cx='25.24' cy='-1.94' r='2.59'/%3E%3Ccircle cx='23.29' cy='5.82' r='2.59'/%3E%3Ccircle cx='21.35' cy='13.59' r='2.59'/%3E%3Ccircle cx='19.41' cy='21.35' r='2.59'/%3E%3Ccircle cx='17.47' cy='29.12' r='2.59'/%3E%3Ccircle cx='33' cy='0' r='2.59'/%3E%3Ccircle cx='31.06' cy='7.76' r='2.59'/%3E%3Ccircle cx='29.12' cy='15.53' r='2.59'/%3E%3Ccircle cx='27.18' cy='23.29' r='2.59'/%3E%3Ccircle cx='25.24' cy='31.06' r='2.59'/%3E%3Ccircle cx='34.94' cy='25.24' r='2.59'/%3E%3Ccircle cx='33' cy='33' r='2.59'/%3E%3C/g%3E%3C/svg%3E");
  --riso-s67: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' viewBox='0 0 33 33'%3E%3Cg fill='%231c3d2d'%3E%3Ccircle cx='0' cy='0' r='3.7'/%3E%3Ccircle cx='-1.94' cy='7.76' r='3.7'/%3E%3Ccircle cx='7.76' cy='1.94' r='3.7'/%3E%3Ccircle cx='5.82' cy='9.71' r='3.7'/%3E%3Ccircle cx='3.88' cy='17.47' r='3.7'/%3E%3Ccircle cx='1.94' cy='25.24' r='3.7'/%3E%3Ccircle cx='0' cy='33' r='3.7'/%3E%3Ccircle cx='15.53' cy='3.88' r='3.7'/%3E%3Ccircle cx='13.59' cy='11.65' r='3.7'/%3E%3Ccircle cx='11.65' cy='19.41' r='3.7'/%3E%3Ccircle cx='9.71' cy='27.18' r='3.7'/%3E%3Ccircle cx='7.76' cy='34.94' r='3.7'/%3E%3Ccircle cx='25.24' cy='-1.94' r='3.7'/%3E%3Ccircle cx='23.29' cy='5.82' r='3.7'/%3E%3Ccircle cx='21.35' cy='13.59' r='3.7'/%3E%3Ccircle cx='19.41' cy='21.35' r='3.7'/%3E%3Ccircle cx='17.47' cy='29.12' r='3.7'/%3E%3Ccircle cx='33' cy='0' r='3.7'/%3E%3Ccircle cx='31.06' cy='7.76' r='3.7'/%3E%3Ccircle cx='29.12' cy='15.53' r='3.7'/%3E%3Ccircle cx='27.18' cy='23.29' r='3.7'/%3E%3Ccircle cx='25.24' cy='31.06' r='3.7'/%3E%3Ccircle cx='34.94' cy='25.24' r='3.7'/%3E%3Ccircle cx='33' cy='33' r='3.7'/%3E%3C/g%3E%3C/svg%3E");
  --riso-l33: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' viewBox='0 0 33 33'%3E%3Cg fill='%235ba288'%3E%3Ccircle cx='0' cy='0' r='2.59'/%3E%3Ccircle cx='7.76' cy='-1.94' r='2.59'/%3E%3Ccircle cx='1.94' cy='7.76' r='2.59'/%3E%3Ccircle cx='9.71' cy='5.82' r='2.59'/%3E%3Ccircle cx='17.47' cy='3.88' r='2.59'/%3E%3Ccircle cx='25.24' cy='1.94' r='2.59'/%3E%3Ccircle cx='33' cy='0' r='2.59'/%3E%3Ccircle cx='3.88' cy='15.53' r='2.59'/%3E%3Ccircle cx='11.65' cy='13.59' r='2.59'/%3E%3Ccircle cx='19.41' cy='11.65' r='2.59'/%3E%3Ccircle cx='27.18' cy='9.71' r='2.59'/%3E%3Ccircle cx='34.94' cy='7.76' r='2.59'/%3E%3Ccircle cx='-1.94' cy='25.24' r='2.59'/%3E%3Ccircle cx='5.82' cy='23.29' r='2.59'/%3E%3Ccircle cx='13.59' cy='21.35' r='2.59'/%3E%3Ccircle cx='21.35' cy='19.41' r='2.59'/%3E%3Ccircle cx='29.12' cy='17.47' r='2.59'/%3E%3Ccircle cx='0' cy='33' r='2.59'/%3E%3Ccircle cx='7.76' cy='31.06' r='2.59'/%3E%3Ccircle cx='15.53' cy='29.12' r='2.59'/%3E%3Ccircle cx='23.29' cy='27.18' r='2.59'/%3E%3Ccircle cx='31.06' cy='25.24' r='2.59'/%3E%3Ccircle cx='25.24' cy='34.94' r='2.59'/%3E%3Ccircle cx='33' cy='33' r='2.59'/%3E%3C/g%3E%3C/svg%3E");
  --riso-l67: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' viewBox='0 0 33 33'%3E%3Cg fill='%235ba288'%3E%3Ccircle cx='0' cy='0' r='3.7'/%3E%3Ccircle cx='7.76' cy='-1.94' r='3.7'/%3E%3Ccircle cx='1.94' cy='7.76' r='3.7'/%3E%3Ccircle cx='9.71' cy='5.82' r='3.7'/%3E%3Ccircle cx='17.47' cy='3.88' r='3.7'/%3E%3Ccircle cx='25.24' cy='1.94' r='3.7'/%3E%3Ccircle cx='33' cy='0' r='3.7'/%3E%3Ccircle cx='3.88' cy='15.53' r='3.7'/%3E%3Ccircle cx='11.65' cy='13.59' r='3.7'/%3E%3Ccircle cx='19.41' cy='11.65' r='3.7'/%3E%3Ccircle cx='27.18' cy='9.71' r='3.7'/%3E%3Ccircle cx='34.94' cy='7.76' r='3.7'/%3E%3Ccircle cx='-1.94' cy='25.24' r='3.7'/%3E%3Ccircle cx='5.82' cy='23.29' r='3.7'/%3E%3Ccircle cx='13.59' cy='21.35' r='3.7'/%3E%3Ccircle cx='21.35' cy='19.41' r='3.7'/%3E%3Ccircle cx='29.12' cy='17.47' r='3.7'/%3E%3Ccircle cx='0' cy='33' r='3.7'/%3E%3Ccircle cx='7.76' cy='31.06' r='3.7'/%3E%3Ccircle cx='15.53' cy='29.12' r='3.7'/%3E%3Ccircle cx='23.29' cy='27.18' r='3.7'/%3E%3Ccircle cx='31.06' cy='25.24' r='3.7'/%3E%3Ccircle cx='25.24' cy='34.94' r='3.7'/%3E%3Ccircle cx='33' cy='33' r='3.7'/%3E%3C/g%3E%3C/svg%3E");
  --riso-p33: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' viewBox='0 0 33 33'%3E%3Cg fill='%23f2ede1'%3E%3Ccircle cx='0' cy='0' r='2.59'/%3E%3Ccircle cx='-1.94' cy='7.76' r='2.59'/%3E%3Ccircle cx='7.76' cy='1.94' r='2.59'/%3E%3Ccircle cx='5.82' cy='9.71' r='2.59'/%3E%3Ccircle cx='3.88' cy='17.47' r='2.59'/%3E%3Ccircle cx='1.94' cy='25.24' r='2.59'/%3E%3Ccircle cx='0' cy='33' r='2.59'/%3E%3Ccircle cx='15.53' cy='3.88' r='2.59'/%3E%3Ccircle cx='13.59' cy='11.65' r='2.59'/%3E%3Ccircle cx='11.65' cy='19.41' r='2.59'/%3E%3Ccircle cx='9.71' cy='27.18' r='2.59'/%3E%3Ccircle cx='7.76' cy='34.94' r='2.59'/%3E%3Ccircle cx='25.24' cy='-1.94' r='2.59'/%3E%3Ccircle cx='23.29' cy='5.82' r='2.59'/%3E%3Ccircle cx='21.35' cy='13.59' r='2.59'/%3E%3Ccircle cx='19.41' cy='21.35' r='2.59'/%3E%3Ccircle cx='17.47' cy='29.12' r='2.59'/%3E%3Ccircle cx='33' cy='0' r='2.59'/%3E%3Ccircle cx='31.06' cy='7.76' r='2.59'/%3E%3Ccircle cx='29.12' cy='15.53' r='2.59'/%3E%3Ccircle cx='27.18' cy='23.29' r='2.59'/%3E%3Ccircle cx='25.24' cy='31.06' r='2.59'/%3E%3Ccircle cx='34.94' cy='25.24' r='2.59'/%3E%3Ccircle cx='33' cy='33' r='2.59'/%3E%3C/g%3E%3C/svg%3E");
  --riso-paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='f' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.5' numOctaves='2' seed='38' stitchTiles='stitch' result='a'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' seed='7' stitchTiles='stitch' result='b'/%3E%3CfeComposite in='a' in2='b' operator='arithmetic' k1='0' k2='0.62' k3='0.38' k4='0'/%3E%3CfeColorMatrix values='0 0 0 0 0.24  0 0 0 0 0.2  0 0 0 0 0.12  0.34 0 0 0 -0.125'/%3E%3C/filter%3E%3Crect width='420' height='420' filter='url(%23f)'/%3E%3C/svg%3E");
  --riso-paper-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='f' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0045' numOctaves='2' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.24  0 0 0 0 0.12  0.26 0 0 0 -0.11'/%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23f)'/%3E%3C/svg%3E");
  --riso-fleck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='f' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='2' seed='38' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.949  0 0 0 0 0.929  0 0 0 0 0.882  9 0 0 0 -6.05'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23f)'/%3E%3C/svg%3E");
  --riso-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='f' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.949  0 0 0 0 0.929  0 0 0 0 0.882  0.3 0 0 0 -0.11'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23f)'/%3E%3C/svg%3E");

  /* Die Flut: Tiefgruen als Vollflaeche (Hero, Kontakt). Der Farbauftrag ist
     nie ganz gleichmaessig: feines Korn des Papiers und eine weite Wolkung,
     beide nur als Hauch Papierfarbe ueber dem Tiefgruen. Keine Sprenkel.
     --riso-on-flood-2 ist die zweite Textstufe auf der Flut (7:1). */
  --riso-on-flood-2: #c7d0c2;
  --riso-flood-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f' color-interpolation-filters='sRGB' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='21' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.949  0 0 0 0 0.929  0 0 0 0 0.882  0.26 0 0 0 -0.1'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E");
  --riso-flood-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='f' color-interpolation-filters='sRGB' x='0' y='0' width='100%' height='100%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.949  0 0 0 0 0.929  0 0 0 0 0.882  0.13 0 0 0 -0.05'/%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23f)'/%3E%3C/svg%3E");

  /* Die Namen des bisherigen Systems zeigen auf Papier und Druckfarbe.
     Damit zieht der groesste Teil der Seite ohne eigene Regel um. */
  --ivory: var(--riso-paper);
  --ivory-warm: var(--riso-paper);
  --parchment: var(--riso-paper);
  --white: var(--riso-paper);
  --forest: var(--riso-deep);
  --forest-deep: var(--riso-deep);
  --moss: var(--riso-deep);
  --leaf: var(--riso-light);
  --ink: var(--riso-deep);
  --muted: var(--riso-text-2);
  --stone: var(--riso-text-3);
  --sun: var(--riso-sun);
  --clay: var(--riso-deep);
  --line: var(--riso-rule);
  --line-soft: var(--riso-rule-soft);
  --line-dark: rgba(242, 237, 225, 0.3);
  --rule: var(--riso-rule-soft);
  --rule-strong: var(--riso-rule);

  /* Glas ist abgeschaltet: kein Filter, keine Kantenlichter, keine Hoehe. */
  --glass-filter-md: none;
  --glass-filter-lg: none;
  --glass-filter-xl: none;
  --glass-tint-1: var(--riso-paper);
  --glass-tint-2: var(--riso-paper);
  --glass-tint-3: var(--riso-paper);
  --glass-edge-light: transparent;
  --glass-edge-shadow: transparent;
  --glass-hairline: var(--riso-rule);
  --glass-sheen: none;
  --glass-elev-1: 0 0 0 0 transparent;
  --glass-elev-2: 0 0 0 0 transparent;
  --glass-elev-3: 0 0 0 0 transparent;
  --app-backdrop: none;
}
.on-dark {
  --glass-tint-1: transparent;
  --glass-tint-2: transparent;
  --glass-tint-3: transparent;
  --glass-edge-light: transparent;
  --glass-edge-shadow: transparent;
  --glass-hairline: rgba(242, 237, 225, 0.3);
  --glass-sheen: none;
  --glass-elev-1: 0 0 0 0 transparent;
  --glass-elev-2: 0 0 0 0 transparent;
  --glass-elev-3: 0 0 0 0 transparent;
}

/* ---------- 2 · Blatt ------------------------------------------------------ */
html { background: var(--riso-paper); }
body {
  background-color: var(--riso-paper);
  background-image: var(--riso-paper-tex), var(--riso-paper-cloud);
  background-size: 420px 420px, 900px 900px;
  color: var(--riso-deep);
}
.page-bg { display: none; }
::selection { background: var(--riso-light); color: var(--riso-deep); }
:focus-visible { outline-color: var(--riso-deep); }
.on-dark :focus-visible, .riso-flood :focus-visible { outline-color: var(--riso-paper); }

/* ---------- 3 · Schrift ---------------------------------------------------- */
h1, h2, h3, h4 { color: var(--riso-deep); }
.eyebrow, .tag, .label { color: var(--riso-deep); }
.eyebrow::before { opacity: 1; height: 1.5px; }
.head4 p { color: var(--riso-text-2); }
.act4 { color: var(--riso-deep); }

/* Einblenden ohne Bewegung: Schrift und Karten gleiten nicht mehr von unten
   ins Bild und wischen nicht auf. Gedrucktes steht da; es blendet nur kurz
   ein, wenn es ins Bild kommt. Die Szenen der Abschnitte bewegen sich wie
   bisher. Fuer den Hero steht dasselbe weiter unten bei seinen Regeln. */
.rv { transform: none; transition: opacity 0.45s var(--ease-out); }
.head4 h2, .head4 h2.fx-in, .head4.fx-in h2 { clip-path: none; transform: none; transition: none; }
.fade-up { transform: none; animation-duration: 0.45s; }
.sub5 .reveal-line > span { transform: none; animation: none; }

/* ---------- 4 · Kopfzeile -------------------------------------------------- */
/* Steht sie am Blattanfang, ist sie Teil des Blatts. Haftet sie, wird sie ein
   Papierstreifen mit Linie darunter: kein Glas, kein Schatten. */
.topbar--v4, .has-refract .topbar--v4 { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.topbar--v4.is-stuck, .has-refract .topbar--v4.is-stuck {
  background-color: var(--riso-paper);
  background-image: var(--riso-paper-tex);
  background-size: 420px 420px;
  border-bottom-color: var(--riso-rule);
  box-shadow: none;
}
.topbar--v4 .brand { color: var(--riso-deep); }
.topnav a { color: var(--riso-text-2); }
.topnav a:hover, .topnav a.is-active { color: var(--riso-deep); }
.topbar__progress { background: var(--riso-deep); }

/* Header width. The full row (wordmark, six links, language switch, Login,
   "Demo anfragen") needs about 1220 px with a wide system font, so between the
   burger breakpoint (62rem) and 80rem the CTA ran out of the window on the
   right. Three steps now, each measured with a margin for wider fonts:
   - from 80rem: the full row as before;
   - 72rem to 80rem: the same row, set tighter (about 1085 px);
   - below 72rem: the burger menu, as on tablets. The base rules for it sit in
     caibis-proto.css under 61.99rem; the range 62rem to 72rem repeats them. */
@media (min-width: 72rem) and (max-width: 79.99rem) {
  .topbar--v4 .topbar__inner { gap: 1rem; }
  .topnav { gap: 0; }
  .topnav a { padding-inline: 0.5rem; letter-spacing: 0.05em; }
  .topnav a::after { left: 0.5rem; right: 0.5rem; }
  .topbar__actions { gap: 0.4rem; }
}
@media (min-width: 62rem) and (max-width: 71.99rem) {
  .burger { display: flex; }
  .brand, .topbar__actions { position: relative; z-index: 2; }
  .topnav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4.6rem var(--gut) 1.4rem;
    transform: translateY(-101%);
    transition: transform .45s var(--ease-out);
  }
  .topbar.is-open .topnav { transform: none; }
  .topnav a { font-size: 12.5px; padding: .9rem 0; border-bottom: 1px solid var(--riso-rule); }
  .topnav a::after { display: none; }
  .topbar__actions .btn--ghost { display: none; }
}
/* With the links folded away the controls belong at the right edge, not next
   to the wordmark (tablet widths showed a gap on the right). */
@media (max-width: 71.99rem) {
  .topbar__actions { margin-inline-start: auto; }
}

/* ---------- 5 · Knoepfe ----------------------------------------------------- */
/* Vollton-Pille in Tiefgruen mit ausgesparter Schrift; die zweite Stufe ist nur
   eine Linie. Beim Ueberfahren rutscht eine hellgruene Platte unter dem Knopf
   hervor (Passer), statt dass ein Schatten waechst. */
.btn { box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.btn--primary, .has-refract .btn--primary[data-refract] {
  background: var(--riso-deep); color: var(--riso-paper); border-color: var(--riso-deep);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn--primary:hover, .has-refract .btn--primary[data-refract]:hover {
  background: var(--riso-deep); color: var(--riso-paper);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--riso-light) !important;
}
.btn--ghost { background: transparent; color: var(--riso-deep); border-color: var(--riso-deep); }
.btn--ghost:hover { background: transparent; border-color: var(--riso-deep); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 var(--riso-light) !important; }
.lang { color: var(--riso-text-2); border-color: var(--riso-rule); }

/* ---------- 6 · Baender und Karten ----------------------------------------- */
.band4 { background: none; }
.band4 + .band4 { border-top: 1.5px solid var(--riso-deep); }
.band4--flush + .chapter4, .band4--flush { border-bottom: none; }
.c4 p { color: var(--riso-text-2); }
.c4:hover p { color: var(--riso-deep); }
.c4 h3::after { background: var(--riso-deep); }
/* Gestapelte Zellen (unter 54rem): die Trennlinie hat zum Text darunter
   denselben Abstand wie die obere Linie der Gruppe zum ersten Text, und
   denselben nach oben. Vorher sass sie naeher am Text als die obere. */
@media (max-width: 53.99rem) {
  .grid4 { row-gap: 0; }
  .grid4 > *, .grid4 > *:first-child, .grid4 > *:last-child { padding-block: 0; }
  .grid4 > * + *, .grid4 > * + *:last-child { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 3rem); }
}

/* ---------- 7 · Druck-Werkzeug ---------------------------------------------- */
/* Toene fuer HTML-Flaechen. Hellgruen liegt voll, Tiefgruen als Raster darueber:
     .riso-t0  Hellgruen allein          (im Zeichen: rechts)
     .riso-t1  + 33 % Tiefgruen          (links)
     .riso-t2  + 67 % Tiefgruen          (oben)
     .riso-t3  Tiefgruen voll            (unten)
   Auf Papier ohne Hellgruen: .riso-s33 / .riso-s67 (Tiefgruen-Raster),
   .riso-l33 / .riso-l67 (Hellgruen-Raster, fuer sehr leise Flaechen). */
.riso-t0 { background-color: var(--riso-light); }
.riso-t1 { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.riso-t2 { background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.riso-t3 { background-color: var(--riso-deep); color: var(--riso-paper); }
.riso-s33 { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell); }
.riso-s67 { background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell); }
.riso-l33 { background: var(--riso-l33) 0 0 / var(--riso-cell) var(--riso-cell); }
.riso-l67 { background: var(--riso-l67) 0 0 / var(--riso-cell) var(--riso-cell); }

/* Zwei Platten mit Passerversatz fuer einen HTML-Block: ::before druckt
   Hellgruen, ::after das Tiefgruen-Raster, um --riso-dx/-dy verrutscht.
   data-tone="0|1|2|3" waehlt das Rezept. Der Inhalt liegt darueber. */
.riso-print { position: relative; isolation: isolate; }
.riso-print::before, .riso-print::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.riso-print::before { background: var(--riso-light); z-index: -2; }
.riso-print::after { z-index: -1; transform: translate(var(--riso-dx), var(--riso-dy)); }
.riso-print[data-tone="1"]::after { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell); }
.riso-print[data-tone="2"]::after { background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell); }
.riso-print[data-tone="3"]::after { background: var(--riso-deep); }
.riso-print[data-tone="3"] { color: var(--riso-paper); }

/* Karte im Druck: Linie in Tiefgruen auf blankem Papier. .riso-card--lift legt
   eine hellgruene Platte versetzt darunter (statt Schatten). */
.riso-card { background: var(--riso-paper); border: 1.5px solid var(--riso-deep); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.riso-card--lift { box-shadow: 6px 6px 0 0 var(--riso-light); }

/* Die Flut: Vollflaeche in Tiefgruen mit ausgesparter Schrift (Hero, Kontakt).
   Alles Helle darauf ist Aussparung, also Papier; Hellgruen druckt nur in
   Aussparungen (caibis-riso.js, o.flood). Die Kopfzeile wird ueber jeder Flut
   von selbst dunkel (caibis-hero.js). */
.riso-flood {
  background-color: var(--riso-deep);
  background-image: var(--riso-flood-grain), var(--riso-flood-cloud);
  background-size: 300px 300px, 900px 900px;
  color: var(--riso-paper);
}

/* Fehlstellen und wolkiger Farbauftrag: papierfarbene Sprenkel ueber einem
   Bild. Auf blankem Papier sind sie unsichtbar, im Druck fehlt dort Farbe.
   Nur ueber Bilder legen, nie ueber Fliesstext. */
.riso-fleck { position: relative; }
.riso-fleck::after {
  content: ''; position: absolute; inset: -4px; z-index: 3; pointer-events: none;
  background-image: var(--riso-fleck), var(--riso-cloud);
  background-size: 360px 360px, 360px 360px;
}

/* SVG: jede gedruckte Form besteht aus zwei Pfaden (caibis-riso.js).
   .riso-d ist die Tiefgruen-Platte und sitzt um den Passerversatz daneben;
   --riso-u = SVG-Einheiten je CSS-Pixel, damit der Versatz in Bildschirm-
   pixeln gleich bleibt. */
svg .riso-l { fill: var(--riso-light); }
svg .riso-k { fill: var(--riso-paper); }   /* Aussparung auf der Flut */
svg .riso-d { transform: translate(calc(var(--riso-u, 1) * var(--riso-dx)), calc(var(--riso-u, 1) * var(--riso-dy))); }
svg .riso-sun { fill: var(--riso-sun); }
@media (prefers-reduced-motion: no-preference) {
  /* Der Passer atmet, sehr wenig, sehr langsam. */
  svg.riso-alive .riso-d { animation: riso-breathe 8s ease-in-out infinite; }
}
@keyframes riso-breathe {
  0%, 100% { transform: translate(calc(var(--riso-u, 1) * var(--riso-dx)), calc(var(--riso-u, 1) * var(--riso-dy))); }
  25% { transform: translate(calc(var(--riso-u, 1) * (var(--riso-dx) + 0.5px)), calc(var(--riso-u, 1) * (var(--riso-dy) + 0.4px))); }
  75% { transform: translate(calc(var(--riso-u, 1) * (var(--riso-dx) - 0.5px)), calc(var(--riso-u, 1) * (var(--riso-dy) - 0.4px))); }
}


/* ===== Hero, Startanimation, Kopfzeile =====================================
   -------------------------------------------------------------------------
   Hero, Startanimation und Kopfzeile. Der Hero ist eine Flut: Tiefgruen als
   Vollflaeche, alle Schrift ausgespart. Das Zeichen steht darauf sandfarben
   wie die Marke auf Gruen, gedruckt aus Papier und der Sand-Trommel
   (caibis-hero.js, CAIBIS_RISO mit o.flood). Ueberschreibt caibis-v4.css. */

/* ---------- Hero auf der Flut ----------------------------------------------- */
/* Dieselbe Flaeche wie .riso-flood. Unten schaut die Hellgruen-Platte als
   schmaler Streifen hervor (Passer), dann beginnt das Blatt. */
.hero5 {
  --h5-soft: var(--riso-on-flood-2);
  --h5-faint: var(--riso-on-flood-2);
  --h5-mint: var(--riso-light);
  --h5-sand: var(--riso-paper);
  --h5-sand-2: var(--riso-paper);
  background-color: var(--riso-deep);
  background-image: var(--riso-flood-grain), var(--riso-flood-cloud);
  background-size: 300px 300px, 900px 900px;
  color: var(--riso-paper);
  box-shadow: 0 4px 0 0 var(--riso-light);
}
.hero5 h1 { color: var(--riso-paper); }
/* "nicht": kursiv in Hellgruen. In dieser Groesse traegt Hellgruen auf
   Tiefgruen Schrift (4:1); kleiner steht auf der Flut nur Papier. */
.hero5 h1 em { color: var(--riso-light); }

.hero5__lead { color: var(--riso-on-flood-2); }
.hero5 .btn--primary, .hero5 .btn--primary:hover { background: var(--riso-paper); color: var(--riso-deep); border-color: var(--riso-paper); }
.hero5__link { color: var(--riso-paper); }
.hero5__link span { border-bottom: 1.5px solid var(--riso-paper); }
.hero5__link:hover span { border-color: var(--riso-light); }
/* Verweis auf den Film (/video): dieselbe Linie, davor ein Abspielzeichen. */
.hero5__link--film { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero5__link--film svg { width: 22px; height: 22px; flex: none; }

/* Auftritt nach der Startanimation ohne Bewegung: die Zeilen der Ueberschrift
   schieben sich nicht mehr von unten aus einer Maske, Text, Knoepfe und
   Buehne ruecken nicht mehr nach oben. Alles blendet nur ein, in derselben
   Reihenfolge wie bisher. Das Zeichen selbst fliegt wie gehabt. */
.hero5 .reveal-line > span,
.hero5:not(.is-ready) .reveal-line > span { transform: none; animation: none; }
.hero5 .reveal-line > span { opacity: 0; transition: opacity 0.6s var(--ease-out); }
.hero5.is-ready .reveal-line > span { opacity: 1; }
.hero5.is-ready .reveal-line:nth-child(2) > span { transition-delay: 0.1s; }
.hero5__lead, .hero5__cta, .hero5__stage { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero5 .reveal-line > span { opacity: 1; transition: none; }
}

/* ---------- Das gedruckte Zeichen ------------------------------------------ */
.hero5__dot { fill: var(--riso-sun); }

/* Beschriftung: ausgespart, Linien vollflaechig in Papier. */
.hero5__viz .lbl { fill: var(--riso-on-flood-2); }
.hero5__viz .val { fill: var(--riso-paper); }
.hero5__base { stroke: var(--riso-paper); stroke-width: 3; }
.hero5__viz .trend { stroke: var(--riso-paper); stroke-width: 6; }
.hero5__viz .trend--fc { stroke: var(--riso-paper); }

/* ---------- Eingabe und Antwort (Bedienung, kein Druck) --------------------- */
/* Wie die Frage im Kontaktblock: auf der Flut eine ausgesparte Linie, kein
   Glas; der Knopf ist der Papier-Vollton mit Tiefgruen-Pfeil. */
.hero5__composer {
  background: transparent;
  border: 1.5px solid var(--riso-paper);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.hero5__composer.is-focus,
.hero5__composer:focus-within { border-color: var(--riso-paper); box-shadow: inset 0 0 0 1.5px var(--riso-paper); }
.hero5__q { color: var(--riso-paper); }
.hero5__typed:empty::before { color: var(--riso-on-flood-2); }
.hero5__caret { background: var(--riso-light); }
.hero5__input { color: var(--riso-paper); caret-color: var(--riso-light); }
.hero5__input::placeholder { color: var(--riso-on-flood-2); opacity: 1; }
.hero5__send { background: var(--riso-paper); color: var(--riso-deep); }
.hero5__send:focus-visible { outline: 2px solid var(--riso-paper); outline-offset: 2px; }
.hero5__text { color: var(--riso-on-flood-2); }
.hero5__text b { color: var(--riso-paper); }
.hero5__proof { color: var(--riso-on-flood-2); }

/* ---------- Startanimation ------------------------------------------------- */
/* Unveraendert: Sand-Zeichen auf Gruen. Der Grund traegt dieselbe Flaeche wie
   der Hero darunter, damit beim Uebergang nichts springt. */
.intro5 {
  background-color: var(--riso-deep);
  background-image: var(--riso-flood-grain), var(--riso-flood-cloud);
  background-size: 300px 300px, 900px 900px;
}
.intro5.is-clear { background: transparent; }

/* ---------- Kopfzeile -------------------------------------------------------- */
/* Ueber einer Flut (Hero, Kontakt, Kopfband der Unterseiten; body.over-hero5)
   ist die Schrift ausgespart. Steht die Zeile am Blattanfang, liegt sie frei
   auf der Flut; haftet sie, wird sie selbst Tiefgruen voll, ohne Glas. */
body.over-hero5 .topbar--v4:not(.is-open) {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.over-hero5 .topbar--v4.is-stuck:not(.is-open),
body.over-hero5.has-refract .topbar--v4.is-stuck:not(.is-open) {
  background-color: var(--riso-deep);
  background-image: none;
  border-bottom-color: var(--riso-deep);
  box-shadow: none;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.over-hero5 .topbar--v4:not(.is-open) .brand { color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .topnav a,
body.over-hero5 .topbar--v4:not(.is-open) .topnav a:hover { color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .lang { color: var(--riso-paper); border-color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .btn--ghost { color: var(--riso-paper); border-color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .btn--primary,
body.over-hero5.has-refract .topbar--v4:not(.is-open) .btn--primary[data-refract] { background-color: var(--riso-paper); color: var(--riso-deep); border-color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .btn--ghost:hover,
body.over-hero5 .topbar--v4:not(.is-open) .btn--primary:hover { box-shadow: 4px 4px 0 0 var(--riso-light) !important; }
body.over-hero5 .topbar--v4:not(.is-open) .burger { border-color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .burger i { background: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .topbar__progress { background: var(--riso-light); }
body.over-hero5 .topbar--v4:not(.is-open) .lang5::before { background: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .lang5 .is-de { color: var(--riso-deep); }
body.over-hero5 .topbar--v4:not(.is-open) .lang5.is-en .is-de { color: var(--riso-paper); }
body.over-hero5 .topbar--v4:not(.is-open) .lang5.is-en .is-en { color: var(--riso-deep); }

/* Sprachschalter in der hellen Fassung: Tiefgruen-Pille, Schrift ausgespart. */
.lang5::before { background: var(--riso-deep); }
.lang5 .is-de, .lang5.is-en .is-en { color: var(--riso-paper); }
.lang5.is-en .is-de { color: var(--riso-text-2); }

/* Aufgeklapptes Menue am Handy: ein Papierstreifen mit Linie, kein Glas.
   (Up to 72rem, the burger range of the header, see section 4.) */
@media (max-width: 71.99rem) {
  .topbar.is-open, .topbar--v4.is-open {
    background-color: var(--riso-paper);
    background-image: var(--riso-paper-tex);
    background-size: 420px 420px;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    box-shadow: none;
  }
  .topnav {
    background-color: var(--riso-paper);
    background-image: var(--riso-paper-tex);
    background-size: 420px 420px;
    border-bottom: 1.5px solid var(--riso-deep);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none;
  }
  .topnav a { color: var(--riso-deep); border-bottom-color: var(--riso-rule); }
}


/* ===== Obere Abschnitte: Ausgangslage, Plattform, Workflow, Analyse =========
   -------------------------------------------------------------------------
   Die vier oberen Abschnitte der Startseite: Ausgangslage, Plattform,
   Workflow, Analyse. Aufteilung, Inhalt und Bewegung bleiben wie in
   caibis-v4.css; hier wechselt nur das Material: Papier mit Tiefgruen-Linie,
   hellgruene Platte versetzt darunter statt Schatten, Toene aus der Leiter
   (riso-t0 .. riso-t3), Sonne nur fuer den einen Datenpunkt je Bild. */

/* ==========================================================================
   AUSGANGSLAGE · vier gedruckte Karten, vier Zahlen
   Jede Karte traegt oben einen Kopfstreifen in einem Ton der Leiter: ERP voll,
   Excel 67 %, Chatbot 33 %. Die Karte "Controlling fragen" bleibt blankes
   Papier -- dort gibt es keine Zahl, nur ein Fragezeichen.
   ========================================================================== */
.pain5 .c4 {
  background: var(--riso-paper);
  border: 1.5px solid var(--riso-deep);
  box-shadow: 6px 6px 0 0 var(--riso-light);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: calc(1.2rem + 14px) 1.25rem 1.4rem !important;
  overflow: visible;
}
.pain5 .c4:hover { box-shadow: 8px 8px 0 0 var(--riso-light); }
/* Kopfstreifen: sitzt innen an der Oberkante, schliesst mit einer Linie ab */
.pain5 .c4::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  border-radius: 14.5px 14.5px 0 0; border-bottom: 1.5px solid var(--riso-deep);
  pointer-events: none;
}
.pain5 .c4:nth-child(1)::after { background: var(--riso-deep); }
.pain5 .c4:nth-child(2)::after { background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.pain5 .c4:nth-child(3)::after { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.pain5 .c4:nth-child(4)::after { background: none; }

/* Die Zahl ist der Punkt des Abschnitts: Quelle klein darueber, Zahl gross */
.pain5__val {
  flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.15rem;
  border-bottom: 1px dashed var(--riso-deep); padding-bottom: 0.7rem; margin-bottom: 0.5rem;
}
.pain5__val em { color: var(--riso-text-3); max-width: 100%; }
.pain5__val b {
  color: var(--riso-deep); font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.05;
  font-weight: 600; letter-spacing: -0.03em;
}
/* Das Ungleich-Zeichen zwischen den Karten: Linie auf Papier */
.pain5 .c4 + .c4::before {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep); color: var(--riso-deep);
  top: calc(1.55rem + 14px);
}
.pain5__sum { color: var(--riso-deep); }

/* ==========================================================================
   PLATTFORM · die Schicht als tiefgruene Vollflaeche
   ========================================================================== */
.plat5__lines path { stroke: var(--riso-deep); stroke-opacity: 1; stroke-width: 1.6; }
.plat5__dots circle { fill: var(--riso-deep); }
.plat5__dots circle.is-sun { fill: var(--riso-sun); }
.plat5__layer {
  background: var(--riso-deep); color: var(--riso-paper);
  box-shadow: 6px 6px 0 0 var(--riso-light);
}
/* Chips: Papier mit Linie. Fuell- und Linienflaeche liegen auf ::after, damit
   darunter (::before) eine versetzte Platte gedruckt werden kann -- der Chip
   selbst bildet durch sein transform einen eigenen Stapelkontext. */
.plat5__chip {
  background: transparent; border-color: transparent; box-shadow: none;
  color: var(--riso-deep);
}
.plat5__chip::after, .plat5__chip::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
}
.plat5__chip::after { z-index: -1; background: var(--riso-paper); border: 1.5px solid var(--riso-deep); }
.plat5__chip--src::before { display: none; }
.plat5__chip--role::before { z-index: -2; transform: translate(4px, 4px); }
/* Rollen in der Leiter: je mehr eine Rolle sehen darf, desto dunkler */
.plat5__chip--role[data-k="0"]::before { background: var(--riso-light); }
.plat5__chip--role[data-k="2"]::before { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.plat5__chip--role[data-k="1"]::before { background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.plat5__chip small { color: var(--riso-text-3); }

/* ==========================================================================
   WORKFLOW · gedruckte App-Fenster
   ========================================================================== */
.chapter4__bar { background: var(--riso-deep); height: 3px; }
.cstep4 { border-bottom-color: var(--riso-deep); }
/* Inaktive Schritte werden ueber die Schriftfarbe leiser, nicht ueber
   Transparenz: --riso-text-3 haelt noch 4,7:1 auf Papier. */
/* Auf dem Handy stehen alle Schritte voll (wie bisher). */
.cstep4 { opacity: 1; }
@media (prefers-reduced-motion: no-preference) and (min-width: 62rem) {
  .cstep4 .tag, .cstep4 h3, .cstep4 p { transition: color 0.55s var(--ease); }
  .cstep4:not(.is-on) .tag, .cstep4:not(.is-on) h3, .cstep4:not(.is-on) p { color: var(--riso-text-3); }
}

.wf5__win {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep);
  box-shadow: 6px 6px 0 0 var(--riso-light);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.wf5__bar { border-bottom: 1.5px solid var(--riso-deep); }
.wf5__bar i { background: var(--riso-paper); border: 1.5px solid var(--riso-deep); width: 9px; height: 9px; }
.wf5__bar i:first-child { background: var(--riso-deep); }
.wf5__bar span { color: var(--riso-text-2); }
/* 1 · Felder */
.wf5__fields li { border-bottom: 1px solid var(--riso-deep); color: var(--riso-deep); }
.wf5__fields li:last-child { border-bottom: none; }
.wf5__fields em { color: var(--riso-text-3); }
.wf5__chk { border: 1.5px solid var(--riso-deep); }
.wf5__chk::after { border-color: var(--riso-paper); }
.is-on .wf5__fields li:not(.is-off) .wf5__chk { background: var(--riso-deep); border-color: var(--riso-deep); }
/* Nicht freigegeben: Kaestchen im 33-%-Raster, Name durchgestrichen */
.wf5__fields li.is-off .wf5__chk { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell); }
.wf5__fields li.is-off span { color: var(--riso-text-3); }
.wf5__fields li.is-off em { color: var(--riso-deep); font-weight: 600; }
.is-on .wf5__fields li.is-off span { text-decoration-color: var(--riso-deep); }
/* 2 · Definition */
.wf5__def > div { border-bottom: 1px solid var(--riso-deep); }
.wf5__def > div:last-child { border-bottom: none; }
.wf5__def dt { color: var(--riso-text-3); }
.wf5__def dd { color: var(--riso-deep); }
.wf5__lock { background: var(--riso-deep); color: var(--riso-paper); box-shadow: 3px 3px 0 0 var(--riso-light); }
/* 3 · Analysieren: vier Balken in den vier Toenen, der hoechste traegt die Sonne */
.wf5__chart { border-bottom: 1.5px solid var(--riso-deep); overflow: visible; }
.wf5__chart span { position: relative; border-radius: 6px 6px 0 0; }
.wf5__chart span:nth-child(1) { background: var(--riso-light); }
.wf5__chart span:nth-child(2) { background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.wf5__chart span:nth-child(3) { background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.wf5__chart span:nth-child(4) { background: var(--riso-deep); }
.wf5__chart span:nth-child(3)::after {
  content: ""; position: absolute; left: 50%; top: -18px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--riso-sun);
}
.wf5__trail li { color: var(--riso-text-2); }
.wf5__trail li::before { background: var(--riso-deep); color: var(--riso-paper); font-weight: 700; }
/* 4 · Weitergeben */
.wf5__doc strong { color: var(--riso-deep); }
/* Platzhalterzeilen: Hellgruen mit 33-%-Raster darueber, hoch genug, dass
   das Raster als Ton liest und nicht als Punktreihe */
.wf5__ln { height: 12px; border-radius: 3px; background: var(--riso-s33) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light); }
.wf5__doc small { color: var(--riso-text-2); }
/* Stempel: kraeftige Linie auf Papier, gesperrt wie ein Gummistempel */
.wf5__stamp {
  background: var(--riso-paper); color: var(--riso-deep); border: 2px solid var(--riso-deep);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px;
}
.wf5__send { background: var(--riso-paper); border: 1.5px solid var(--riso-deep); color: var(--riso-deep); }
/* Ohne Bewegung: nur das Fenster des aktiven Schritts steht (caibis-grid.js
   schaltet es weiter), alles ohne Uebergang. Auf dem Handy stehen ohnehin
   alle Fenster untereinander. */
@media (prefers-reduced-motion: reduce) and (min-width: 62rem) {
  .stage4__panel { opacity: 0; }
  .stage4__panel.is-on { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .stage4__panel, .wf5 *, .wf5 *::before, .wf5 *::after { transition: none !important; }
}
@media (max-width: 61.99rem) {
  .wf5 .wf5__fields li:not(.is-off) .wf5__chk { background: var(--riso-deep); border-color: var(--riso-deep); }
}

/* ==========================================================================
   ANALYSE · ein gedrucktes Diagramm, vier Faehigkeiten
   ========================================================================== */
.ana5__stage {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep);
  box-shadow: 6px 6px 0 0 var(--riso-light);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.ana5__svg .axis { stroke: var(--riso-deep); stroke-width: 1.5; }
.ana5__svg .mlbl { fill: var(--riso-text-3); }
/* Vorjahr: duenne gestrichelte Tiefgruen-Linie, ohne Toenung */
.ana5__svg .prev { stroke: var(--riso-deep); stroke-opacity: 1; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.ana5__svg .act { stroke: var(--riso-deep); }
.ana5__svg .pt { fill: var(--riso-paper); stroke: var(--riso-deep); }
/* Abweichung: ueber Vorjahr Hellgruen, darunter Tiefgruen */
.ana5__svg .var .up { stroke: var(--riso-light); }
.ana5__svg .var .dn { stroke: var(--riso-deep); }
/* Im Anomalie-Modus bleibt nur die Abweichung des Ausreissers stehen */
.ana5[data-m="2"] .ana5__svg .var line.dn { transform: none; }
.ana5__svg .fc { stroke: var(--riso-deep); }
.ana5__svg .band { fill: var(--riso-light); }
.ana5__svg .ring { stroke: var(--riso-deep); }
.ana5[data-m="2"] .ana5__svg .pt.is-anom { fill: var(--riso-sun); stroke: var(--riso-sun); }
.ana5__note {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep); color: var(--riso-deep);
}
/* Code: Papier, Tiefgruen-Schrift, Hervorhebung nur ueber Gewicht und Kursiv */
.ana5__code {
  background: var(--riso-paper); color: var(--riso-deep); border: 1.5px solid var(--riso-deep);
  box-shadow: 4px 4px 0 0 var(--riso-light);
}
.ana5__code .ck { color: var(--riso-deep); font-weight: 700; }
.ana5__code .cr { color: var(--riso-deep); font-weight: 700; font-style: italic; }
/* Reiter: inaktive leiser ueber die Schriftfarbe, aktiver mit Tiefgruen-Balken */
.ana5__tabs .c4 { opacity: 1; }
.ana5__tabs .c4 h3, .ana5__tabs .c4 p { transition: color 0.4s var(--ease); }
.ana5__tabs .c4:not(.is-on):not(:hover) h3, .ana5__tabs .c4:not(.is-on):not(:hover) p { color: var(--riso-text-3); }
.ana5__tabs .c4.is-on p { color: var(--riso-text-2); }
.ana5__bar { height: 3px; background: none; box-shadow: inset 0 1px 0 0 var(--riso-deep); }
.ana5__bar::after { background: var(--riso-deep); }


/* ===== Untere Abschnitte: Mehrwert, Governance, Quellen, Umfang ============
   Die vier unteren Abschnitte der Startseite: Mehrwert, Governance, Quellen,
   Umfang. Aufteilung und Bewegung bleiben (caibis-scenes.js), das Material
   wechselt zu Druck: Papier mit Tiefgruen-Linie, Vollton mit ausgesparter
   Schrift, Raster nur in Flaechen, hellgruene Platte statt Schatten. */

/* ==========================================================================
   MEHRWERT
   ========================================================================== */
.val5 { background: none; }
.val5__row + .val5__row { border-top: 1px solid var(--riso-rule); }
.val5__text p { color: var(--riso-text-2); }

/* 1 · Heute / mit CAIBIS: Linien-Pille, der aktive Teil ist Vollton.
   Die Szene setzt .is-late, sobald der Weg mehr als halb zusammengezogen ist. */
.val5__switch {
  display: inline-flex; gap: 0; padding: 2px;
  border: 1.5px solid var(--riso-deep); border-radius: 999px;
  font-size: 10.5px; letter-spacing: 0.12em;
}
.val5__switch span {
  grid-area: auto; padding: 0.3rem 0.7rem; border-radius: 999px;
  color: var(--riso-text-3); background: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.val5__switch .is-a, .val5__switch .is-b { opacity: 1; }
.val5__vis:not(.is-late) .val5__switch .is-a,
.val5__vis.is-late .val5__switch .is-b { background: var(--riso-deep); color: var(--riso-paper); }
.val5__route { stroke: var(--riso-deep); stroke-opacity: 1; }
.val5__node circle { fill: var(--riso-paper); stroke: var(--riso-deep); }
.val5__node.is-end circle { fill: var(--riso-deep); }
.val5__node text { fill: var(--riso-deep); }
.val5__node text.is-sub { fill: var(--riso-text-2); }
.val5__token { fill: var(--riso-sun); }

/* 2 · Zweimal gefragt: Fragekarten sind Papier mit Linie. Die Ergebniskarte
   ist Raster (67 % ueber Hellgruen), solange die Zahl laeuft, und wird
   Tiefgruen-Vollton mit versetzter hellgruener Platte, sobald sie steht. */
.same5__q {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep);
  box-shadow: none; color: var(--riso-deep);
}
.same5__who { color: var(--riso-text-3); }
.same5__line { stroke: var(--riso-deep); stroke-width: 2; }
.same5__card {
  background: var(--riso-s67) 0 0 / var(--riso-cell) var(--riso-cell), var(--riso-light);
  color: var(--riso-paper); box-shadow: none;
  transition: background-color 0.3s var(--ease), box-shadow 0.35s var(--ease-out);
}
.same5.is-set .same5__card { background: var(--riso-deep); box-shadow: 6px 6px 0 0 var(--riso-light); }
.same5__val { color: var(--riso-paper); font-weight: 700; }
.same5__def { color: var(--riso-paper); font-weight: 600; }

/* 3 · Pruefbar: Papierkarte mit Linie und Platte, Haarlinien zwischen den
   Zeilen, der Stempel ist Vollton. */
.proof5 {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep);
  box-shadow: 6px 6px 0 0 var(--riso-light);
}
.proof5__answer, .proof5__answer b { color: var(--riso-deep); }
.proof5__rows > div { border-top: 1px solid var(--riso-rule); }
.proof5__rows dt { color: var(--riso-text-3); }
.proof5__rows dd { color: var(--riso-deep); }
.proof5__rows code {
  color: var(--riso-deep); background: none; border-radius: 0;
  border-left: 3px solid var(--riso-light); padding: 0.1rem 0 0.1rem 0.6rem;
}
.proof5__stamp {
  background: var(--riso-deep); color: var(--riso-paper);
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; font-weight: 700;
  box-shadow: 3px 3px 0 0 var(--riso-light);
}

/* ==========================================================================
   GOVERNANCE · hell, die vier Schichten in den vier Toenen des Zeichens
   Das dunkle Band ist aus dem Markup genommen (kein band4--dark/on-dark).
   ========================================================================== */
.gov5 { background: none; overflow: clip; }
.gov5::before { display: none; }
.gov5__steps::before { background: var(--riso-rule); }
.gov5__steps::after { background: var(--riso-deep); }
.gov5__steps li, .gov5__steps li.is-past { opacity: 1; }
.gov5__steps h3 { color: var(--riso-text-3); transition: color 0.4s var(--ease), transform 0.6s var(--ease-out); }
.gov5__steps li.is-past h3 { color: var(--riso-text-2); }
.gov5__steps li.is-on h3 { color: var(--riso-deep); }
.gov5__steps li .gov5__n {
  background: var(--riso-paper); color: var(--riso-text-3);
  border: 1.5px solid var(--riso-deep);
}
.gov5__steps li.is-on .gov5__n { background: var(--riso-deep); color: var(--riso-paper); border-color: var(--riso-deep); }
.gov5__desc p, .gov5__desc p.is-on { color: var(--riso-text-2); filter: none; }
.gov5 .act4, .gov5 .act4:hover { color: var(--riso-deep); }

.gov5__vis { background: none; }
/* Rand der aktiven Schicht als Linie; die Flaechen druckt caibis-riso.js */
.gov5__edge { fill: none; stroke: none; }
.gov5__edge.is-on { stroke: var(--riso-deep); stroke-width: 2.5; }
.gov5__lbl text { font: 700 12px var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
/* Hellgruen und 33 %: Tiefgruen; auf 33 % auf einem kleinen Papierschild,
   damit die Punkte nicht in die Schrift laufen. 67 % und Vollton:
   ausgespartes Papier, auf 67 % mit Tiefgruen-Rand aus demselben Grund. */
.gov5__lbl text { stroke: none; stroke-linejoin: round; paint-order: stroke; }   /* Strichstaerke setzt die Szene je Zoom */
.gov5__lbl[data-i="0"] text, .gov5__lbl[data-i="1"] text { fill: var(--riso-deep); }
.gov5__plate { fill: var(--riso-paper); }
.gov5__lbl[data-i="2"] text, .gov5__lbl[data-i="3"] text { fill: var(--riso-paper); }
.gov5__lbl[data-i="2"] text { stroke: var(--riso-deep); }
.gov5__card .v { fill: var(--riso-paper); }
.gov5__card .d { fill: var(--riso-paper); }

/* ==========================================================================
   QUELLEN · die Systeme fliessen ins gedruckte Zeichen
   ========================================================================== */
.src5__lines path { stroke: var(--riso-deep); stroke-opacity: 1; stroke-width: 1.5; }
.src5__chip {
  background: var(--riso-paper); border: 1.5px solid var(--riso-deep);
  box-shadow: none; color: var(--riso-deep);
}
/* Fehlstellen nur ueber dem Zeichen, mit weichem Rand, damit auf dem
   faserigen Blatt kein heller Kasten um das Bild steht */
.src5.riso-fleck::after {
  z-index: 1; inset: 18% 36%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}

/* Leiste: Haarlinien in Tiefgruen, Etiketten zweitrangig */
.rail { border-top-color: transparent; border-bottom: 1px solid var(--riso-deep); }
.rail::before { background: var(--riso-deep); }
.rail > * { border-right-color: var(--riso-deep); }
.rail .tag { color: var(--riso-text-3); }
.rail > *:hover .tag { color: var(--riso-deep); }
.rail p { color: var(--riso-text-2); }
.rail > *:hover p { color: var(--riso-deep); }
.rail > *::after { background: var(--riso-deep); }
@media (max-width: 700px) {
  .rail > * { border-right-color: var(--riso-deep); border-bottom-color: var(--riso-deep); }
}

/* ==========================================================================
   UMFANG · von der Linie zum Vollton
   ========================================================================== */
.path5__card--pilot { background: var(--riso-paper); border: 1.5px solid var(--riso-deep); box-shadow: none; }
.path5__card--project {
  background: var(--riso-deep); color: var(--riso-paper);
  box-shadow: 6px 6px 0 0 var(--riso-light);
}
.path5__card .tag { color: var(--riso-text-3); }
.path5__lead { color: var(--riso-text-2); }
.path5__card li { color: var(--riso-deep); }
.path5__card--project .tag,
.path5__card--project h3,
.path5__card--project .path5__lead,
.path5__card--project li { color: var(--riso-paper); }

/* Haken: im Pilot Tiefgruen auf hellgruener Scheibe, im Projekt Papier im Papierring */
.path5__card li::before { box-sizing: border-box; background: var(--riso-light); }
.path5__card li::after { border-color: var(--riso-deep); }
.path5__card--project li::before { background: transparent; border: 1.5px solid var(--riso-paper); }
.path5__card--project li::after { border-color: var(--riso-paper); }

/* Hauptknopf auf Tiefgruen: umgekehrt, Papier-Vollton mit Tiefgruen-Schrift */
.path5__card--project .btn--primary,
.path5__card--project .btn--primary:hover { background: var(--riso-paper); color: var(--riso-deep); border-color: var(--riso-paper); }

.path5__line { stroke: var(--riso-deep); }
.path5__why { color: var(--riso-deep); }
/* Zwischen den Karten ist auf mittleren Breiten weniger Platz als die Zeile
   "Wenn es traegt" braucht; sie lief dann unter die Karten. Sie darf
   umbrechen und waechst nach oben, von der Linie weg. */
@media (min-width: 861px) {
  .path5__why {
    top: auto; bottom: 100%; margin-bottom: -0.45rem;
    width: 100%; white-space: normal; text-align: center; line-height: 1.35;
  }
}

/* Gedruckte Zeichen: jede Form ist eine Gruppe aus zwei Platten. Die Formen
   wachsen als Gruppe; der Passerversatz der Tiefgruen-Platte bleibt stehen. */
.path5 .path5__card .path5__mark svg path.riso-l,
.path5 .path5__card .path5__mark svg path.riso-k { transform: none; transition: none; }
.path5 .path5__card .path5__mark svg path.riso-d {
  transform: translate(calc(var(--riso-u, 1) * var(--riso-dx)), calc(var(--riso-u, 1) * var(--riso-dy)));
  transition: none;
}
.path5__mark .riso-p {
  transform-box: fill-box; transform-origin: center; transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.5, 0.5, 1);
}
.path5.is-in .path5__card--pilot .path5__mark .riso-p { transform: none; transition-delay: 0.35s; }
.path5.is-done .path5__card--project .path5__mark .riso-p { transform: none; }
.path5.is-done .path5__card--project .path5__mark .riso-p:nth-child(2) { transition-delay: 0.1s; }
.path5.is-done .path5__card--project .path5__mark .riso-p:nth-child(3) { transition-delay: 0.2s; }
.path5.is-done .path5__card--project .path5__mark .riso-p:nth-child(4) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .path5__mark .riso-p { transform: none; }
}


/* ===== Fuss und Unterseiten ================================================
   -------------------------------------------------------------------------
   Der Fuss ist zweigeteilt und schliesst den Druckbogen. Oben der Kontakt
   als Flut (.riso-flood an der ersten .k-Huelle): Tiefgruen ueber die ganze
   Breite, alle Schrift ausgespart, das Gegenstueck zum Hero. Darunter das
   Kolophon wieder auf dem Blatt: Satz, Spalten und Schlusszeile in Tiefgruen
   auf Papier, als Schlussbild die grosse gedruckte Wortmarke
   (caibis-wordmark.js). Danach die Unterseiten: helles Kopfband, Formular als
   Bedienung, Karten im Druck, Rechtstexte nur aus Papier, Tiefgruen und
   Haarlinien.

   Kontrast auf der Flut: Papier 10:1, --riso-on-flood-2 7:1, Hellgruen 4:1.
   Hellgruen traegt dort darum nur Linien, Caret und Punkte, keine kleine
   Schrift.

   Aufbau: 1 Fuss-Flaeche · 2 Kontakt als Frage · 3 Spalten und Fusszeile ·
   4 Wortmarke · 5 Kopfband der Unterseiten · 6 Kontakt · 7 Sicherheit ·
   8 Ueber uns · 9 Rechtliches · 10 Login (Attrappe) · 11 Handy, Ruhe */

/* ---------- 1 · Fuss-Flaeche ---------------------------------------------- */
/* Der Fuss selbst ist Blatt. Die Klasse on-dark bleibt im Markup; ihre
   hellen Haarlinien gelten hier nicht mehr, darum zeigen sie wieder auf die
   Linien des Blatts. Dunkel ist nur die Flut. */
.foot4.foot5, .foot4.foot5.on-dark {
  background: none;
  color: var(--riso-deep);
  box-shadow: none;
  margin-top: 0;
  --glass-hairline: var(--riso-rule);
  --line-dark: var(--riso-rule);
}
.foot4.foot5::before, .foot4.foot5::after { content: none; display: none; }
.foot5 h2, .foot5 h3, .foot5 h4 { color: var(--riso-deep); }
.foot5 :focus-visible { outline-color: var(--riso-deep); }
.foot5 a { color: var(--riso-deep); }

/* Die Flut laeuft ueber die ganze Breite; der Inhalt bleibt mittig in seiner
   eigenen Breite. Gerade Druckkante oben, die Hellgruen-Platte liegt etwas
   hoeher als die Tiefgruen-Platte und schaut als schmaler Streifen hervor
   (Passer). Unten eine gerade Kante ohne Platte: dort beginnt das Blatt. */
.foot5 > .k.riso-flood {
  max-width: none;
  margin-top: 4px;
  box-shadow: 0 -4px 0 0 var(--riso-light);
}
.foot5 .riso-flood h2, .foot5 .riso-flood h3 { color: var(--riso-paper); }
.foot5 .riso-flood a { color: var(--riso-paper); }
.foot5 .riso-flood :focus-visible { outline-color: var(--riso-paper); }

/* ---------- 2 · Kontakt als Frage ------------------------------------------ */
.foot5__cta .eyebrow, .on-dark .foot5__cta .eyebrow { color: var(--riso-paper); }
.foot5__cta .eyebrow::before { background: var(--riso-light); opacity: 1; height: 1.5px; }
.foot5__cta h2 { color: var(--riso-paper); }
.foot5__lead { color: var(--riso-on-flood-2); }

/* Die Eingabe ist Bedienung: auf der Vollflaeche eine ausgesparte Linie, kein
   Glas. Der Knopf darin ist der Papier-Vollton mit Tiefgruen-Schrift. */
.foot5__ask, .foot5__ask:hover {
  background: transparent;
  border: 1.5px solid var(--riso-paper);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.foot5__ask:hover { transform: translateY(-1px); }
.foot5__ask:focus-within { border-color: var(--riso-paper); box-shadow: inset 0 0 0 1.5px var(--riso-paper); }
.foot5__q { color: var(--riso-paper); }
.foot5__input { color: var(--riso-paper); caret-color: var(--riso-light); }
.foot5__input::placeholder { color: var(--riso-on-flood-2); opacity: 1; }
.foot5__caret { background: var(--riso-light); }
.foot5__go {
  background: var(--riso-paper); color: var(--riso-deep);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.foot5__ask:hover .foot5__go, .foot5__go:hover, .foot5__go:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 0 var(--riso-light);
}
.foot5__go:focus-visible { outline: 2px solid var(--riso-paper); outline-offset: 3px; }
.foot5__alt { color: var(--riso-on-flood-2); }
.foot5__alt a, .foot5 .riso-flood .foot5__alt a { color: var(--riso-paper); border-bottom: 1px solid var(--riso-paper); }
.foot5__alt a:hover, .foot5 .riso-flood .foot5__alt a:hover { border-bottom-color: var(--riso-light); }

/* ---------- 3 · Spalten und Fusszeile -------------------------------------- */
/* Kolophon auf dem Blatt, knapp und links gesammelt: oben der Satz gross in
   Fraunces, darunter die drei Verweisspalten in einer Reihe. Die rechten
   fuenf Spalten bleiben leer: dort steht das Zeichen riesig, vom Rand
   beschnitten (caibis-wordmark.js). Spaltentitel sind Beschriftung (klein,
   gesperrt, --riso-text-3), Verweise Tiefgruen; beim Ueberfahren zieht sich
   eine Tiefgruen-Linie darunter. Auf der Kontaktseite (ohne Flut) schliesst
   eine Linie das Blatt darueber ab, wie zwischen zwei Baendern. */
.foot5__cols, .foot5--plain .foot5__cols {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
  padding-block: clamp(3.5rem, 5vw, 4.5rem) clamp(2rem, 3vw, 2.75rem);
  border-top: none;
}
.foot5--plain { border-top: 1.5px solid var(--riso-deep); }
.foot5__claim {
  grid-column: 1 / span 7;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: none;
  text-wrap: balance;
  color: var(--riso-deep);
}
.foot5__col:nth-of-type(1) { grid-column: 1 / span 2; }
.foot5__col:nth-of-type(2) { grid-column: 3 / span 3; }
.foot5__col:nth-of-type(3) { grid-column: 6 / span 2; }
.foot5__col h4 { color: var(--riso-text-3); font-size: 10.5px; letter-spacing: 0.16em; margin-bottom: 1rem; }
.foot5__col a, .foot5__cols a { color: var(--riso-deep); }
.foot5__col a:hover, .foot5__cols a:hover { color: var(--riso-deep); }
.foot5__col a::after, .foot5__cols a::after { background: var(--riso-deep); height: 1.5px; }

/* Schlusszeile: eine Haarlinie in Tiefgruen, darunter klein und zweitrangig. */
.foot5__bar { border-top: 1px solid var(--riso-deep); color: var(--riso-text-2); padding-block: 1.2rem; }
.foot5__top, .foot5__top:hover { color: var(--riso-deep); }

/* Sprachschalter im Fuss: wie in der hellen Kopfzeile eine Linien-Pille,
   die gewaehlte Sprache als Tiefgruen-Pille mit ausgesparter Schrift. */
.foot5__bar .lang, .foot5__bar .lang.lang5 { color: var(--riso-text-2); border: 1px solid var(--riso-deep); background: transparent; }
.foot5__bar .lang5::before { background: var(--riso-deep); }
.foot5__bar .lang5 .is-de, .foot5__bar .lang5.is-en .is-en { color: var(--riso-paper); }
.foot5__bar .lang5.is-en .is-de, .foot5__bar .lang5 .is-en { color: var(--riso-text-2); }

/* ---------- 4 · Wortmarke ------------------------------------------------- */
/* Der Andruck (caibis-wordmark.js): drei Lagen ueber dem ganzen Papier-Teil
   des Fusses, hinter Schrift und Verweisen, ohne Zeigerereignisse:
   Hellgruen-Platte (.wordmark-plate), Tiefgruen-Platte (#wordmark) und die
   Sonnenpunkte (.wordmark-sun). Sie drucken das Zeichen rechts neben dem
   Kolophon und CAIBIS ueber die volle Breite, ganz auf dem Blatt, mit
   Rand darunter. Die Huelle ist nur noch der Platz fuer die Buchstaben;
   ihre Hoehe, Lage und Groesse der Lagen und ihr Versatz kommen vom Skript.
   Oben schneidet die Kontakt-Flut die Lagen an (sie liegt darueber). */
.foot5 .wordmark-wrap {
  position: relative; inset: auto; z-index: auto;
  height: auto; min-height: 0;
  margin: 0; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  cursor: default;
}
.foot5 .wordmark-wrap.is-live { position: static; padding: 0; overflow: visible; margin-bottom: clamp(1.25rem, 3vw, 2.75rem); }
.foot5 #wordmark { display: none; }
.foot5 .wordmark-wrap.is-live #wordmark, .foot5 .wordmark-plate, .foot5 .wordmark-sun {
  display: block; position: absolute; left: 0; top: 0; width: 0; height: 0;
  z-index: 1; pointer-events: none; will-change: transform;
}
.foot5 .wordmark-sun { border-radius: 50%; background: var(--riso-sun); }

/* Ersatz ohne Skript: der Name in Quicksand, Tiefgruen auf Papier. */
.foot5 .wordmark-alt, .wordmark-alt { color: var(--riso-deep); }
.foot5 .wordmark-wrap:not(.is-live) .wordmark-alt {
  position: static; display: block; text-align: center; line-height: 1;
  font-size: clamp(4rem, 21vw, 18rem); padding-bottom: clamp(1rem, 3vw, 2rem);
}

/* Handy und schmale Fenster: der Satz ueber die ganze Breite, darunter die
   Verweisspalten nebeneinander, am Handy zu zweit. */
@media (max-width: 860px) {
  .foot5__claim { grid-column: 1 / -1; }
  .foot5__col:nth-of-type(1) { grid-column: 1 / span 4; }
  .foot5__col:nth-of-type(2) { grid-column: 5 / span 4; }
  .foot5__col:nth-of-type(3) { grid-column: 9 / span 4; }
}
@media (max-width: 560px) {
  .foot5__cols, .foot5--plain .foot5__cols { gap: 2.2rem 1rem; padding-block: 3.5rem 2.5rem; }
  .foot5__col:nth-of-type(1) { grid-column: 1 / span 6; }
  .foot5__col:nth-of-type(2) { grid-column: 7 / span 6; }
  .foot5__col:nth-of-type(3) { grid-column: 1 / span 6; }
}

/* ---------- 5 · Kopfband der Unterseiten ---------------------------------- */
/* Eine Flut wie der Hero der Startseite: Tiefgruen, Schrift ausgespart, rechts
   das Zeichen sandfarben gedruckt (caibis-wordmark.js ersetzt das Sand-Bild).
   Unten schaut die Hellgruen-Platte hervor, dann beginnt das Blatt. */
.sub5 {
  background-color: var(--riso-deep);
  background-image: var(--riso-flood-grain), var(--riso-flood-cloud);
  background-size: 300px 300px, 900px 900px;
  color: var(--riso-paper);
  box-shadow: 0 4px 0 0 var(--riso-light);
}
.sub5::before { content: none; display: none; }
.sub5 .eyebrow { color: var(--riso-paper); }
.sub5 h1 { color: var(--riso-paper); }
.sub5 h1 em { color: var(--riso-light); font-weight: 450; }
.sub5 p.lead { color: var(--riso-on-flood-2); }
.sub5 + .band4 { border-top: none; }

img.sub5__mark.is-printed { display: none; }
svg.sub5__mark {
  overflow: visible; opacity: 1;
  animation: sub5in-riso 1.4s cubic-bezier(0.2, 0.9, 0.25, 1) both, sub5float 9s ease-in-out 1.4s infinite;
}
@keyframes sub5in-riso { from { opacity: 0; transform: translateY(-44%) rotate(-40deg) scale(0.8); } to { opacity: 1; transform: translateY(-50%); } }
@media (max-width: 760px) {
  /* Auf dem Handy lag das Zeichen verblasst unter dem Text. Gedruckt darf es
     den Text nicht beruehren: klein oben rechts neben der Kleinueberschrift,
     es dreht und schwebt wie bisher, nur ohne Versatz nach oben. */
  svg.sub5__mark {
    opacity: 1; width: 54px; right: 20px; left: auto; top: 4.4rem; bottom: auto;
    animation: sub5in-riso-m 1.4s cubic-bezier(0.2, 0.9, 0.25, 1) both, sub5float-m 9s ease-in-out 1.4s infinite;
  }
}
@keyframes sub5in-riso-m { from { opacity: 0; transform: rotate(-40deg) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes sub5float-m { 0%, 100% { transform: rotate(0deg); } 50% { transform: translateY(-3px) rotate(6deg); } }

/* ---------- 6 · Kontakt --------------------------------------------------- */
/* Felder sind Bedienung: ruhige Papierflaeche, Tiefgruen-Linie darunter; im
   Fokus wird die Linie kraeftig (ohne dass sich etwas verschiebt). */
.field { border-bottom: 1.5px solid var(--riso-deep); }
.field:focus-within { border-bottom-color: var(--riso-deep); box-shadow: inset 0 -2px 0 0 var(--riso-deep); }
.field > span { color: var(--riso-text-3); }
.field:focus-within > span { color: var(--riso-deep); }
.field input, .field textarea { color: var(--riso-deep); background: transparent; }
.field input::placeholder, .field textarea::placeholder { color: var(--riso-text-3); opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--riso-deep); -webkit-box-shadow: 0 0 0 40px var(--riso-paper) inset; }
/* Mitgebrachte Frage: statt hellgruener Toenung blinkt eine Hellgruen-Linie
   unter dem Feld auf und verschwindet. */
.field textarea.is-prefilled { animation: q5fill-riso 1.6s var(--ease-out); }
@keyframes q5fill-riso { 0%, 40% { box-shadow: inset 0 -4px 0 0 var(--riso-light); } 100% { box-shadow: inset 0 0 0 0 var(--riso-light); } }
.slot4 { border-left: 1.5px solid var(--riso-deep); color: var(--riso-text-3); }
.note4 { color: var(--riso-text-3); }
.note4 a { color: var(--riso-deep) !important; text-decoration: underline; text-underline-offset: 2px; }
.contact4 aside p.eyebrow { color: var(--riso-deep); }
.contact4 aside p { color: var(--riso-text-2); }
.contact4 aside p a { color: var(--riso-deep) !important; text-decoration: underline; text-underline-offset: 2px; }
.contact4 .mail { color: var(--riso-deep); text-decoration: underline 3px transparent; text-underline-offset: 6px; transition: text-decoration-color 0.3s var(--ease); }
.contact4 .mail:hover { color: var(--riso-deep); text-decoration-color: var(--riso-light); }
.list4 li { color: var(--riso-text-2); }
.list4 li::before { background: var(--riso-light); width: 7px; height: 7px; top: 0.6em; }
.form4__privacy a { color: var(--riso-deep); text-decoration: underline; text-underline-offset: 2px; }
/* Gesperrter Knopf (caibis-contact.js setzt opacity inline): statt blasser
   Vollton eine gestrichelte Linien-Pille, gedruckt und klar als gesperrt. */
.form4 .btn[disabled], .form4 .btn[aria-disabled="true"] {
  opacity: 1 !important; background: transparent !important; color: var(--riso-text-3) !important;
  border: 1.5px dashed var(--riso-text-3) !important; transform: none !important; box-shadow: none !important;
}
.contact-turnstile { min-height: 65px; }

/* ---------- 7 · Sicherheit ------------------------------------------------ */
/* Sechs Karten im Druck: Papier, Tiefgruen-Linie, die Hellgruen-Platte
   versetzt darunter. Der Haken ist ein Tiefgruen-Punkt mit ausgespartem
   Haken. */
.sec5 .c4 {
  background: var(--riso-paper);
  border: 1.5px solid var(--riso-deep);
  box-shadow: 5px 5px 0 0 var(--riso-light);
}
.sec5 .c4 p { color: var(--riso-text-2); }
.sec5 .c4::before { border: 1.5px solid var(--riso-deep); background: transparent; }
.sec5.is-in .c4::before { background: var(--riso-deep); border-color: var(--riso-deep); }
.sec5 .c4::after { border-color: var(--riso-paper); }

/* ---------- 8 · Ueber uns ------------------------------------------------- */
/* Die vier Formen fliegen gedruckt (caibis-scenes.js, CAIBIS_RISO.twin). */
.dec5__fly .riso-l { fill: var(--riso-light); }
.dec5 .c4 p { color: var(--riso-text-2); }

/* Das Band "Stand" war ein zweites dunkles Feld direkt ueber dem Kontakt.
   Hell gelassen, damit dort nicht zwei Fluten aufeinander folgen. */
.band4--dark.band5dots {
  background: none;
  color: var(--riso-deep);
  border-top: 1.5px solid var(--riso-deep);
}
.band5dots::before { content: none; display: none; }
.band5dots .eyebrow { color: var(--riso-deep); }
.band5dots h2 { color: var(--riso-deep); }
.band5dots .head4 p { color: var(--riso-text-2); }
.band5dots :focus-visible { outline-color: var(--riso-deep); }

/* ---------- 9 · Rechtliches ----------------------------------------------- */
/* Lesbarkeit zuerst: Papier, Tiefgruen, Haarlinien, nichts sonst. */
.legal__s { border-top: 1px solid var(--riso-rule); }
.legal__s:first-of-type, .legal5__body > .legal__s:first-child { border-top: none; }
.legal__s h2 { color: var(--riso-deep); }
.legal__s p, .legal__s li { color: var(--riso-text-2); }
.legal__s a { color: var(--riso-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal__note { border-left: 1.5px solid var(--riso-deep); color: var(--riso-text-2); }
.legal__ph { color: var(--riso-deep) !important; background: transparent; border: 1.5px dashed var(--riso-deep); }
.legal5__toc { border-left: 1px solid var(--riso-rule); }
.legal5__toc a { color: var(--riso-text-2); }
.legal5__toc a:hover, .legal5__toc a.is-on { color: var(--riso-deep); }
.legal5__toc a::before { background: var(--riso-deep); width: 3px; left: calc(-1rem - 2px); }

/* ---------- 10 · Login (Attrappe, wird nicht ausgeliefert) ----------------- */
.foot4:not(.foot5) {
  background-color: var(--riso-deep);
  background-image: none;
  color: var(--riso-paper);
}
.foot4:not(.foot5) h2, .foot4:not(.foot5) h4, .foot4:not(.foot5) a:not(.btn), .foot4:not(.foot5) p { color: var(--riso-paper); }
.foot4:not(.foot5) .contours { display: none; }
.foot4:not(.foot5) .btn--primary { background: var(--riso-paper); color: var(--riso-deep); border-color: var(--riso-paper); }
.foot4:not(.foot5) .btn--ghost { color: var(--riso-paper); border-color: var(--riso-paper); }
.login4 aside p { color: var(--riso-text-2); }
.login4 aside p.eyebrow { color: var(--riso-deep); }

/* ---------- 11 · Ruhe ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  svg.sub5__mark { animation: none; }
  .foot5__caret { animation: none; }
}
