/* =============================================================
   XXL Spiele Mieten — Design-System CSS
   Paper/Clay-System · WCAG AA · lokal, kein CDN
   ============================================================= */

/* --- @font-face lokale woff2 (Fallback bleibt, falls Dateien fehlen) --- */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  --paper:    #f7f4ee;
  --paper-2:  #efe9df;
  --card:     #fffefb;
  --ink:      #201c16;
  --ink-2:    #4f4840;
  /* --ink-3 abgedunkelt auf >= 4.5:1 gegen --paper (#f7f4ee):
     #6f665b hat APCA ~4.3:1, #5c544a >= 4.6:1 → verwende #5c544a */
  --ink-3:    #5c544a;
  --line:     #e2dacd;
  --line-2:   #ece5d8;
  --clay:     #b5512f;
  --clay-deep:#8f3f24;
  --forest:   #2f5141;
  /* P2-B #2: totes --gold-Token entfernt (war #c98a2b, 2.67:1, nirgends genutzt).
     P2-B #3: --star als zentrale Stern-Quelle; #825a0a = 5.60:1 auf --paper (AA).
     Dunkler Hintergrund (reviews): var(--star-dark) = #f0b860 (9.47:1 auf --ink). */
  --star:      #825a0a;
  --star-dark: #f0b860;
  --wa:       #0f7a38; /* WCAG-AA: 4.57:1 auf #fff (Icon/Pfeil/Buttons). War #1fae54 = 2.90:1 */
  --r:        10px;
  --r-lg:     22px;
  /* System-Fallback-Stack (Geist/Newsreader greifen wenn woff2 vorhanden) */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  ui-monospace, "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
}

/* Akzent-Varianten (Admin-wählbar) */
[data-accent="forest"] { --clay: #2f5141; --clay-deep: #234436; }
/* P2-B #1: --clay auf #8c6113 angehoben (4.99:1 auf --paper, AA-konform);
   --clay-deep bleibt #6e4a0e (7.22:1). Buttons mit #fff: 5.48:1 (AA). */
[data-accent="gold"]   { --clay: #8c6113; --clay-deep: #6e4a0e; }
[data-accent="ink"]    { --clay: #201c16; --clay-deep: #000; }

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  /* Feine Papier-Korn-Textur (inline-SVG, kein externes Bild) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.035'/></svg>");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

/* Alle Inputs >= 16px (kein iOS-Zoom) */
input, select, textarea {
  font-size: 16px;
}

/* :focus-visible global — kein outline bei Maus-Klick */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- Layout --- */
.wrap        { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 880px;  margin: 0 auto; padding: 0 28px; }
@media (max-width: 680px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
}

/* --- Typography Helpers --- */
.display  { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.eyebrow  { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); }
.lede     { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); line-height: 1.5; }
.serif    { font-family: var(--serif); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo     { height: 48px; width: auto; display: block; }
.brand-fallback {
  display: none;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.foot .brand-fallback { color: #fff; }
.foot-logo { height: 56px; filter: brightness(0) invert(1); }

/* Monogramm-Box (Fallback ohne Logo-Bild) */
.brand .mk {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}
.brand b     { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: -1px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14.5px;
  transition: color .15s;
  /* Touch-Target: mindestens 44px Klickfläche */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { color: var(--clay); }
.nav-links a[aria-current="page"] { color: var(--clay); font-weight: 600; }
/* Sichtbarer Aktiv-Zustand am Anlässe-Toggle (das aria-current der Kinder liegt im
   eingeklappten Submenü und ist sonst unsichtbar; Konsistenz-Audit 2026-07-29). */
.nav-subtoggle-current .nav-toplink { color: var(--clay); font-weight: 600; }

/* Nav-Dropdown „Anlässe" (Desktop: Hover + Tastatur-Fokus + Touch-Toggle) */
/* .nav-subtoggle enthält Label-Text (.nav-toplink) + Caret-Icon in einem fokussierbaren Button */
.nav-toplink { font-size: 14.5px; color: inherit; }
.nav-item.has-sub { position: relative; display: inline-flex; align-items: center; }
.nav-subtoggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ink-2);
  font-size: 14.5px; font-weight: inherit; font-family: inherit;
}
.nav-subtoggle:hover { color: var(--clay); }
.nav-subtoggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; border-radius: 6px; }
.nav-caret { transition: transform .18s ease; }
.nav-item.has-sub:hover .nav-caret,
.nav-item.has-sub:focus-within .nav-caret,
.nav-item.has-sub.sub-open .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: 0;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 190px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 12px 30px rgba(32,28,22,0.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub,
.nav-item.has-sub.sub-open .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border-radius: var(--r); font-size: 14.5px; color: var(--ink-2); }
.nav-sub a:hover { background: var(--paper-2); color: var(--clay); }
@media (prefers-reduced-motion: reduce) { .nav-sub, .nav-caret { transition: none; } }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}
.nav-cta:hover { background: var(--clay); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger-Button (nur unter 860px) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.nav-burger:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breakpoint 1000px statt 860px: zwischen 861 und ~990px kollidierte die
   Desktop-Nav mit dem Markennamen (Review-Gate 2026-07-04, Screenshots),
   seit dem laengeren Label "Spiele & Preise" deutlich frueher als vorher. */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-2);
    padding: 12px 28px 18px;
    gap: 2px;
    z-index: 49;
    box-shadow: 0 8px 24px rgba(32,28,22,0.10);
  }
  .nav-links.open a {
    min-height: 44px;
    font-size: 15.5px;
  }
  /* Anlässe-Dropdown im Burger: eingerückte, immer sichtbare Inline-Liste */
  .nav-links.open .nav-item.has-sub { display: flex; flex-direction: column; align-items: stretch; }
  .nav-links.open .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; min-width: 0;
    padding: 0 0 0 14px; margin-left: 2px;
    border-left: 2px solid var(--line);
  }
  /* Label bleibt sichtbar; nur das Caret-Icon wird ausgeblendet (Sub-Links sind fix sichtbar) */
  .nav-links.open .nav-subtoggle { pointer-events: none; }
  .nav-links.open .nav-subtoggle .nav-caret { display: none; }
  /* Owner-Feedback 21.07.: Button wird im Burger auf volle Breite gestreckt,
     justify-content:center (Desktop-Regel) zentrierte das "Anlässe"-Label →
     linksbündig wie alle anderen Menüpunkte. */
  .nav-links.open .nav-subtoggle { min-height: 44px; font-size: 15.5px; justify-content: flex-start; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; } /* "Anfragen" am Handy raus -> überlappte den Markennamen; Anfrage gibt's in der Float-Bar */
  .nav { position: sticky; } /* ensures dropdown is relative to nav */
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 100px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .14s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled,
.btn[aria-busy="true"] {
  opacity: .6;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-clay  { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-deep); }
.btn-ink   { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-out   { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-out:hover { border-color: var(--ink); }
.btn-wa    { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.9); }

/* Arrow Link */
.alink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  min-height: 44px;
}
.alink svg { transition: transform .2s; }
.alink:hover svg { transform: translateX(3px); }

/* --- Hero --- */
.hero { position: relative; padding: 30px 0 0; }
.hero-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  /* Grid-Overlay statt absolutem Text-Block: Bild und Text teilen sich EINE Zelle,
     der Rahmen kann bei langem Text MITWACHSEN. Das 16/10.5-Verhältnis sitzt dafür
     am BILD, nicht am Rahmen: ein Rahmen mit aspect-ratio + overflow:hidden hat
     KEINE inhaltsbasierte Mindesthöhe und schnitt langen Text unten ab (Tablet
     mit Alt-Texten; empirisch verifiziert). Wächst die Zelle, streckt sich das
     Bild per stretch + object-fit:cover mit. */
  display: grid;
}
.hero-frame video,
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame picture, .hero-frame video { grid-area: 1 / 1; aspect-ratio: 16/10.5; }
.hero-frame picture { display: block; width: 100%; height: 100%; }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Mittelzone kräftiger (0.72): der Text steht seit dem Umbau vertikal mittig,
     dort muss der Scrim allein die Lesbarkeit tragen (vorher 0.64). */
  background: linear-gradient(180deg, rgba(20,16,12,0.46) 0%, rgba(20,16,12,0.72) 45%, rgba(20,16,12,0.95) 100%);
}
.hero-copy {
  /* Desktop/Tablet: Text vertikal MITTIG im Rahmen verteilt (Owner 2026-07-14,
     vorher klebte der Block bei langen Texten an der Oberkante). Abdunkelung
     kommt allein vom Voll-Scrim .hero-frame::after; der alte bodennahe
     Zusatz-Verlauf entfaellt hier (Kanten-Lehre bleibt beachtet: ein Verlauf,
     keine Stufen). */
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* flex-start: sonst streckt das Flex-Layout Block-Kinder auf volle Breite
     (die border-bottom-Unterstreichung des Scroll-Links lief quer durchs Bild). */
  align-items: flex-start;
  padding: clamp(32px, 5vh, 56px) clamp(28px, 5vw, 64px);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95), 0 2px 12px rgba(0,0,0,0.9), 0 8px 40px rgba(0,0,0,0.8);
}
.hero-copy .eyebrow { color: #f2c9a3; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: #f3d4b4; }
.hero-sub {
  margin-top: clamp(18px, 2.6vh, 26px);
  font-size: clamp(16px, 1.7vw, 20px);
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 14px; margin-top: clamp(26px, 3.6vh, 38px); flex-wrap: wrap; }
/* Platzhalter wenn kein Bild/Video (SVG-Pattern) */
.hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 11px, #e8e1d4 11px, #e8e1d4 22px);
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: .04em;
}
/* Hero-Tablet 681–900px: gleiches Verhältnis wie Desktop (16/10.5), damit der gewählte
   Desktop-Zuschnitt auch hier EXAKT erscheint (WYSIWYG, kein Zwischen-Beschnitt).
   Kein max-height: das wuerde das Verhaeltnis bei breiten Tablets wieder verfaelschen. */
@media (min-width: 681px) and (max-width: 900px) {
  .hero-frame picture, .hero-frame video { aspect-ratio: 16/10.5; }
}
@media (max-width: 680px) {
  /* Handy: GESTAPELT statt ueberlagert (Owner 2026-07-14). Bild oben im
     Querformat 4:3 voll sichtbar (kein Hochkant-Beschnitt mehr, Registry-Ratio
     hero_image_mobile = 4/3), der Text steht luftig DARUNTER in einer eigenen
     dunklen Zone. Der weiche Verlauf am Zonen-Anfang laesst das Foto in die
     Textzone auslaufen (eine Kante waere hart, eine Stufe die alte OLED-Lehre). */
  .hero-frame { display: block; aspect-ratio: auto; background: var(--ink); }
  .hero-frame picture, .hero-frame video { height: auto; aspect-ratio: 4/3; }
  .hero-frame img, .hero-frame video { aspect-ratio: 4/3; height: auto; }
  .hero-frame::after { display: none; }
  .hero-copy {
    /* relative (nicht static): der Auslauf-Verlauf muss ÜBER dem Bild malen
       (Paint-Order: Hintergründe nicht-positionierter Blöcke liegen UNTER
       Replaced-Content) und über dem absoluten .hero-placeholder liegen. */
    position: relative;
    display: block;
    margin-top: -56px;
    padding: 64px 22px 30px;
    /* Voll deckend exakt an der Bild-Unterkante (56px = Overlap), sonst
       schimmert ein Reststreifen Foto gegen den Tinte-Grund durch. */
    background: linear-gradient(180deg, rgba(20,16,12,0) 0%, rgba(20,16,12,0.85) 36px, var(--ink) 56px);
  }
  /* Ohne Medium (Platzhalter bzw. Video bei reduced-motion versteckt) gibt es
     nichts zu ueberlappen: Textzone buendig starten, sonst schneidet das
     overflow:hidden die oberen 56px des Textes ab. */
  .hero-frame:has(.hero-placeholder) .hero-copy { margin-top: 0; padding-top: 30px; }
  .hero h1 { font-size: clamp(28px, 7.4vw, 38px); line-height: 1.04; margin-top: 12px; }
  .hero-sub { margin-top: 14px; }
  .hero-cta { margin-top: 18px; }
}

/* --- Spiel-Teaser (digitaler Zwilling) --- */
.spiel-teaser { padding: clamp(36px, 6vw, 72px) 0; }
.spiel-teaser-card {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.spiel-teaser-media { aspect-ratio: 4/3; align-self: center; }
.spiel-teaser-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spiel-teaser-copy { padding: clamp(26px, 4vw, 48px); align-self: center; }
.spiel-teaser-copy h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 0;
}
.spiel-teaser-copy p { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 48ch; }
.spiel-teaser-cta { margin-top: 22px; }
@media (max-width: 720px) {
  .spiel-teaser-card { grid-template-columns: 1fr; }
  .spiel-teaser-media { min-height: 0; aspect-ratio: 4/3; }
  .spiel-teaser-copy { padding: 22px 22px 26px; }
}

