/* AK86 2026 – Grundlage (übernommen aus den Prototypen vom 27.–29.10.2026) */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #BA1424; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #50BBB8; }

:root {
  --k-yellow: #e4e57b; --k-petrol: #336173; --k-teal: #73c7c9;
  --main: #e4e57b;            /* Kundenfarben-Modus: maincolor */
  --sec: #336273;             /* Kundenfarben-Modus: secondary_color */
  --ink: var(--bgcolor); --surface: #1e1e1d; --line: rgba(var(--gridcolor-rgb),.16);
  /* Dark Mode / Light Mode (Benennung wie live, 03.11.2026): Grundfarben und Abstufungen. Alles, was den Modus wechselt, hängt hieran. */
  --bgcolor: #141413; --bgcolor-rgb: 20,20,19;
  --textcolor: #fff;
  --gridcolor: #fff; --gridcolor-rgb: 255,255,255;
  --bgcolor-14: rgba(var(--bgcolor-rgb),.14); --bgcolor-43: rgba(var(--bgcolor-rgb),.43); --bgcolor-65: rgba(var(--bgcolor-rgb),.65); --bgcolor-86: rgba(var(--bgcolor-rgb),.86);
  --gridcolor-14: rgba(var(--gridcolor-rgb),.14); --gridcolor-43: rgba(var(--gridcolor-rgb),.43); --gridcolor-65: rgba(var(--gridcolor-rgb),.65); --gridcolor-86: rgba(var(--gridcolor-rgb),.86);
  --surface-0: #0f0f0e; --surface-1: #1b1b1a; --surface-2: #222; --surface-3: #262625; --surface-4: #2a2a29; --surface-5: #2c2c2b; --surface-6: #3a3a39; --surface-7: #4a4a49;
  /* In beiden Modi gleich: Markenfarben, Weiß im Differenz-Modus (Logo, Menü, Statusleiste), dunkle Schrift */
  --job-bg: rgba(30,30,29,.72); --job-bg-hover: rgba(52,52,50,.8); --lightbox-bg: rgba(14,14,13,.92);
  --static-white: #fff; --static-white-rgb: 255,255,255; --static-ink: #313130;
  --static-maincolor: #BA1424; --static-maincolor-rgb: 186,20,36; --static-seccolor: #50BBB8;
  --c1: #BA1424; --c2: #50BBB8;
  transition: --c1 1s ease, --c2 1s ease;
  --f-ext: 'Archivo Expanded', 'Archivo', 'Arial Black', sans-serif; /* Archivo lokal statt Pragmatica (Alex 02.11.) */
  --f-body: 'Archivo', Arial, sans-serif;
  --f-kunde: 'Libre Franklin', sans-serif;
  --f-mono: 'Roboto Mono', ui-monospace, monospace;
  --gut: clamp(16px, 4.5vw, 72px);
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 18v8M18 22h8' stroke='%23fff' stroke-opacity='.13' stroke-width='1.2'/%3E%3C/svg%3E");
  --grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 18v8M18 22h8' stroke='%23313130' stroke-opacity='.22' stroke-width='1.2'/%3E%3C/svg%3E");
}
/* Light Mode, erste Fassung: Grundwerte tauschen, der Rest hängt daran. --static-… bleibt gleich. */
html.lightmode {
  --bgcolor: #fff; --bgcolor-rgb: 255,255,255;
  --textcolor: #313130;
  --gridcolor: #313130; --gridcolor-rgb: 49,49,48;
  --surface: #f4f4f2; --surface-0: #fafaf8; --surface-1: #f6f6f4; --surface-2: #f1f1ef; --surface-3: #ececea; --surface-4: #e8e8e5; --surface-5: #e2e2df; --surface-6: #d6d6d3; --surface-7: #c8c8c5;
  --job-bg: rgba(255,255,255,.72); --job-bg-hover: rgba(255,255,255,.92); --lightbox-bg: rgba(255,255,255,.94);
  --grid: var(--grid-dark);
}
/* Runde Knöpfe im Light Mode: dunkle Schrift und dunkler Ring (03.11.: „die magnetischen buttons sind auf heller ansicht leider auch weiß, daher sieht man sie nicht“) */
/* Großes Logo im Fuß trägt fill="#fff" im Markup */
html.lightmode .foot-logo [fill="#fff"], html.lightmode .foot-fx [fill="#fff"], html.lightmode .biglogo [fill="#fff"] { fill: var(--textcolor); }
html.lightmode .ed { color: #fff; --bgcolor: #141413; --bgcolor-rgb: 20,20,19; --textcolor: #fff; --gridcolor: #fff; --gridcolor-rgb: 255,255,255; --gridcolor-14: rgba(255,255,255,.14); --gridcolor-43: rgba(255,255,255,.43); --gridcolor-65: rgba(255,255,255,.65); --gridcolor-86: rgba(255,255,255,.86); --surface: #1e1e1d; --surface-0: #0f0f0e; --surface-1: #1b1b1a; --surface-2: #222; --surface-3: #262625; --surface-4: #2a2a29; --surface-5: #2c2c2b; --surface-6: #3a3a39; --surface-7: #4a4a49; } /* Code-Editor bleibt in beiden Modi dunkel */
html.no-ct { transition: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--ink); color: var(--textcolor); font-family: var(--f-body); font-size: clamp(17px, 1.15vw, 19px); line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* Inhalt höchstens 1920px breit und mittig; Bubbles + Raster im Hintergrund laufen weiter über den ganzen Bildschirm */
html, body { overflow-x: clip; }
.page { position: relative; max-width: 1920px; margin-inline: auto; }

a { color: inherit; }
::selection { background: var(--main); color: var(--ink); }

/* ---------- Hintergrund: Raster + Bubbles (fix) ---------- */
.grid-bg { position: fixed; inset: 0; background-image: var(--grid); background-size: 44px 44px; pointer-events: none; z-index: 0; }
.bubwrap { position: fixed; inset: 0; z-index: 0; pointer-events: none; transform-origin: 50% 50%; }
.bubwrap .b { position: absolute; border-radius: 50%; filter: blur(30px); will-change: transform; }
.b1 { width: 72vmax; height: 72vmax; right: -22vmax; top: -30vmax; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 85%, transparent), transparent 62%); animation: d1 24s ease-in-out infinite alternate; }
.b2 { width: 64vmax; height: 64vmax; left: -22vmax; bottom: -30vmax; background: radial-gradient(circle, color-mix(in srgb, var(--c2) 85%, transparent), transparent 62%); animation: d2 30s ease-in-out infinite alternate; }
/* Maus-Bubble: folgt dem Mauszeiger träge (live macht das die WebGL-Bubble) */
.b4 { width: 24vmax; height: 24vmax; left: 0; top: 0; margin: -12vmax 0 0 -12vmax; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 80%, transparent), transparent 62%); opacity: 0; transition: opacity .8s; }
.b4.on { opacity: 1; }
.b3 { width: 34vmax; height: 34vmax; left: 34vw; top: 30vh; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 55%, transparent), transparent 62%); animation: d3 20s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(-14vw, 18vh) scale(1.12); } }
@keyframes d2 { to { transform: translate(18vw, -14vh) scale(.92); } }
@keyframes d3 { to { transform: translate(-22vw, 20vh) scale(1.25); } }
/* Mobil: Bubbles gedämpft, Schicht in Hintergrundfarbe darüber (dunkel bzw. hell je Modus), damit Text besser lesbar ist (Alex 08.11.2026). Raster bleibt unberührt. */
@media (max-width: 760px) { .bubwrap::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(var(--bgcolor-rgb), .38); } }

/* ---------- Typo-Grundlagen ---------- */
.xt { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .93; word-break: break-word; overflow-wrap: break-word; hyphens: none; }
h2 { font-family: var(--f-body); font-weight: 700; letter-spacing: -.02em; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.05; word-break: break-word; overflow-wrap: break-word; hyphens: none; }
.kick { display: block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--main); margin-bottom: 22px; }
.mono { font-family: var(--f-mono); }
p, li, dd { word-break: break-word; overflow-wrap: break-word; hyphens: none; }

/* ---------- Runde Buttons ---------- */
/* wie .bigbubblebutton auf ak86.eu: gestrichelter Kreis dreht sich, dahinter weicher Lichtfleck in der Zweitfarbe, Hover = Hauptfarbe */
.rb { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; position: relative; z-index: 10; display: inline-flex; align-items: center; justify-content: center; aspect-ratio: 1; flex: none; text-decoration: none; color: var(--static-white); }
.rb::before { content: ''; position: absolute; inset: 22%; border-radius: 50%; border: 2px dashed var(--static-white); mix-blend-mode: difference; animation: rbspin 14s linear infinite; z-index: -1; transition: inset .3s; }
.rb::after { content: ''; position: absolute; inset: 20%; border-radius: 50%; background-color: var(--bb2, var(--sec)); box-shadow: 0 0 30px var(--bb2, var(--sec)); filter: blur(var(--bblur, 40px)); z-index: -2; transition: background-color .3s, box-shadow .3s; }
/* Wie live: weiche Fläche in der zweiten Projektfarbe, weiße Schrift, beim Überfahren Hauptfarbe. Im Light Mode richtet sich die Schrift nach dem Schein: auf dunklem weiß, auf hellem dunkel, vorher dunkel auf dunkel (04.11.: „der direkt zur Websete Knopf im Header des projektes ist teilweis enicht gut zu lesen“) */
html.lightmode .rb { color: var(--textcolor); color: oklch(from var(--bb2, var(--sec)) clamp(0, calc((.66 - l) * 1000), 1) 0 0); }
html.lightmode .rb:hover { color: var(--textcolor); color: oklch(from var(--bb1, var(--main)) clamp(0, calc((.66 - l) * 1000), 1) 0 0); }
html.lightmode .rb::before { border-color: currentColor; mix-blend-mode: normal; }
html .rb.quick, html.lightmode .rb.quick { color: var(--static-white); } /* steht auf Fotos: immer weiß wie live */
html.lightmode .rb.quick::before { border-color: var(--static-white); mix-blend-mode: difference; }
.rb.quick span { text-shadow: 0 0 14px rgba(0,0,0,.5); }
/* Startseite hell: Das Foto tritt hier hell zurück, der Knopf folgt der normalen Regel (05.11.: „alle projekte button ist korrekt schwarz, unsere projekt eoben drüber aber ist weiss, wieso?“) */
html.lightmode .home-hero .rb.quick { color: var(--textcolor); color: oklch(from var(--bb2, var(--sec)) clamp(0, calc((.66 - l) * 1000), 1) 0 0); }
html.lightmode .home-hero .rb.quick::before { border-color: currentColor; mix-blend-mode: normal; }
html.lightmode .home-hero .rb.quick span { text-shadow: none; }
.rb span { display: block; width: min-content; font-family: var(--f-ext); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; word-break: keep-all; hyphens: none; transform: scale(1.1); transition: transform .3s; will-change: transform; }
.rb:hover::after { background-color: var(--bb1, var(--main)); box-shadow: 0 0 30px var(--bb1, var(--main)); }
.rb:hover::before { animation-direction: reverse; inset: 25%; }
.rb:hover span { transform: scale(1.2); }
@keyframes rbspin { to { transform: rotate(360deg); } }
/* Feste, lange Zeilen ragen weit über den Ring: etwas kleiner und eingerückt, damit der Text nicht links aus dem Bild läuft */
.rb-lang { margin-left: clamp(40px, 2.4vw, 46px); }
.rb-lang span { transform: scale(.9); }
.rb-lang:hover span { transform: scale(1); }
.rb-s { width: 96px; --bblur: 22px; } .rb-s span { font-size: 11px; }
.rb-m { width: 150px; --bblur: 32px; } .rb-m span { font-size: 17px; } /* zweizeilig, Wörter ragen über den Ring (Alex 02.11.) */
.rb-l { width: clamp(160px, 13vw, 200px); } .rb-l span { font-size: clamp(18px, 1.35vw, 22px); }

/* ---------- Navigation ---------- */
.nav { color: var(--static-white); position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: padding .3s; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--gut); }
.ak-logo { display: block; width: 58px; }
.nav .links a, .nav .ak-logo [fill="#fff"] { transition: color .3s, fill .3s; }
.nav.light .links a { color: var(--static-ink); } .nav.light .links a.on { box-shadow: 0 2px 0 var(--static-ink); }
.nav.light .ak-logo [fill="#fff"] { fill: var(--static-ink); }
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
/* Menü + Logo im Differenz-Modus wie live (hell auf dunkel, dunkel auf hell); der Kontakt-Button liegt separat darüber und behält seine Farben */
.nav { mix-blend-mode: difference; min-height: 140px; padding-right: calc(var(--gut) + 114px); }
.nav.scrolled { min-height: 120px; }
.nav-cta { position: fixed; top: 22px; right: var(--gut); z-index: 41; transition: top .3s; }
.nav-cta.scrolled { top: 12px; }
@media (max-width: 760px) { .nav { min-height: 134px; padding-right: calc(var(--gut) + 104px); } .nav-cta { top: 16px; } }

.ak-logo svg { width: 100%; height: auto; display: block; }
.links { display: flex; gap: clamp(18px, 2.4vw, 40px); font-weight: 600; font-size: 15px; margin-left: auto; margin-right: 18px; }
.links a { text-decoration: none; opacity: .82; }
.links a.on { opacity: 1; box-shadow: 0 2px 0 var(--main); }