/* --- Trust Ribbon --- */
.ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  /* Seitliches Padding, damit die Items auf dem Handy nicht am Rand kleben */
  padding: 26px clamp(16px, 5vw, 40px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.ribbon .it {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}
.ribbon .it svg  { color: var(--clay); flex-shrink: 0; }
/* P2-B #3: Stern-Farbe via --star-Token (5.60:1 auf --paper, AA) */
.ribbon .star    { color: var(--star); letter-spacing: 1px; }

/* --- Section Scaffolding --- */
section { padding: 92px 0; }
@media (max-width: 680px) { section { padding: 60px 0; } }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.sec-head h2 em  { font-style: normal; color: inherit; }
#anlass-heading { text-wrap: pretty; }
.sec-head p { margin-top: 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Featured Games (editorial, alternating) --- */
.feat { display: flex; flex-direction: column; gap: 28px; }
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  /* Einheitliche Mindesthöhe → alle drei Top-3-Karten gleich hoch. Bewusst flacher gehalten,
     damit über/unter dem 4/3-Bild weniger Weißraum entsteht; kürzere Karten zentrieren ihren
     Text vertikal. Wert ist als Startpunkt gedacht und kann beim Augen-Check feinjustiert werden. */
  min-height: clamp(360px, 30vw, 440px);
  align-items: stretch;
}
.feat-row:nth-child(even) .feat-media { order: 2; }
.feat-media {
  position: relative;
  /* WYSIWYG: festes 4/3 = Admin-Crop-Verhältnis, damit der gewählte Ausschnitt exakt so
     erscheint (vorher an die Textspaltenhöhe gekoppelt -> cover schnitt erneut nach). */
  aspect-ratio: 4 / 3;
  height: auto;
  align-self: center;
  min-height: 0;
  background: var(--paper-2);
  overflow: hidden;
}
.feat-media > video,
.feat-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Platzhalter-Muster wenn kein Medienbild */
.feat-media .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 11px, #e8e1d4 11px, #e8e1d4 22px);
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .04em;
}
.feat-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.feat-body .num  { font-family: var(--mono); font-style: normal; font-size: 13px; letter-spacing: .03em; color: var(--forest); }
.feat-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 8px 0 0;
}
.feat-body p       { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.feat-body .feat-versions { margin-top: 4px; font-size: 13px; color: var(--ink-3); font-style: italic; }
.feat-body .karten-zitat { margin-top: 14px; }
.feat-body .karten-zitat p { font-size: 14px; line-height: 1.45; }
.feat-meta         { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.feat-meta span    { font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.feat-body .cta    { margin-top: 26px; }
/* Doppelbild fuer Heisser Draht (beide Versionen).
   Jedes Bild bekommt seine breite 8/3-Form DIREKT (aspect-ratio am <img>), nicht ueber die
   Hoehe der Eltern-Box. Das ist robust ueber Browser hinweg: frueher kam die Streifen-Hoehe
   aus dem 4/3-Container via absolute+grid; in manchen Browsern/Cache-Staenden wurde der
   Container 2/3 statt 4/3, die Streifen damit 4/3 und das breite Bild seitlich zu "OV"
   beschnitten. Mit aspect-ratio am Bild kann das nicht mehr passieren. */
.feat-media--dual { aspect-ratio: auto; height: auto; }
.feat-dual {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.feat-dual img {
  width: 100%;
  aspect-ratio: 8 / 3;   /* breiter Querstreifen, exakt das Admin-Crop-Format */
  height: auto;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .feat-row { grid-template-columns: 1fr; min-height: 0; }
  .feat-row:nth-child(even) .feat-media { order: 0; }
  /* zurück zum festen Querformat, da gestapelt (kein Body-Nachbar zum Strecken) */
  .feat-media { aspect-ratio: 4 / 3; height: auto; }
  .feat-body  { padding: 32px 26px; }
}

/* --- Anlass-Cards (Scribble-spezifisch) --- */
.anlass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.acard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.acard .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--clay);
  flex-shrink: 0;
}
/* Alle drei Anlass-Icons gleich gross — Herz, Aktentasche, Stern */
.acard .ic svg {
  width: 18px;
  height: 18px;
}
.acard h3,
.acard h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  margin: 14px 0 0;
}
.acard p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 8px 0 0;
}
.acard .bundle {
  margin-top: auto; /* Typisch-Block + CTA unten buendig ueber alle drei Karten */
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
/* Karten ohne Typisch-Block: CTA selbst an den Kartenboden ankern. */
.acard:not(:has(.bundle)) .go { margin-top: auto; }
.acard .go {
  margin-top: 0;
  padding-top: 14px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.acard .go svg { transition: transform .2s; }
.acard .go:hover svg { transform: translateX(3px); }
/* P2-D #7: Tablet-Zwischenstufe anlass-grid: 3→2 bei 760–900px, 2→1 unter 520px */
@media (max-width: 900px) {
  .anlass-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .anlass-grid { grid-template-columns: 1fr; }
}

/* --- Teaser Grid (4er-Raster) --- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .teaser-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.tcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .22s, box-shadow .22s;
  display: block;
}
.tcard:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40,28,16,0.10); }
.tcard .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  /* Ruhige Paper-2-Fläche statt Karo: kein Baustellen-Eindruck */
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tcard .ph img,
.tcard .ph video   { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tcard:hover .ph img { transform: scale(1.05); }
.tcard .cap        { padding: 14px 16px 18px; }
.tcard .cap .k     { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.tcard .cap .t     { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; margin-top: 3px; }

/* --- About --- */
/* Kopf (Eyebrow + H2) ist ein eigener Grid-Bereich VOR den Bildern im Markup:
   mobil stapelt es Überschrift -> Bilder -> Text (Owner 2026-07-14). Desktop
   stellen die Areas die bisherige Optik her (Kopf rechts oben neben den
   Polaroids); row-gap 0, damit Kopf und Text wie vorher direkt aufeinander
   folgen (Abstand kommt aus den h2/p-Margins). */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas:
    "portrait head"
    "portrait body";
  column-gap: 56px;
  row-gap: 0;
  align-items: center;
}
.about-head     { grid-area: head; align-self: end; }
.about-body     { grid-area: body; align-self: start; }
.about-portrait { grid-area: portrait; align-self: center; }
@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "portrait" "body";
    row-gap: 28px;
  }
  /* Der Text folgt den Bildern; sein Innenabstand kommt aus den p-Margins. */
  .about-body { margin-top: -10px; }
}

/* Polaroid-Layout: zwei Karten nebeneinander */
.about-portrait {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  background: none;
  border-radius: 0;
  overflow: visible;
}

/* Einzelne Polaroid-Karte */
.about-polaroid {
  flex: 1;
  background: #fff;
  padding: 10px 10px 32px;
  box-shadow: 0 4px 18px rgba(32,24,12,0.14), 0 1px 4px rgba(32,24,12,0.08);
  border-radius: 2px;
}
/* Leichte statische Rotation + Hover-Effekt */
.about-polaroid { transition: transform .2s; }
.about-polaroid:first-child  { transform: rotate(-2deg); }
.about-polaroid:last-child   { transform: rotate(1.5deg); }
.about-polaroid:first-child:hover { transform: rotate(-1deg) translateY(-4px); }
.about-polaroid:last-child:hover  { transform: rotate(0.5deg) translateY(-4px); }

/* Bild-Bereich: feste Default-Verhaeltnisse 4:5 (Portrait) und 4:3 (Werkstatt).
   --polaroid-ratio wird vom Template fuer admin-gepflegte Bilder gesetzt: die About-Bilder
   nutzen ein freies Ziel-Format, der Rahmen uebernimmt das beim Speichern persistierte
   (ggf. per 90°-Drehung gewechselte) Hoch-/Querformat. Fuer die ausgelieferten Default-Bilder
   bleiben die festen Werte unten erhalten. */
.about-polaroid-img {
  overflow: hidden;
  border-radius: 1px;
}
.about-polaroid:first-child  .about-polaroid-img { aspect-ratio: var(--polaroid-ratio, 4 / 5); }
.about-polaroid:last-child   .about-polaroid-img { aspect-ratio: var(--polaroid-ratio, 4 / 3); }
.about-polaroid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Polaroid-Bildunterschrift */
.about-polaroid-caption {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.35;
}

/* reduced-motion: Rotation + Hover-Transition deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .about-polaroid { transition: none; }
  .about-polaroid:first-child,
  .about-polaroid:last-child { transform: none; }
  .about-polaroid:first-child:hover,
  .about-polaroid:last-child:hover  { transform: none; }
}

@media (max-width: 820px) {
  .about-portrait {
    flex-direction: row;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .about-portrait {
    flex-direction: column;
    align-items: center;
  }
  .about-polaroid { max-width: 260px; }
}

/* Compat: .about-werkstatt-img wird nicht mehr benötigt */
.about-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 0;
}
.about-head h2 em { font-style: italic; color: var(--clay); }
.about-body p     { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; }
.about-sign       { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 23px; }
.about-sign small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* --- Mid-CTA (Scribble-spezifisch) --- */
.midcta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}
.midcta > div:first-child { flex: 1 1 30ch; }
.midcta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  margin: 0;
  max-width: 28ch;
  line-height: 1.15;
}
.midcta .eyebrow { color: #e6a86f; }
.midcta .cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 0 0 auto; }
.midcta .cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
/* WhatsApp-Button + zugehöriger Meta-Hinweis als eigene Spalte, damit der Hinweis
   klar dem WhatsApp-Button zugeordnet ist (auch per aria-describedby). */
.midcta .wa-col { display: flex; flex-direction: column; gap: 6px; }
.midcta .cta-group .wa-dsgvo-hint { margin: 0; font-size: 12px; color: rgba(247,244,238,0.66); max-width: 38ch; }
.midcta .cta-group .wa-dsgvo-hint a { color: #e6a86f; text-decoration: underline; }
@media (max-width: 700px) {
  .midcta .cta-group, .midcta .cta-buttons { width: 100%; }
  .midcta .cta-buttons > .btn, .midcta .wa-col { flex: 1 1 auto; }
  .midcta .cta-buttons .btn { justify-content: center; }
  .midcta .cta-group .wa-dsgvo-hint { max-width: none; }
}

/* --- Steps / Ablauf --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* P2-D #7: Tablet-Zwischenstufe steps: 3→2 bei 760–900px, 2→1 unter 520px */
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
}
.step .n  { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--clay); line-height: 1; }
.step h3,
.step h4  { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -0.01em; margin: 16px 0 0; }
.step p   { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* --- Reviews (dunkler Hintergrund) --- */
.reviews { background: var(--ink); color: var(--paper); }
.reviews .eyebrow       { color: #8fb29e; }
.reviews .sec-head h2   { color: var(--paper); }

.rev-top {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.rev-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 12px 20px;
  border-radius: 100px;
}
.rev-badge .score  { font-family: var(--serif); font-size: 30px; line-height: 1; }
/* P2-B #3: --star-dark-Token (9.47:1 auf --ink) */
.rev-badge .star   { color: var(--star-dark); letter-spacing: 2px; font-size: 15px; }
.rev-badge .cnt    { font-size: 13px; color: rgba(255,255,255,0.65); }
.rev-hint {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}

/* --- Bewertungs-Karussell ---
   CSS-first: Track ist ein horizontaler Scroll-Container mit scroll-snap.
   Wischen kommt durch natives Overflow-Scrolling, die Pfeile koppelt das JS
   an scrollLeft (reviews-carousel.js). */
.rev-carousel { position: relative; }
.rev-grid {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rev-grid::-webkit-scrollbar { display: none; }
.rev {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 28px;
}
.rev-quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
/* ~2 am Tablet, ~3 am Desktop. Am Handy bleibt die Karte knapp unter voller
   Breite, damit die naechste Karte "peekt" und das Wischen erkennbar ist. */
@media (max-width: 820px) { .rev { flex-basis: 88%; } }
@media (min-width: 821px) and (max-width: 1080px) { .rev { flex-basis: calc((100% - 16px) / 2); } }
/* Pfeile + Status liegen UNTER dem Track in einer eigenen Zeile, damit sie
   keinen Kartentext mehr verdecken. */
.rev-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.rev-nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(20,16,12,0.85);
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity .18s, background .18s;
}
.rev-nav:hover { background: rgba(40,30,20,0.95); }
.rev-nav:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.rev-nav[disabled] { opacity: .35; cursor: default; }
.rev-status {
  margin: 0;
  min-width: 10ch;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
/* Reduced motion: kein Smooth-Scroll-Zwang (JS schaltet zusaetzlich um). */
@media (prefers-reduced-motion: reduce) {
  .rev-nav { transition: none; }
}
/* P2-B #3: --star-dark-Token (dunkler Hintergrund) */
.rev .star       { color: var(--star-dark); letter-spacing: 1.5px; font-size: 13px; }
.rev-quote .rev-text { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.92); }
.rev .who        { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.rev .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.rev .nm     { font-size: 14px; font-weight: 600; }
.rev .mt     { font-size: 12px; color: rgba(255,255,255,0.55); }
.rev .gicon  { margin-left: auto; opacity: .6; font-size: 13px; font-weight: 700; font-family: var(--sans); color: rgba(255,255,255,0.65); }

/* --- FAQ --- */
.faq               { border-top: 1px solid var(--line); }
.faq .item         { border-bottom: 1px solid var(--line); }
.faq .q {
  /* Button-Reset: volle Zeile statt Standard-Button-Chrome */
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  color: inherit;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px 2px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  /* Touch Target */
  min-height: 44px;
}
.faq .q span:first-child { flex: 1; }
.faq .q .pl  { font-size: 24px; color: var(--clay); transition: transform .28s; line-height: 1; }
.faq .item.open .q .pl { transform: rotate(45deg); }
.faq .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq .item.open .a { max-height: 480px; }
.faq .a-in {
  padding: 0 2px 26px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 70ch;
}

/* --- Contact --- */
.contact { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
/* 900px statt 860px: toten Winkel 600-860px bei gleichzeitig aktivem gp-grid eliminiert */
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 12px 0 0;
}

.contact-ways { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }

.way {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  min-height: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.way:hover { border-color: var(--ink); transform: translateY(-1px); }
.way .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--clay);
  flex-shrink: 0;
}
.way.wa .ic { background: color-mix(in oklab, var(--wa) 16%, white); color: var(--wa); }
.way .tt  { font-weight: 600; font-size: 15px; }
.way .dd  { font-size: 13px; color: var(--ink-3); margin-top: 1px; }

/* Kontaktformular */
.cform {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cform .full { grid-column: span 2; }

.cform label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}

.cform input,
.cform select,
.cform textarea {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 16px; /* >= 16px: verhindert iOS-Zoom */
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  min-height: 44px; /* Touch-Target */
}
.cform input:focus-visible,
.cform select:focus-visible,
.cform textarea:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-color: var(--clay);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--clay) 25%, transparent);
}
.cform textarea { min-height: 80px; resize: vertical; }
/* Ungültige Pflichtfelder sichtbar markieren (Client-Validierung setzt aria-invalid) */
.cform [aria-invalid="true"] { border-color: #d93025; box-shadow: 0 0 0 2px color-mix(in oklab, #d93025 20%, transparent); }

/* Datums-Paar: Label-Höhen angleichen, damit beide Eingabefelder bündig stehen (Desktop 2-spaltig) */
/* Datums-Paar: Eingabefelder unten-bündig, egal wie hoch die Labels sind */
.cform label.fld-date { justify-content: flex-end; }
/* Mobil (1-spaltig): keine Bodenausrichtung nötig, Kontaktweg-Optionen sauber 2-spaltig */
@media (max-width: 600px) { .cform label.fld-date { justify-content: flex-start; } }
@media (max-width: 480px) {
  .cw-opts { gap: 8px; }
  .cform label.cw-opt { flex: 1 1 calc(50% - 4px); min-width: 0; }
}
/* P2-D #3: Kontaktweg-Optionen einspaltig ≤360px — verhindert Quetsch-Layout */
@media (max-width: 360px) {
  .cw-opts { gap: 6px; }
  .cform label.cw-opt { flex: 1 1 100%; }
}
/* P2-D #3: Mid-Tablet — Kontaktweg-Optionen an Containerbreite koppeln statt hart 2-spaltig */
@media (min-width: 481px) and (max-width: 800px) {
  .cform label.cw-opt { flex: 1 1 calc(50% - 6px); }
}

/* Kontaktweg-Gruppe (Pflicht: mind. einer) */
.cform fieldset.kontaktweg { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cform fieldset.kontaktweg legend { padding: 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.cw-opts { display: flex; gap: 12px; flex-wrap: wrap; }
.cform label.cw-opt {
  flex: 1 1 180px; flex-direction: row; align-items: center; gap: 11px;
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; min-height: 48px; cursor: pointer; background: var(--paper);
}
.cform label.cw-opt input[type="checkbox"] { min-height: 0; width: 21px; height: 21px; flex: 0 0 auto; accent-color: var(--clay); cursor: pointer; }
.cform label.cw-opt small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.cform label.cw-opt:focus-within { outline: 2px solid var(--clay); outline-offset: 2px; }
.cform label.cw-opt:has(input:checked) { border-color: var(--clay); box-shadow: inset 0 0 0 1px var(--clay); }

/* Erfolgs-/Fehlermeldung (ARIA-Live-Region) */
.form-status {
  grid-column: span 2;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 500;
}
.form-status.ok {
  background: color-mix(in oklab, var(--wa) 14%, white);
  border: 1px solid var(--wa);
  color: #137a3b;
}
.form-status.err {
  background: color-mix(in oklab, #d93025 14%, white);
  border: 1px solid #d93025;
  color: #8b1a13;
}
.wa-fallback-btn {
  display: inline-block;
  margin-top: .6rem;
  background: var(--wa); /* 4.57:1 mit #fff (WCAG AA) */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: .7rem 1.1rem;
  border-radius: 10px;
  min-height: 44px;
  line-height: 1.6;
}
.wa-fallback-btn:hover { background: #0c6630; }
.wa-fallback-btn:focus-visible { outline: 3px solid #128C7E; outline-offset: 2px; }
.form-status.loading {
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-style: italic;
}

.cform .sub {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cform .sub .nt { font-size: 12px; color: var(--ink-3); }

/* --- Formular-Hinweise (P1-6: neue Klassen brauchen eigene Regeln) --- */
/* .cw-hint: Validierungshinweis „mind. einen Weg wählen" */
.cw-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 4px 0 0;
}
/* .fld-kw-hint: Kontext-Hilfe neben Feldlabels (klein, gedämpft) */
.fld-kw-hint {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: normal;
}
/* .datum-ort-hint: Validierungshinweis Datum/Ort-Pflichtfeld */
.datum-ort-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 4px 0 0;
}
/* Standardmäßig sichtbar — JS blendet per aria-hidden ein/aus */

/* --- Bild-Picker (nach Kategorie) — Scribble-spezifisch --- */
.gamepicks { grid-column: span 2; }
.gamepicks .gl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.gp-sec { margin-top: 0; }
.gp-hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin: 2px 0 10px; }
.gp-hint a { color: var(--clay); }
.gp-sec ~ .gp-sec { margin-top: 16px; }
/* .gp-cat: Kategorie-Überschrift im Picker — exakt wie Scribble (war: .gt) */
.gp-sec .gp-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.gp-sec .gp-cat { border-top: none; padding-top: 0; }
.gp-sec ~ .gp-sec .gp-cat { border-top: 1px dashed var(--line); padding-top: 12px; }

.gp-grid {
  display: grid;
  /* auto-fill: Kacheln nie schmaler als 120px — toten Winkel 600-860px eliminiert */
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  min-width: 0;
}

/* Picker-Kachel — Card/Tile-Layout (Scribble-kanonisch):
   Top-Bild (.img, aspect-ratio 4/3, volle Breite) + .nm darunter.
   Label enthält versteckte Checkbox für Formulardaten. */
.cform label.gp {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-width: 0;
  min-height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  overflow: hidden;
  transition: border-color .16s, background .16s, transform .15s;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
  position: relative;
}
.cform label.gp:hover { border-color: var(--clay); transform: translateY(-2px); }
/* P2-B #4: Klick-Feedback Gamepicker-Kachel */
.cform label.gp:active { transform: scale(.98); }
/* Versteckte native Checkbox (bleibt im DOM für Formulardaten) */
.gp input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  min-height: unset;
}
/* Bild-Bereich: volle Breite, aspect-ratio 4/3 — exakt wie Scribble .gp .img */
.gp .img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  background-image: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 10px, #e8e1d4 10px, #e8e1d4 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 10px;
  flex-shrink: 0;
}
.gp .img img { width: 100%; height: 100%; object-fit: cover; }
.gp .nm {
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.cform label.gp.on {
  border-color: var(--clay);
}
.gp.on .img { box-shadow: inset 0 0 0 3px var(--clay); }
/* Check-Badge (oben rechts über dem Bild) */
.gp .chk {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .16s;
}
.gp.on .chk { opacity: 1; }
/* No-JS-Fallback: gleiche Auswahl-Optik ueber :has() (Idiom wie label.cw-opt).
   Rein additiv; mit JS bleibt die .on-Klasse fuehrend, ohne JS sieht der
   Nutzer die Auswahl trotzdem. Browser ohne :has() zeigen wie bisher nichts. */
.cform label.gp:has(input:checked) { border-color: var(--clay); }
.gp:has(input:checked) .img { box-shadow: inset 0 0 0 3px var(--clay); }
.gp:has(input:checked) .chk { opacity: 1; }
.gp .chk svg { color: #fff; }

/* Consent-Zeile */
.cform label.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.45;
  grid-column: span 2;
  min-height: unset;
}
.cform label.consent input[type="checkbox"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: 24px;
  height: 24px;
  min-height: 24px;
  accent-color: var(--clay);
  flex-shrink: 0;
  margin-top: 1px;
}
.cform label.consent a { color: var(--clay); }

/* Honeypot-Feld: visuell und per Maus ausgeblendet.
   PFLICHT im HTML (kontakt.php / T7): aria-hidden="true" UND tabindex="-1"
   am Input-Element setzen, damit Screenreader und Tastatur-Navigation das
   Feld komplett ignorieren. Ohne beides ist das Honeypot WCAG-non-konform. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

/* --- Footer --- */
.foot { background: var(--ink); color: var(--paper); padding: 64px 0 96px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.3;
  max-width: 26ch;
  margin-top: 14px;
  color: rgba(255,255,255,0.82);
}
.foot .foot-col-h {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14.5px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.foot a:hover { color: #fff; }
.foot .bot {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.13);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

/* --- Float Bar --- */
/* Float-Bar ist auch auf dem Desktop sichtbar (Anfrage, WhatsApp, Merkliste-Zähler).
   Die frühere Ausblendung ab 900px (P2-D #4) war eine Regression und wurde entfernt.
   Sie blendet weiterhin per JS (.hide) bei Hero/Kontakt/Footer aus; auf Spielseiten
   bleibt sie über die spezifische Regel weiter unten ausgeblendet. */
/* Scroll-Reserve gegen Footer-Overlap: Die mittig-fixe Desktop-Pille schwebt ueber dem
   Inhalt. Damit sie am Seitenende nicht Footer/Inhalt verdeckt, reserviert der Body
   etwas Platz unten. Greift nur ab 561px (Desktop/Tablet, Pille mittig fixiert) und
   nicht auf Spielseiten, wo die Pille per :has() ohnehin display:none ist. Auf Mobile
   (<=560px) bleibt das Verhalten unveraendert, da dort die Footer-Ausblendung per JS
   greift und die Pille volle Breite einnimmt. */
@media (min-width: 561px) {
  body:not(:has(.klg-page)):not(:has(.rt-page)):not(:has(.dc-page)):not(:has(.hd-section)) {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}
.fbar {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(32,28,22,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px;
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(20,14,8,0.3);
  z-index: 60;
  visibility: visible;
  transition: opacity .3s, transform .3s, visibility 0s linear 0s;
}
.fbar.hide {
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  /* visibility:hidden nimmt die Pille im hide-Zustand aus Fokus-Reihenfolge und
     Accessibility-Baum. Die Verzögerung (.3s) hält die Element-Sichtbarkeit über
     die Ausblend-Transition, danach greift hidden -> Einblenden bleibt animiert. */
  visibility: hidden;
  transition: opacity .3s, transform .3s, visibility 0s linear .3s;
}
.fbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: filter .2s;
}
.fbar .p { background: var(--clay); color: #fff; }
.fbar .w { background: var(--wa); color: #fff; }
.fbar a:hover { filter: brightness(1.08); }

/* --- Merkliste-Badge in der Float-Bar --- */
/* Standardmäßig versteckt; JS fügt .merkliste-badge-visible hinzu wenn count > 0 */
.merkliste-badge {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 10px 16px 10px 14px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
}
.merkliste-badge:hover  { background: rgba(255,255,255,0.20); }
/* P2-B #4: Klick-Feedback Badge */
.merkliste-badge:active { transform: scale(.98); }
.merkliste-badge-visible { display: inline-flex; }
.merkliste-badge-icon { display: flex; align-items: center; opacity: .85; }
.merkliste-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  background: var(--clay);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 4px;
  line-height: 1;
}
.merkliste-badge-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 560px) {
  /* Platz fuer die volle-Breite-Pille reservieren, solange sie sichtbar ist
     (sie wird per JS .hide nur bei Hero/Kontakt/Footer ausgeblendet). Ohne diese
     Reserve verdeckte die Pille Inhalt am unteren Rand (z. B. Ablauf-Schritt 03,
     erste Bewertung). Auf Spielseiten ist die Pille per :has() display:none,
     daher dort keine Reserve. Hoehe der einzeiligen Pille ~58px inkl. Padding. */
  body:not(:has(.klg-page)):not(:has(.rt-page)):not(:has(.dc-page)):not(:has(.hd-section)) {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    /* Anker-Spruenge (#ablauf/#reviews) landen sonst hinter der Pille. */
    scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
  /* Pille ausgeblendet (Footer/Hero/Kontakt sichtbar): Reserve weg, kein Leerstreifen am Seitenende. */
  body.fbar-off { padding-bottom: 0 !important; scroll-padding-bottom: 0 !important; }
  .fbar {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: none;
    justify-content: center;
    gap: 7px;
    padding: 6px;
  }
  .fbar.hide { transform: translateY(20px); }
  /* Niedriger + einzeilig: weniger vertikales Padding, eine Zeile je Button. */
  .fbar a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    justify-content: center;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
  }
  /* Merkliste-Element einzeilig, Label sichtbar (kein winziges 11px-Label). */
  .merkliste-badge {
    flex: 0 0 auto;
    min-height: 0;
    padding: 9px 12px;
    font-size: 13px;
  }
}

/* --- Scroll-Reveal --- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.6,.3,1), transform .8s cubic-bezier(.2,.6,.3,1);
}
.rv.in { opacity: 1; transform: none; }

/* prefers-reduced-motion: Reveal deaktivieren, kein Layout-Shift */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .faq .q .pl { transition: none; }
  .burger-bar { transition: none; }
  .faq .a     { transition: none; }
  .btn, .alink svg, .tcard, .port-card, .port-card-img img, .way, .fbar, .nav-cta, .cform label.gp, .merkliste-badge, .acard .go svg { transition: none; }
  .acard .go:hover svg { transform: none; }
  .cform label.gp:hover { transform: none; }
  .tcard:hover { transform: none; }
  .tcard:hover .ph img { transform: none; }
  .port-card:hover { transform: none; }
  .port-card:hover .port-card-img img { transform: none; }
  .way:hover { transform: none; }
  .alink:hover svg { transform: none; }
  .btn:active { transform: none; }
  /* P2-B #4: reduced-motion neutralisiert neue :active-Transforms */
  .cform label.gp:active  { transform: none; }
  .merkliste-badge:active  { transform: none; }
  .faq .item.open .q .pl { transform: none; }
  .fbar.hide { transform: none; }
}

/* --- Platzhalter-Bilder (SVG-Pattern, kein externes Bild) --- */
.img-ph {
  background: repeating-linear-gradient(
    45deg,
    var(--paper-2),
    var(--paper-2) 10px,
    #e8e1d4 10px,
    #e8e1d4 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .04em;
}

/* --- Hilfreich-Klassen --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Statische Inhaltsseiten (Datenschutz, Impressum, AGB) --- */
.prose-page {
  padding-top: 80px;
  padding-bottom: 80px;
}
.prose-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.prose-page h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.015em;
  margin: 32px 0 8px;
}
.prose-page h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 6px;
}
/* P2-B #6: Lese-Measure auf 68ch begrenzt (Befund: ~95+ Zeichen zu breit) */
.prose-page p { color: var(--ink-2); line-height: 1.65; max-width: 68ch; }
.prose-page a { color: var(--clay); }
.prose-footnote { margin-top: 40px; font-size: 13px; color: var(--ink-3); }

/* Skiplink — bei Fokus sichtbar (WCAG 2.4.1) */
.skip-link {
  position: fixed;
  top: 4px;
  left: 4px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:not(:focus-visible) { clip: rect(0,0,0,0); position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* --- Klassen für ehemals-inline Styles (CSP unsafe-inline-Abbau) --- */

/* hero.php: <section class="hero rv"> hatte style="border-bottom:0" */
.hero { border-bottom: 0; }

/* hero.php: dezenter Scroll-Link unter dem Primaerbutton (WhatsApp-Zugang lebt
   in der Floatbar, im Hero bewusst kein Zweit-Link mehr, Owner 2026-07-14) */
.hero-scrolllink {
  display: inline-block;
  margin-top: clamp(16px, 2.4vh, 22px);
  color: rgba(255,255,255,.82);
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.hero-scrolllink:hover,
.hero-scrolllink:focus-visible { color: #fff; border-color: #fff; }

/* hero.php: Saison-/Vorlauf-Hinweis nahe dem CTA (authentische Knappheit, kein Fake-Druck) */
.hero-saison-hint {
  margin-top: clamp(10px, 1.6vh, 18px);
  color: rgba(255,255,255,.78);
  font-family: var(--sans);
  font-size: 13px;
  max-width: 46ch;
  line-height: 1.5;
}

/* faq.php: eyebrow + h2 textausrichtung */
.faq .sec-head .eyebrow { text-align: center; }
.faq .sec-head h2       { text-align: center; }

/* midcta.php: section padding-Überschreibung */
.midcta-section { padding-top: 0; border-bottom: 0; }

/* about.php: Werkstatt-Zeile mit Signature-Motiv */
.about-werkstatt {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--ink-3);
  font-size: 13px;
}
.about-werkstatt .sig-wrap small {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  font-style: normal;
  font-family: var(--sans);
}

/* about.php: Bulletliste */
.about-list {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}
.about-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--clay);
}

/* steps.php: Layout-Hilfsklassen */
.steps-wrap   { text-align: center; }
.steps-grid   { text-align: left; }
.steps-hinweis {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.steps-hinweis svg {
  display: inline;
  vertical-align: middle;
  color: var(--clay);
  margin-right: 5px;
}

/* featured.php: Abstand unter der Feat-Liste */
.feat-more { margin-top: 28px; }

/* footer.php: Signature-SVG in Tagline */
.foot .tag .sig {
  margin-top: 10px;
  display: block;
  opacity: 0.7;
}

/* footer.php: Brand-Link im Footer */
.foot .brand { text-decoration: none; color: #fff; }
.foot .brand .mk { background: rgba(255,255,255,.12); }
.foot .brand b   { color: #fff; font-size: 15px; }
.foot .brand small { color: rgba(255,255,255,.5); }

/* kontakt.php: Spieleauswahl-Label-Hinweis */
.gl-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* --- Merkliste: "Merkliste leeren"-Button im Picker-Header --- */
.merkliste-leeren {
  display: none; /* JS setzt .merkliste-leeren-visible */
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 8px 10px;
  min-height: 44px; /* WCAG 2.5.5 AA */
  margin-left: 10px;
  /* Touch-Slop: zusätzliche vergrößerte Klickfläche */
  position: relative;
  vertical-align: middle;
  /* KEIN display hier: die Basis bleibt display:none; .merkliste-leeren-visible (JS) setzt
     display:inline-flex zum Einblenden. Vorher überschrieb ein display:inline-flex hier
     das display:none -> Button war immer sichtbar (Review-P2 2026-07-04). */
  align-items: center;
}
.merkliste-leeren::before {
  content: '';
  position: absolute;
  inset: -16px -10px; /* Klickflaeche >= 44px (WCAG 2.5.5) */
}
.merkliste-leeren:hover { color: var(--clay-deep); }
.merkliste-leeren-visible { display: inline-flex; align-items: center; }

/* kontakt.php: way-SVG Arrow (WA-Katalog) */
.way-arrow {
  margin-left: auto;
  color: var(--wa);
}

/* kontakt.php: DSGVO-Hinweis unter WhatsApp-Button */
.wa-dsgvo-hint {
  font-size: 11.5px;
  color: var(--ink-3);
  margin: -2px 0 4px;
  line-height: 1.4;
}
.wa-dsgvo-hint a { color: var(--clay); }

/* kontakt.php: form-status initial versteckt (JS setzt display) */
.form-status-hidden { display: none; }

/* teaser-grid.php: Placeholder-Text */
.tcard-ph-label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

/* --- Weitere Spiele (featured.php unter Top3) --- */
.weitere-spiele {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.weitere-spiele-head {
  margin-bottom: 16px;
}
.weitere-spiele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ws-kachel {
  min-width: 0;
}
.ws-kachel-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px;
  width: 100%;
  height: 100%;
  min-height: 44px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ws-kachel-link:hover {
  border-color: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(40,28,16,0.08);
}
.ws-kachel-img {
  width: 100%;
  height: 62px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-2);
  background-image: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 8px, #e8e1d4 8px, #e8e1d4 16px);
  flex-shrink: 0;
}
.ws-kachel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-kachel-ph {
  width: 100%;
  height: 100%;
}
.ws-kachel-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.25em;
}
.weitere-spiele-cta {
  margin-top: 22px;
}
@media (max-width: 560px) {
  .weitere-spiele-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  /* Hoehe kommt seit 2026-07-29 aus aspect-ratio 4/3 (einheitlich auf allen Breiten) */
}

/* --- Portfolio-Seite --- */
.portfolio-hero {
  padding-top: 72px;
  padding-bottom: 0;
}
.portfolio-hero .sec-head {
  margin-bottom: 0;
}
.portfolio-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
}
.portfolio-hero h1 em { font-style: italic; color: var(--clay); }

/* Sprung-Chips (U3): sticky Kategorien-Leiste unter dem Seitenkopf. Klebt unter
   der sticky Nav (72px); mobil darf NUR die Leiste horizontal scrollen. */
.port-chips {
  position: sticky; top: 72px; z-index: 40;
  margin-top: 22px;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.port-chips-row {
  display: flex; gap: 8px; align-items: center;
  padding-top: 8px; padding-bottom: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.port-chips-row::-webkit-scrollbar { display: none; }
.port-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
}
.port-chip:hover { border-color: var(--clay); color: var(--clay-deep); }
.port-chip:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
/* Sprungziele landen unter Nav + Chip-Leiste statt darunter verdeckt.
   Achtung: addiert sich zum globalen html{scroll-padding-top:84px} ->
   84 + 56 = 140px = Nav (72) + Chip-Leiste (~62) + Luft. */
.portfolio-section { scroll-margin-top: 56px; }

/* „Online spielen"-Callout auf der Spiele-Seite.
   margin-top: klarer Abstand zur klebrigen Chip-Leiste darüber; ohne ihn klebt die
   Box-Oberkante exakt an deren Unterkante und der obere Rahmen (samt runder Ecken)
   wird von der halbtransparenten Leiste (z-index 40) verdeckt = „oben abgeschnitten". */
.portfolio-play-cta {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 1.5rem auto 0;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.portfolio-play-cta:hover { border-color: var(--clay); transform: translateY(-1px); }
.portfolio-play-cta:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.portfolio-play-cta .ppc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--paper); color: var(--clay);
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line);
}
.portfolio-play-cta .ppc-text { font-size: .95rem; line-height: 1.45; }
.portfolio-play-cta .ppc-arrow { margin-left: auto; font-size: 1.3rem; color: var(--clay); flex-shrink: 0; }

.portfolio-section {
  padding-top: 64px;
  padding-bottom: 0;
}
.portfolio-section .sec-head {
  margin-bottom: 28px;
}
.portfolio-section .sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.port-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.port-card-img {
  /* WYSIWYG: gleiches Verhältnis wie der Admin-Cover-Crop (4/3), cover = Bild füllt exakt
     den gewählten Ausschnitt (kein Letterbox-Rand, kein zweiter Beschnitt). */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  flex-shrink: 0;
}
.port-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.port-card-ph {
  width: 100%;
  height: 100%;
  /* Ruhige Paper-2-Fläche statt Karo: kein Baustellen-Eindruck */
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
/* Dezentes XXL-Monogramm als SVG-Platzhalter */
.port-card-ph::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background-color: var(--line);
  border-radius: 6px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'%3E%3Cpath d='M6 8l8 10-8 10h5l5.5-7 5.5 7h5L19 18l8-10h-5l-5.5 7L11 8z' fill='currentColor'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'%3E%3Cpath d='M6 8l8 10-8 10h5l5.5-7 5.5 7h5L19 18l8-10h-5l-5.5 7L11 8z' fill='currentColor'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

/* Medien-Badge (Lightbox-Trigger liegt seit 2026-07-29 auf .port-card-zoom,
   das Bild selbst verlinkt zur Detailseite wie auf allen anderen Kacheln) */
.media-badge-overlay {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: flex;
  gap: 6px;
}
.mbo-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(20, 16, 10, .72);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}

/* Lightbox-Overlay (Galerie) */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 12, 8, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 48px);
}
.lb-overlay[hidden] { display: none; }
.lb-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-media {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  background: #000;
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; font-size: 1.3rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
}
@media (max-width: 600px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close, .lb-nav { width: 42px; height: 42px; }
}

/* ===== Spiel-Detailseite ===== */
.spiel-detail { padding: clamp(24px, 5vw, 56px) 0; }
/* Breadcrumb-Pfad (Review 2026-07-23): dezent, klein, über dem Seiteninhalt. */
.breadcrumb { margin: 0 0 1rem; font-size: .82rem; color: var(--ink-2); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .3rem; }
.breadcrumb li:not(:first-child)::before { content: "›"; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb [aria-current="page"] { color: var(--ink); }
/* Klickflaeche vergroessern (WCAG 2.5.8), Optik durch neg. Margin unveraendert */
.breadcrumb a, .breadcrumb [aria-current="page"] { display: inline-block; padding: 6px 4px; margin: -6px -4px; }

.sd-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; margin-bottom: 1.25rem; color: var(--ink-2);
}
.sd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .sd-grid { grid-template-columns: 1fr; } }

.sd-cover {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--paper-2); border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 3; cursor: pointer;
}
.sd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-cover-static { cursor: default; }
.sd-cover:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.sd-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,16,10,.66); color: #fff; border-radius: 50%;
}
.sd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sd-thumb {
  position: relative; width: 72px; height: 54px; padding: 0; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--paper-2);
}
.sd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-thumb:hover { border-color: var(--clay); }
.sd-thumb:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.sd-thumb-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.3);
}
.sd-title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .2rem 0 .75rem; }
/* Anlass-Zeile unter dem Spieltitel: schlanke Inline-Textlinks (bewusst NICHT .alink,
   dessen min-height:44px/inline-flex die Fließtextzeile aufblähen würde). Unterstreichung
   statt Nur-Farbe (WCAG 1.4.1). Inline-Links im Satz sind von der 44px-Regel ausgenommen. */