/* ---------- Kapitel-Navigation rechts ---------- */
.chap { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.chap.show { opacity: 1; pointer-events: auto; }
.chap a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; font-family: var(--f-mono); font-size: 13px; }
.chap a span { opacity: 0; transform: translateX(6px); transition: .25s; background: rgba(var(--bgcolor-rgb),.85); padding: 3px 9px; white-space: nowrap; max-width: 32ch; overflow: hidden; text-overflow: ellipsis; } /* Sicherung für lange Namen (Alex 02.11.) */
.chap a::after { content: attr(data-i); width: 30px; height: 30px; border: 1px solid rgba(var(--gridcolor-rgb),.35); background: rgba(var(--bgcolor-rgb),.5); display: grid; place-items: center; font-size: 10px; transition: .25s; }
.chap a.on::after { background: var(--main); color: var(--ink); border-color: var(--main); }
/* nur die Nummern-Kästchen reagieren auf die Maus, nicht die unsichtbaren Beschriftungen davor */
.chap a { pointer-events: none; } .chap.show a::after { pointer-events: auto; }
.chap a:hover span, .chap a.on span { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px var(--gut) 8vh; }
.hero-in { position: relative; width: 100%; }
@media (min-width: 761px) { .hero .h1.clr { max-width: calc(100% - clamp(150px, 12vw, 240px)); } } /* mehrzeiliger Titel läuft nicht unter den runden Knopf oben rechts (Alex 02.11.), projekt.js setzt .clr */
.h1 { font-size: clamp(44px, calc((100vw - 2 * var(--gut)) / 8.46), 260px); position: relative; } /* Kopf-Titel so groß wie „Webdesign Düsseldorf“ (Alex 02.11.), projekt.js passt lange Titel an */
.h1-sub { color: var(--main); font-size: clamp(34px, 7vw, 132px); margin-top: .06em; position: relative; }
/* Lange Unterzeilen (Claim statt Stichwort, z. B. audalis) laufen kleiner; Größe des Titels rechnet fitHead() */
.h1-sub.long { font-size: clamp(22px, 2.9vw, 56px); line-height: 1.02; margin-top: .45em; }
.fit-m { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: nowrap; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; font-size: 100px; }
.h1 .ch { display: inline-block; will-change: transform; }
.nb { display: inline-block; white-space: nowrap; } /* Buchstaben-Gruppe, in der nicht umbrochen wird (keine einzelnen Buchstaben allein, Alex 02.11.) */
.lead { max-width: 34ch; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.42; margin-top: 30px; color: rgba(var(--gridcolor-rgb),.92); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 46px; border-top: 1px solid var(--line); }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--main); margin-bottom: 6px; }
.facts dd { font-size: 15px; line-height: 1.45; }
/* wie #projekthead auf ak86.eu: Bild bildschirmhoch, volle Farbe, nach unten weich ausgeblendet */
.hero-img { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; z-index: 0; overflow: hidden; background-color: var(--sec); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.hero-img img { width: 100%; height: 118%; object-fit: cover; object-position: center 30%; display: block; will-change: transform; }
.hero .quick { position: absolute; right: 2vw; top: 24vh; z-index: 3; }
@media (orientation: portrait) { .hero-img { height: 62vh; height: 62svh; } }
.duo { overflow: hidden; background: linear-gradient(135deg, var(--d1, var(--main)), var(--d2, var(--sec))); }
.duo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.12); mix-blend-mode: multiply; transition: filter .5s; }
.scrollcue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }

/* ---------- Leistungs-Band ---------- */
.band { position: relative; z-index: 3; background: var(--main); color: var(--ink); transform: rotate(-2.5deg); margin: 4vh -4vw 0; padding: 16px 0; overflow: hidden; white-space: nowrap; }
.band-track { display: inline-flex; align-items: center; will-change: transform; }
.band span { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 4.4vw, 72px); letter-spacing: -.02em; padding: 0 .45em; line-height: 1.05; }
.hero .band { margin: clamp(18px, 3vh, 36px) calc(-1 * var(--gut) - 4vw) clamp(14px, 2.4vh, 28px); }
.band i { width: clamp(16px, 2.2vw, 34px); height: clamp(16px, 2.2vw, 34px); background: var(--sec); display: inline-block; flex: none; }

/* ---------- Kapitel / Flächen ---------- */
.chapter { position: relative; z-index: 2; }
.wort { display: inline; }
.gap { height: 20vh; }
.panel { position: relative; margin: 0 var(--gut); padding: clamp(20px, 3vw, 48px) 0; }
.ch-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3em .55em; margin-bottom: clamp(24px, 3vw, 48px); }
/* Kapitelnummer als Label-Zeile über der Überschrift wie „02 DESIGN“ auf der Leistungsübersicht (Test, Alex 02.11.); vorher groß in der Display-Schrift, grau */
.num { flex-basis: 100%; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--acc); line-height: 1.4; margin-bottom: -.1em; }
.cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: start; }
.panel p { max-width: 62ch; color: var(--gridcolor-86); }
.panel p + p { margin-top: 1em; }
p.big { font-size: clamp(21px, 1.8vw, 29px); line-height: 1.42; color: var(--textcolor); max-width: 28ch; }

.mood { margin-top: clamp(40px, 5vw, 80px); }
.label { display: block; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--main); margin-bottom: 14px; }
.mood-row { display: flex; gap: 10px; height: clamp(140px, 15vw, 250px); }
.mood-row figure { flex: var(--a) 1 0; --d1: var(--k-yellow); --d2: var(--k-petrol); }
.mood-row figure:hover img { filter: none; mix-blend-mode: normal; }

/* ---------- Szenen (gepinnt) ---------- */
.scene { height: 100vh; height: 100svh; overflow: hidden; }
.scene-in { position: relative; height: 100%; padding: clamp(84px, 12vh, 124px) var(--gut) clamp(24px, 5vh, 56px); display: flex; flex-direction: column; }
@media (min-width: 761px) { .scene-in { padding-top: clamp(128px, 12vh, 140px); } } /* Überschrift frei vom Logo (03.11.: „die ankersprünge laufen zu hoch“) */
.scene .ch-head { position: relative; z-index: 6; margin-bottom: clamp(12px, 2.5vh, 32px); }
.blend { mix-blend-mode: difference; }
.blend .num { color: var(--static-white); }
.steps-mini { margin-left: auto; align-self: center; display: flex; gap: 14px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0; }
.steps-mini span { opacity: .35; transition: opacity .3s; }
.steps-mini span.on { opacity: 1; }