.sd-anlaesse { color: var(--ink-2); font-size: .95rem; margin: -.35rem 0 .9rem; }
.sd-anlaesse a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.sd-anlaesse a:hover { color: var(--ink); }
.sd-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--ink-2); font-size: .95rem; margin-bottom: 1.1rem; }
.sd-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.sd-meta .sd-preis { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.sd-desc { line-height: 1.65; margin-bottom: 1.5rem; }
.sd-desc .sd-intro { margin: 0 0 1rem; }
.sd-varianten { display: flex; flex-direction: column; gap: .65rem; }
.sd-variante {
  padding: .65rem .85rem;
  border-left: 3px solid var(--clay);
  background: var(--card);
  border-radius: 0 8px 8px 0;
}
.sd-variante-name {
  display: block;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--clay);
  font-size: .85rem;
}
.sd-variante-text { display: block; color: var(--ink-2); }
/* inline-FLEX (nicht -block): der data-add-label-Span muss Flex-Item sein, damit
   der min-width-Breiten-Lock beim 'Hinzugefügt ✓'-Swap greift (Abschluss-Review
   2026-07-29: Button sprang 62px). */
.sd-cta { display: inline-flex; }
.sd-fb-hinweis { font-size: .85rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.port-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.port-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.015em;
  margin: 0;
}
.port-card-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 6px 0 0;
}
.port-card-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 10px 0 0;
}
.port-card-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.port-card-meta span {
  font-size: 12px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* .port-card-cta (Textlink-CTA) entfernt: seit 2026-07-29 ist der Anfrage-CTA ein
   voller Clay-Button (.port-card-anfragen), Optik wie featured/teaser-grid. */
.port-card-cta-wip {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  display: block;
}

.portfolio-cta-section {
  padding: 64px 0 80px;
}
.portfolio-cta-section .midcta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  margin: 8px 0 0;
  color: var(--paper);
}
.portfolio-cta-section .midcta h2 em {
  font-style: italic;
  color: #f3d4b4;
}

/* reduced-motion: neutralise neue Hover-Transforms */
@media (prefers-reduced-motion: reduce) {
  .ws-kachel-link            { transition: none; }
  .ws-kachel-link:hover      { transform: none; box-shadow: none; }
}

/* --- Signature-Motiv: Schweisspistole --- */
.sig {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--clay);
  /* Dezente Handschrift-Qualität: leichter Dreh */
  transform: rotate(-8deg);
}
/* Im Footer (dunkler Hintergrund) erbt .sig currentColor von rgba(255,255,255,0.5) */
.foot .sig { color: rgba(255,255,255,0.55); }

/* Signature-Inline-Wrapper (neben Text) */
.sig-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

/* --- Hero-Underline: animierter Pinselstrich unter titel_em --- */
.hero-em-wrap {
  position: relative;
  display: inline-block;
  white-space: normal; /* laengeren Standort-Satz sauber umbrechen lassen, kein Overflow am Handy */
}
/* SVG-Underline: liegt hinter/unter dem em-Text */
.hero-em-underline {
  position: absolute;
  /* Leicht unter der Textbasis, kein Layout-Shift */
  bottom: -0.15em;
  left: -0.05em;
  width: calc(100% + 0.1em);
  height: 0.35em;
  pointer-events: none;
  overflow: visible;
}
/* Pinselstrich-Pfad — wird per CSS-Animation eingezeichnet */
.hero-em-underline path {
  stroke: var(--clay);
  stroke-width: 3.5;
  stroke-linecap: round;
  fill: none;
  /* stroke-dasharray/-offset werden inline im SVG gesetzt,
     Animation hier: */
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw-underline 0.7s cubic-bezier(.4,0,.2,1) 1.1s forwards;
}

@keyframes draw-underline {
  to { stroke-dashoffset: 0; }
}

/* Hero-Entry-Reveal: gestaffelt (eyebrow -> h1 -> sub -> CTAs)
   h1 bleibt opacity:1 (kein LCP-Penalty) — nur translateY-Reveal.
   eyebrow/sub/cta fade+slide. */
.hero-copy .eyebrow,
.hero-copy .hero-sub,
.hero-copy .hero-cta {
  opacity: 0;
  transform: translateY(12px);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.2,.6,.3,1);
  animation-duration: 0.60s;
  animation-name: hero-reveal;
}
/* h1: nur translateY (opacity bleibt 1 → kein LCP-Delay) */
.hero-copy h1 {
  transform: translateY(10px);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.2,.6,.3,1);
  animation-duration: 0.55s;
  animation-delay: 0.18s;
  animation-name: hero-reveal-h1;
}

.hero-copy .eyebrow  { animation-delay: 0.04s; }
.hero-copy .hero-sub { animation-delay: 0.36s; }
/* P2-B #5: CTA-Delay 0.52s → 0.30s, wichtigster CTA früher sichtbar */
.hero-copy .hero-cta { animation-delay: 0.30s; }

@keyframes hero-reveal {
  to { opacity: 1; transform: none; }
}
@keyframes hero-reveal-h1 {
  to { transform: none; }
}

/* WCAG 2.2.2: Hintergrundvideo bei reduced-motion ausblenden (Pause-Anforderung) */
@media (prefers-reduced-motion: reduce) {
  .hero-frame video { display: none; }
}

/* --- prefers-reduced-motion: Underline + Hero-Reveals sofort sichtbar --- */
@media (prefers-reduced-motion: reduce) {
  .hero-em-underline path {
    stroke-dashoffset: 0;
    animation: none;
  }
  /* eyebrow/sub/cta: sofort voll sichtbar */
  .hero-copy .eyebrow,
  .hero-copy .hero-sub,
  .hero-copy .hero-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }
  /* h1: transform sofort weg */
  .hero-copy h1 {
    transform: none;
    animation: none;
  }
  /* Signature-Rotation: statisch lassen, kein Transform wenn Nutzer es nicht will */
  .sig { transform: none; }
}

/* --- Datenschutz-Entwurfs-Hinweis --- */
.prose-draft-notice {
  background: var(--paper-2);
  border-left: 3px solid var(--clay);
  border-radius: var(--r);
  padding: 12px 16px;
  margin: 0 0 28px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.prose-draft-notice strong { color: var(--clay-deep); }

/* --- Cookie-Hinweis-Banner --- */
.cookie-banner {
  display: none; /* JS zeigt ihn nur wenn localStorage-Flag fehlt */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--ink, #1a1a1a);
  color: var(--paper, #faf9f7);
  /* Safe-Area wie .fbar: sonst klebt der Banner am iPhone-Home-Indicator (Audit 2026-07-29) */
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -2px 12px rgba(0,0,0,.18);
}
.cookie-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 240px;
}
.cookie-banner-text a {
  color: var(--clay, #b07a56);
  text-underline-offset: 3px;
}
.cookie-banner-text a:hover {
  text-decoration: none;
}
.cookie-banner-btn {
  flex-shrink: 0;
  appearance: none;
  background: var(--clay, #b07a56);
  color: var(--paper, #faf9f7);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  transition: background 0.18s;
}
.cookie-banner-btn:hover {
  background: #8f6040;
}
.cookie-banner-btn:focus-visible {
  outline: 3px solid var(--clay, #b07a56);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  /* Schlanke Leiste: Button bleibt neben dem Text (nowrap); der TEXT darf auf
     2 Zeilen umbrechen (12px, schmale Viewports). Das Padding setzt der spätere
     560px-Block (Kaskade gewinnt dort; T4-Gate 2026-07-29). */
  .cookie-banner-inner {
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .cookie-banner-text {
    font-size: 12px;
    line-height: 1.35;
  }
  .cookie-banner-btn {
    width: auto;
    padding: 8px 14px;
    min-height: 38px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner-btn { transition: none; }
}

/* --- Karten-Zitat (featured + anlass) --- */
.karten-zitat {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-left: 2px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
}
.karten-zitat p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.karten-zitat cite {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* --- Sebastian-Box (Vertrauenselement vor Kontaktformular) --- */
.sebastian-box {
  max-width: 860px;
  margin: clamp(40px, 7vw, 68px) auto clamp(32px, 5vw, 48px);
  padding: 28px clamp(20px, 5vw, 32px);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.sb-portrait {
  flex-shrink: 0;
}
.sb-portrait img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  display: block;
}
.sb-body {
  flex: 1 1 0;
  min-width: 0;
}
.sb-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1;
}
.sb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.sb-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--clay);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
@media (max-width: 560px) {
  .sebastian-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 20px;
    gap: 16px;
  }
  .sb-item {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sebastian-box { transition: none; }
}
.trust-stripe {
  background: var(--paper-2, #f5f3ef);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 32px;
}
.trust-stripe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-stripe-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-2, #555);
  line-height: 1.45;
}
.trust-stripe-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(180,100,60,.1);
  color: var(--clay, #b46432);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
@media (max-width: 560px) {
  .trust-stripe { padding: 16px 18px; }
}

/* ===========================
   Anlass-Landingpages (hochzeit.php / firmenevent.php)
   =========================== */
.anlass-hero {
  position: relative;
  overflow: hidden;
  /* WYSIWYG: festes Verhältnis = Admin-Crop (Desktop 16/9). Wächst nur, wenn der Text mehr
     Höhe braucht (kein Text-Abschnitt). So zeigt der Hero ~exakt den gewählten Ausschnitt. */
  aspect-ratio: 16 / 9;
  padding: clamp(96px, 16vh, 200px) 0 clamp(36px, 6vw, 64px);
  border-bottom: 0;
  background: var(--ink);
  color: #fff;
}
.anlass-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  /* center statt "center 30%": der im Admin gewählte Ausschnitt wird nicht mehr nach oben
     verschoben, sondern mittig gezeigt (= Crop-Vorschau). */
  object-position: center;
}
.anlass-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,12,0.30) 0%, rgba(20,16,12,0.58) 48%, rgba(15,11,8,0.88) 100%);
}
/* Mobil: 4/5 = Admin-Crop des Mobil-Bilds. Gleiche Grenze (680px) wie der <picture>-Source. */
@media (max-width: 680px) {
  .anlass-hero { aspect-ratio: 4 / 5; }
}
.anlass-hero .wrap { position: relative; z-index: 2; }
.anlass-hero .eyebrow { color: #f2c9a3; }
.anlass-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 70px);
  letter-spacing: -0.02em;
  margin: clamp(10px, 1.6vh, 16px) 0 16px;
  line-height: 1.04;
  max-width: 18ch;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 8px 40px rgba(0,0,0,0.55);
}
.anlass-hero h1 em { font-style: italic; color: #f3d4b4; }
.anlass-hero .lede {
  color: #fff;
  max-width: 52ch;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85);
}
.anlass-hero .btn { margin-top: 22px; }

.bundle-info {
  padding: clamp(48px, 8vw, 96px) 0;
}
.bundle-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  max-width: 760px;
}
.bundle-card .lede {
  margin-top: 0;
  margin-bottom: 20px;
}
.bundle-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bundle-list li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.bundle-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

/* ===========================
   Event-Galerie (Polaroid/Masonry-Look)
   =========================== */
.galerie {
  padding: clamp(48px, 8vw, 96px) 0;
  background: var(--paper);
}
.galerie-grid {
  column-count: 2;
  column-gap: 20px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .galerie-grid { column-count: 3; }
}
@media (min-width: 960px) {
  .galerie-grid { column-count: 4; }
}
.galerie-card {
  break-inside: avoid;
  margin: 0 0 20px;
  background: #fff;
  padding: 10px 10px 32px;
  box-shadow: 0 2px 8px rgba(40,28,16,0.12), 0 1px 2px rgba(40,28,16,0.08);
  border-radius: 2px;
  display: inline-block;
  width: 100%;
  transition: transform .22s, box-shadow .22s;
}
/* Leichte Rotation alternierend für Polaroid-Optik — kein Layout-Shift,
   da inline-block im Column-Flow; transform verschiebt nichts */
.galerie-card:nth-child(3n+1) { transform: rotate(-1.2deg); }
.galerie-card:nth-child(3n+2) { transform: rotate(0.8deg);  }
.galerie-card:nth-child(3n+3) { transform: rotate(-0.5deg); }
.galerie-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 8px 24px rgba(40,28,16,0.16);
}
.galerie-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1px;
}
.galerie-card figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
}
/* Reduced-motion: Rotation + hover-transform neutralisieren, kein Layout-Shift */
@media (prefers-reduced-motion: reduce) {
  .galerie-card,
  .galerie-card:nth-child(3n+1),
  .galerie-card:nth-child(3n+2),
  .galerie-card:nth-child(3n+3) {
    transform: none;
    transition: none;
  }
  .galerie-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(40,28,16,0.12), 0 1px 2px rgba(40,28,16,0.08);
  }
}

/* =============================================================
   Mobile-Fixes (Bundle T-X rollout)
   ============================================================= */

/* Kontaktformular: 1-Spalte auf schmalen Viewports */
@media (max-width: 600px) {
  .cform {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .cform .full,
  .cform .sub,
  .gamepicks,
  .cform label.consent,
  .form-status {
    grid-column: 1;
  }
}

/* Float-Bar: wenn Cookie-Banner sichtbar nach oben versetzt.
   Exakter Offset wird per JS (app.js Section 5) dynamisch via CSS-Variable gesetzt.
   Auf allen Viewports bleibt die Bar sichtbar — kein display:none mehr. */
.fbar.cookie-visible {
  bottom: calc(22px + env(safe-area-inset-bottom, 0px) + var(--cookie-h, 72px));
}
@media (max-width: 560px) {
  /* Mobil: Bar bleibt über dem Banner, dazu Banner kompakter damit beides passt. */
  .fbar.cookie-visible {
    bottom: calc(8px + env(safe-area-inset-bottom, 0px) + var(--cookie-h, 72px));
  }
  /* Cookie-Banner schlanker auf Mobil: kompaktes Padding, kleinere Schrift.
     Safe-Area mitrechnen (Home-Indicator; Audit 2026-07-29). */
  .cookie-banner {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner-inner {
    gap: 10px;
  }
  .cookie-banner-text {
    font-size: 12px;
    line-height: 1.45;
  }
  .cookie-banner-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 40px;
    flex-shrink: 0;
  }
}

/* Mid-CTA: weniger Padding auf Mobile */
@media (max-width: 560px) {
  .midcta {
    padding: 28px 24px;
  }
}

/* Anlass-Hero: Top-Padding auf Mobile reduzieren */
@media (max-width: 560px) {
  .anlass-hero {
    padding-top: clamp(72px, 18vh, 130px);
    padding-bottom: 28px;
  }
}


/* ============================================================
   Preis-Anzeige „ab X €" auf Spielkarten (Feld preis_ab)
   Clay-Akzent, Geist-Bold, AA-Kontrast auf hellen Karten.
   ============================================================ */
.tcard-preis,
.ws-kachel-preis {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--ink);
}
.feat-preis {
  display: inline-block;
  margin-right: 16px;
  vertical-align: middle;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.port-card-preis {
  margin: 6px 0 12px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

/* ============================================================
   Detail-Review 2026-06-21 Fixes
   ============================================================ */

/* Anker-Sprünge nicht unter die sticky Nav (72px) schieben */
html { scroll-padding-top: 84px; }

/* Picker-Karten: sichtbarer Tastatur-Fokus (WCAG 2.4.7) */
.cform label.gp:focus-within { outline: 2px solid var(--clay); outline-offset: 2px; }

/* Fotobox-Partnerprodukte: bewusst KEINE Sonderbehandlung mehr (2026-06-30, Wunsch Betreiber).
   Sie werden wie alle anderen Kacheln formatfüllend (cover) angezeigt; den passenden Bild-
   ausschnitt setzt der Betreiber im Admin-Zuschneider selbst. Die frühere is-fb-Klasse ist
   inzwischen auch aus dem Markup entfernt (Templates portfolio/featured/teaser-grid/kontakt). */

/* Preis-Hinweis (PAngV: ab-Preis, keine USt nach §19 UStG, zzgl. Anfahrt; Conversion-Kontext) */
.preis-hinweis {
  max-width: 680px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}
.preis-hinweis-fn { color: var(--ink-3); opacity: .85; }
/* Unaufdringlicher Pflicht-Fußnoten-Hinweis unter Mikro-Preisen (Karten/Teaser/Featured).
   display:block (statt <small>-Default inline) -> eigene Zeile, bricht NICHT inline zwischen
   Preis und CTA-Button (Featured .cta ist normaler Blockfluss). Größe/Farbe gedämpft,
   analog .preis-hinweis-fn und unter den Bestands-Mikrotexten (.tcard-preis 13px). */
.preis-fn {
  display: block;
  margin-top: 2px;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-3); /* 6.8:1 auf Papier (AA); opacity entfernt — drückte den Pflichthinweis unter AA */
}
/* In den kompakten Kacheln (Werkstatt-Kachel, Teaser-Card) den Pflichthinweis
   weiter daempfen, damit er die schmale Karte (~84px) nicht dominiert (Review P2). */
.ws-kachel-link .preis-fn,
.tcard .cap .preis-fn {
  font-size: 10px;
  margin-bottom: 2px;
}

/* .ribbon-hint entfernt: das Element steht nicht mehr im Ribbon-Markup (Disclaimer nur noch unten). */

/* ============================================================
   Bundle-Abfrage-Dialog (Merkliste ersetzen / ergänzen)
   ============================================================ */
.bundle-dialog {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  max-width: 440px;
  width: calc(100% - 40px);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(32,28,22,0.28);
}
.bundle-dialog::backdrop { background: rgba(20,16,12,0.55); }
.bundle-dialog-in { padding: clamp(22px, 4vw, 30px); }
.bundle-dialog-h { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 8px; }
.bundle-dialog-p { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin: 0 0 20px; line-height: 1.5; }
.bundle-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bundle-dialog-cancel {
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 14px; color: var(--ink-3);
  text-decoration: underline; padding: 10px 8px; min-height: 44px;
  margin-left: auto; /* „Abbrechen" von den Aktions-Buttons abgesetzt */
}
.bundle-dialog-cancel:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .bundle-dialog[open] { animation: bundleDlgIn .18s ease; }
  @keyframes bundleDlgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ============================================================
   Eventmodule-Themenseite (eventmodule.php)
   ============================================================ */
.modul-usp .sec-head { margin-bottom: 28px; }
.modul-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modul-feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px);
}
.mf-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--paper-2); color: var(--clay);
  display: grid; place-items: center; margin-bottom: 16px;
}
.modul-feature h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 8px; }
.modul-feature p  { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

.modul-usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modul-usecase {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 30px);
}
.modul-usecase h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 8px; color: var(--clay-deep); }
.modul-usecase p  { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

@media (max-width: 760px) {
  .modul-features, .modul-usecase-grid { grid-template-columns: 1fr; }
}

/* teaser-grid: nicht-buchbare Karte (z. B. Modul „in Arbeit") — kein Link */
.tcard-wip { cursor: default; }
.tcard-wip:hover { transform: none; box-shadow: none; }
.tcard-wip .ph { opacity: .85; }
.tcard-wip-badge {
  display: inline-block; margin-top: 5px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--ink-3); background: var(--paper-2);
  border-radius: 100px; padding: 3px 10px;
}
/* Two-step tcard: media link covers image+caption, anfragen-button sits below */
.tcard-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.tcard-media-link:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.tcard-anfragen {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px 16px;
  text-align: center;
  font-size: .88rem;
  min-height: 44px;
  line-height: 1.2;
  padding: 8px 14px;
}

/* Gleich hohe Karten je Reihe: Das Grid streckt die Karten (align-items:stretch),
   die tcard wird zur Flex-Column. Bild + Caption wachsen, der Preis startet dank
   2-Zeilen-Mindesthoehe des Titels immer auf gleicher Hoehe, der Anfragen-Button
   sitzt per margin-top:auto-Kette ueber alle Karten unten gleich. */