/* Logo */
.artboard { position: absolute; inset: 0; z-index: 1; background-color: #f3f3ee; background-image: var(--grid-dark); clip-path: inset(55% 50% 45% 50%); }
.logo-stage { position: relative; z-index: 3; flex: 1; min-height: 0; }
.glogo { width: 100%; height: 100%; display: block; overflow: visible; }
.glogo .cls-1 { fill: #336273; }
.glogo .cls-2 { fill: #74c6ca; }
.glogo .cap { font-family: var(--f-mono); fill: var(--static-ink); }

/* Farben */
.fill { position: absolute; inset: 0; z-index: 2; background: var(--f); color: var(--t); clip-path: inset(50% 50% 50% 50%); }
.fill-txt { position: absolute; left: var(--gut); right: var(--gut); bottom: 11vh; }
.hex { display: block; font-family: var(--f-mono); font-weight: 600; font-size: clamp(54px, 13vw, 230px); line-height: .9; letter-spacing: -.04em; }
.role { font-weight: 700; font-size: clamp(22px, 2.6vw, 42px); margin-top: 14px; letter-spacing: -.01em; }
.vals { font-family: var(--f-mono); font-size: 14px; margin-top: 10px; opacity: .85; }
.sw-lab { position: absolute; z-index: 4; transform: translateX(-50%); text-align: center; font-family: var(--f-mono); font-size: 13px; line-height: 1.4; opacity: 0; white-space: nowrap; }
.sw-lab b { display: block; font-weight: 600; }
.pip-hint { position: absolute; z-index: 4; left: 0; right: 0; bottom: 7vh; text-align: center; font-weight: 700; font-size: clamp(16px, 1.4vw, 21px); opacity: 0; padding: 0 var(--gut); }
.ring { position: absolute; z-index: 4; border: 2px solid var(--gridcolor); pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.ring.on { opacity: 1; transform: scale(1.12); }

/* Schrift */
.type-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.aa { font-family: var(--f-kunde); font-weight: 300; font-size: clamp(140px, 23vw, 400px); line-height: .8; letter-spacing: -.03em; color: var(--main); }
.wght { font-family: var(--f-mono); font-size: 14px; margin-top: 22px; color: rgba(var(--gridcolor-rgb),.75); }
.wght b { color: var(--textcolor); font-weight: 600; display: inline-block; min-width: 3ch; }
.type-panel { margin: 0; padding: 0; }
.specs { list-style: none; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs .nm { font-size: clamp(22px, 2vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.specs .w { font-family: var(--f-mono); font-size: 13px; opacity: .8; }
.specimen { margin-top: 20px; font-family: var(--f-kunde); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.specimen span { display: block; }
.glyphs { font-family: var(--f-kunde); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; margin-top: 18px; opacity: .8; word-break: break-all; }
.code { font-family: var(--f-mono); font-size: 14px; margin-top: 18px; color: var(--k-teal); min-height: 1.4em; }
.caret { display: inline-block; width: .55em; height: 1.05em; background: var(--main); vertical-align: -.18em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fontname { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; opacity: .7; align-self: center; margin-left: auto; }
#schrift h2, #schrift .type-panel { transition: filter .25s; }
#schrift.kunde h2 { font-family: var(--f-kunde); }
#schrift.flash h2, #schrift.flash .type-panel { filter: blur(6px); }

/* Ausstattung */
.st-wrap { flex: 1; min-height: 0; display: flex; margin: 0 calc(var(--gut) * -1 + 8px); }
.st-grid { position: relative; flex: 1; display: grid; --cols: 7; --rows: 3; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; }
.st { position: relative; overflow: hidden; background: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0,0,0,.4); will-change: transform; }
.st.big { grid-column: span 2; grid-row: span 2; }
.st.wide { grid-column: span 2; }
@media (max-aspect-ratio: 4/3) { .st-grid { --cols: 5; --rows: 4; } .st.wide { grid-column: auto; } }
.st img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st .stl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.st .stl * { fill: none; stroke: var(--gridcolor); stroke-width: 4; }
.st figcaption { position: absolute; left: 8px; bottom: 8px; font-family: var(--f-mono); font-size: 13px; background: rgba(var(--bgcolor-rgb),.8); padding: 3px 9px; opacity: 0; transition: opacity .2s; }
.st:hover figcaption { opacity: 1; }
.sub { font-family: var(--f-mono); font-size: 13px; opacity: .75; align-self: center; margin-left: auto; }

/* Website */
.web-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 48px); }
.browser { display: flex; flex-direction: column; min-height: 0; background: var(--surface-0); overflow: hidden; border: 1px solid rgba(var(--gridcolor-rgb),.1); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-3); }
.bar i { width: 10px; height: 10px; background: var(--surface-7); flex: none; }
.url { margin-left: 12px; flex: 1; background: var(--bgcolor); padding: 5px 12px; min-width: 0; font-family: var(--f-mono); font-size: 12px; color: rgba(var(--gridcolor-rgb),.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev { margin-left: 12px; display: flex; align-items: center; gap: 4px; flex: none; font-family: var(--f-mono); font-size: 11px; }
.dev-l { color: var(--main); text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.dev button { font: inherit; color: rgba(var(--gridcolor-rgb),.78); background: var(--bgcolor); border: 1px solid var(--surface-6); padding: 4px 9px; cursor: pointer; }
.dev button:hover { border-color: var(--main); }
.dev button[aria-pressed="true"] { background: var(--main); border-color: var(--main); color: var(--ink); }
.dev .d-m { display: none; }
.live { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background-color: var(--surface-1); background-image: var(--grid); background-size: 44px 44px; }
.live[hidden] { display: none; }
.live-box { position: relative; overflow: hidden; background: #f3f3ee; box-shadow: 0 0 0 1px rgba(var(--gridcolor-rgb),.2), 0 20px 50px rgba(0,0,0,.45); }
.live iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: var(--gridcolor); }
.live-load { position: absolute; z-index: 3; font-family: var(--f-mono); font-size: 13px; color: var(--textcolor); background: rgba(var(--bgcolor-rgb),.9); padding: 8px 12px; pointer-events: none; }
.live.ready .live-load { display: none; }
.tabs { display: flex; gap: 22px; padding: 8px 16px 0; background: var(--surface-1); border-bottom: 1px solid var(--surface-5); overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: rgba(var(--gridcolor-rgb),.6); font: 600 13px var(--f-body); padding: 6px 0 10px; cursor: pointer; white-space: nowrap; }
.tabs button small { font-family: var(--f-mono); font-weight: 400; font-size: 10px; opacity: .7; margin-left: 6px; }
.tabs button.on { color: var(--textcolor); border-color: var(--main); }
.viewport { flex: 1; min-height: 0; overflow: hidden; position: relative; background: var(--gridcolor); }
#shot { width: 100%; height: auto; display: block; will-change: transform; }
.web-panel { margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: visible; }
.wnote { font-family: var(--f-mono); font-size: 13px; line-height: 1.5; opacity: .65; margin-top: 14px; }
.wsteps li { cursor: pointer; } .wsteps li:not(.on):hover { opacity: .75; }
.web-live span a { color: var(--main); }
.web-panel .intro { font-size: 16px; line-height: 1.55; }
.wsteps { list-style: none; border-top: 1px solid var(--line); margin-top: 18px; }
.wsteps li { padding: 11px 0; border-bottom: 1px solid var(--line); opacity: .42; transition: opacity .35s; }
.wsteps li.on { opacity: 1; }
.wsteps .t { display: flex; gap: 14px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.wsteps .t b { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; color: var(--main); flex: none; }
.wsteps .d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.wsteps li.on .d { grid-template-rows: 1fr; }
.wsteps .d > p { overflow: hidden; font-size: 15.5px; line-height: 1.55; padding-left: 2.6em; }
.wsteps .d > p::before { content: ''; display: block; height: 6px; }
.web-live { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: 13px; opacity: .9; }

/* Ergebnis + Kundenstimme */
.perf { position: relative; z-index: 2; margin: clamp(40px, 6vw, 96px) var(--gut) 0; }
.perf-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 56px); border-top: 1px solid var(--line); }
.perf-grid li { padding-top: 22px; }
.perf-grid h3 { font-weight: 700; font-size: clamp(17px, 1.3vw, 21px); letter-spacing: -.01em; margin-bottom: 16px; }
.pr { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: end; margin-bottom: 14px; }
.pr b { grid-row: span 2; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(34px, 3.6vw, 62px); line-height: .82; letter-spacing: -.03em; min-width: 1.4em; }
.pr span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.pr i { display: block; height: 6px; background: var(--gridcolor-14); position: relative; overflow: hidden; }
.pr i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%); background: var(--main); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pr.m b { font-size: clamp(24px, 2.2vw, 38px); }
.pr.m i::after { background: var(--k-teal); }
.perf-note { font-family: var(--f-mono); font-size: 13px; opacity: .6; margin-top: 8px; }
@media (max-width: 1023px) { .perf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { position: relative; z-index: 2; background: var(--main); color: var(--ink); margin: 16vh var(--gut) 0; padding: clamp(36px, 7vw, 120px); }
.quote p { font-family: var(--f-kunde); font-weight: 700; font-size: clamp(34px, 5.4vw, 98px); line-height: 1.03; letter-spacing: -.03em; max-width: 18ch; }
.quote .wd { opacity: .16; }
.quote footer { font-family: var(--f-mono); font-size: 13px; margin-top: 30px; }
.quote .qm { position: absolute; right: clamp(20px, 4vw, 70px); top: clamp(10px, 2vw, 30px); font-family: var(--f-kunde); font-weight: 700; font-size: clamp(120px, 16vw, 300px); line-height: 1; color: var(--sec); opacity: .9; }

/* Nächstes Projekt + CTA */
.next { position: relative; z-index: 2; isolation: isolate; display: flex; align-items: center; min-height: 78vh; margin-top: 18vh; padding: 10vh var(--gut); text-decoration: none; overflow: hidden; }
.next-img { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 88%); mask-image: linear-gradient(to left, #000 30%, transparent 88%); }
.next-img img { object-position: 70% center; transition: filter .6s, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.next:hover .next-img img { filter: none; mix-blend-mode: normal; transform: scale(1.04); }
.next-txt { position: relative; width: 100%; }
/* Große Schrift wie die Kopf-Titel (Alex 02.11.: „unten beim nächsten Projekt bitte auch GROSSE TYPO“); projekt.js setzt dieselbe feste Größe */
.next .nt { display: block; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .93; font-size: clamp(44px, calc((100vw - 2 * var(--gut)) / 8.46), 260px); overflow-wrap: anywhere; hyphens: none; }
.next .ns { display: block; font-size: 18px; opacity: .75; margin-top: 12px; }
.cta { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 6vw; padding: 18vh var(--gut) 12vh; }
.cta h2 { font-size: clamp(40px, 5.2vw, 100px); line-height: .98; letter-spacing: -.03em; }
#kontakt { --main: #50BBB8; }
.cta { flex-wrap: wrap; align-items: flex-end; }
.contact { display: grid; grid-template-columns: clamp(130px, 13vw, 210px) auto auto; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
/* Freisteller steht direkt im Licht auf einer Linie, ohne Kasten (04.11.: „dsieht der Hintergrund um die Person beim Projekt unten falsch aus“) */
.contact-img { position: relative; aspect-ratio: 1; margin: 0; border-bottom: 1px solid rgba(var(--gridcolor-rgb),.45); }
.contact-img img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block; }
.contact-txt .kick { margin-bottom: 10px; }
.contact-name { display: block; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 44px); line-height: .9; letter-spacing: -.02em; }
.contact-role { display: block; font-family: var(--f-mono); font-size: 13px; opacity: .75; margin-top: 8px; }
/* Persönlicher Spruch als Fähnchen am Herz, wie live. Desktop beim Überfahren, Handy direkt, mit Blur drum herum (04.11.: „Fähnchen per Hover bitte, mobil direkt anzeigen lassen, mit etwas mehr Blur drum herum“) */
.contact-msg { position: absolute; left: 0; bottom: 9%; display: flex; align-items: center; margin: 0; }
p.contact-msg { position: static; margin: 16px 0 0; }
.contact-msg i { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--static-white); background: var(--static-maincolor); }
.contact-msg i::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px dashed var(--static-maincolor); animation: rbspin 14s linear infinite; }
.contact-msg span { margin-left: -6px; padding: 8px 12px 8px 16px; width: max-content; max-width: min(260px, calc(100vw - 2 * var(--gut) - 50px)); font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--static-white); background: var(--static-maincolor); box-shadow: 0 0 26px 12px rgba(var(--static-maincolor-rgb),.6); }
@media (hover: hover) {
  figcaption.contact-msg span { opacity: 0; transform: translateX(-14px); pointer-events: none; transition: opacity .25s, transform .4s cubic-bezier(.2,.8,.2,1); }
  .contact-img:hover figcaption.contact-msg span { opacity: 1; transform: none; }
}
p.contact-msg span { display: block; margin-left: 0; padding-left: 12px; }
.contact-txt a { display: block; font-family: var(--f-mono); font-size: 13px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.contact-txt a:hover { color: var(--main); }
@media (max-width: 760px) { .contact { grid-template-columns: 110px 1fr; } .contact .rb { grid-column: 1 / -1; justify-self: start; } }
/* Abschluss: Überschrift oben, darunter Ansprechpartner links und Formular rechts */
.cta { display: block; }
.cta h2 { margin-bottom: clamp(30px, 5vw, 70px); }
.cta-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.cta-grid .contact { display: block; }
.cta-grid .contact-img { width: clamp(220px, 21vw, 340px); max-width: 100%; margin: 6px 0 18px; }
/* Überschriften kräftig wie live, die kleinen Zeilen gingen im Licht unter */
.cta .kick, .cta .kform.pform .kick { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(21px, 1.75vw, 34px); line-height: 1; letter-spacing: -.02em; color: var(--textcolor); margin-bottom: 18px; }
/* Anrufen und Schreiben als runde Knöpfe wie im Footer, in AK86-Rot (04.11.: „die Buttons zum Anrfuen und Emailen sehr dezent“) */
.contact-btns { display: flex; flex-wrap: wrap; margin: 10px 0 2px -24px; }
.contact-btns .rb { --bb2: var(--static-maincolor); --bb1: var(--static-maincolor); --bblur: 12px; margin-right: -20px; }
.contact-btns .rb span { width: auto; white-space: nowrap; } /* 04.11.: „das wort E-Mail bricht um“ */
/* Nummer und Adresse als Fähnchen unter dem Knopf statt zwei loser Zeilen (04.11.: „Telefon und Email so da drunter sieht unsauber aus“). Am Handy wählt der Knopf direkt */
.contact-wert { position: absolute; left: 50%; top: 76%; z-index: 2; padding: 6px 10px; font: 700 14px/1.2 var(--f-body); white-space: nowrap; color: var(--static-white); background: var(--static-maincolor); box-shadow: 0 0 22px 8px rgba(var(--static-maincolor-rgb),.5); opacity: 0; transform: translate(-50%, -8px); pointer-events: none; transition: opacity .2s, transform .35s cubic-bezier(.2,.8,.2,1); }
.contact-btns .rb:hover .contact-wert, .contact-btns .rb:focus-visible .contact-wert { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .contact-wert { display: none; } }
.cform .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.cform label { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: rgba(var(--gridcolor-rgb),.78); }
.cform label.full { grid-column: 1 / -1; }
.cform input, .cform textarea { display: block; width: 100%; margin-top: 8px; font: 16px var(--f-body); color: var(--textcolor); background: rgba(var(--gridcolor-rgb),.06); border: 1px solid rgba(var(--gridcolor-rgb),.35); border-radius: 0; padding: 12px 14px; outline: none; transition: border-color .2s, background-color .2s; }
.cform input:focus, .cform textarea:focus { border-color: var(--main); background: rgba(var(--gridcolor-rgb),.1); }
.cform textarea { resize: vertical; min-height: 140px; }
.cform .rb { margin-top: 26px; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cform .cf-grid { grid-template-columns: 1fr; } }
.foot { position: relative; z-index: 2; padding: 0 var(--gut) 90px; font-family: var(--f-mono); font-size: 12px; opacity: .55; }

/* ---------- Prototyp-Anhang: Bausteine Print + Web-Entwicklung ---------- */
#print, #print-txt { --main: #ffd714; --sec: #005a5a; }
/* HETEK-Hauptfarbe #204b99 ist auf dunklem Grund zu dunkel für Schrift: Akzente hier aufgehellt */
#print2 { --main: #8fa9e0; --sec: #002241; }
#webdev, #webdev-plan { --main: #e19421; --sec: #076972; }
.annex { margin-top: 10vh; border-top: 1px dashed rgba(var(--gridcolor-rgb),.3); padding-top: 6vh; }
.annex h2 { margin-bottom: 18px; }
.annex p { max-width: 62ch; color: var(--gridcolor-86); }
.annex p + p { margin-top: 1em; }

/* A1 Print, Magazin: blättert sich auf */
.book-stage { flex: 1; min-height: 0; display: grid; place-items: center; }
.book { position: relative; width: min(84vw, calc((100svh - 330px) * 1.414)); aspect-ratio: 42 / 29.7; perspective: 2600px; will-change: transform; }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; transform-origin: left center; }
.face, .pbase { position: absolute; top: 0; height: 100%; background-color: var(--gridcolor); background-repeat: no-repeat; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.face { left: 0; width: 100%; }
.pbase { left: 50%; width: 50%; }
.face.back { transform: rotateY(180deg); }
.half-l { background-size: 200% 100%; background-position: 0 0; }
.half-r { background-size: 200% 100%; background-position: 100% 0; }
.full { background-size: 100% 100%; }
.face::after, .pbase::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.book .front::after, .pbase::after { background: linear-gradient(to right, rgba(0,0,0,.22), transparent 7%); }
.book .back::after { background: linear-gradient(to left, rgba(0,0,0,.22), transparent 7%); }
.dim { position: absolute; font-family: var(--f-mono); font-size: 12px; color: var(--main); pointer-events: none; }
.dim-w { top: calc(100% + 18px); height: 12px; border-left: 1px solid; border-right: 1px solid; display: flex; justify-content: center; align-items: center; }
.dim-w::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid; }
.dim-w span, .dim-h span { position: relative; background: var(--ink); padding: 0 8px; white-space: nowrap; }
.dim-h { top: 0; height: 100%; width: 12px; margin-left: -30px; border-top: 1px solid; border-bottom: 1px solid; }
.dim-h::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid; }
.dim-h span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.stat b { display: block; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; font-size: clamp(56px, 8vw, 150px); line-height: .85; letter-spacing: -.04em; color: var(--main); }
.stat span { display: block; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; max-width: 22ch; margin-top: 16px; }
.pmock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 6vh var(--gut) 0; position: relative; z-index: 2; }
.pmock figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-4); }
.pmock img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.pmock figure:hover img { transform: scale(1.05); }

/* A2 Print, Einzelstücke: Leuchttisch, maßstabsgetreu, Vorder- und Rückseite */
/* Ruhiges Raster: Gruppen mit Überschrift */
.pgroup { border-top: 1px solid var(--line); padding-top: 22px; margin-top: clamp(28px, 4vw, 56px); }
.pg-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 30px; }
.pg-head h3 { font-weight: 700; font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.02em; line-height: 1.1; }
.pg-head span { font-family: var(--f-mono); font-size: 13px; color: var(--main); }
.pg-stage { position: relative; }
/* Kacheln: 4 quadratische nebeneinander auf voller Breite. Weiße Outline, innen weiß mit ca. 14 %, beim Drüberfahren etwas heller.
   Druckstück mit Abstand zum Rand, Name unten links in der Kachel. Kein Kippen. */