.tcard {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tcard .tcard-media-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.tcard .cap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
/* Titel haelt Platz fuer bis zu zwei Zeilen frei, damit Preis/Button nicht
   wandern, wenn ein Spielname umbricht. */
.tcard .cap .t {
  line-height: 1.2;
  min-height: 2.4em;
}
/* Preis an den unteren Caption-Rand. */
.tcard .cap .tcard-preis {
  margin-top: auto;
}
/* Folgt dem Preis (Fotobox-Fussnote) eine Zeile, soll der Preis nicht mehr
   den auto-Abstand schlucken. */
.tcard .cap .tcard-preis ~ .preis-fn { margin-top: 0; }
.tcard .cap:has(.preis-fn) .tcard-preis { margin-top: auto; }

/* ============================================================
   Mini-Spiel „Heißer Draht" (/spielen.php) — Prototyp
   ============================================================ */
.hd-section { padding: clamp(48px, 7vw, 90px) 0; }
.hd-game { max-width: 920px; margin: 28px auto 0; }
.hd-stage {
  position: relative;
  aspect-ratio: 16 / 10;            /* reservierte Höhe -> kein CLS */
  border-radius: var(--r-lg);
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #2a241d 0%, var(--ink) 72%);
  border: 1px solid var(--line);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.hd-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hd-hint {
  position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center;
  font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
  pointer-events: none; transition: opacity .3s;
}
.hd-hint.hd-hide { opacity: 0; display: block !important; }
.hd-hud {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; justify-content: center;
  /* Schlanke EINZEILIGE Leiste unten mittig (dort nur die Gestell-Fuesse): nicht
     umbrechen, sonst wird sie zum grossen Klotz mitten im Feld. */
  flex-wrap: nowrap; white-space: nowrap; max-width: calc(100% - 16px);
  font-family: var(--sans); font-size: 12.5px; color: #fff;
  background: rgba(20,16,12,.62);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px; padding: 4px 6px 4px 12px;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  pointer-events: none;
}
/* Abbrechen kompakt, Touch-Flaeche aber 44px (Hausregel). */
.hd-hud .game-abort { font-size: 12px; padding: 0 12px; min-width: 0; }
/* Der Abbrechen-Button in der HUD-Pille muss klickbar bleiben, der Rest der
   Pille schluckt keine Pointer (sonst blockiert sie das Ziehen oben). */
.hd-hud .game-abort { pointer-events: auto; }
.hd-hud strong { color: #f3d4b4; }
.hd-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  text-align: center; padding: 24px;
  background: rgba(20,16,12,.64); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  color: #fff;
}
.hd-overlay h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 4vw, 34px); margin: 0; }
.hd-overlay p { margin: 0; max-width: 46ch; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.5; }
.hd-overlay .hd-best-line { font-size: 13px; color: rgba(255,255,255,.7); }
.hd-result strong { color: #f3d4b4; }
.hd-overlay .btn-out { color: #fff; border-color: rgba(255,255,255,.5); }
.hd-overlay .btn-out:hover { border-color: #fff; }
.hd-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hd-hide { display: none !important; }
.hd-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; justify-content: center; }
.hd-sound { background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; min-height: 44px; font-family: var(--sans); font-size: 13px; cursor: pointer; color: var(--ink-2); }
.hd-sound:hover { color: var(--clay); }
.hd-note { font-family: var(--sans); font-size: 12.5px; color: var(--ink-3); }
.hd-disclaimer { margin: 18px auto 0; max-width: 640px; text-align: center; font-family: var(--sans); font-size: 12.5px; color: var(--ink-3); }
.hd-easy { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32); color: #fff; border-radius: 100px; padding: 10px 18px; min-height: 44px; font-family: var(--sans); font-size: 13px; cursor: pointer; }
.hd-easy[aria-pressed="true"] { background: var(--clay); border-color: var(--clay); }

/* ---- Bestenliste (Endbildschirm + Seite) ---- */
/* End-Screen ist eine DECKENDE Karte (gemeinsame .game-endcard), nicht mehr
   das halbtransparente .hd-overlay ueber dem Canvas. Opaker Backdrop, damit
   das Ergebnis voll lesbar ist und nicht schwach ueber dem Foto liegt. */
/* Endbildschirm sichtbar (JS setzt .is-ended auf #hd-game): Stage waechst mit dem
   Inhalt der Endkarte statt sie in die feste Feldhoehe zu quetschen -> nichts wird
   mehr abgeschnitten (loest den alten 72svh-Workaround fuer den CTA sauber ab). */
.hd-game.is-ended .hd-stage { aspect-ratio: auto; height: auto; min-height: 0; overflow: visible; }
.hd-game.is-ended .hd-stage > :not(.hd-overlay-end) { display: none !important; }
.hd-game.is-ended .hd-overlay-end { position: relative; inset: auto; min-height: 0; overflow: visible; }
.hd-overlay-end {
  overflow-y: auto;
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hd-board-box { width: 100%; max-width: 440px; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.hd-entry { display: flex; flex-direction: column; gap: 6px; }
.hd-entry-lbl { font-family: var(--sans); font-size: 12.5px; color: rgba(255,255,255,.82); }
.hd-entry-row { display: flex; gap: 8px; justify-content: center; }
/* 16px Minimum wie die globale input-Regel: darunter zoomt iOS-Safari beim Fokussieren. */
.hd-entry input { font-family: var(--sans); font-size: 16px; padding: 10px 12px; min-height: 44px; width: 9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.hd-entry input::placeholder { color: rgba(255,255,255,.45); letter-spacing: normal; text-transform: none; }
.hd-entry input:focus-visible { outline: 2px solid #f3d4b4; outline-offset: 2px; }
.hd-entry-hint { font-family: var(--sans); font-size: 11.5px; color: rgba(255,255,255,.62); max-width: 42ch; margin: 0 auto; }
.hd-entry-msg { font-family: var(--sans); font-size: 14px; color: #f3d4b4; font-weight: 600; }
.hd-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; width: 100%; max-width: 440px; max-height: 210px; overflow-y: auto; text-align: left; }
.hd-board li { display: grid; grid-template-columns: 2rem 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.06); }
.hd-b-rank { font-family: var(--sans); font-weight: 700; font-size: 14px; color: #f3d4b4; grid-row: 1 / span 2; align-self: center; }
.hd-b-name { font-family: var(--sans); font-weight: 600; font-size: 14px; color: #fff; letter-spacing: .04em; }
.hd-b-score { font-family: var(--sans); font-weight: 700; font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.hd-b-meta { grid-column: 2 / span 2; font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,.6); }
/* li.…: muss die Grid-Regel „.hd-board li" (gleiche Spezifität, weiter oben)
   schlagen — sonst landet der Leer-Text in der 2rem-Rang-Spalte und bricht
   Wort für Wort um (galt auch auf der Spielseite). */
li.hd-board-empty { display: block; text-align: center; padding: 14px; font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.6); background: transparent; }
.hd-board-head { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,.72); margin: 2px 0 0; }
.hd-board-head strong { color: #f3d4b4; }
.hd-board-section { margin: 32px auto 0; max-width: 820px; }
.hd-board-title { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 3.4vw, 26px); text-align: center; margin: 0 0 6px; }
.hd-board-sub { text-align: center; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 0 0 18px; }
.hd-board-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.hd-board-colhead { font-family: var(--sans); font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.hd-board-subhead { font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin: 12px 0 6px; color: #6b6157; }
.hd-board-subhead:first-of-type { margin-top: 0; }
/* 680px wie rt-bl-grid: EIN Kipppunkt fuer alle Bestenlisten (Audit 2026-07-29) */
@media (max-width: 680px) { .hd-board-cols { grid-template-columns: 1fr; gap: 20px; } }
.hd-board-page { max-width: none; max-height: none; margin: 0; }
.hd-board-page li { background: var(--paper-2); border: 1px solid var(--line); }
.hd-board-page .hd-b-rank { color: var(--clay); }
.hd-board-page .hd-b-name { color: var(--ink); }
.hd-board-page .hd-b-score { color: var(--ink); }
.hd-board-page .hd-b-meta { color: var(--ink-3); }
.hd-board-page .hd-board-empty { color: var(--ink-3); }
.hd-board-note { margin: 16px auto 0; max-width: 640px; text-align: center; font-family: var(--sans); font-size: 12px; color: var(--ink-3); }
.hd-board-note a { color: var(--clay); }

/* ---- Mobil: Querformat-Hinweis + höhere Stage im Hochformat ---- */
.hd-rotate-hint { display: none; }
@media (orientation: portrait) and (pointer: coarse) {
  .hd-stage { aspect-ratio: 4 / 5; }
  .hd-rotate-hint {
    display: block; position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
    z-index: 2; width: calc(100% - 24px); max-width: 360px;
    background: rgba(20,16,12,.8); color: #fff; border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px; padding: 8px 12px;
    font-family: var(--sans); font-size: 12.5px; line-height: 1.4; text-align: center;
  }
  .hd-rotate-hint strong { color: #f3d4b4; }
  /* Während der Runde ausblenden + Touch-durchlässig: der Hinweis lag sonst über dem
     HUD/Spielfeld und schluckte Berührungen (analog Kugellabyrinth site.css:3405). */
  .hd-game.is-playing .hd-rotate-hint { display: none; }
  /* ... und generell sobald die HUD-Pille sichtbar ist (Bahn gewählt): beide waren
     top-zentriert und überlappten im Bereit-Zustand (Review-P3, Fix 2026-07-08). */
  .hd-game:has(.hd-hud:not(.hd-hide)) .hd-rotate-hint { display: none; }
}
.hd-rotate-hint { pointer-events: none; }
/* Querformat am Handy: Stage in voller Breite bei 84svh Höhe. Den Foto-Ausschnitt
   übernimmt die Spiel-Engine (rescale in spiel-heisser-draht.js): sie zieht das Foto
   bahn-bewusst in die Breite (nur Tisch/Gestell unten fällt weg) statt es contain-klein
   zu letterboxen. 84svh statt 72svh: der alte Kürzungsgrund (End-CTA im Overlay
   abgeschnitten, P2-D #5) ist seit dem wachsenden Endbildschirm (is-ended) weg.
   svh (statt dvh): stabile, kleine Viewport-Höhe, damit das Feld beim Scrollen nicht
   springt, wenn die Browser-Leiste ein-/ausfährt. */
@media (orientation: landscape) and (pointer: coarse) {
  /* 84vh-Zeile = Fallback fuer Browser ohne svh (iOS <= 15.3): sonst fiele die
     ganze max()-Deklaration weg und die Stage kollabierte auf 0 Hoehe. */
  .hd-stage { aspect-ratio: auto; height: 84vh; height: max(84svh, 220px); min-height: 220px; }
  /* Endscreen-Overlay: Inhalt komprimieren damit CTA im sichtbaren Bereich bleibt */
  .hd-overlay { gap: 8px; padding: 14px 20px; }
  .hd-overlay h2 { font-size: clamp(18px, 3.5vw, 26px); }
  .hd-overlay p  { font-size: 13px; }
  .hd-btns { margin-top: 4px; }
}

/* ============================================================
   Bahn-Nachzeichner (/spielen-trace.php)
   ============================================================ */
.setup-form { display: block; }
.setup-break { word-break: break-all; }
.trace-page { padding: clamp(28px, 5vw, 56px) 0 80px; }
.trace-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.trace-switch > span { font-family: var(--sans); font-size: 14px; color: var(--ink-2); font-weight: 600; }
.trace-switch .btn { padding: 8px 18px; min-height: 40px; }
.trace-steps { margin: 18px 0 22px; padding-left: 20px; color: var(--ink-2); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.trace-steps li { margin-bottom: 6px; }
.trace-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.trace-file { font-family: var(--sans); font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.trace-count { font-family: var(--sans); font-size: 14px; color: var(--ink-3); margin-left: auto; }
.trace-count strong { color: var(--clay); }
.trace-canvas {
  display: block; width: 100%; height: auto; max-width: 100%;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  cursor: crosshair; touch-action: none; background: var(--ink);
}
.trace-out-label { display: block; margin: 16px 0 6px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.trace-out { width: 100%; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.5; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink-2); resize: vertical; }
.trace-hint { margin-top: 16px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }

/* Kugellabyrinth-Trace-Tool (Entzerren + Löcher erfassen) */
.kl-trace h2 { font-family: var(--sans); font-size: 17px; margin: 26px 0 6px; color: var(--ink); }
.kl-step { margin-bottom: 8px; }
.kl-hidden { display: none; }
.kl-num { font-family: var(--sans); font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.kl-num input { width: 64px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.kl-group { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.btn-zone { background: var(--card); color: var(--ink-2); border-color: var(--line); }
.btn-zone[data-zone="10"].is-active { background: #7fb6ff; color: #0b2545; border-color: #7fb6ff; }
.btn-zone[data-zone="30"].is-active { background: #9be37e; color: #173a12; border-color: #9be37e; }
.btn-zone[data-zone="50"].is-active { background: #f5a35a; color: #4a230a; border-color: #f5a35a; }
.kl-trace .btn.is-active { box-shadow: inset 0 0 0 2px rgba(0,0,0,.18); }

/* Kugellabyrinth-Spiel */
.klg-page { padding: clamp(28px,5vw,56px) 0 80px; overscroll-behavior: contain; }
.klg-section { max-width: 720px; margin: 0 auto; padding: 0 28px; }
/* Befund A: schnelles Antippen der Pads darf nicht Ueberschrift/Lede/Regelblock markieren.
   Spielflaeche, Steuerung und die dekorativen Texte nicht selektierbar; das Bestenlisten-
   Eingabefeld und die Bestenliste bleiben bewusst markier-/kopierbar (unten ausgenommen). */
.klg-stage, .klg-controls, .klg-controls-extra,
.klg-section h1, .klg-section .lede, .klg-rules {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.klg-page input, .klg-bl-section, .klg-bl-section * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* Gleicher Rapid-Tap-Schutz fuer Reaktions-Duell + Dribble Champion: identisches
   Risiko (H1/Lede direkt ueber dem Spielfeld), der Schutz existierte nur bei
   Kugellabyrinth/HD-Stage (Konsistenz-Audit 2026-07-29). Eingabefelder und
   Bestenlisten bleiben markierbar. */
.rt-page h1, .rt-page .lede, .rt-board, .rt-pos,
.dc-page h1, .dc-page .lede, .dc-canvas, .dc-modes {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.rt-page input, .dc-page input,
.rt-page .rt-bl-grid, .rt-page .rt-bl-grid *,
.dc-page .rt-bl-grid, .dc-page .rt-bl-grid * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* Kein grauer Tap-Flash auf den Spielflaechen (war nur bei .klg-ctrl gesetzt) */
.rt-cell, #dc-canvas, #hd-canvas, #klg-canvas {
  -webkit-tap-highlight-color: transparent;
}
.klg-game { position: relative; margin: 20px auto 0; }
/* Endbildschirm sichtbar (JS setzt .is-ended): Endkarte waechst mit Inhalt statt in die
   feste Feldhoehe gequetscht zu werden -> nichts wird abgeschnitten. */
.klg-game.is-ended > :not(#klg-end) { display: none !important; }
.klg-game.is-ended #klg-end { position: relative; inset: auto; min-height: 0; overflow: visible; }
.klg-canvas { display:block; width:100%; height:auto; max-width:100%; border:1px solid var(--line); border-radius: var(--r-lg); background:#caa46f; touch-action:none; cursor:crosshair; }
.klg-overlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center; background:rgba(20,16,12,.5); color:#fff; border-radius:var(--r-lg); padding:20px; overflow-y:auto; }
.klg-overlay h2 { margin:0; font-family:var(--serif, serif); }
.klg-overlay p { margin:0; max-width:34ch; font-size:15px; line-height:1.45; }
.klg-overlay .klg-rule { font-size:14px; opacity:.95; }
/* Modus-Wahl am Start: zwei gestapelte Buttons mit Unterzeile (Steuerung + Schwierigkeit). */
.klg-modes { display:flex; flex-direction:column; gap:10px; width:100%; max-width:300px; }
.klg-modes .btn { display:flex; flex-direction:column; gap:2px; align-items:center; line-height:1.2; }
.klg-modes .btn small { font-weight:400; font-size:12px; opacity:.85; }
/* Outline-Buttons (Teilen, Anfragen, Mit Tasten …) stehen auf DUNKLEN Spiel-Overlays — dunkle
   Standard-Schrift wäre unlesbar. Einheitlich hell + leicht gefüllt für ALLE vier Spiele. */
.klg-overlay .btn-out, .rt-overlay .btn-out, .dc-overlay .btn-out, .hd-overlay .btn-out, .game-endcard .btn-out {
  color:#fff; border-color:rgba(255,255,255,.6); background:rgba(255,255,255,.10);
}
.klg-overlay .btn-out:hover, .rt-overlay .btn-out:hover, .dc-overlay .btn-out:hover, .hd-overlay .btn-out:hover, .game-endcard .btn-out:hover {
  background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.85);
}
/* Endscreen-Foto des echten Geräts (Brücke Spiel -> Miete). Kompakt, gerundet, mit
   Papier-Rahmen im Marken-Look; skaliert mit dem Overlay, kein Layout-Sprung (aspect-ratio). */
/* „Das in echt"-Zone (Endbildschirm-Neuaufbau 2026-07-13): der Verkaufs-Block klar
   abgesetzt vom Ergebnis, Foto + Anfrage-CTA als Blickfang. */
.game-echt {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%; margin-top: 4px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.game-echt-cta { font-weight: 700; }
.game-endcard-footer { margin-top: 2px; }
.game-endcard-foto { margin: 0; width: 100%; max-width: 240px; }
.game-endcard-foto img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 12px; border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: no-preference) { .game-endcard-foto img { transition: none; } }

/* Sieg-Stempel: der Endcard-Titel „stempelt" sich beim Einblenden ein (groß + leicht
   gekippt -> Überschwinger -> sitzt). Rein per CSS: die -hidden-Klassen setzen display:none,
   also läuft die Animation bei jedem Einblenden des Endscreens neu. Reduced-Motion: kein Effekt. */
@media (prefers-reduced-motion: no-preference) {
  #dc-result, #klg-end-title, #rt-result, .hd-overlay-end > h2 {
    animation: game-stamp .42s cubic-bezier(.2,.7,.25,1) both;
    transform-origin: center;
  }
}
@keyframes game-stamp {
  0%   { opacity: 0; transform: scale(1.45) rotate(-5deg); }
  55%  { opacity: 1; transform: scale(.93) rotate(1.5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* === Duell-Link (W4): Banner über dem Spiel + Vergleichszeile in der Endcard === */
.duell-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 16px; padding: 8px 8px 8px 14px;
  background: color-mix(in oklab, var(--clay) 8%, var(--card));
  border: 1.5px solid var(--clay); border-radius: var(--r);
  font-size: 14px; color: var(--ink); text-align: left;
}
.duell-banner-text { min-width: 0; }
.duell-banner-close {
  appearance: none; -webkit-appearance: none; border: 0; background: none; cursor: pointer;
  flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 0;
  font-size: 22px; line-height: 1; color: var(--ink-3); border-radius: var(--r);
}
.duell-banner-close:hover { color: var(--clay); }
.duell-banner-close:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.duell-result { font-weight: 600; margin: 2px 0 6px; }

/* „Inhaber geschlagen"-Zeile in der Endcard (W6): einmalig gestempelt, kein Loop */
.chef-beaten { font-weight: 700; margin: 2px 0 6px; }
@media (prefers-reduced-motion: no-preference) {
  .chef-beaten, .duell-result-win {
    animation: game-stamp .42s cubic-bezier(.2,.7,.25,1) both;
    transform-origin: center;
  }
}

/* „Schlag den Chef": der als Chef markierte Bestenlisten-Eintrag (👑) wird in allen
   Boards hervorgehoben. .is-chef wird nur auf Board-<li> gesetzt (Server + Client). */
li.is-chef { background: rgba(212,160,23,.16); border-radius: 6px; }
li.is-chef .hd-b-name, li.is-chef .rt-bl-name { font-weight: 700; color: #f3d4b4; }

/* Spielfeld above the fold (Handy): H1/Lede bleiben oben, dann direkt das Feld, die
   "So geht's"-Box rutscht darunter. Reine order-Umsortierung (kein Markup verschoben),
   gescopt je Spiel-Seite — die global genutzte .wrap wird NUR hier flex. Panel 2026-07-04. */
@media (max-width: 700px) {
  .klg-section, .dc-section, .rt-section { display: flex; flex-direction: column; }
  .hd-game { display: flex; flex-direction: column; }
  .hd-game > .hd-rules,
  .klg-section > .game-rules, .dc-section > .game-rules, .rt-section > .game-rules { order: 5; margin-top: 14px; }
}
/* display:none muss die display:flex der Overlays/HUD schlagen (gleiche Spezifität, spätere Regeln) */
.klg-hidden { display:none !important; }
.klg-hud { position:absolute; top:10px; left:12px; display:flex; gap:16px; align-items:center; font-family:var(--sans); font-size:14px; color:#fff; background:rgba(20,20,20,.45); padding:6px 12px; border-radius:999px; }
/* Abbrechen-Button (alle Spiele): bricht die laufende Runde ab und zeigt den Endbildschirm. */
.game-abort { appearance:none; -webkit-appearance:none; cursor:pointer; pointer-events:auto; display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; font-family:var(--sans); font-size:13px; font-weight:600; line-height:1; padding:0 14px; border-radius:999px; border:1px solid rgba(0,0,0,.18); background:var(--clay,#b5532e); color:#fff; }
.game-abort:hover { filter:brightness(1.06); }
/* Floatbar (Schnellkontakt, nur Mobil) auf den Spielseiten ausblenden — sie überlappte die
   Endscreens, und jedes Spiel hat einen eigenen „Anfragen"-CTA im Endbildschirm.
   Marker ist .hd-section (Seiten-Wrapper), NICHT .hd-stage: die Stage steckt seit der
   Startseiten-Arcade auch in index.php, dort soll die Floatbar sichtbar bleiben. */
body:has(.klg-page) .fbar, body:has(.rt-page) .fbar, body:has(.dc-page) .fbar, body:has(.hd-section) .fbar { display:none !important; }
/* Arcade (Startseite): Pille weg, solange im Slot GESPIELT wird — sie lag klickbar über
   Buzzern/Punktefeldern und fing Taps ab (P1, 3-Perspektiven-Review 2026-07-07). */
body:has(.spielslot .is-playing) .fbar,
body:has(.spielslot #rt-hud:not(.rt-hidden)) .fbar,
body:has(.spielslot #dc-hud:not(.dc-hidden)) .fbar { display:none !important; }
.klg-result { font-size:20px; }
.klg-best { display:block; font-size:14px; opacity:.85; margin-top:4px; }
.klg-end-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
/* touch-action:manipulation auf den Steuerflaechen: unterdrueckt den Doppeltipp-Zoom beim
   schnellen Mashen (Pinch-Zoom bleibt fuer A11y erhalten). Sonst zoomte ein Tipp in die Luecke
   zwischen den Buttons die Seite und die Buttons wirkten "gross". safe-area: Pads weg von der
   iOS-Homebar/Gesten-Zone. */
.klg-controls { display:flex; justify-content:space-between; gap:12px; margin-top:14px; touch-action:manipulation; padding-bottom:max(0px, env(safe-area-inset-bottom)); }
.klg-pad { display:flex; flex-direction:column; gap:12px; align-items:center; touch-action:manipulation; }
.klg-pad-label { font-family:var(--sans); font-size:13px; color:var(--ink-3); touch-action:manipulation; }
.klg-ctrl { display:flex; align-items:center; justify-content:center; gap:8px; min-width:96px; min-height:56px; font-size:22px; line-height:1; touch-action:none; user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent; -webkit-touch-callout:none; }
/* Nur Farbe beim Halten, kein vertikaler 1px-Versatz vom .btn (sonst Wackeln beim Dauerdruck). */
.klg-ctrl:active { background: var(--clay); color:#fff; transform:none; }
/* Halte-Feedback: bleibt waehrend Pointer-Capture zuverlaessig sichtbar (anders als :active). */
.klg-ctrl.is-holding { background: var(--clay); color:#fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
/* Tasten-Cap: zeigt dauerhaft die Tastatur-Belegung am Pfeil (W/S links, Pfeile rechts). */
.klg-key { font-family:var(--sans); font-size:12px; font-weight:700; line-height:1; padding:3px 6px; border:1px solid currentColor; border-radius:5px; opacity:.7; pointer-events:none; }
/* Tasten-Caps (W/S/Pfeile) nur dort zeigen, wo es eine Tastatur gibt — am Touch-Gerät weg. */
@media (hover: none) and (pointer: coarse){ .klg-key { display:none; } }
@media (max-width:520px){ .klg-ctrl { min-width:84px; min-height:66px; font-size:24px; } .klg-section { padding:0 16px; } }
/* Layout #1: ab 768px die Pads links/rechts neben den Canvas, Block zentriert. <768px unverändert (Pads unter Canvas). */
/* Pads links/rechts neben den Canvas NUR auf Maus-Geraeten. Touch-Geraete >=768px (grosse Phones
   im Querformat) behalten die gestapelte Mobil-Steuerung, damit die Pads in Daumennaehe bleiben. */
@media (min-width:768px) and (pointer:fine){
  .klg-stage{ display:flex; align-items:center; justify-content:center; gap:clamp(12px,2.5vw,28px); }
  #klg-controls:not(.klg-hidden){ display:contents; }
  .klg-game{ order:2; flex:1 1 auto; max-width:560px; margin:0; position:relative; }
  .klg-pad-l{ order:1; }
  .klg-pad-r{ order:3; }
  .klg-pad{ margin:0; flex:0 0 auto; }
  .klg-ctrl{ min-width:96px; min-height:56px; }
}
/* Enges Desktop-Band: Canvas schmaler, Pads dennoch >=44px Touch-Target. */
@media (min-width:768px) and (max-width:960px) and (pointer:fine){ .klg-game{ max-width:420px; } .klg-ctrl{ min-width:64px; min-height:48px; } }
@media (min-width:960px){ .klg-section{ max-width:980px; } .klg-game{ max-width:560px; } }

/* ---- Mobil: Querformat-Hinweis + Hochformat-Höhe/Overscroll-Schutz ---- */
.klg-rotate-hint { display: none; }
@media (orientation: portrait) and (pointer: coarse) {
  /* Hochformat am Handy: hohe Stage, Ziel oben außerhalb der Daumen-Reichweite. Hinweis aufs
     Querformat einblenden und die Spielfeldhöhe an den Viewport koppeln, damit Feld und Steuerung
     gleichzeitig sichtbar bleiben (das JS deckelt zusätzlich über innerHeight). */
  .klg-rotate-hint {
    display: block; position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
    z-index: 2; width: calc(100% - 24px); max-width: 360px;
    background: rgba(20,16,12,.8); color: #fff; border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px; padding: 8px 12px;
    font-family: var(--sans); font-size: 12.5px; line-height: 1.4; text-align: center;
  }
  .klg-rotate-hint strong { color: #f3d4b4; }
  /* Hinweis nur vor dem Spiel zeigen; sobald gespielt wird, verdeckt er das Feld nicht mehr. */
  .klg-game.is-playing .klg-rotate-hint { display:none; }
  /* Hochformat: kein Höhen-Cap. Das Feld nutzt die volle Breite (JS, breitengetrieben), die Höhe
     folgt der Original-Proportion; die Seite scrollt, falls das Feld höher als der Viewport ist. */
  .klg-canvas { max-height: none; }
}
@media (orientation: landscape) and (pointer: coarse) {
  /* Querformat am Handy: das Feld an die Bildschirmhöhe koppeln, damit es nicht über den Viewport
     hinausragt (sonst kein Scrollen mehr, weil das Spielfeld den Touch abfängt). */
  .klg-canvas { max-height: 80svh; }
}

/* Reaction Table — Reaktions-Duell (weiße Platte, runde Leucht-Buttons wie das echte Gerät) */
.rt-page { padding: clamp(28px,5vw,56px) 0 80px; }
.rt-section { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.rt-game { position: relative; margin: 18px auto 0; max-width: 500px; transition: margin .2s ease, max-width .2s ease; }
/* Endbildschirm sichtbar (JS setzt .is-ended): Spielfeld/HUD/Start ausblenden und die
   Endkarte in den normalen Fluss stellen, damit sie MIT dem Inhalt waechst statt in die
   feste Feldhoehe gequetscht zu werden (kein inneres Scrollen/Abschneiden mehr). */
.rt-game.is-ended > :not(#rt-end) { display: none !important; }
.rt-game.is-ended #rt-end { position: relative; inset: auto; min-height: 0; overflow: visible; }
.rt-pos { display: none; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-family: var(--sans); }  /* nur am Handy sichtbar */
.rt-pos-label { font-size: 14px; color: var(--ink-3); }
/* Touch-Target ≥44px (P2-D #1): rt-pos Toggle war 38px → 44px */
.rt-pos .btn { padding: 8px 14px; min-height: 44px; }
.rt-pos .btn.is-active { background: var(--clay); color: #fff; border-color: var(--clay); }
/* Positionswahl (Rechts-/Linkshänder) nur am Handy — Desktop bleibt normal-groß mittig. */
@media (max-width: 700px) {
  .rt-pos { display: flex; }
  .rt-game { max-width: 92vw; }
  .rt-game.pos-left   { margin-left: 0;    margin-right: auto; }
  .rt-game.pos-right  { margin-left: auto; margin-right: 0; }
  .rt-game.pos-center { margin-left: auto; margin-right: auto; }
}
.rt-board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 3.2vw, 22px);
  background:
    radial-gradient(130% 90% at 50% -10%, #fffdf8, rgba(255,253,248,0) 60%),
    linear-gradient(158deg, #f3ede1, #e4dccd);
  border: 1px solid #ddd4c4; border-radius: 22px; padding: clamp(24px, 6.5vw, 44px);
  box-shadow: 0 14px 34px rgba(0,0,0,.14), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.6);
  touch-action: manipulation;
}
.rt-cell {
  appearance: none; -webkit-appearance: none; border: 0; padding: 0; cursor: pointer;
  position: relative;   /* Bezugsrahmen für das ::after-Cue (✓/✕), sonst sitzt es daneben */
  aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #46474a, #17181a 68%);
  display: grid; place-items: center;
  box-shadow: 0 5px 9px rgba(0,0,0,.38), inset 0 1px 1px rgba(255,255,255,.14), inset 0 -2px 3px rgba(0,0,0,.5);
  transition: transform .06s ease;
  /* touch-action:none: kein Pan/Doppeltipp-Zoom beim schnellen Mashen → keine verschluckten Taps */
  touch-action: none;
}
.rt-cell:active { transform: scale(.93); }
/* Domgewölbter, milchiger Glas-Cap mit Glanzlicht + Bodenschatten (3D-Look). */
.rt-glass {
  width: 78%; height: 78%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.95), rgba(255,255,255,0) 40%),
    radial-gradient(circle at 50% 120%, rgba(0,0,0,.22), rgba(0,0,0,0) 52%),
    radial-gradient(circle at 50% 52%, #f6f8fa, #d7dbe0 70%, #c3c9cf);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.95), inset 0 -5px 9px rgba(0,0,0,.22), 0 1px 1px rgba(255,255,255,.5);
  transition: background .04s ease, box-shadow .04s ease;
}
/* Leuchtend = von innen glühend (heller Kern + Bloom), nicht flach. */
.rt-cell.is-player .rt-glass {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.85), rgba(255,255,255,0) 38%),
    radial-gradient(circle at 50% 58%, #b6ffc4, #3fbf5f 52%, #1f8a3e 92%);
  box-shadow: 0 0 20px 5px rgba(63,191,95,.8), inset 0 2px 3px rgba(255,255,255,.6), inset 0 -4px 8px rgba(0,0,0,.25);
}
.rt-cell.is-bot .rt-glass {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 38%),
    radial-gradient(circle at 50% 58%, #fff6cf, #f5c531 52%, #c89307 92%);
  box-shadow: 0 0 20px 5px rgba(245,197,49,.82), inset 0 2px 3px rgba(255,255,255,.6), inset 0 -4px 8px rgba(0,0,0,.25);
}
.rt-cell.is-locked { opacity: .55; }
/* Farb-Cue (WCAG 1.4.1: nicht nur über Farbe unterscheidbar): kleines Symbol
   mittig über dem Glas-Cap — ✓ für Spieler (grün), ✕ für Bot (gelb). Dezent,
   nicht-interaktiv. .rt-cell hat durch transform einen eigenen Containing-Block. */
.rt-cell.is-player::after,
.rt-cell.is-bot::after {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: clamp(13px, 3.4vw, 20px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 1px rgba(255,255,255,.7);
}
.rt-cell.is-player::after { content: "✓"; color: #1f6a33; }
.rt-cell.is-bot::after    { content: "✕"; color: #8a6206; }
/* Simon-Modus: 4 Spaltenfarben (gedämpfte Basis, heller Flash bei Sequenz/Druck) */
.rt-cell.sc0 .rt-glass { background: radial-gradient(circle at 38% 32%, #e9f7ec, #bfe6c8 70%, #a8dab4); }
.rt-cell.sc1 .rt-glass { background: radial-gradient(circle at 38% 32%, #fdf6dc, #f1e3a8 70%, #ecd98f); }
.rt-cell.sc2 .rt-glass { background: radial-gradient(circle at 38% 32%, #fbe6e4, #f0b3ad 70%, #ea9d95); }
.rt-cell.sc3 .rt-glass { background: radial-gradient(circle at 38% 32%, #e4edfd, #aac3f2 70%, #93b3ee); }
.rt-cell.sc0.flash .rt-glass { background: radial-gradient(circle at 38% 32%, #d6ffd9, #3fbf5f 55%, #2a9a45); box-shadow: 0 0 16px 3px rgba(63,191,95,.85), inset 0 2px 5px rgba(255,255,255,.5); }
.rt-cell.sc1.flash .rt-glass { background: radial-gradient(circle at 38% 32%, #fff4c2, #f5c531 55%, #d9a516); box-shadow: 0 0 16px 3px rgba(245,197,49,.9), inset 0 2px 5px rgba(255,255,255,.5); }
.rt-cell.sc2.flash .rt-glass { background: radial-gradient(circle at 38% 32%, #ffd6d2, #e8514a 55%, #c8362f); box-shadow: 0 0 16px 3px rgba(232,81,74,.85), inset 0 2px 5px rgba(255,255,255,.5); }
.rt-cell.sc3.flash .rt-glass { background: radial-gradient(circle at 38% 32%, #cfe0ff, #3f7bf0 55%, #2257c8); box-shadow: 0 0 16px 3px rgba(63,123,240,.85), inset 0 2px 5px rgba(255,255,255,.5); }
/* Buzzer-Hatz (ohne scN-Klassen): kurzer Treffer-/Bot-Puls. Die ✓/✕-Besitzmarken
   (is-player/is-bot) kommunizieren den Zustand dauerhaft; diese 160-ms-Pulse geben
   dem Moment zusätzlich Feedback. .scN.flash (Simon) bleibt spezifischer und gewinnt.
   hit = eigener Treffer (grün), flash = Bot-Druck (warm/clay). */
.rt-cell.hit .rt-glass   { box-shadow: 0 0 16px 3px rgba(31,106,51,.7), inset 0 2px 5px rgba(255,255,255,.5); }
.rt-cell.flash .rt-glass { box-shadow: 0 0 16px 3px rgba(181,81,47,.7), inset 0 2px 5px rgba(255,255,255,.5); }
.rt-hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-family: var(--sans); font-size: 15px; }
.rt-hud .rt-time { font-size: 18px; }
.rt-score-player strong { color: #2a9a45; } .rt-score-bot strong { color: #c79610; }
.rt-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; background: rgba(20,20,20,.5); color: #fff; border-radius: 18px; padding: 24px; }
.rt-overlay h2 { margin: 0; font-family: var(--serif, serif); }
.rt-overlay p { margin: 0; max-width: 36ch; }
.rt-hidden { display: none !important; }   /* muss .game-endcard display:flex schlagen (spaetere Regel, gleiche Spezifitaet) */
.rt-modes { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.rt-mode-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.rt-mode-label { font-family: var(--sans); font-size: 14px; opacity: .9; }
.rt-hint { font-family: var(--sans); font-size: 13px; opacity: .82; max-width: 38ch; }
.rt-hud #rt-hud-left { font-weight: 700; } .rt-hud #rt-hud-right { font-variant-numeric: tabular-nums; }
/* Bestenliste + Eintrag (wie Heißer Draht) */
.rt-submit { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.rt-submit input { padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); font: inherit; max-width: 170px; }
/* Auf der deckenden, dunklen End-Karte braucht das Eingabefeld eigene Farben,
   sonst heller Erbtext auf weissem Browser-Default-Feld (kaum lesbar). */
.game-endcard .rt-submit input { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.4); color: #fff; }
.game-endcard .rt-submit input::placeholder { color: rgba(255,255,255,.55); }
/* Kuerzel-Transparenzhinweis (Art. 13: Info am Erhebungsort, wie beim Heissen Draht) */
.rt-submit-hint { font-size: .72rem; opacity: .8; margin: 4px auto 0; max-width: 44ch; line-height: 1.4; }
.rt-rank { margin: 0; font-size: 14px; min-height: 1.1em; }
.rt-bl-section { margin-top: 36px; }
.rt-bl-note { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.rt-bl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 14px; }
.rt-bl-col > h3 { font-family: var(--sans); font-size: 16px; margin: 0 0 8px; }
.rt-bl-col > h3 span { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.rt-bl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rt-bl-two h4 { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 0 0 6px; }
.rt-bl { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 14px; }
.rt-bl li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--line); }
.rt-bl-rank { color: var(--ink-3); }
.rt-bl-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-bl-score { font-weight: 700; color: var(--clay); }
/* Datums-Spalte sichtbar (war display:none -> Spalte existierte nur im Markup;
   T3-Gate 2026-07-29) */
.rt-bl-meta { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.rt-bl-empty { color: var(--ink-3); padding: 6px 0; list-style: none; }
@media (max-width: 680px) { .rt-bl-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Dribble Champion */
.dc-page { padding: clamp(28px,5vw,56px) 0 80px; }
.dc-section { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.dc-game { position: relative; margin: 18px auto 0; max-width: 440px; }
/* Endbildschirm sichtbar (JS setzt .is-ended): Endkarte waechst mit Inhalt. */
.dc-game.is-ended > :not(#dc-end) { display: none !important; }
.dc-game.is-ended #dc-end { position: relative; inset: auto; min-height: 0; overflow: visible; }
.dc-canvas { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: radial-gradient(130% 95% at 50% -8%, #2a221a, #140f0a); touch-action: none; cursor: pointer; }
.dc-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; background: rgba(15,18,24,.5); color: #fff; border-radius: var(--r-lg); padding: 24px; }
.dc-overlay h2 { margin: 0; font-family: var(--serif, serif); }
.dc-overlay p { margin: 0; max-width: 36ch; }
.dc-hidden { display: none !important; }   /* muss .game-endcard display:flex schlagen (spaetere Regel, gleiche Spezifitaet) */
/* padding-right 108px: Platz fuer die absolute Ton-Pille (~90px + 8px right);
   60px lieszen sie den Abbrechen-Button ueberdecken (Abschluss-Review 2026-07-29) */
.dc-hud { position: absolute; top: 10px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 108px 0 14px; font-family: var(--sans); font-size: 15px; color: #fff; pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.dc-hud strong { color: #f7a14a; }
.dc-lives { letter-spacing: 2px; font-size: 14px; }
.dc-modes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dc-hint { font-family: var(--sans); font-size: 13px; opacity: .82; }
/* Touch-Target ≥44px (P2-D #1): dc-mute visuell 36px, Hit-Area auf 44px via min-width/min-height */
.dc-mute { position: absolute; top: 8px; right: 8px; height: 36px; min-height: 44px; padding: 0 14px; border-radius: 100px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.dc-bl-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 680px) { .dc-bl-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .dc-section { padding: 0 14px; } }

/* Spielseiten-H1 einheitlich im Site-Serif (statt Browser-Default-Sans) */
.hd-section h1, .klg-section h1, .rt-section h1, .dc-section h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.08;
}
.hd-section h1 em, .klg-section h1 em, .rt-section h1 em, .dc-section h1 em { font-style: italic; color: var(--clay); }
.rt-best { display: block; font-size: 14px; opacity: .85; }
.rt-end-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .rt-glass { transition: none; } }
@media (max-width:520px){
  .rt-section { padding: 0 14px; }
  /* HUD am Handy kompakter, damit Treffer/Zeit/Abbrechen nicht kollidieren. */
  .rt-hud { gap: 8px; font-size: 13px; }
  .rt-hud .game-abort { padding: 6px 10px; font-size: 13px; }
}

/* =========================================================================
   Mobil-Feinschliff (Review 2026-06-22) — Überläufe, Abstände, Lesbarkeit
   ====================================================================== */
@media (max-width: 520px) {
  /* Hero-CTAs sauber stapeln statt unkontrolliert umzubrechen */
  .hero-cta { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  /* Kursive Schluss-Aussage darf auf sehr schmalen Screens doch umbrechen (kein Overflow) */
  .hero-em-wrap { white-space: normal; }
}
@media (max-width: 680px) {
  /* Lange Button-Labels nicht quetschen */
  .btn { padding: 12px 18px; gap: 6px; font-size: 14px; }
}
@media (max-width: 560px) {
  /* Featured-Reihen nicht in zu kleine Mindesthöhe quetschen */
  .feat-row { min-height: auto; align-items: start; }
}
@media (max-width: 400px) {
  .ribbon { padding: 16px 12px; gap: 8px 16px; }
  .preis-hinweis { font-size: 13px; text-align: left; line-height: 1.6; }
}
@media (max-width: 380px) {
  /* Float-Bar enger schnüren, damit 3 Pills + Badge passen */
  .fbar { gap: 5px; padding: 6px; }
  .fbar a { padding: 10px 8px; font-size: 13px; }
  /* Sehr schmale Screens: Merkliste-Textlabel ausblenden (Icon + Zahl reichen), kein Quetschen */
  .merkliste-badge-label { display: none; }
  /* Sehr schmale Screens: Raster einspaltig statt gequetscht */
  .teaser-grid, .gp-grid { grid-template-columns: 1fr; gap: 8px; }
}
/* P2-D #2: Float-Bar auf 360px — WhatsApp auf Icon reduzieren, kein Überlauf */
@media (max-width: 360px) {
  .fbar { gap: 4px; padding: 5px; }
  .fbar a { padding: 10px 7px; font-size: 13px; }
  /* WhatsApp-Label ausblenden, nur Icon bleibt */
  .fbar .w .fbar-wa-label { display: none; }
  /* Merkliste-Badge kompakt */
  .merkliste-badge { padding: 8px 9px; gap: 3px; }
  .merkliste-badge-count { min-width: 16px; height: 16px; font-size: 10px; }
}
@media (max-width: 480px) {
  .acard { padding: 16px; }
  .step { padding: 24px 20px; }
}
/* Lange Spielnamen in Bundle-Listen sauber umbrechen */
.acard .bundle { overflow-wrap: break-word; word-break: break-word; }

/* === Online-Spiele Hub (online-spiele.php) === */
.arcade-section { padding: clamp(40px, 7vw, 88px) 0; }
.arcade-grid {
  display: grid; gap: 18px; margin: 36px auto 0; max-width: 760px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 620px) { .arcade-grid { grid-template-columns: 1fr; } }
.arcade-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--paper); border: 1px solid var(--paper-2); border-radius: 18px;
  text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(32,28,22,.04); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.arcade-card:hover, .arcade-card:focus-visible {
  transform: translateY(-3px); border-color: var(--clay);
  box-shadow: 0 10px 26px rgba(32,28,22,.12);
}
.arcade-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--paper-2); color: var(--clay);
  display: grid; place-items: center; flex-shrink: 0;
}
.arcade-card-body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.arcade-card-name { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0; }
.arcade-card-desc { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.arcade-card-tags { color: var(--ink-3); font-size: 12.5px; letter-spacing: .02em; margin-top: 2px; }
.arcade-card-cta {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  color: var(--clay); font-weight: 600; font-size: 15px;
}
.arcade-card:hover .arcade-card-cta svg { transform: translateX(3px); }
.arcade-card-cta svg { transition: transform .15s ease; }
.arcade-foot { text-align: center; max-width: 620px; margin: 34px auto 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.arcade-foot a { color: var(--clay); }

/* === Online-spielen-Button auf der Spiel-Detailseite (spiel.php) === */
.sd-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sd-cta-play { display: inline-flex; align-items: center; gap: 8px; }
.sd-cta-play svg { flex: 0 0 auto; }
.sd-play-note { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }
/* Unikat-Zeile unter dem CTA (spiel.php): dezent, umbricht mobil sauber */
.sd-unikat { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 46ch; }
/* Teilen-Knopf reiht sich sauber neben Nochmal/Anfragen ein (nutzt bestehendes .btn-out) */
.rt-end-actions [data-share], .klg-end-actions [data-share], .hd-btns [data-share] { white-space: nowrap; }

/* === Ton-Toggle (Reaction + Kugellabyrinth) === */
.klg-controls-extra { display: flex; justify-content: center; margin-top: 12px; }
.rt-sound, .klg-sound { font-size: 14px; }

/* === Online-spielen-Button: Portfolio-Karten + Startseiten-Favoriten === */
.port-card-ctas {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.port-card-ctas .port-card-cta-wip { margin-top: 0; padding-top: 0; }
.port-card-play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  padding: 7px 13px;
}

/* ===================================================================
   Gemeinsame Spiele-Bausteine (u1)
   Genutzt von allen vier Spielen: Heisser Draht, Kugellabyrinth,
   Reaction Table, Dribble Champion. Generisch benannt, damit die
   spielspezifischen Klassen (.hd-* .klg-* .rt-* .dc-*) sie wiederverwenden.
   =================================================================== */

/* (a) Misclick-Schutz: Aktions-Buttons nach Spielende kurz gesperrt.
   JS legt diese Klasse per armCooldown() auf den Aktions-Container und
   nimmt sie nach dem Cooldown wieder weg. Die direkten Kinder (Buttons,
   Links, Teilen-Knopf) werden abgedimmt und nicht klickbar. Das
   Bestenlisten-Eingabefeld liegt bewusst in einem eigenen Container und
   ist deshalb NIE betroffen. pointer-events:none sperrt auch <a>-Tags,
   die kein disabled kennen. */
.is-cooldown { position: relative; cursor: not-allowed; }
.is-cooldown > .btn,
.is-cooldown > .btn-out,
.is-cooldown > .btn-ink,
.is-cooldown > a,
.is-cooldown > button,
.is-cooldown > [data-share] {
  opacity: .45;
  pointer-events: none;
  cursor: not-allowed;
  transition: opacity .25s ease;
}
/* Dezenter, sichtbarer Hinweis ueber dem Button-Block, damit kein
   Bug-Eindruck entsteht. */
.is-cooldown::after {
  content: "gleich verfügbar";
  position: absolute;
  left: 50%;
  top: -1.5em;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .01em;
  opacity: .75;
  white-space: nowrap;
  pointer-events: none;
}

/* (b) Deckende End-Screen-Karte.
   Opaker Backdrop ueber Canvas/Brett, zentrierte Karte, scrollbar bei
   viel Inhalt. Die spielspezifischen End-Overlays bekommen .game-endcard
   zusaetzlich (oder die Eigenschaften per Mixin), der innere Karten-Block
   .game-endcard-inner. Beides ist generisch, alle vier Spiele teilen es. */
.game-endcard {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  /* Deckend, nicht transparent: Ergebnis liegt nicht mehr lesbar-schwach
     ueber Bild/Canvas. */
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 24px;
  /* Bei viel Inhalt scrollen statt aus der Box quellen. */
  overflow-y: auto;
  min-height: 100%;
}
.game-endcard h2 { margin: 0; font-family: var(--serif, serif); }
.game-endcard p { margin: 0; max-width: 36ch; line-height: 1.45; }
/* Optionale innere Karte, falls ein Spiel den Inhalt zusaetzlich rahmt. */
.game-endcard-inner {
  width: 100%;
  max-width: 440px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* (c) Regeln-/Erklaer-Block UEBER dem Spielfeld.
   Normaler Fluss, nicht als transparentes Overlay auf dem Canvas.
   Beliebige Textmenge, immer lesbar (dunkle Schrift auf Papier). */
.game-rules {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
}
.game-rules > :first-child { margin-top: 0; }
.game-rules > :last-child { margin-bottom: 0; }
.game-rules h3 {
  margin: 0 0 6px;
  font-family: var(--serif, serif);
  font-size: 17px;
  font-weight: 600;
}
.game-rules p { margin: 0 0 8px; }
.game-rules ul, .game-rules ol { margin: 0 0 8px; padding-left: 1.3em; }
.game-rules li { margin: 2px 0; }

@media (max-width: 520px) {
  .game-endcard { padding: 16px; gap: 10px; }
  .game-endcard-inner { gap: 10px; }
  .game-rules { padding: 12px 13px; font-size: 14px; }
}
.feat-body .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
/* CTA-Hierarchie Featured: Preis + Primaerbutton "Jetzt anfragen" in einer
   Zeile, "Online spielen" als dezenter Textlink eine Zeile darunter. */
.feat-body .cta .feat-anfrage { flex: 0 0 auto; }
.feat-play-link {
  flex-basis: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  min-height: 36px;
}
.feat-play-link svg { flex-shrink: 0; opacity: .8; }
.feat-play-link:hover,
.feat-play-link:focus-visible { color: var(--clay-deep); text-decoration: underline; }

/* ============================================================
   Feedback-Runde 2: Anfrage-Interaktion + Kachel-Feinschliff
   ============================================================ */

/* Weitere Spiele: Name reserviert zwei Zeilen, damit der Preis ueber alle
   Kacheln auf gleicher Hoehe startet (kein Versatz bei Namens-Umbruch). */
.ws-kachel-name { min-height: 2.5em; }
.ws-kachel-link .ws-kachel-preis { margin-top: auto; }

/* Kachel selbst fuehrt zur Detailseite; der "+"-Button legt das Spiel direkt
   zur Anfrage (ohne Scrollen, JS in app.js). */
.ws-kachel { position: relative; }
.ws-kachel-add {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 2px 8px rgba(40,28,16,0.22);
  text-decoration: none;
  z-index: 2;
  transition: background .18s, transform .18s;
}
.ws-kachel-add:hover { background: var(--clay-deep); transform: scale(1.06); }
.ws-kachel-add:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.ws-kachel-add .ws-kachel-add-check { display: none; }
.ws-kachel-add.is-added { background: #22703f; }
.ws-kachel-add.is-added .ws-kachel-add-plus { display: none; }
.ws-kachel-add.is-added .ws-kachel-add-check { display: block; }

/* Eventmodul "Bald verfuegbar": sitzt jetzt im Button-Slot (Sibling der
   Media-Verlinkung) auf gleicher Hoehe wie "Zur Anfrage hinzufuegen". */
.tcard-wip > .tcard-wip-badge {
  margin: 0 16px 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

/* "Hinzugefuegt"-Feedback fuer die Text-Buttons.
   Gruen einheitlich #22703f: Weiss auf dem alten #2f8f5b lag bei 4.04:1 und
   verfehlte AA (4.5:1) fuer 14px-Text; #22703f schafft ~6:1 (Review 2026-07-29). */
.tcard-anfragen.is-added,
.feat-anfrage.is-added,
.port-card-anfragen.is-added,
.sd-cta.is-added { background: #22703f; border-color: #22703f; color: #fff; }
/* Pfeil verspricht Navigation, die der Klick nicht macht -> im Feedback-Zustand
   unsichtbar, Platz bleibt reserviert (F5-Fix 2026-07-29, im T2-Umbau verloren
   gegangen; Abschluss-Review). */
.feat-anfrage.is-added svg,
.port-card-anfragen.is-added svg { visibility: hidden; }

/* === Konsistenz-Audit 2026-07-29: Kachel-Vereinheitlichung === */
/* Meta-Zeile der Teaser-Karten (Spieler/Dauer/Platz/Strom) wie port-card-meta */
.tcard-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.tcard-meta span {
  font-size: 12px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* "Online spielen" auf Teaser-Karten (Optik wie feat-play-link, Ziel = Uebersicht) */
.tcard-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -8px 16px 14px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clay);
  text-decoration: none;
}
.tcard-play:hover { text-decoration: underline; }
/* Portfolio: Bild verlinkt zur Detailseite, Lightbox haengt am Badge-Button */
.port-card-media { position: relative; }
a.port-card-img { display: block; }
a.port-card-img img { transition: transform .25s ease; }
.port-card:hover .port-card-img img { transform: scale(1.03); }
.port-card-zoom {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: flex-end;
  background: none;
  border: 0;
  cursor: zoom-in;
}
.port-card-zoom:focus-visible { outline: 3px solid var(--clay); outline-offset: -3px; border-radius: 8px; }
.mbo-static { position: static; }
/* Karten-Hover-Anheben wie tcard (fehlte auf der Haupt-Verkaufsseite) */
.port-card { transition: transform .22s, box-shadow .22s; }
.port-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40,28,16,0.10); }
/* Anfrage-Button auf Portfolio-Karten (voller Clay-Button statt Textlink) */
.port-card-ctas .port-card-anfragen {
  font-size: .88rem;
  min-height: 44px;
  line-height: 1.2;
  padding: 8px 14px;
}
/* Portfolio "Online spielen": klickbar erkennbar (vorher nur geerbte Textfarbe) */
.port-card-play { color: var(--clay); font-weight: 500; text-decoration: none; }
.port-card-play:hover { text-decoration: underline; }
/* ws-Kacheln: gleiches 4:3-Format (Admin-Crop = WYSIWYG), Radius + Serif wie ueberall */
.ws-kachel-link { border-radius: var(--r-lg); }
.ws-kachel-img { height: auto; aspect-ratio: 4 / 3; }
.ws-kachel-name { font-family: var(--serif); font-size: 12px; }
/* Teaser-Preis in Feature-/Portfolio-Groesse (Karten sind vergleichbar gross) */
.tcard-preis { font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  .ws-kachel-add { transition: none; }
  .ws-kachel-add:hover { transform: none; }
}

/* ============================================================
   /bewertung — versteckte Feedback-Seite (noindex)
   ============================================================ */
.bewertung-section { padding: clamp(48px, 8vw, 96px) 0; }
.bw-card { text-align: center; }
.bw-card .eyebrow { justify-content: center; }
.bw-card h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.bw-card .lede { color: var(--ink-2); margin: 14px auto 0; max-width: 46ch; }
.bw-stars { display: inline-flex; gap: 6px; margin: 28px 0 0; }
.bw-star {
  width: 48px;
  height: 48px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--line-2);
  transition: color .15s, transform .15s;
}
.bw-star svg { width: 100%; height: 100%; display: block; }
.bw-star:hover { transform: scale(1.08); }
.bw-star:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; border-radius: 8px; }
.bw-star.is-on,
.bw-star.is-preview { color: #e0a32e; }
.bw-star.is-on svg,
.bw-star.is-preview svg { fill: #e8b34a; }
.bw-result { margin: 26px auto 0; max-width: 42ch; }
.bw-thanks { font-size: 17px; color: var(--ink); margin: 0; }
.bw-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.bw-google-hint { font-size: 13px; color: var(--ink-3); margin: 16px auto 0; max-width: 42ch; }
.bw-google-hint a { color: var(--clay-deep); }
.bw-reset {
  /* 44px-Ziel wie .merkliste-leeren (WCAG 2.5.5; Audit 2026-07-29) */
  padding: 8px 10px;
  min-height: 44px;
  margin-top: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-3);
  font-size: 13px;
  font-family: var(--sans);
  text-decoration: underline;
}
.bw-reset:hover { color: var(--ink); }

/* Footer WhatsApp-DSGVO-Hinweis (vorher inline-style, CSP-konform ausgelagert). */
.foot .wa-dsgvo-hint { font-size: 11px; opacity: .65; }
.foot .wa-dsgvo-hint a { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .bw-star { transition: none; }
  .bw-star:hover { transform: none; }
}

/* --- Arcade (Startseite): Tab-Sektion mit 4 direkt spielbaren Spielen ------
   Reiter-Pillen + je Spiel ein heller Karten-Slot mit dem geteilten
   Spiel-Kern-Partial (templates/spiele/*-modul.php). Engines lädt arcade.js
   erst nach Reiter-Klick (lazy). */
.spiel-arcade { padding: clamp(48px, 7vw, 90px) 0; text-align: center; }
.spiel-arcade .sec-head { margin-bottom: 26px; }
.spiel-arcade .sec-head h2 em { font-style: italic; color: var(--clay); }

#spiel-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.arcade-tab {
  appearance: none; -webkit-appearance: none;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2;
  cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
}
/* Rekord-Zeile unter dem Reiter-Label (W1): klein, dezent, keine offene Herausforderung verpassen */
.arcade-tab-rekord { font-size: 11px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.arcade-tab[aria-selected="true"] .arcade-tab-rekord { color: var(--clay-deep); }
.arcade-tab:hover { border-color: var(--clay); }
.arcade-tab:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.arcade-tab[aria-selected="true"] {
  border-color: var(--clay); color: var(--clay-deep);
  background: color-mix(in oklab, var(--clay) 9%, var(--card));
}

.arcade-hint { margin: 12px auto 0; max-width: 560px; font-size: 12.5px; color: var(--ink-3); }

.spielslot {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 32px); margin: 22px auto 0; max-width: 760px;
  text-align: left;
}
#tab-kl { max-width: 900px; }
.spielslot[hidden] { display: none; }
/* Persönlicher Rekord im Slot-Kopf (W11): dezente Einzeiler-Zeile aus arcade.js */
.slot-kopf .slot-rekord { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
/* Von den Spielseiten geerbte Sektions-/Wrap-Abstände im Slot neutralisieren */
.spielslot section { padding: 0; }
.spielslot .wrap { padding: 0; max-width: 100%; }
/* KL-Kürzel-Feld markierbar lassen — auf der Spielseite regelt das .klg-page input,
   den Wrapper gibt es im Slot nicht (Befund A, user-select:none auf .klg-stage). */
.spielslot input { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

.slot-kopf h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(24px, 3vw, 30px); line-height: 1.1; margin: 0 0 8px;
}
.slot-kopf p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Bestenliste je Slot: natives <details>, eingeklappt. Inhalt = dasselbe
   Boards-Partial wie auf der Spielseite (templates/spiele/*-boards.php);
   +/–-Indikator wie beim FAQ (.faq .q .pl). */
.arcade-boards { margin-top: 20px; border-top: 1px solid var(--line); }
.arcade-boards > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 10px 2px;
  font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink);
}
.arcade-boards > summary::-webkit-details-marker { display: none; }
.arcade-boards > summary::after {
  content: "+"; font-family: var(--sans); font-size: 24px; color: var(--clay);
  line-height: 1; transition: transform .28s;
}
.arcade-boards[open] > summary::after { transform: rotate(45deg); }
.arcade-boards > summary:hover { color: var(--clay-deep); }
.arcade-boards > summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; border-radius: 6px; }
/* Boards kompakt in der Karte: Abstände/Titelgrößen der Spielseiten eindampfen */
.arcade-boards .hd-board-section,
.arcade-boards .rt-bl-section { margin-top: 4px; padding-bottom: 6px; }
.arcade-boards .hd-board-title { font-size: 20px; text-align: left; }
.arcade-boards .hd-board-sub { text-align: left; margin-bottom: 12px; }
.arcade-boards .rt-bl-section > h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 2px; }
.arcade-boards .rt-bl-grid { gap: 18px; margin-top: 12px; }

.slot-mehr { margin: 14px 0 0; font-size: 14px; }
.slot-mehr a { color: var(--clay); }
.slot-mehr a:hover { color: var(--clay-deep); }

.arcade-datenschutz a { color: var(--clay); }

@media (max-width: 520px) {
  .spielslot { padding: 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-boards > summary::after { transition: none; }
  .arcade-boards[open] > summary::after { transform: none; }
}

/* ==========================================================================
   Ratgeber / Werkstatt-Magazin (Paket D, 2026-07-23)
   ========================================================================== */
.ratgeber-uebersicht { padding: 3rem 0 4rem; }
.ratgeber-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.ratgeber-card {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--surface, #fff); border: 1.5px solid var(--line); border-radius: var(--r-2, 14px);
  padding: 1.4rem 1.5rem; text-decoration: none; color: inherit;
  transition: border-color .18s, transform .18s;
}
.ratgeber-card:hover { border-color: var(--clay); transform: translateY(-2px); }
.ratgeber-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 0; line-height: 1.25; }
.ratgeber-card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ratgeber-card .ratgeber-more { margin-top: auto; color: var(--clay); font-weight: 600; font-size: .9rem; }
.ratgeber-artikel { padding-top: 2rem; padding-bottom: 3.5rem; }
.ratgeber-artikel .ratgeber-intro { font-size: 1.15rem; line-height: 1.6; color: var(--ink); margin: .5rem 0 1.5rem; }
.ratgeber-artikel h2 { font-family: var(--serif); font-weight: 400; margin: 2rem 0 .6rem; }
.ratgeber-artikel p { line-height: 1.7; }
.ratgeber-cta { margin: 2.2rem 0 1rem; }
/* CTA-Button liegt in .prose-page: die generische .prose-page a-Farbe (Spezifitaet 0,1,1)
   ueberschrieb sonst die weisse Button-Schrift und machte den Text unsichtbar. Gate 2026-07-23. */
.ratgeber-cta a.btn-clay { color: #fff; }
.ratgeber-weiter { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ratgeber-weiter h2 { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin: 0 0 .6rem; }
.ratgeber-weiter ul { margin: 0; padding-left: 1.1rem; }
.ratgeber-weiter li { margin: .3rem 0; }
.ratgeber-weiter a { color: var(--clay); }
.ratgeber-zurueck { margin-top: 1.5rem; font-size: .9rem; }
/* Magazin-Rueckverweis auf den Anlass-Seiten (interne Verlinkung, Gate 2026-07-23) */
.magazin-hinweis { margin: 1.2rem 0 0; font-size: .95rem; }
.magazin-hinweis a { color: var(--clay); font-weight: 600; }

/* Fotobox-Landingpage (2026-07-23) */
.preis-orientierung { padding: clamp(40px, 6vw, 72px) 0; }
.preis-orientierung .lede { max-width: 760px; margin-top: 0; }
.kombi-block { padding: clamp(40px, 6vw, 72px) 0; }
.kombi-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  max-width: 760px;
}
.kombi-card h2 { margin: .3rem 0 .8rem; }
.kombi-card p { color: var(--ink-2); line-height: 1.7; margin: 0 0 .8rem; }
.kombi-card .partner-label {
  display: inline-block;
  font-size: .85rem;
  color: var(--ink-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .7rem;
  margin: .2rem 0 1rem;
}
.kombi-card .kombi-links { margin: 0; }
/* --clay-deep statt --clay: auf dem dunkleren Karten-Grund (--paper-2) erreicht erst
   das dunklere Clay den AA-Kontrast (>=4.5:1). Gate 2026-07-23. */
.kombi-card .kombi-links a { color: var(--clay-deep); font-weight: 600; }