.pg-stage.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.ptile { position: relative; aspect-ratio: 1 / 1; background-color: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--gridcolor); transition: background-color .35s; }
.ptile:hover { background-color: rgba(var(--gridcolor-rgb),.15); } /* Glas einheitlich 8 %, Hover 15 % (Alex 02.11.) */
.ptile.hb { cursor: pointer; }
.ptile .pdim { color: rgba(var(--gridcolor-rgb),.9); }
.ptile .pdim span { background: none; padding: 0; }
.ptile .pdim-w span { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); }
.ptile .pdim-h span { left: -9px; }
.ptile .face { box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.ptname { position: absolute; left: 14px; right: 104px; bottom: 12px; font-weight: 700; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.2; letter-spacing: -.01em; color: var(--textcolor); }
.ptflip { position: absolute; right: 10px; bottom: 9px; z-index: 2; font-family: var(--f-mono); font-size: 13px; color: rgba(var(--gridcolor-rgb),.85); white-space: nowrap; background: none; border: 1px solid rgba(var(--gridcolor-rgb),.45); padding: 4px 8px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.ptflip:hover { background: var(--gridcolor-14); border-color: var(--gridcolor); }
@media (max-width: 760px) { .pg-stage.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ptname { right: 12px; bottom: 30px; font-size: 13px; } .ptile:not(.hb) .ptname { bottom: 12px; } .ptflip { left: 12px; right: auto; bottom: 11px; } }
/* Wand zum Durchlaufen */
.ptable { position: relative; flex: 1; min-height: 0; overflow: hidden; margin: 0 calc(var(--gut) * -1); }
.pwall { position: absolute; left: 0; top: 0; height: 100%; will-change: transform; }
.pgt { position: absolute; z-index: 0; width: max-content; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .84; letter-spacing: -.03em; color: rgba(var(--gridcolor-rgb),.92); word-break: break-all; overflow-wrap: anywhere; hyphens: none; pointer-events: none; will-change: transform; }
.pwall .pwrap { z-index: 1; }
.pwrap.hb { cursor: pointer; }
.pflip { display: block; font-style: normal; color: var(--main); margin-top: 2px; }
.pitem { position: absolute; transform-style: preserve-3d; will-change: transform; }
.pitem .face { background-size: 100% 100%; }
.pcap { position: absolute; font-family: var(--f-mono); font-size: 13px; line-height: 1.4; color: rgba(var(--gridcolor-rgb),.75); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.pcap b { display: block; color: var(--main); font-weight: 600; }
.pdim { position: absolute; font-family: var(--f-mono); font-size: 11px; color: var(--main); pointer-events: none; }
.pwrap { position: absolute; perspective: 1600px; will-change: transform; }
.pwrap .pitem { left: 0; top: 0; width: 100%; height: 100%; }
.pwrap .pdim-w { left: 0; right: 0; top: calc(100% + 9px); }
.pwrap .pdim-h { top: 0; bottom: 0; left: -20px; }
.pwrap .pcap { top: calc(100% + 26px); left: 50%; width: max(100%, 180px); transform: translateX(-50%); }
.pdim-w { height: 10px; border-left: 1px solid; border-right: 1px solid; display: flex; justify-content: center; align-items: center; }
.pdim-w::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid; }
.pdim-h { width: 10px; border-top: 1px solid; border-bottom: 1px solid; }
.pdim-h::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid; }
.pdim span { position: relative; background: var(--ink); padding: 0 5px; white-space: nowrap; }
.pdim-h span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.pgcap { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 13px; color: var(--main); pointer-events: none; }

/* B Web-Entwicklung: Code-Editor tippt beim Scrollen */
/* Ablaufplan (kompakt) über dem Editor */
.wd-left { min-height: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 16px; }
.wd-plan { min-height: 0; }
.plan { display: block; width: 100%; height: auto; max-height: 33vh; overflow: visible; }
.plan .lane { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; fill: rgba(var(--gridcolor-rgb),.45); }
.plan .node rect { fill: rgba(var(--bgcolor-rgb),.72); stroke: rgba(var(--gridcolor-rgb),.26); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.plan .node .nt { font-family: var(--f-body); font-weight: 700; font-size: 23px; fill: rgba(var(--gridcolor-rgb),.5); transition: fill .4s; }
.plan .node .ns { font-family: var(--f-mono); font-size: 15px; fill: rgba(var(--gridcolor-rgb),.38); transition: fill .4s; }
.plan .node.on rect { fill: color-mix(in srgb, var(--main) 20%, var(--bgcolor)); stroke: var(--main); }
.plan .node.on .nt { fill: var(--gridcolor); }
.plan .node.on .ns { fill: rgba(var(--gridcolor-rgb),.85); }
.plan .edge { fill: none; stroke: rgba(var(--gridcolor-rgb),.4); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; marker-end: url(#sqOff); transition: stroke-dashoffset .9s cubic-bezier(.6,0,.2,1), stroke .4s, opacity .2s; }
.plan .edge.seen { stroke-dashoffset: 0; opacity: 1; }
.plan .edge.on { stroke: var(--main); marker-end: url(#sqOn); }
@media (max-width: 760px) { .wd-plan { display: none; } .wd-left { grid-template-rows: minmax(0, 1fr); } }

.wd-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); }
.ed { position: relative; min-height: 0; display: flex; flex-direction: column; background: var(--surface-0); border: 1px solid rgba(var(--gridcolor-rgb),.12); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 120px color-mix(in srgb, var(--main) 18%, transparent); }
.ed-bar { display: flex; align-items: stretch; background: var(--surface-1); border-bottom: 1px solid var(--surface-5); flex: none; }
.ed-bar > i { width: 10px; height: 10px; background: var(--surface-7); align-self: center; margin-left: 8px; flex: none; }
.ed-bar > i:first-child { margin-left: 14px; }
.ed-tabs { display: flex; margin-left: 14px; overflow-x: auto; scrollbar-width: none; }
.ed-tabs span { font-family: var(--f-mono); font-size: 12px; padding: 10px 16px; color: rgba(var(--gridcolor-rgb),.4); border-right: 1px solid var(--surface-5); border-top: 2px solid transparent; white-space: nowrap; transition: color .3s, background-color .3s, border-color .3s; }
.ed-tabs span.done { color: rgba(var(--gridcolor-rgb),.7); }
.ed-tabs span.on { color: var(--textcolor); background: var(--surface-0); border-top-color: var(--main); }
.ed-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ed-scroll { position: absolute; left: 0; right: 0; top: 0; display: flex; will-change: transform; }
.ed-gutter { flex: none; width: 3.4em; padding: 16px 12px 16px 0; text-align: right; font: 13px/1.6 var(--f-mono); color: rgba(var(--gridcolor-rgb),.22); white-space: pre; user-select: none; }
.ed-code { flex: 1; min-width: 0; margin: 0; padding: 16px 20px 16px 6px; font: 13px/1.6 var(--f-mono); color: #e8e6df; white-space: pre; overflow: hidden; }
.ed-code code { font: inherit; }
.ed-caret { display: inline-block; width: .6em; height: 1.15em; background: var(--main); vertical-align: -.22em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.tk-c { color: #8a877e; font-style: italic; }
.tk-s { color: #8fd3d8; }
.tk-v { color: #f3c27a; }
.tk-k { color: var(--main); font-weight: 600; }
.tk-n { color: #8fd3d8; }
.tk-f { color: var(--textcolor); font-weight: 600; }
.ed-status { display: flex; gap: 22px; flex: none; font: 12px var(--f-mono); padding: 7px 14px; background: var(--main); color: var(--ink); white-space: nowrap; overflow: hidden; }
.ed-status b { font-weight: 600; }
.dsteps { list-style: none; border-top: 1px solid var(--line); align-self: center; }
.dsteps li { padding: 11px 0; border-bottom: 1px solid var(--line); opacity: .42; transition: opacity .35s; cursor: pointer; }
.dsteps li.on { opacity: 1; }
.dsteps li:not(.on):hover { opacity: .75; }
.dsteps .t { display: flex; gap: 14px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.dsteps .t b { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; color: var(--main); flex: none; }
.dsteps .file { display: inline-block; font-family: var(--f-mono); font-size: 11px; color: var(--main); border: 1px solid currentColor; padding: 2px 7px; margin-top: 10px; }
.dsteps .d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.dsteps li.on .d { grid-template-rows: 1fr; }
.dsteps .d > div { overflow: hidden; padding-left: 2.6em; }
.dsteps .d p { font-size: 14.5px; line-height: 1.5; color: var(--gridcolor-86); margin-top: 8px; }
@media (max-width: 1023px) {
  .wd-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
  .dsteps { border-top: 0; }
  .dsteps li:not(.on) { display: none; }
}
@media (max-width: 760px) {
  .book { width: 92vw; }
  .pmock { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ed-gutter, .ed-code { font-size: 11px; }
  .ed-gutter { width: 2.8em; padding-right: 8px; }
  .ed-status { gap: 14px; font-size: 11px; }
  .dsteps li { padding: 0; border-bottom: 0; }
  .dsteps .d > div { padding-left: 0; }
  .dsteps .d p { font-size: 14px; }
}

/* Demo: nahtloser Übergang zum nächsten Projekt */
@property --vtm { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
.vt-img { position: fixed; z-index: 25; margin: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 var(--vtm), transparent 100%); mask-image: linear-gradient(to bottom, #000 var(--vtm), transparent 100%); }
.vt-img img, .vt-duo { position: absolute; inset: 0; width: 100%; height: 100%; }
.vt-img img { object-fit: cover; object-position: center 30%; display: block; }
.vt-duo { background: linear-gradient(135deg, var(--d1), var(--d2)); }
.vt-duo img { filter: grayscale(1) contrast(1.12); mix-blend-mode: multiply; }
.vt-img .vt-col { opacity: 0; }
.vt { --main: #f08c78; position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; padding: 150px var(--gut) 8vh; pointer-events: none; }
.vt[hidden] { display: none; }
.vt { overflow-y: auto; }
.vt-in { position: relative; width: 100%; max-width: calc(1920px - 2 * var(--gut)); margin: 0 auto; pointer-events: auto; }
.vt-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; font-family: var(--f-mono); font-size: 12px; color: rgba(var(--gridcolor-rgb),.8); }
.vt-back { font: 12px var(--f-mono); color: var(--textcolor); background: rgba(var(--bgcolor-rgb),.55); border: 1px solid rgba(var(--gridcolor-rgb),.55); padding: 9px 14px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.vt-back:hover { background: rgba(var(--bgcolor-rgb),.8); border-color: var(--gridcolor); }
@media (max-width: 760px) { .vt { padding-top: 120px; } }
/* Prototyp-Werkzeuge, Toast, Cursor */
.toast.on { opacity: 1; transform: none; }
.cur { position: fixed; left: 0; top: 0; z-index: 55; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--c1); pointer-events: none; transition: width .3s, height .3s, margin .3s, background-color .25s, border-color .25s, border-radius .3s, border-width .3s, filter .3s; border: 1.5px solid transparent; }
.cur.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: transparent; border-color: var(--gridcolor); }
/* Über Menü-Links: weicher weißer Schein hinter der Schrift statt Quadrat (Alex 02.11.) */
.cur.glow { z-index: 39; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-color: transparent; border-radius: 50%; background: radial-gradient(circle, var(--static-maincolor) 0%, rgba(var(--static-maincolor-rgb),.9) 35%, rgba(var(--static-maincolor-rgb),0) 70%); filter: blur(10px); mix-blend-mode: screen; } /* screen: weiße Schrift bleibt weiß, nur der Grund glüht – wirkt wie ein Schein hinter dem Text (Alex 02.11.: „rote Schein hinter den Text“) */ /* rot statt weiß (Alex 02.11.) */ /* hell genug, dass die Menüschrift (Differenz-Modus) darauf klar dunkel wird */
html.lightmode .cur.glow { mix-blend-mode: multiply; } /* screen wird auf hellem Grund weiß, der Hover war unsichtbar (04.11.: „Im LIghtmode erscheint kein Hover im Menü“) */
body.mnu-in .cur.glow { z-index: 56; background: rgba(var(--static-maincolor-rgb),.35); }
/* Über runden Buttons wird der Cursor zum Kreis und legt sich auf den gestrichelten Ring */
/* Cursor rastet ein: Kreis auf runden Buttons, Rahmen um Farbkacheln und das nächste Projekt */
.cur.snap { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); border-width: 2px; background: transparent; border-color: var(--gridcolor); }
.cur.snap.round { border-radius: 50%; }
/* Lightbox-Ziel: Rahmen ums Bild, Plus in der Mitte */
.cur.plus::before, .cur.plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--gridcolor); transform: translate(-50%, -50%); }
.cur.plus::before { width: 28px; height: 2px; } .cur.plus::after { width: 2px; height: 28px; }
.lbt { cursor: pointer; }
/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--lightbox-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { display: block; max-width: 86vw; max-height: 80vh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.lb-fig figcaption { font-family: var(--f-mono); font-size: 13px; color: rgba(var(--gridcolor-rgb),.8); margin-top: 14px; text-align: center; }
.lb-count { position: absolute; left: 24px; top: 26px; font-family: var(--f-mono); font-size: 13px; color: rgba(var(--gridcolor-rgb),.7); }
.lb button { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: transparent; color: var(--textcolor); border: 1px solid rgba(var(--gridcolor-rgb),.5); font: 20px var(--f-body); cursor: pointer; transition: background-color .2s, border-color .2s; }
.lb button:hover { background: rgba(var(--gridcolor-rgb),.12); border-color: var(--gridcolor); }
.lb-x { right: 20px; top: 20px; } .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); } .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb.single .lb-prev, .lb.single .lb-next { display: none; }
html.lb-open { overflow: hidden; }
@media (max-width: 760px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }
@media (hover: none) { .cur { display: none; } }
:focus-visible { outline: 2px solid var(--main); outline-offset: 4px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1023px) {
  .chap { display: none; }
  .cols { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .aa { font-size: 30vw; }
  .glyphs { display: none; }
  .web-grid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .web-panel .intro { display: none; }
  .wsteps { margin-top: 0; }
  .wsteps li:not(.on) { display: none; }
  .steps-mini { display: none; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .nav { padding-top: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .hero { padding-top: 224px; }
  .hero .quick { top: 92px; right: 2px; width: 116px; --bblur: 28px; }
  .hero .quick span { font-size: 11px; }
  .mood-row { overflow-x: auto; height: 150px; scrollbar-width: none; }
  .mood-row figure { flex: 0 0 calc(var(--a) * 150px); }
  .st-grid { --cols: 4; --rows: 5; gap: 5px; }
  .st.wide { grid-column: auto; }
  .specimen { font-size: 19px; }
  .type-panel .specs .w { width: 100%; }
  .next { min-height: 70vh; align-items: flex-end; }
  .next-img { -webkit-mask-image: linear-gradient(to top, transparent 5%, #000 62%); mask-image: linear-gradient(to top, transparent 5%, #000 62%); }
  .next-txt { max-width: none; }
  .cta { flex-direction: column; align-items: flex-start; }
  .sub, .fontname { margin-left: 0; width: 100%; }
  .web-live { display: none; }
  .wnote { display: none; }
  .dev-l, .dev [data-dev="desktop"], .dev [data-dev="tablet"] { display: none; }
  .dev .d-full { display: none; } .dev .d-m { display: inline; }
  .web-grid { gap: 12px; }
  .web-panel { padding: 0; }
  .wsteps { border-top: 0; }
  .wsteps li { border-bottom: 0; padding: 0; }
  .wsteps .d > p { padding-left: 0; font-size: 14.5px; }
}
/* Kopfbereich, Menü und Footer laufen über die volle Breite, der Inhalt dazwischen bleibt bei 1920px.
   Die Schrift im Kopf bleibt bündig mit dem Inhalt darunter; Bild und Laufband gehen bis an den Rand. (steht am Ende, damit es die Grundregeln überschreibt) */
/* --sbw = Breite der Scrollleiste (per JS), sonst wäre 100vw um die Leiste zu breit */
.hero, .foot { --vw: calc(100vw - var(--sbw, 0px)); width: var(--vw); margin-left: calc(50% - var(--vw) / 2); }
.hero { --hpad: max(var(--gut), calc((var(--vw) - 1920px) / 2 + var(--gut))); padding-left: var(--hpad); padding-right: var(--hpad); }
.hero .band { margin-left: calc(-1 * var(--hpad) - 4vw); margin-right: calc(-1 * var(--hpad) - 4vw); }
@media (min-width: 1921px) { .chap { right: calc((100vw - 1920px) / 2 + 16px); } }

/* ---------- Startseiten-Block der Prototypen (enthält gemeinsame Teile: .hs, .sh, .cta, .sitefoot) ---------- */
/* =================== Startseite, Runde 2: eigene Bausteine =================== */
:root { --main: #BA1424; --sec: #50BBB8; --acc: var(--static-seccolor); }
.kick, .facts dt { color: var(--acc); }
.num { color: var(--acc); }
/* Kopf: Claim als randvoller Block wie das Logo (Zeichen pro Zeile + Größe rechnet JS) */
.home-hero { padding-bottom: 7vh; }
.claim { position: relative; width: 100%; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .88; letter-spacing: 0; font-size: 120px; }
.claim .cl { display: block; width: max-content; white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.claim .ch { display: inline-block; will-change: transform; }
.claim .rt { color: var(--sec); }
.claim.ist-claim .rt { color: var(--main); } /* „die du gerade brauchst.“ in Rot (Test, Alex 02.11.) */
.claim .off { visibility: hidden; }
.claim-m, .fit-m { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: nowrap; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 100px; }
.claim-m { letter-spacing: 0; } .fit-m { letter-spacing: -.03em; }
.ccaret { display: inline-block; width: .09em; height: .72em; margin: 0 -.13em 0 .04em; background: var(--main); animation: blink 1s steps(1) infinite; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 4vw; margin-top: clamp(22px, 4vh, 48px); }
.home-hero .lead { margin-top: 0; max-width: 46ch; font-size: clamp(17px, 1.3vw, 22px); }
.home-hero .quick { position: relative; top: auto; right: auto; }

/* Menü + Logo im Differenz-Modus wie live (hell auf dunkel, dunkel auf hell); der Kontakt-Button liegt separat darüber und behält seine Farben */
.nav { mix-blend-mode: difference; min-height: 140px; padding-right: calc(var(--gut) + 114px); }
.nav.scrolled { min-height: 120px; }
.nav-cta { position: fixed; top: 22px; right: var(--gut); z-index: 41; transition: top .3s; }
.nav-cta.scrolled { top: 12px; }
/* Statusleiste neben dem Logo (Alex 02.11.): eigenes dunkles Glas (wie auf der alten Seite), erscheint nach dem Kopf, weg am Seitenende.
   Lage setzt base.js neben das Logo. Nummern, Trennstrich, darunter Seitenname klein und aktueller Abschnitt groß. */
.stbar { position: fixed; z-index: 40; left: 150px; top: 70px; display: flex; align-items: center; gap: 14px; padding: 6px 0; color: var(--static-white); mix-blend-mode: difference; /* ohne Tönung im Glas: wie Logo und Links, sonst weiß auf hellem Bild nicht lesbar */
  transform: translateY(calc(-50% - 8px)); opacity: 0; visibility: hidden; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; }
.stbar.show { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.stbar[hidden] { display: none; }
/* Glasfläche vom Logo bis rechts, nur Unschärfe ohne Farbe (03.11.: „vllt nur glasmorph ohne farbe?“): Auf dunkler Tönung blieben Logo und Links im Differenz-Modus nur weiß. Linke Kante setzt base.js, nach rechts läuft es weich aus („vllt nah rechts ausfaden lassen?“) */
.stbg { position: fixed; z-index: 39; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 55%, transparent 100%);
  opacity: 0; visibility: hidden; transition: opacity .35s, height .3s, visibility 0s .35s; }
.stbg.show { opacity: 1; visibility: visible; transition: opacity .35s, height .3s, visibility 0s; }
/* Schmale Kopfzeile, solange die Leiste da ist (Alex 02.11.: „die Leiste sollte schmaler sein, nicht so fett“): 80 statt 120 px,
   Kontakt-Kreis etwas kleiner, Kontakt und Menü rücken in die Mitte der schmalen Fläche */
body.st-on .nav.scrolled { min-height: 80px; padding-top: 11px; padding-bottom: 11px; }
.nav-cta { transition: top .3s, transform .3s; }
.nav-cta .rb-s { transition: scale .3s; }
body.st-on .nav-cta.scrolled { transform: translateY(-20px); }
body.st-on .nav-cta.scrolled .rb-s { scale: .75; }
.st-n { display: flex; flex-wrap: wrap; max-width: 260px; font: 12px var(--f-mono); }
.st-n button { padding: 3px 3px; border: 0; background: none; color: rgba(var(--static-white-rgb),.45); font: inherit; cursor: pointer; transition: color .25s; }
.st-n button:hover, .st-n button.on { color: var(--static-white); }
.st-t { display: grid; gap: 3px; min-width: 0; padding-left: 14px; border-left: 1px solid rgba(var(--static-white-rgb),.55); }
.st-t small { font-size: 12px; line-height: 1.2; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 36ch; }
.st-t b { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: 16px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
@media (max-width: 1023px) { .stbar { display: none !important; } } /* Mobil: nur das Glasband, siehe wp.css */
@media (min-width: 761px) and (max-width: 1023px) { .stbg { display: none !important; } }
@media (max-width: 760px) { .nav { min-height: 134px; padding-right: calc(var(--gut) + 104px); } .nav-cta { top: 16px; } }
/* Kopf zweispaltig: Claim links, Bildfeld rechts */
.home-hero { --hg-gap: clamp(28px, 3.5vw, 64px); }
.home-hero .hero-in.hg { position: static; }
/* Text und Bild überlappen bewusst: Bild 50vw rechts, Text bis ~80vw darüber */
.hg { display: block; }
.hg-text { position: relative; z-index: 1; min-width: 0; width: min(100%, calc(var(--vw, 100vw) * .8 - var(--hpad))); display: flex; flex-direction: column; justify-content: flex-end; }
/* Bildfeld über die volle Kopfhöhe (100vh), hinter dem Menü, vom Beginn der rechten Spalte bis an den Bildschirmrand */
.hg-media { position: absolute; top: 0; bottom: 0; right: 0; width: calc(var(--vw, 100vw) * .5); margin: 0; z-index: 0; }
/* läuft rechts aus dem Rand, nach links weich ins Dunkel; Graustufen, hier geht es um AK86 */
.hg-stage { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 78%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 78%, transparent); mask-composite: intersect; }
.hg-par { position: absolute; inset: -4%; }
.hg-plate, .hg-img { position: absolute; inset: 0; clip-path: inset(100% 0% 0% 0%); }
.hg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 60%; filter: grayscale(1) contrast(1.08) brightness(.72); }
.hg-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--f-mono); font-size: 13px; min-height: 22px; }
.hg-cap a { color: var(--textcolor); text-decoration: none; }
.hg-cap a:hover b { text-decoration: underline; }
.hg-cap b { font-weight: 600; }
.hg-dots { display: flex; gap: 5px; }
.hg-dot { width: 26px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hg-dot i { position: relative; display: block; height: 3px; background: rgba(var(--gridcolor-rgb),.25); overflow: hidden; }
.hg-dot i::after { content: ''; position: absolute; inset: 0; background: var(--gridcolor); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (max-width: 760px) { .hg-media { left: 0; width: auto; bottom: auto; height: 58vh; } .hg-stage { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); } .hg-text { width: 100%; } }
.home-band { --vw: calc(100vw - var(--sbw, 0px)); width: calc(var(--vw) + 8vw); margin: 0 0 0 calc(50% - var(--vw) / 2 - 4vw); color: var(--textcolor); }
/* Abschnitte */
.hs { position: relative; z-index: 2; padding: clamp(90px, 16vh, 200px) var(--gut) 0; }
.sh-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: clamp(20px, 3vw, 44px); }
/* Alle Überschriften einheitlich in Extended (04.11.: „Kannst du mal alle Headlines in der Extended Setzen“). Nur hier umstellen: --hl-case auf uppercase setzt sie alle in Großbuchstaben. Große Schauwörter (H1, Projektnamen, Footer-Frage, Menü, Teamnamen) haben eigene Regeln und bleiben in Großbuchstaben */
:root { --hl-case: none; --kap: clamp(27px, 3.4vw, 62px); }
@media (max-width: 760px) { :root { --kap: clamp(22px, 6.4vw, 30px); } } /* in Großbuchstaben muss „Zukunftssicher.“ in die Handybreite passen */
body :is(.sh, .ch-head h2, .li-lead, .rg-ph h3, .rg-kap .panel > h3, .rg-karte h4, .rg-cta h3, .rg-liste legend, .ftile h3, .case h3, .lv-t h3, .job-t, .jb-ini h3, .bf-h h3, .tm-role, .tm-fsub, .ak86-solid-headline, .lab-box h2, .lab-warum h2, .lab-schluss h2, .li-trust b) { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: var(--hl-case); letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Kapitelüberschriften immer in Großbuchstaben (04.11.: „die kapitelüberschriften müssten eigtl imemr caps“) */
/* Eine Größe für alle, ganz gleich auf welcher Seite (04.11.: Streamline-Check, „1 bis 5“) */
body :is(.sh, .ch-head h2, .lab-box h2, .lab-warum h2, .lab-schluss h2) { --hl-case: uppercase; font-size: var(--kap); line-height: 1; text-wrap: balance; }
/* Projektnamen überall in Großbuchstaben wie auf der Projektübersicht (04.11.: „prfojektnamen aus satrtseite sind jetzt nicht caps, auf projektübersiuchtsseite abver caps“) */
.pi-t, .case h3 { --hl-case: uppercase; }
/* Am Footer: Logo, Menüband und Kontaktknopf weg (base.js setzt body.im-footer) */
body .nav { transition: padding .3s, opacity .22s, visibility .22s; }
body .nav-cta > .rb { transition: opacity .22s, visibility .22s; }
body.im-footer :is(.nav, .nav-cta > .rb, .stbar.show, .stbg.show) { opacity: 0; visibility: hidden; pointer-events: none; } /* der Menü-Knopf bleibt (04.11.: „der knopf blkeibt ja“) */
body.im-footer .pall { opacity: 0; pointer-events: none; transition: opacity .35s; } /* „Alle Leistungen“ läge sonst über dem Menü-Knopf */
/* Kleine Labels einheitlich wie .num, .label und .case-n */
body :is(.kick, .tm-k) { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; }
body :is(.li-lead) { font-size: clamp(27px, 3.4vw, 64px); line-height: 1.06; max-width: 22ch; }
body :is(.li-lead.lang) { font-size: clamp(24px, 2.7vw, 50px); max-width: 30ch; }
body :is(.rg-ph h3) { line-height: 1.08; }
.sh-sub { font-family: var(--f-mono); font-size: 13px; opacity: .75; margin-top: 14px; max-width: 34ch; }
.sh-row .sh-sub { margin-top: 0; max-width: none; }
/* Projekte: Typo-Index, Bild schwebt am Mauszeiger */
.pidx { border-top: 1px solid var(--line); }
.pi { position: relative; display: grid; grid-template-columns: clamp(30px, 4vw, 70px) minmax(0, 1fr) minmax(170px, 23%); column-gap: clamp(12px, 2vw, 32px); align-items: center; padding: clamp(14px, 1.6vw, 26px) 0; border-bottom: 1px solid var(--line); cursor: pointer; outline-offset: 4px; transition: opacity .4s; }
.pi-n { font-family: var(--f-mono); font-size: 13px; color: var(--acc); align-self: start; padding-top: .9em; }
.pi-t { font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: var(--hl-case); letter-spacing: -.02em; line-height: 1.04; font-size: clamp(25px, 2.9vw, 54px); overflow-wrap: break-word; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pi-m { display: grid; gap: 4px; font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: rgba(var(--gridcolor-rgb),.75); }
.pi-m b { font-size: 13px; font-weight: 600; color: var(--textcolor); }
.pi-m a { color: var(--acc); text-decoration: none; margin-top: 4px; justify-self: start; }
.pi-m a:hover { text-decoration: underline; }
.pidx.hov .pi:not(.on) { opacity: .22; }
.pi.on .pi-t { transform: translateX(1.4vw); }
.pi.on .pi-n { color: var(--textcolor); }
.pi-thumb { display: none; }
.pflo { position: fixed; left: 0; top: 0; z-index: 1; width: clamp(240px, 26vw, 500px); aspect-ratio: 3 / 2; margin: 0; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; background: var(--surface-2);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); } /* läuft unten aus wie die Projektkacheln (Alex 02.11.) */
.pflo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.pflo img.on { opacity: 1; }
/* „Alle Projekte“ läuft als runder Sticky-Knopf rechts neben dem Projekt-Index mit (Alex 02.11.: wie live, statt verloren darunter) */
.pall { position: sticky; top: calc(50vh - 75px); z-index: 5; height: 0; margin: 0; display: flex; justify-content: flex-end; align-items: flex-start; pointer-events: none; } /* align-items: sonst drückt die Höhe 0 den Knopf platt */
.pall .rb { pointer-events: auto; }
.pall + .pidx .pi { padding-right: clamp(150px, 11vw, 200px); }
/* Am Ende ragt der Knopf über seinen Abschnitt hinaus. Der Abschnitt liegt deshalb eine Ebene über dem nächsten (sonst fängt z. B. die Hülle der Leistungs-Szene die Maus ab) */
.hs:has(> .pall) { z-index: 3; }
@media (max-width: 1023px) { .pall { position: static; height: auto; margin: 0 0 20px; } .pall + .pidx .pi { padding-right: 0; } }
/* Leistungen (Alex 02.11.): Bereiche wie auf der Leistungsübersicht. Wörter so groß wie die Projektnamen darüber, oben zusammen.
   Rechts ein Glaskasten (wie die Ergebnis-Kacheln) mit Satz und Leistungen des Bereichs, dahinter seine Projektbilder als Duotone.
   Ab 1024 px Scroll-Szene (home.js): Bereich bleibt stehen, Wörter füllen sich nacheinander. --n = Zahl der Bereiche, die letzte Zeile nimmt die Höhe des Kastens auf. */
.lwords { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto repeat(var(--n, 3), auto) 1fr; column-gap: clamp(24px, 5vw, 100px); align-items: start; }
.lw-count { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(16px, 2.4vh, 30px); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.lw-count > span:not(.lw-arr) { opacity: .55; }
.lw-bar { position: relative; display: block; width: clamp(110px, 12vw, 220px); height: 1px; margin-left: 8px; background: var(--line); }
.lw-bar s { position: absolute; inset: 0; background: var(--gridcolor); transform-origin: 0 50%; }
/* Zähler als Navigation (Alex 02.11.: „kriegt man da auch noch eine Navigationsmöglichkeit rein?“): Linie in Abschnitte zum Anklicken, dazu Pfeile */
.lw-seg { position: absolute; top: -12px; bottom: -12px; left: calc(var(--k) * 100% / var(--n, 4)); width: calc(100% / var(--n, 4)); padding: 0; border: 0; background: none; cursor: pointer; }
.lw-seg::after { content: ''; position: absolute; left: 1px; right: 1px; top: 50%; height: 3px; transform: translateY(-50%); background: var(--gridcolor); opacity: 0; transition: opacity .2s; }
.lw-seg:hover::after, .lw-seg:focus-visible::after { opacity: .45; }
.lw-arr { display: inline-flex; gap: 6px; margin-left: 14px; }
.lw-arr button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(var(--gridcolor-rgb),.4); background: transparent; color: var(--textcolor); font: 14px/1 var(--f-mono); cursor: pointer; transition: background-color .2s, border-color .2s; }
.lw-arr button:hover, .lw-arr button:focus-visible { background: rgba(var(--gridcolor-rgb),.15); border-color: var(--gridcolor); }
.lw { grid-column: 1; justify-self: start; border: 0; padding: .04em 0; text-align: left; cursor: pointer; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .9; font-size: clamp(28px, 3.4vw, 64px);
  color: transparent; -webkit-text-stroke: 1.2px rgba(var(--gridcolor-rgb),.7);
  background: linear-gradient(var(--gridcolor), var(--gridcolor)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text;
  transition: background-size .7s cubic-bezier(.2,.8,.2,1), -webkit-text-stroke-color .35s; }
.lw.on { background-size: 100% 100%; -webkit-text-stroke-color: var(--gridcolor); } /* Füllung läuft von links ins Wort */
.lw i { font-style: normal; color: transparent; transition: color .3s; }
.lw.on i { color: var(--main); transition-delay: .35s; }
.lw-box { grid-column: 2; grid-row: 1 / -1; position: relative; min-height: clamp(400px, 58vh, 640px); overflow: hidden; background-color: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); } /* Glas und Bilder laufen unten aus (Alex 02.11.; einheitlich ab 58 % wie alle Inhaltsbilder), die Liste liegt darüber und bleibt voll sichtbar */
.lw-box::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s; background: linear-gradient(to bottom, rgba(var(--bgcolor-rgb),.55), rgba(var(--bgcolor-rgb),0) 32%), linear-gradient(to top, rgba(var(--bgcolor-rgb),.9) 10%, rgba(var(--bgcolor-rgb),.5) 52%, rgba(var(--bgcolor-rgb),0) 82%); }
.lw-box:has(.lw-pic.on)::after { opacity: 1; }
.lw-pic { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.lw-pic.on { opacity: 1; transform: none; }
.lw-list { grid-column: 2; grid-row: 1 / -1; align-self: stretch; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 2.2vw, 40px); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .35s, transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; }
.lw-list.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .05s, transform .5s .05s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.lw-list ul { list-style: none; margin: 0; padding: 0; }
.lw-lead { margin: 0; max-width: 15em; font-weight: 700; font-size: clamp(22px, 2vw, 38px); line-height: 1.08; letter-spacing: -.02em; }
.lw-list li a { display: grid; grid-template-columns: 1fr auto auto; column-gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s; }
.lw-list li:first-child a { border-top: 1px solid var(--line); }
.lw-list li a b { font-weight: 700; font-size: 18px; line-height: 1.3; }
.lw-list li a span { grid-column: 1; font-size: 14.5px; line-height: 1.45; opacity: .75; margin-top: 2px; }
.lw-list li a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; opacity: .6; white-space: nowrap; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.lw-list li a i { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-style: normal; transition: transform .3s, color .3s; }
.lw-list li a:hover { padding-left: 10px; padding-right: 18px; } /* Pfeil bleibt mit Abstand im Rahmen-Cursor (Alex 02.11.: „Pfeil sehr nah am Rahmen“) */
.lw-list li a:hover i { transform: translateX(6px); color: var(--acc); }
/* Logo-Bänder, volle Breite, gegenläufig */
.lbands { --vw: calc(100vw - var(--sbw, 0px)); position: relative; width: var(--vw); margin-left: calc(50% - var(--vw) / 2); }
.lband { position: relative; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); }
.lband:last-child { border-bottom: 1px solid var(--line); }
.lband-track { display: inline-flex; will-change: transform; }
.lcopy { display: inline-flex; align-items: center; }
.lg { display: inline-flex; align-items: center; gap: 14px; height: clamp(92px, 8.4vw, 150px); padding: 0 clamp(26px, 3vw, 58px); border-right: 1px solid var(--line); text-decoration: none; transition: background-color .3s; }
.lg svg { display: block; width: auto; height: clamp(46px, 4.2vw, 80px); }
.lband.tech .lg svg, .lband.tech .lg svg * { fill: var(--gridcolor); }
.lband.kunden .lg svg { height: clamp(58px, 5.2vw, 100px); opacity: .9; }
/* Einfärben übers SVG selbst wie live, folgt damit Dark und Light (04.11.: „die kunden logos auf der satrtseite sind alle weiß“) */
.lband.kunden .lg svg * { fill: var(--gridcolor) !important; transition: fill .4s; }
.lg .tn { font-family: var(--f-mono); font-size: 13px; opacity: .8; }
.lg:hover { background-color: rgba(var(--gridcolor-rgb),.07); }
.lband-tag { position: absolute; left: 0; top: 0; z-index: 2; background: var(--main); color: var(--textcolor); font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.lband.kunden .lband-tag { background: var(--sec); color: var(--ink); }
/* Technik: Glas-Kacheln im Raster, alle auf einen Blick (Desktop eine Reihe) */
.ttiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 12px; }
.ttile { position: relative; display: grid; place-items: center; aspect-ratio: 1; background-color: rgba(var(--gridcolor-rgb),.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(var(--gridcolor-rgb),.55); text-decoration: none; transition: background-color .35s, border-color .35s; }
.ttile:hover { background-color: rgba(var(--gridcolor-rgb),.15); border-color: var(--gridcolor); }
.ttile .tl { width: 58%; height: 58%; display: grid; place-items: center; }
.ttile .tl svg { width: 100%; height: 100%; display: block; }
.ttile .tl svg, .ttile .tl svg * { fill: var(--gridcolor); }
.ttile .tn { position: absolute; left: 10px; bottom: 8px; font-family: var(--f-mono); font-size: 13px; line-height: 1; opacity: .85; }
@media (max-width: 1099px) { .ttiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ttiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .ttile .tn { left: 6px; bottom: 5px; font-size: 9px; } }
/* Kunden: links Überschrift + zwei Logo-Karussells, rechts Zitate */
.kwrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); }
.kbands { margin-top: clamp(26px, 3vw, 46px); border-top: 1px solid var(--line); }
.kbands .lband { border-top: 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.kbands .lg { height: clamp(80px, 6.4vw, 118px); padding: 0 clamp(20px, 2.2vw, 40px); }
.kbands .lband.kunden .lg svg { height: clamp(42px, 3.4vw, 66px); }
.kside .qnav { margin: 28px 0 0; }
.kside .qcount { margin: 28px 0 0; }
#kunden { padding-bottom: clamp(64px, 9vh, 110px); } /* Pfeile und Kartenstapel nicht direkt auf der Footer-Linie (Alex 02.11.) */
.kwrap .qstack { width: 100%; }
@media (max-width: 1023px) { .kwrap { grid-template-columns: minmax(0, 1fr); } }
/* Kundenstimmen: Kartenstapel */
.qwrap { display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 40px); margin-top: clamp(60px, 10vh, 120px); }
.qnav { display: flex; gap: 8px; margin-bottom: 50px; }
.qnav button { width: 52px; height: 52px; border: 1px solid rgba(var(--gridcolor-rgb),.7); background: transparent; color: var(--textcolor); font-size: 20px; cursor: pointer; transition: background-color .2s; }
.qnav button:hover { background: rgba(var(--gridcolor-rgb),.15); }
.qstack { position: relative; flex: 0 1 920px; min-width: 0; height: clamp(360px, 30vw, 480px); margin-bottom: 50px; }
/* Kundenstimmen wie das Zitat auf den Projektseiten: volle Farbfläche, riesige Schrift, Worte erscheinen nacheinander (04.11.: „die Kundenstimmen auf der Startseite sehen lkangweilig aus, so wie im prjekt selbst .. das ist shcön“) */
.qc { position: absolute; inset: 0; margin: 0; padding: clamp(32px, 5vw, 90px); display: flex; flex-direction: column; justify-content: center; gap: 30px; background: var(--static-maincolor); color: var(--static-white); box-shadow: 0 24px 60px rgba(0,0,0,.28); touch-action: pan-y; user-select: none; cursor: grab; }
.qc .qm2 { position: absolute; right: clamp(20px, 4vw, 70px); top: clamp(10px, 2vw, 30px); font-weight: 700; font-size: clamp(120px, 16vw, 300px); line-height: 1; color: var(--static-seccolor); opacity: .9; pointer-events: none; }
.qc .wd { opacity: .16; }
@media (prefers-reduced-motion: reduce) { .qc .wd { opacity: 1; } }
.qc.drag { cursor: grabbing; }
.qc p { position: relative; margin: 0; font-weight: 700; font-size: clamp(30px, 5.4vw, 98px); line-height: 1.03; letter-spacing: -.03em; max-width: 20ch; }
.qc.mittel p { font-size: clamp(25px, 3.8vw, 70px); line-height: 1.06; max-width: 24ch; }
.qc.long p { font-size: clamp(21px, 2.7vw, 50px); line-height: 1.14; letter-spacing: -.02em; max-width: 32ch; }
.qc figcaption { position: relative; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 13px; }
.qc figcaption b { font-weight: 400; }
/* Kontakt + Footer */
.cta .xt { font-size: clamp(40px, 5.2vw, 100px); } /* Abschnittsüberschrift 100 px wie überall (Alex 02.11.) */
.sitefoot { --vw: calc(100vw - var(--sbw, 0px)); position: relative; z-index: 2; width: var(--vw); margin-left: calc(50% - var(--vw) / 2); display: grid; grid-template-columns: auto 1fr; gap: 24px 6vw; align-items: end; padding: 12vh var(--gut) 90px; border-top: 1px solid var(--line); margin-top: 6vh; }
.sitefoot .biglogo { display: block; width: clamp(160px, 22vw, 360px); }
.sitefoot .biglogo svg { width: 100%; height: auto; display: block; }
.sitefoot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; font-family: var(--f-mono); font-size: 13px; }
.sitefoot nav a { text-decoration: none; opacity: .8; transition: opacity .2s, color .2s; }
.sitefoot nav a:hover { opacity: 1; color: var(--acc); }
.sitefoot small { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 12px; opacity: .55; }
/* Übergang: lange Titel/Unterzeilen passen sich an (fitHead) */
.vt { overflow-y: auto; }
.h1-sub.long { font-size: clamp(22px, 2.9vw, 56px); line-height: 1.02; margin-top: .45em; }
@media (hover: none) { .pi-thumb { display: block; order: -1; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; } }
@media (hover: none) and (max-width: 760px) { .pi-thumb { aspect-ratio: 3 / 2; height: auto; align-self: start; object-position: center 35%; margin-bottom: 18px; -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); } } /* Startseite mobil wie die Projekte-übersicht: 3:2, unten weich (Alex 07.11.2026: „viel zu hoch“) */
@media (max-width: 1023px) { .qwrap { flex-direction: column; align-items: stretch; } .qstack { flex: none; } .qnav { margin-bottom: 0; } .pi { grid-template-columns: clamp(30px, 4vw, 70px) minmax(0, 1fr); } .pi-m { grid-column: 2; margin-top: 12px; } }
@media (max-width: 760px) {
  .home-hero { padding-top: 104px; }
  .home-hero .lead { font-size: 16px; }
  .home-hero .quick { width: 116px; --bblur: 28px; } .home-hero .quick span { font-size: 11px; }
  .scrollcue { display: none; }
  .lwords { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .lwords .lw[data-k], .lwords .lw-list { grid-column: 1; grid-row: auto; }
  .lw { font-size: 10.6vw; }
  .lw-list { display: none; } .lw-list.on { display: block; margin: 8px 0 22px; }
  .lw-box, .lw-count { display: none; } .lw-list { padding: 0; } .lw-lead { font-size: 20px; margin-bottom: 10px; }
  .qstack { height: 430px; }
  .sitefoot { grid-template-columns: 1fr; } .sitefoot nav { justify-content: flex-start; }
}

/* =================== Kachel-Menü (wie live) =================== */
.nav { padding-right: calc(var(--gut) + 186px); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.mnu-btn { position: relative; flex: none; width: 56px; height: 56px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: background-color .3s, box-shadow .3s; } /* nur die drei Striche, Rot erst beim Drüberfahren (Alex 02.11.) */
/* Hover: die rote Fläche löst sich auf, keine scharfe Kante mehr, nur ein weicher roter Schein bleibt; der weiße Cursor-Rahmen bleibt (Alex 02.11.) */
.mnu-btn::before { content: ""; position: absolute; inset: -22px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, var(--static-maincolor) 0%, rgba(var(--static-maincolor-rgb),.9) 38%, rgba(var(--static-maincolor-rgb),0) 72%); filter: blur(8px); opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
body:not(.mnu-in) .mnu-btn:hover, body:not(.mnu-in) .mnu-btn:focus-visible { background-color: transparent; }
body:not(.mnu-in) .mnu-btn:hover::before, body:not(.mnu-in) .mnu-btn:focus-visible::before { opacity: 1; transform: none; }
.mnu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--gridcolor); box-shadow: 0 0 6px rgba(0,0,0,.35); transition: transform .4s cubic-bezier(.6,0,.2,1), opacity .2s; } /* leichter Schatten: Striche bleiben auch über hellen Bildern sichtbar */
.mnu-btn i:nth-child(1) { top: 19px; } .mnu-btn i:nth-child(2) { top: 27px; transform-origin: 100% 50%; } .mnu-btn i:nth-child(3) { top: 35px; }
.mnu-btn:hover i:nth-child(2) { transform: scaleX(.55); }
.mnu-btn:focus-visible { outline: 2px solid var(--gridcolor); outline-offset: 3px; }
body.mnu-in .mnu-btn { background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--gridcolor-rgb),.6); }
body.mnu-in .mnu-btn i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.mnu-in .mnu-btn i:nth-child(2) { opacity: 0; }
body.mnu-in .mnu-btn i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* Linkleiste und Kapitel-Navigation treten zurück, solange das Menü offen ist */
.nav .links, .nav .mode-btn, .chap, .stbar { transition: opacity .3s; }
body.mnu-in .nav .links, body.mnu-in .nav .mode-btn, body.mnu-in .chap, body.mnu-in .stbar.show, body.mnu-in .stbg.show { opacity: 0; pointer-events: none; }
/* Umschalter Dark Mode / Light Mode: Weiß wegen des Differenz-Modus der Navigation. Im Dark Mode der Mond wie live, im Light Mode die Sonne */
.mode-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--static-white); cursor: pointer; opacity: .82; }
.mode-btn:hover { opacity: 1; }
.mode-btn svg { display: block; }
.mode-btn .mode-sonne, html.lightmode .mode-btn .mode-mond { display: none; }
html.lightmode .mode-btn .mode-sonne { display: block; }
@media (max-width: 760px) { .mode-btn { margin-left: auto; } } /* dort sind die Links ausgeblendet */

/* Vollbild fährt von rechts herein (live: .6s), beim Schließen erst die Kacheln, dann die Fläche */
.bm { position: fixed; inset: 0; z-index: 39; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 14px; padding: 14px; visibility: hidden; transition: visibility 0s linear .5s; }
body.mnu-in .bm { visibility: visible; transition: visibility 0s; }
/* Das Licht wird zum Hintergrund: die Lichtebene legt sich samt deckendem Grund über die Seite, das Kachel-Menü liegt als Glas darauf */
.bubwrap { background-color: transparent; transition: background-color .5s ease, z-index 0s linear .5s; }
body.mnu-in .bubwrap { z-index: 38; background-color: var(--bgcolor); transition: background-color .5s ease, z-index 0s; }
.bm-t { opacity: 0; transform: translateY(28px); transition: opacity .2s, transform .3s; }
body.mnu-in .bm-t { opacity: 1; transform: none; transition: opacity .45s cubic-bezier(.2,.8,.2,1) var(--d, .2s), transform .6s cubic-bezier(.2,.8,.2,1) var(--d, .2s); }
body.mnu-in .bm-r { --d: .2s; } body.mnu-in .bm-news { --d: .32s; } body.mnu-in .bm-addr { --d: .44s; } body.mnu-in .bm-claim { --d: .5s; } body.mnu-in .bm-cb { --d: .58s; }

/* Links: Kacheln wie live (oben Adresse + News, unten Rückruf + Claim) */
.bm-l { min-height: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.bm-l > * { min-height: 0; overflow: hidden; }
.bm-addr { grid-column: span 2; display: flex; align-items: flex-end; padding: clamp(20px, 2.2vw, 40px); font-size: 15px; line-height: 1.5; }
.bm-addr b { font-weight: 700; }
.bm-news { grid-column: span 4; min-height: 0; }
.bm-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(110px, 13vh, 150px) clamp(22px, 2.6vw, 48px) 40px; scrollbar-width: thin; scrollbar-color: rgba(var(--gridcolor-rgb),.6) transparent; }
.bm h2 { margin: 0 0 22px; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; font-size: clamp(24px, 1.9vw, 34px); }
/* Ratgeber statt News: je Beitrag Kategorie, Titel, Unterzeile; ganze Zeile ist der Link */
.bm-ni { display: block; padding: 16px 0 18px; border-top: 1px solid rgba(var(--gridcolor-rgb),.35); color: var(--textcolor); text-decoration: none; }
.bm-k { display: block; margin-bottom: 6px; font: 600 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.bm-ni h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.25; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.bm-ni p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(var(--gridcolor-rgb),.88); }
.bm-ni:hover h3, .bm-ni:focus-visible h3 { transform: translateX(8px); }
.bm-ni:focus-visible { outline: 2px solid var(--gridcolor); outline-offset: 4px; }
.bm-all { display: inline-block; margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(var(--gridcolor-rgb),.35); width: 100%; font: 600 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--textcolor); text-decoration: none; }
.bm-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.bm-all.bm-cw { margin-top: 0; padding-top: 10px; border-top: 0; } /* Code of the Week direkt unter „Alle Ratgeber“ (09.11.2026) */
.bm-cb { grid-column: span 3; display: flex; flex-direction: column; justify-content: safe center; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(var(--gridcolor-rgb),.6) transparent; padding: clamp(22px, 2.6vw, 48px); } /* safe: bei wenig Höhe oben beginnen und scrollen, sonst schneidet die Mitte die Überschrift ab */
.bm-cb > p { margin: -10px 0 22px; font-size: 15px; color: rgba(var(--gridcolor-rgb),.8); }
.bm-form .cf-grid { gap: 14px 16px; }
.bm-form .rb { margin-top: 14px; margin-left: -18px; }
.bm-claim { grid-column: span 3; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 16px; line-height: 1.45; }
.bm-claim svg { width: 26px; height: 26px; fill: var(--static-maincolor); margin-bottom: 6px; }

/* Rechts: die großen Links */
.bm-r { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 130px var(--gut) 90px; }
/* Glas einheitlich wie die übrigen Kacheln (8 %, Unschärfe, feine Linie) */
.bm-addr, .bm-news, .bm-cb, .bm-claim, .bm-r { background-color: rgba(var(--gridcolor-rgb),.08); box-shadow: inset 0 0 0 1px rgba(var(--gridcolor-rgb),.22); }
/* Jede Kachel ein anderes Glas (03.11.: „können wir ggf den einzelnen kacheln unterschiedliche ffekte nach hinten geben?“) */
/* Links: Klarglas, der Lichtknoten bleibt scharf */
.bm-r { -webkit-backdrop-filter: brightness(.82); backdrop-filter: brightness(.82); }
html.lightmode .bm-r { background-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Aktuelles: Rauchglas, ruhig genug für Text */
.bm-news { background-color: rgba(var(--bgcolor-rgb),.3); -webkit-backdrop-filter: blur(34px) brightness(.62); backdrop-filter: blur(34px) brightness(.62); }
html.lightmode .bm-news { background-color: rgba(var(--bgcolor-rgb),.62); -webkit-backdrop-filter: blur(34px); backdrop-filter: blur(34px); }
/* Rückruf: Farbglas, die Lichtfarben satt und weich */
.bm-cb { -webkit-backdrop-filter: blur(24px) saturate(2.6) brightness(.72); backdrop-filter: blur(24px) saturate(2.6) brightness(.72); }
html.lightmode .bm-cb { background-color: rgba(var(--bgcolor-rgb),.45); -webkit-backdrop-filter: blur(24px) saturate(2.6); backdrop-filter: blur(24px) saturate(2.6); }
/* Claim: Negativ, die Farben kehren sich um, die Schrift deshalb mit */
.bm-claim { color: var(--bgcolor); background-color: transparent; -webkit-backdrop-filter: invert(1) hue-rotate(180deg); backdrop-filter: invert(1) hue-rotate(180deg); }
/* Adresse: Riffelglas, senkrechte Streifen aus Klar und Milchig. Die Kachel selbst ohne Filter, sonst sieht der Streifenlayer nichts dahinter */
.bm-addr { position: relative; isolation: isolate; }
.bm-addr::before { content: ''; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); -webkit-mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 14px 26px, #000 28px); mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 14px 26px, #000 28px); }
.bm-links { list-style: none; margin: 0; padding: 0; text-align: right; }
.bm-links li { overflow: hidden; padding: .04em 0; }
.bmc { display: inline-block; transform: translateY(112%) rotate(7deg); opacity: 0; transition: transform .25s ease-in, opacity .2s; }
body.mnu-in .bmc { transform: none; opacity: 1; transition: transform .85s cubic-bezier(.16,1,.3,1) calc(.22s + var(--z, 0s)), opacity .4s calc(.22s + var(--z, 0s)); }
.bm-links:hover a:not(:hover) { opacity: .32; }
.bm-links a { display: inline-block; padding: .06em 0; text-decoration: none; color: var(--textcolor); opacity: .88; font-family: var(--f-ext); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .96; font-size: clamp(34px, 4.5vw, 92px); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.bm-links a:hover, .bm-links a:focus-visible { opacity: 1; transform: translateX(-14px); outline: none; }
/* Ratgeber und CotW (Menüpunkte mit „nur-kachel“) kleiner als die Hauptpunkte (Alex 09.11.2026) */
.bm-links li.bm-klein a { font-size: clamp(20px, 2.1vw, 42px); }
.bm-links li:not(.bm-klein) + li.bm-klein { margin-top: .5em; }
.bm-links a.on { opacity: 1; text-decoration: underline; text-decoration-color: var(--static-maincolor); text-decoration-thickness: .09em; text-underline-offset: .14em; }
.bm-legal { position: absolute; right: var(--gut); bottom: 28px; margin: 0; display: flex; gap: 22px; font: 13px var(--f-mono); }
.bm-legal a { text-decoration: none; opacity: .7; transition: opacity .2s; }
.bm-legal a:hover { opacity: 1; }

@media (max-width: 1200px) {
  .bm-addr, .bm-claim { display: none; }
  .bm-news, .bm-cb { grid-column: 1 / -1; }
}
/* Am Handy nur die Links (wie live) */
@media (max-width: 900px) {
  .bm { grid-template-columns: minmax(0, 1fr); }
  .bm-l { display: none; }
  .bm-r { align-items: center; padding: 150px var(--gut) 90px; }
  .bm-links { text-align: center; }
  .bm-links a { font-size: clamp(26px, 9.6vw, 64px); white-space: nowrap; }
  .bm-links li.bm-klein a { font-size: clamp(18px, 5.4vw, 32px); } /* längstes Wort passt in eine Zeile (04.11.: „Das Menü bricht doof um mpbil“) */
  .bm-links a:hover, .bm-links a:focus-visible { transform: none; }
  .bm-legal { left: var(--gut); justify-content: center; }
}
@media (max-width: 760px) { .nav { padding-right: calc(var(--gut) + 176px); } .nav-cta { gap: 12px; } .mnu-btn { width: 52px; height: 52px; } .mnu-btn i:nth-child(1) { top: 17px; } .mnu-btn i:nth-child(2) { top: 25px; } .mnu-btn i:nth-child(3) { top: 33px; } }
@media (prefers-reduced-motion: reduce) { .bm, .bm-t, .bmc, body.mnu-in .bm, body.mnu-in .bm-t, body.mnu-in .bmc { transition: none; } }

/* Meldung: kleine Glasnachricht unten rechts mit blinkendem Cyan-Punkt (04.11.: „so eine kleine MEssage unten … Glasmoprhp. mit einem cyn fabenen unkt, der Blinkt“). Eckig wie alles, rund ist nur der Punkt */
.toast { position: fixed; right: 26px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 9px; width: max-content; max-width: calc(100vw - 32px); padding: 8px 13px 8px 11px; font: 500 12.5px/1.3 var(--f-body); color: var(--textcolor); background: rgba(var(--bgcolor-rgb),.42); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7); border: 1px solid rgba(var(--gridcolor-rgb),.26); box-shadow: 0 14px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(var(--gridcolor-rgb),.16); opacity: 0; pointer-events: none; transform: translateY(calc(100% + 40px)); transition: transform .55s cubic-bezier(.2,1.25,.4,1), opacity .3s; }
.toast::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2fe0e6; box-shadow: 0 0 7px 1px rgba(47,224,230,.8); animation: toastpunkt 1.2s ease-in-out infinite; }
@keyframes toastpunkt { 50% { opacity: .25; box-shadow: 0 0 3px 0 rgba(47,224,230,.4); } }
html.lightmode .toast { background: rgba(var(--bgcolor-rgb),.55); box-shadow: 0 14px 40px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.5); }
html.lightmode .toast::before { background: #00b9c2; box-shadow: 0 0 10px 2px rgba(0,185,194,.65); }
html.lui-an .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } /* Lui rennt unten, die Nachricht bleibt darüber */
@media (max-width: 760px) { .toast { right: 16px; } }
@media (prefers-reduced-motion: reduce) { .toast::before { animation: none; } }
/* Menü bleibt stehen (Alex 02.11.: „ich möchte, dass das Menü stehen bleibt und nicht kleiner wird, das sieht beim Nachladen falsch aus“):
   keine Verkleinerung beim Scrollen und mit der Statusleiste. Glasband nicht randlos: 14 px Abstand rundum („14 px Padding grob gesagt“). */
.nav.scrolled, body.st-on .nav.scrolled { min-height: 140px; padding-top: 22px; padding-bottom: 22px; }
.nav-cta.scrolled { top: 22px; }
body.st-on .nav-cta.scrolled { transform: none; }
body.st-on .nav-cta.scrolled .rb-s { scale: 1; }
.stbg { left: 14px; right: 14px; top: calc(var(--abh, 0px) + 14px); }

/* ---------- Cookie-Banner (Borlabs) im AK86-Look (Alex 06.11.2026) ----------
   Borlabs setzt seine Farben als Variablen auf :root. Hier werden sie am Banner selbst überschrieben und an die Theme-Variablen gehängt,
   so folgt der Banner Hell- und Dunkelmodus. Eckig wie alles bei AK86. „Alle akzeptieren“ und „Nur essenzielle“ sind bewusst gleich gestaltet
   (gleichwertige Ablehnung ist bei Einwilligungsbannern rechtlich gefordert). */
#BorlabsCookieBox {
  --cb-red: var(--static-maincolor); --cb-red-hover: #9a0f1d; --cb-teal: color-mix(in srgb, var(--static-seccolor) 72%, var(--textcolor));
  --cb-glass: rgba(var(--gridcolor-rgb),.08); --cb-glass-hover: rgba(var(--gridcolor-rgb),.15); --cb-text: rgba(var(--gridcolor-rgb),.78);
  --dialog-font-family: var(--f-body); --dialog-font-size: 14px;
  --dialog-backdrop-background-color: #000; --dialog-backdrop-background-opacity: .72;
  --dialog-background-color: var(--surface); --dialog-text-color: var(--cb-text); --dialog-separator-color: var(--line);
  --dialog-footer-background-color: var(--bgcolor); --dialog-footer-text-color: var(--cb-text);
  --dialog-link-primary-color: var(--cb-teal); --dialog-link-primary-color-hover: var(--textcolor);
  --dialog-link-secondary-color: var(--cb-text); --dialog-link-secondary-color-hover: var(--textcolor);
  --dialog-control-element-color: var(--cb-teal); --dialog-control-element-color-hover: var(--textcolor);
  --dialog-button-accept-all-color: var(--cb-red); --dialog-button-accept-all-color-hover: var(--cb-red-hover); --dialog-button-accept-all-text-color: #fff; --dialog-button-accept-all-text-color-hover: #fff;
  --dialog-button-accept-only-essential-color: var(--cb-red); --dialog-button-accept-only-essential-color-hover: var(--cb-red-hover); --dialog-button-accept-only-essential-text-color: #fff; --dialog-button-accept-only-essential-text-color-hover: #fff;
  --dialog-button-save-consent-color: var(--cb-red); --dialog-button-save-consent-color-hover: var(--cb-red-hover); --dialog-button-save-consent-text-color: #fff; --dialog-button-save-consent-text-color-hover: #fff;
  --dialog-button-preferences-color: var(--cb-glass); --dialog-button-preferences-color-hover: var(--cb-glass-hover); --dialog-button-preferences-text-color: var(--textcolor); --dialog-button-preferences-text-color-hover: var(--textcolor);
  --dialog-button-close-color: var(--cb-glass); --dialog-button-close-color-hover: var(--cb-glass-hover); --dialog-button-close-text-color: var(--textcolor); --dialog-button-close-text-color-hover: var(--textcolor);
  --dialog-button-selection-color: var(--cb-glass); --dialog-button-selection-color-hover: var(--cb-glass-hover); --dialog-button-selection-text-color: var(--textcolor); --dialog-button-selection-text-color-hover: var(--textcolor);
  --dialog-card-background-color: var(--cb-glass); --dialog-card-text-color: var(--cb-text); --dialog-card-separator-color: var(--line);
  --dialog-card-control-element-color: var(--cb-teal); --dialog-card-control-element-color-hover: var(--textcolor);
  --dialog-checkbox-background-color-active: var(--cb-red); --dialog-checkbox-border-color-active: var(--cb-red); --dialog-checkbox-check-mark-color-active: #fff;
  --dialog-checkbox-background-color-inactive: transparent; --dialog-checkbox-border-color-inactive: rgba(var(--gridcolor-rgb),.45);
  --dialog-checkbox-background-color-disabled: rgba(var(--gridcolor-rgb),.18); --dialog-checkbox-border-color-disabled: rgba(var(--gridcolor-rgb),.18); --dialog-checkbox-check-mark-color-disabled: rgba(var(--gridcolor-rgb),.6);
  --dialog-switch-button-background-color-active: var(--cb-red); --dialog-switch-button-background-color-inactive: rgba(var(--gridcolor-rgb),.25); --dialog-switch-button-color-active: #fff; --dialog-switch-button-color-inactive: #fff;
  --dialog-tab-bar-tab-background-color-active: var(--cb-red); --dialog-tab-bar-tab-text-color-active: #fff;
  --dialog-tab-bar-tab-background-color-inactive: transparent; --dialog-tab-bar-tab-text-color-inactive: var(--cb-text);
  --dialog-tab-bar-tab-border-color-bottom-active: var(--cb-red); --dialog-tab-bar-tab-border-color-bottom-inactive: var(--line);
  --dialog-list-item-background-color-even: transparent; --dialog-list-item-background-color-odd: transparent;
  --dialog-list-item-text-color-even: var(--cb-text); --dialog-list-item-text-color-odd: var(--cb-text); --dialog-list-item-separator-color: var(--line);
  --dialog-list-item-control-element-color: var(--textcolor); --dialog-list-item-control-element-color-hover: var(--cb-teal); --dialog-list-item-control-element-separator-color: var(--line);
  --dialog-table-row-background-color-even: transparent; --dialog-table-row-background-color-odd: var(--cb-glass); --dialog-table-row-border-color: var(--line);
  --dialog-table-row-text-color-even: var(--cb-text); --dialog-table-row-text-color-odd: var(--cb-text);
  --dialog-search-bar-input-background-color: transparent; --dialog-search-bar-input-text-color: var(--textcolor);
  --dialog-search-bar-input-border-color-default: var(--line); --dialog-search-bar-input-border-color-focus: var(--cb-red);
  /* AK86 ist eckig */
  --dialog-border-radius-top-left: 0px; --dialog-border-radius-top-right: 0px; --dialog-border-radius-bottom-left: 0px; --dialog-border-radius-bottom-right: 0px;
  --dialog-button-border-radius-top-left: 0px; --dialog-button-border-radius-top-right: 0px; --dialog-button-border-radius-bottom-left: 0px; --dialog-button-border-radius-bottom-right: 0px;
  --dialog-card-border-radius-top-left: 0px; --dialog-card-border-radius-top-right: 0px; --dialog-card-border-radius-bottom-left: 0px; --dialog-card-border-radius-bottom-right: 0px;
  --dialog-checkbox-border-radius-top-left: 0px; --dialog-checkbox-border-radius-top-right: 0px; --dialog-checkbox-border-radius-bottom-left: 0px; --dialog-checkbox-border-radius-bottom-right: 0px;
  --dialog-list-border-radius-top-left: 0px; --dialog-list-border-radius-top-right: 0px; --dialog-list-border-radius-bottom-left: 0px; --dialog-list-border-radius-bottom-right: 0px;
  --dialog-search-bar-input-border-radius-top-left: 0px; --dialog-search-bar-input-border-radius-top-right: 0px; --dialog-search-bar-input-border-radius-bottom-left: 0px; --dialog-search-bar-input-border-radius-bottom-right: 0px;
  --dialog-tab-bar-tab-border-radius-top-left-active: 0px; --dialog-tab-bar-tab-border-radius-top-right-active: 0px; --dialog-tab-bar-tab-border-radius-top-left-inactive: 0px; --dialog-tab-bar-tab-border-radius-top-right-inactive: 0px;
}
html #BorlabsCookieBox .brlbs-cmpnt-dialog { border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
html #BorlabsCookieBox .brlbs-cmpnt-dialog-entrance-headline, html #BorlabsCookieBox .brlbs-cmpnt-dialog-box-header [class*="headline"] { font-family: var(--f-ext); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--textcolor); }
html #BorlabsCookieBox .brlbs-cmpnt-btn { font-family: var(--f-body); font-weight: 600; border: 1px solid transparent; }
html #BorlabsCookieBox .brlbs-cmpnt-btn-preferences, html #BorlabsCookieBox .brlbs-cmpnt-btn[class*="select"] { border-color: var(--line); }
html #BorlabsCookieBox .brlbs-cmpnt-dialog-footer, html #BorlabsCookieBox .brlbs-cmpnt-dialog-footer a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
html.darkmode #BorlabsCookieBox img.brlbs-dialog-logo, html.darkmode #BorlabsCookieBox .brlbs-dialog-logo img { content: url("../img/ak86-logo-neg.svg"); } /* auf Dunkel das Negativ-Logo des Themes */
html #BorlabsCookieBox [class*="headline"] { font-family: var(--f-ext); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--textcolor); }
html #BorlabsCookieBox, html #BorlabsCookieBox * { scrollbar-color: rgba(var(--gridcolor-rgb),.35) transparent; scrollbar-width: thin; }
