/* ==========================================================================
   hartwixxen.de – Das Fachmagazin für Handarbeit
   Ein Stylesheet für alles. Mobile first: Grundstile gelten fürs Handy,
   größere Bildschirme werden per @media (min-width: …) erweitert.

   Farben, Schriften und Abstände zentral in :root ändern.
   ========================================================================== */

/* ---------- 1. Schriften (lokal gehostet, keine Verbindung zu Google) ----- */
@font-face {
  font-family: "Bangers";
  src: url("../fonts/bangers-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Patrick Hand";
  src: url("../fonts/patrickhand-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Farben & Maße ---------------------------------------------- */
:root {
  --ink: #141414;          /* Outlines & Text */
  --paper: #FFF7E3;        /* Seitenhintergrund */
  --white: #FFFFFF;
  --yellow: #FFD23F;
  --red: #F0433A;
  --red-ink: #C8261E;      /* Rot für Text auf Weiß (kontraststark) */
  --blue: #35B6F0;
  --pink: #FF6FAE;
  --green: #3FD17A;
  --orange: #FF9A3C;
  --muted: #4A4A4A;

  --font-comic: "Bangers", "Impact", "Arial Black", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive;

  --line: 3px;
  --line-thick: 4px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);
  --radius: 10px;
  --gutter: 16px;
  --maxw: 1140px;
  --header-h: 64px;

  --dots: radial-gradient(circle at center, rgba(20, 20, 20, .15) 1.3px, transparent 1.8px);
  --ease-boing: cubic-bezier(.34, 1.9, .5, 1);
  --ease-pop: cubic-bezier(.2, 1.4, .4, 1);

  color-scheme: light;
}

/* ---------- 3. Grundlagen ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--dots);
  background-size: 12px 12px;
  overflow-x: hidden;
  overflow-x: clip;
}

main { flex: 1; }

img, svg { max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red); }

:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-comic);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.05;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  hyphens: auto;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: .5em 1em;
  background: var(--white);
  border: var(--line) solid var(--ink);
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* Text mit Comic-Kontur (per text-shadow, funktioniert überall) */
.outlined {
  --o: 2px;
  --drop: 5px;
  --drop-c: var(--ink);
  text-shadow:
    calc(var(--o) * -1) calc(var(--o) * -1) 0 var(--ink),
    0 calc(var(--o) * -1) 0 var(--ink),
    var(--o) calc(var(--o) * -1) 0 var(--ink),
    calc(var(--o) * -1) 0 0 var(--ink),
    var(--o) 0 0 var(--ink),
    calc(var(--o) * -1) var(--o) 0 var(--ink),
    0 var(--o) 0 var(--ink),
    var(--o) var(--o) 0 var(--ink),
    var(--drop) var(--drop) 0 var(--drop-c);
}

/* ---------- 4. Header & Logo ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--yellow);
  border-bottom: var(--line-thick) solid var(--ink);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
}

.logo__word {
  --o: 2px;
  --drop: 3px;
  --drop-c: var(--red);
  display: inline-block;
  font-family: var(--font-comic);
  font-size: 1.75rem;
  letter-spacing: .03em;
  color: var(--white);
  rotate: -3deg;
}

.logo__xx { display: inline-block; color: var(--red); }
.logo__tld { color: var(--pink); font-size: .75em; }

@media (hover: hover) {
  .logo:hover .logo__word { animation: jelly .7s both; }
  .logo:hover .logo__xx { animation: xx-spin .7s var(--ease-pop) both; }
}

@keyframes jelly {
  0%, 100% { transform: scale(1, 1); }
  25% { transform: scale(1.12, .88); }
  50% { transform: scale(.92, 1.08); }
  75% { transform: scale(1.04, .96); }
}
@keyframes xx-spin { to { transform: rotate(360deg); } }

/* ---------- 5. Navigation (Burger-Menü aufs Handy) ------------------------ */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s;
}
.nav-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle__bars { position: relative; transition: background .2s; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform .4s var(--ease-boing);
}
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav a {
  display: block;
  font-family: var(--font-comic);
  letter-spacing: .04em;
  text-decoration: none;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .2s var(--ease-pop), background .2s;
}
.site-nav a[aria-current="page"] { background: var(--red); }
.site-nav a[aria-current="true"] { background: var(--yellow); }

/* Mobil: Menü klappt als Comic-Panel unter dem Header auf */
.js .site-nav {
  display: none;
  position: absolute;
  z-index: 2;
  top: calc(100% + var(--line-thick));
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  padding: 16px var(--gutter) 22px;
  background: var(--pink) var(--dots);
  background-size: auto, 10px 10px;
  border-bottom: var(--line-thick) solid var(--ink);
  transform-origin: top center;
}
.js .site-nav[data-open="true"] {
  display: block;
  animation: nav-drop .45s var(--ease-pop) both;
}
.site-nav ul { display: grid; gap: 12px; }
.site-nav li:nth-child(odd) a { rotate: -1.2deg; }
.site-nav li:nth-child(even) a { rotate: 1deg; }
.site-nav a { font-size: 1.6rem; padding: .35em .7em; }

/* ohne JavaScript: Menü einfach unter dem Logo anzeigen */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 10px; }
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .site-nav ul { grid-template-columns: 1fr 1fr; }
html:not(.js) .site-nav a { font-size: 1.2rem; }

@keyframes nav-drop {
  0% { opacity: 0; transform: scaleY(.3) translateY(-20px); }
  100% { opacity: 1; transform: none; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .js .site-nav,
  html:not(.js) .site-nav {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    animation: none;
  }
  .site-nav ul,
  html:not(.js) .site-nav ul { display: flex; gap: 10px; }
  .site-nav a,
  html:not(.js) .site-nav a { font-size: 1.2rem; padding: .25em .7em; }
  .site-nav a:hover { transform: translate(-2px, -2px) rotate(-2deg); background: var(--blue); }
  .site-nav a[aria-current="page"]:hover { background: var(--red); }
  .site-nav a[aria-current="true"]:hover { background: var(--yellow); }
  .logo__word { font-size: 2.1rem; }
  html:not(.js) .site-header__inner { flex-wrap: nowrap; }
}

/* ---------- 6. Schwitzbalken (Lesefortschritt mit Gesicht) ---------------- */
.sweatbar {
  --p: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + var(--line-thick));
  height: 7px;
  pointer-events: none;
}
.sweatbar__fill {
  height: 100%;
  width: calc(var(--p) * 100%);
  background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #FF7A5C 8px 16px);
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}
.sweatbar[data-mood="relief"] .sweatbar__fill {
  background: repeating-linear-gradient(-45deg, var(--green) 0 8px, #8BE8B0 8px 16px);
}
.sweatbar__face {
  position: absolute;
  top: 3px;
  left: clamp(20px, calc(var(--p) * 100%), calc(100% - 20px));
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
}
.sweatbar__face svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sf__head { fill: var(--yellow); transition: fill .4s; }
.sf__strain, .sf__relief, .sf__drops { display: none; }
.sweatbar[data-mood="strain"] .sf__head { fill: var(--orange); }
.sweatbar[data-mood="sweat"] .sf__head { fill: #FF6B4A; }
.sweatbar[data-mood="strain"] .sf__calm,
.sweatbar[data-mood="sweat"] .sf__calm,
.sweatbar[data-mood="relief"] .sf__calm { display: none; }
.sweatbar[data-mood="strain"] .sf__strain,
.sweatbar[data-mood="sweat"] .sf__strain,
.sweatbar[data-mood="sweat"] .sf__drops,
.sweatbar[data-mood="relief"] .sf__relief { display: inline; }
.sweatbar[data-mood="sweat"] .sweatbar__face svg { animation: jitter .18s linear infinite; }
.sf__drop { animation: drip .8s ease-in infinite; }
.sf__drop--2 { animation-delay: .4s; }

.sweatbar__puh {
  position: absolute;
  top: 26px;
  right: -6px;
  padding: .1em .45em;
  font-family: var(--font-comic);
  font-size: 1rem;
  letter-spacing: .05em;
  white-space: nowrap;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s, transform .4s var(--ease-boing);
}
.sweatbar[data-mood="relief"] .sweatbar__puh { opacity: 1; transform: none; }

.sweatbar[data-mood="relief"] .sweatbar__face svg { animation: relief-bounce .7s var(--ease-boing); }
@keyframes relief-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.4) rotate(-10deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Partikel: Hafermilch-Spritzer (Schwitzbalken) und Sterne (Horoskop) */
.fx-milk, .fx-star { position: absolute; left: 50%; top: 50%; pointer-events: none; will-change: transform, opacity; }
.fx-milk {
  z-index: 3;
  background: radial-gradient(circle at 34% 30%, #FFFFFF 0 28%, #F4F6FA 62%, #DDE3EC 100%);
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 50% / 60% 60% 42% 42%;
  box-shadow: 1px 2px 0 rgba(20, 20, 20, .35);
}
.fx-milk--big { border-width: 3px; border-radius: 46% 54% 50% 50% / 58% 52% 48% 42%; }
.fx-star {
  z-index: 6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l3 8 8 3-8 3-3 8-3-8-8-3 8-3z' fill='%23FFD23F' stroke='%23141414' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fx-star--white { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l3 8 8 3-8 3-3 8-3-8-8-3 8-3z' fill='%23FFFFFF' stroke='%23141414' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fx-star--pink { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l3 8 8 3-8 3-3 8-3-8-8-3 8-3z' fill='%23FF6FAE' stroke='%23141414' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }

@keyframes jitter {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 1px) rotate(-3deg); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(1px, 1px) rotate(3deg); }
}
@keyframes drip {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}

/* ---------- 7. Footer ----------------------------------------------------- */
.site-footer {
  margin-top: 72px;
  padding-block: 40px 110px;
  background: var(--ink);
  color: var(--paper);
  border-top: 6px solid var(--yellow);
}
.site-footer a { color: var(--yellow); }
.site-footer__grid { display: grid; gap: 28px; }
.site-footer .logo__word { font-size: 2rem; }
.site-footer__claim { font-family: var(--font-hand); font-size: 1.3rem; margin: 10px 0 0; }
.site-footer h2 { font-size: 1.4rem; color: var(--yellow); margin-bottom: .4em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__note { font-size: .95rem; color: #D8D2C2; }
.site-footer__note strong { color: var(--paper); }
.site-footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px dashed #555;
  font-size: .9rem;
  color: #BDB7A8;
}

@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
}

/* ---------- 8. Schwebende Knöpfe: Nach oben & Panik ----------------------- */
.fab {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease-pop), box-shadow .2s, opacity .3s, visibility .3s;
}
.fab:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.fab--panic {
  left: 16px;
  background: var(--red);
  font-family: var(--font-comic);
  font-size: .95rem;
  letter-spacing: .05em;
  line-height: 1;
}
.fab--panic span { display: block; rotate: -8deg; }
@media (hover: hover) {
  .fab--panic:hover { animation: wiggle .4s linear 2; }
}

.to-top {
  right: 16px;
  background: var(--yellow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(.7);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top.is-shown:active { transform: translate(3px, 3px); }
.to-top__boing {
  position: absolute;
  right: 44px;
  bottom: 50px;
  padding: .1em .5em;
  font-family: var(--font-comic);
  font-size: 1.1rem;
  letter-spacing: .05em;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
  opacity: 0;
  transform: scale(.3) rotate(-10deg);
  transform-origin: bottom right;
  pointer-events: none;
}
.to-top.is-ready .to-top__boing { animation: boing-pop 1.6s var(--ease-pop) both; }

@keyframes boing-pop {
  0% { opacity: 0; transform: scale(.3) rotate(-10deg); }
  15%, 80% { opacity: 1; transform: scale(1) rotate(-6deg); }
  100% { opacity: 0; transform: scale(.8) rotate(-6deg); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
}

/* ---------- 9. Buttons & der Droop-Pfeil ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .5em 1em .45em;
  font-family: var(--font-comic);
  font-size: 1.35rem;
  letter-spacing: .05em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  background: var(--red);
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  rotate: -1deg;
  transition: transform .2s var(--ease-pop), box-shadow .2s;
}
.btn--yellow { background: var(--yellow); }
.btn--blue { background: var(--blue); }
.btn--white { background: var(--white); }
.btn--small { font-size: 1.1rem; }
@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

/*
  Der Droop-Pfeil: drei Glieder + Spitze, ineinander verschachtelt.
  Schlaff (--bend > 0) hängt er herunter, beim Hover/Antippen wird er steif
  und schnellt mit Überschwinger nach oben.
*/
.droop {
  --seg: .55em;
  --bend: 26deg;
  --lift: 0deg;
  position: relative;
  display: inline-block;
  flex: none;
  width: 2.3em;
  height: 1em;
  transform: rotate(var(--lift));
  transform-origin: .12em 50%;
  transition: transform .5s var(--ease-boing);
}
.droop__s {
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--seg);
  height: .26em;
  margin-top: -.13em;
  border-radius: .13em;
  background: currentColor;
  transform-origin: .13em 50%;
  transform: rotate(var(--bend));
  transition: transform .9s cubic-bezier(.5, 0, .3, 1);
}
.droop__s .droop__s { left: calc(var(--seg) - .2em); transition-delay: .06s; }
.droop__s .droop__s .droop__s { transition-delay: .12s; }
.droop__head {
  width: 0;
  height: 0;
  margin-top: -.34em;
  background: none;
  border-radius: 0;
  border-left: .52em solid currentColor;
  border-top: .34em solid transparent;
  border-bottom: .34em solid transparent;
  transform-origin: 0 50%;
  transition-delay: .18s !important;
}

/* steif: Hover, Tastaturfokus, Antippen oder per JS (.is-perky) */
.btn:focus-visible .droop,
.btn:active .droop,
.teaser:focus-within .droop,
.droop.is-perky { --bend: 0deg; --lift: -14deg; }
@media (hover: hover) {
  .btn:hover .droop,
  .teaser:hover .droop { --bend: 0deg; --lift: -14deg; }
}
.btn:focus-visible .droop .droop__s,
.btn:active .droop .droop__s,
.teaser:focus-within .droop .droop__s,
.droop.is-perky .droop__s { transition-duration: .45s; transition-timing-function: var(--ease-boing); }
@media (hover: hover) {
  .btn:hover .droop .droop__s,
  .teaser:hover .droop .droop__s { transition-duration: .45s; transition-timing-function: var(--ease-boing); }
}

/* Variante für den Nach-oben-Knopf: zeigt nach oben, Steifheit kommt vom Scrollen */
.droop--up {
  --stiff: 0;
  --bend: calc((1 - var(--stiff)) * 34deg);
  --lift: -90deg;
  position: absolute;
  left: calc(50% - .12em);
  bottom: 13px;
  font-size: 19px;
  width: .3em;
  height: .3em;
  transform-origin: .12em 50%;
}
.droop--up .droop__s { transition: transform .35s var(--ease-boing); }
.droop--up .droop__s .droop__s { transition-delay: .03s; }
.droop--up .droop__s .droop__s .droop__s { transition-delay: .06s; }

/* ---------- 10. Comic-Bausteine ------------------------------------------- */
.panel {
  position: relative;
  padding: 20px;
  background: var(--white);
  border: var(--line-thick) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.panel--yellow { background: var(--yellow) var(--dots); background-size: 10px 10px; }
.panel--blue { background: var(--blue) var(--dots); background-size: 10px 10px; }
.panel--pink { background: var(--pink) var(--dots); background-size: 10px 10px; }
.panel--red { background: var(--red) var(--dots); background-size: 10px 10px; }
.panel--green { background: var(--green) var(--dots); background-size: 10px 10px; }
.panel--paper { background: var(--paper); }

.tilt-l { rotate: -1.2deg; }
.tilt-r { rotate: 1deg; }

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: .2em .6em .1em;
  font-family: var(--font-comic);
  font-size: 1.05rem;
  letter-spacing: .08em;
  line-height: 1.1;
  background: var(--red);
  border: var(--line) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  rotate: -2deg;
}
.kicker--yellow { background: var(--yellow); }
.kicker--blue { background: var(--blue); }
.kicker--pink { background: var(--pink); }
.kicker--green { background: var(--green); }

/* Comic-Explosion (POW! BAM! ZUPF!) */
.burst {
  --size: 110px;
  --c: var(--yellow);
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  padding: 0;
  font-family: var(--font-comic);
  font-size: calc(var(--size) * .18);
  line-height: .95;
  letter-spacing: .03em;
  text-align: center;
  color: var(--ink);
  pointer-events: none;
}
/* Stern: schwarze Kontur (::before) + Farbe (::after), der Text liegt darüber */
.burst::before,
.burst::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(50.0% 0.0%,57.0% 14.7%,69.1% 3.8%,70.0% 20.1%,85.4% 14.6%,79.9% 30.0%,96.2% 30.9%,85.3% 43.0%,100.0% 50.0%,85.3% 57.0%,96.2% 69.1%,79.9% 70.0%,85.4% 85.4%,70.0% 79.9%,69.1% 96.2%,57.0% 85.3%,50.0% 100.0%,43.0% 85.3%,30.9% 96.2%,30.0% 79.9%,14.6% 85.4%,20.1% 70.0%,3.8% 69.1%,14.7% 57.0%,0.0% 50.0%,14.7% 43.0%,3.8% 30.9%,20.1% 30.0%,14.6% 14.6%,30.0% 20.1%,30.9% 3.8%,43.0% 14.7%);
}
.burst::after { inset: 5px; background: var(--c); }
.burst > span { position: relative; z-index: 1; rotate: -8deg; }
.burst--red { --c: var(--red); }
.burst--pink { --c: var(--pink); }
.burst--blue { --c: var(--blue); }
.burst--white { --c: var(--white); }
.burst--spin::before,
.burst--spin::after { animation: slow-spin 18s linear infinite; }

@keyframes slow-spin { to { transform: rotate(360deg); } }

/* Sprechblase */
.bubble {
  position: relative;
  padding: .65em 1em;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.3;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.bubble p:last-child { margin-bottom: 0; }
.bubble::before,
.bubble::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
/* Schwanz unten links (Standard) */
.bubble::before {
  left: 28px;
  bottom: -23px;
  border-width: 23px 22px 0 0;
  border-color: var(--ink) transparent transparent transparent;
}
.bubble::after {
  left: 31px;
  bottom: -15px;
  border-width: 16px 15px 0 0;
  border-color: var(--white) transparent transparent transparent;
}
/* Schwanz unten rechts */
.bubble--right::before { left: auto; right: 28px; border-width: 23px 0 0 22px; border-color: var(--ink) transparent transparent transparent; }
.bubble--right::after { left: auto; right: 31px; border-width: 16px 0 0 15px; border-color: var(--white) transparent transparent transparent; }
/* Schwanz oben rechts (zeigt nach oben) */
.bubble--up::before { top: -23px; bottom: auto; left: auto; right: 28px; border-width: 0 0 23px 22px; border-color: transparent transparent var(--ink) transparent; }
.bubble--up::after { top: -15px; bottom: auto; left: auto; right: 31px; border-width: 0 0 16px 15px; border-color: transparent transparent var(--white) transparent; }
/* ohne Schwanz */
.bubble--plain::before, .bubble--plain::after { display: none; }

/* Stempel */
.stamp {
  display: inline-block;
  padding: .08em .45em 0;
  font-family: var(--font-comic);
  font-size: 1.6rem;
  letter-spacing: .06em;
  line-height: 1.1;
  color: var(--red-ink);
  border: 4px solid var(--red-ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
  rotate: -12deg;
}

.censor {
  display: inline-block;
  width: var(--w, 7em);
  height: .95em;
  vertical-align: -.12em;
  background: var(--ink);
  border-radius: 3px;
}

.sparkle {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 1.6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(.4) rotate(0); opacity: .4; }
  50% { transform: scale(1) rotate(45deg); opacity: 1; }
}

.section { margin-top: 56px; }
.section-title {
  display: inline-block;
  font-size: clamp(2rem, 8vw, 2.8rem);
  padding: .1em .4em 0;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow);
  rotate: -1.5deg;
}

.replay {
  margin-top: 10px;
  padding: .3em .8em .2em;
  font-family: var(--font-comic);
  font-size: 1rem;
  letter-spacing: .05em;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.replay:active { transform: translate(2px, 2px); box-shadow: none; }

/* ---------- 11. Startseite ------------------------------------------------ */
.hero { padding-top: 28px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }

.hero__panel { padding: 28px 20px 32px; }
.hero__issue { --size: 88px; bottom: -30px; right: 4px; }
.hero__title {
  --o: 3px;
  --drop: 7px;
  --drop-c: var(--red);
  margin: 10px 0 6px;
  font-size: clamp(2.5rem, 12vw, 6.4rem);
  line-height: .95;
  color: var(--white);
  rotate: -3deg;
}
.hero__sub {
  display: inline-block;
  margin: 10px 0 14px;
  padding: .15em .5em 0;
  font-family: var(--font-comic);
  font-size: clamp(1.4rem, 5.5vw, 2.1rem);
  letter-spacing: .04em;
  background: var(--white);
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow);
  rotate: 1.5deg;
}
.hero__claim { font-family: var(--font-hand); font-size: 1.45rem; margin-bottom: .6em; }
.hero__text { font-size: 1.1rem; max-width: 30em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 20px; }

.hero__mascot { position: relative; display: grid; justify-items: center; padding-top: 10px; }
.hero__mascot .bubble { max-width: 300px; margin-bottom: 26px; rotate: -2deg; }
.hero__mascot .knuelli { width: min(260px, 52vw); }

@media (min-width: 880px) {
  .hero { padding-top: 44px; }
  .hero__grid { grid-template-columns: 1.35fr .65fr; }
  .hero__panel { padding: 40px 40px 44px; }
  .hero__issue { --size: 124px; bottom: -40px; right: -24px; }
  .hero__title { font-size: clamp(3rem, 7vw, 5.6rem); }
}

/* Maskottchen Knülli */
.knuelli { display: block; overflow: visible; }
.knuelli__body { animation: bob 2.6s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.knuelli__arm-r { animation: wave 1.1s ease-in-out infinite; transform-origin: 0% 100%; transform-box: fill-box; }
.knuelli__eyes { animation: blink 4.5s infinite; transform-origin: center; transform-box: fill-box; }
.knuelli--sad .knuelli__body { animation-duration: 4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-8px) scale(.98, 1.03); }
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-28deg); }
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.1); }
}

/* Eilmeldungs-Ticker */
.ticker {
  position: relative;
  display: flex;
  margin-top: 36px;
  background: var(--red);
  border-block: var(--line-thick) solid var(--ink);
  overflow: hidden;
  rotate: -1deg;
  margin-inline: -8px;
}
.ticker__label {
  position: relative;
  z-index: 2;
  flex: none;
  padding: .45em .8em .3em;
  font-family: var(--font-comic);
  font-size: 1.2rem;
  letter-spacing: .06em;
  background: var(--yellow);
  border-right: var(--line-thick) solid var(--ink);
}
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  font-weight: 800;
  animation: ticker var(--ticker-dur, 300s) linear infinite;
}
.ticker__track span { padding-right: 1.2em; }
.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes ticker { to { transform: translateX(-50%); } }

/* Teaser */
.teaser {
  display: grid;
  padding: 0;
  overflow: hidden;
  transition: transform .25s var(--ease-pop), box-shadow .25s;
}
@media (hover: hover) {
  .teaser:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
}
.teaser__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 18px;
  border-bottom: var(--line-thick) solid var(--ink);
  overflow: hidden;
}
.teaser__media svg { width: min(220px, 70%); }
.teaser__body { padding: 18px 20px 22px; display: flex; flex-direction: column; }
.teaser__title { font-size: clamp(1.7rem, 6.5vw, 2.2rem); margin-bottom: .35em; }
.teaser__title a { text-decoration: none; }
.teaser__title a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.teaser__title a:focus-visible { outline: none; }
.teaser:focus-within { outline: 3px dashed var(--ink); outline-offset: 5px; }
.teaser__text { margin-bottom: 16px; }
.teaser__cta { align-self: flex-start; margin-top: auto; }

.teaser--top .teaser__title { font-size: clamp(2rem, 8vw, 3.2rem); }
.teaser--top .teaser__media { min-height: 230px; }

.teasers { display: grid; gap: 30px; margin-top: 28px; }

@media (min-width: 720px) {
  .teasers--two { grid-template-columns: 1fr 1fr; }
  .teaser--top { grid-template-columns: 1.05fr 1fr; }
  .teaser--top .teaser__media { border-bottom: 0; border-right: var(--line-thick) solid var(--ink); min-height: 340px; }
  .teaser--top .teaser__body { padding: 28px 30px; justify-content: center; }
  .teaser--top .teaser__title { font-size: clamp(2rem, 4.2vw, 3.2rem); }
}

.teaser__burst { --size: 92px; top: 10px; right: 10px; }

/* Kurzmeldungen */
.briefs { display: grid; gap: 22px; margin-top: 28px; }
.brief { padding: 16px 18px 18px; }
.brief__tag {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-comic);
  font-size: 1.05rem;
  letter-spacing: .06em;
  color: var(--red-ink);
}
.brief p { margin: 0; }
.brief:nth-child(3n+1) { rotate: -.8deg; }
.brief:nth-child(3n+2) { rotate: .7deg; }

@media (min-width: 720px) {
  .briefs { grid-template-columns: 1fr 1fr; }
}

/* Umfrage */
.poll { margin-top: 28px; padding: 24px 20px; }
.poll__q { font-weight: 900; font-size: 1.2rem; }
.poll__options { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.poll__opt {
  --pct: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: .55em .9em;
  font: inherit;
  font-weight: 800;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
}
.poll__opt:active { transform: translate(2px, 2px); }
.poll__opt:disabled { cursor: default; }
.poll__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--yellow);
  transition: width 1s var(--ease-pop);
}
.poll__text, .poll__pct { position: relative; }
.poll__pct { flex: none; white-space: nowrap; font-family: var(--font-comic); font-size: 1.3rem; letter-spacing: .04em; opacity: 0; transition: opacity .4s .5s; }
.poll.is-voted .poll__bar { width: calc(var(--pct) * 1%); }
.poll.is-voted .poll__pct { opacity: 1; }
.poll__opt.is-chosen .poll__bar { background: var(--pink); }
.poll__opt.is-chosen .poll__text::after { content: " ← Ihre Wahl"; font-family: var(--font-hand); font-weight: 400; }
.poll__note { margin: 16px 0 0; font-family: var(--font-hand); font-size: 1.3rem; }

.about { margin-top: 28px; }

@media (min-width: 880px) {
  .home-duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
}

/* ---------- 12. Artikel --------------------------------------------------- */
.article { padding-top: 30px; }
.article__head { max-width: 860px; margin-inline: auto; }
.article__title {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  line-height: .98;
  text-shadow: 4px 4px 0 var(--yellow);
  margin-bottom: .35em;
}
.lead { font-size: 1.2rem; font-weight: 800; line-height: 1.5; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 24px;
  padding: 10px 0;
  font-size: .95rem;
  color: var(--muted);
  border-block: 2px dashed var(--ink);
}
.meta strong { color: var(--ink); }

.article__figure { max-width: 860px; margin: 8px auto 36px; }

.prose { max-width: 720px; margin-inline: auto; }
.prose h2 {
  display: inline-block;
  margin-top: 1.4em;
  font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  rotate: -.8deg;
}
.prose h3 { font-size: 1.6rem; margin-top: 1.2em; }
.prose > ul:not([class]), .prose > ol:not([class]) { padding-left: 1.3em; }
.prose > ul:not([class]) > li, .prose > ol:not([class]) > li { margin-bottom: .6em; }
.prose > ul:not([class]) > li::marker, .prose > ol:not([class]) > li::marker { color: var(--red-ink); font-weight: 900; }
.prose figure { margin: 34px 0; }

.quote { margin: 38px 0; }
.quote blockquote { margin: 0 0 30px; font-size: 1.4rem; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-left: 8px; font-size: .98rem; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  font-family: var(--font-comic);
  font-size: 1.2rem;
  letter-spacing: .04em;
  background: var(--pink);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
}
.avatar--blue { background: var(--blue); }
.avatar--yellow { background: var(--yellow); }
.avatar--green { background: var(--green); }

.infobox { margin: 36px 0; }
.infobox h3 { font-size: 1.6rem; margin-top: 0; }
.infobox p:last-child { margin-bottom: 0; }

.tip {
  margin: 20px 0 8px;
  padding: 14px 16px 14px 16px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-left-width: 12px;
  border-left-color: var(--green);
  border-radius: 8px;
}
.tip strong:first-child { font-family: var(--font-comic); font-weight: 400; font-size: 1.2rem; letter-spacing: .05em; margin-right: .3em; }
.tip p:last-child { margin-bottom: 0; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 40px 0 0; }
.share-row__msg { font-family: var(--font-hand); font-size: 1.25rem; min-height: 1.3em; }

/* Statistik-Kacheln */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.stat { padding: 14px 12px 16px; text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-comic);
  font-size: clamp(2.2rem, 10vw, 3rem);
  line-height: 1;
  letter-spacing: .03em;
  margin-bottom: 6px;
}
.stat__label { display: block; font-size: .95rem; line-height: 1.35; }
.stat:nth-child(odd) { rotate: -1deg; }
.stat:nth-child(even) { rotate: 1.2deg; }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* Balkendiagramm */
.chart { padding: 22px 18px; }
.chart__title { font-family: var(--font-comic); font-size: 1.7rem; letter-spacing: .03em; line-height: 1.1; margin-bottom: 16px; }
.chart__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chart__row {
  --v: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
}
.chart__label { grid-column: 1 / -1; font-weight: 800; line-height: 1.3; }
.chart__bar {
  height: 26px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
}
.chart__fill {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(-45deg, var(--green) 0 10px, #74E3A2 10px 20px);
  border-right: var(--line) solid var(--ink);
  transition: width 1.2s var(--ease-pop);
  transition-delay: calc(var(--i, 0) * .15s + .2s);
}
.chart__row.is-zero .chart__fill { border-right: 0; }
.chart__val { font-family: var(--font-comic); font-size: 1.35rem; letter-spacing: .04em; min-width: 3.4em; text-align: right; }
.chart__row.is-zero .chart__val { color: var(--red-ink); }
.chart__row.is-zero .chart__val::after { content: " (null.)"; font-family: var(--font-hand); font-size: .85em; }
.chart__src { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.js .chart.is-in .chart__fill,
html:not(.js) .chart__fill { width: calc(var(--v) * 100%); }
.js .chart.is-in .chart__row.is-zero .chart__val { animation: wiggle .35s calc(var(--i, 0) * .15s + .9s) 2; display: inline-block; }

@media (min-width: 640px) {
  .chart__row { grid-template-columns: 13em 1fr auto; }
  .chart__label { grid-column: auto; }
}

/* Leserkommentare */
.comments { max-width: 720px; margin: 56px auto 0; }
.comments__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; }
.comment__name { font-weight: 900; }
.comment__time { font-size: .85rem; color: var(--muted); margin-left: 6px; }
.comment p { margin: 4px 0 6px; }
.comment__likes { font-size: .9rem; font-weight: 800; color: var(--muted); }
.comments__closed { margin: 20px 0 0; color: var(--muted); }

.related { margin-top: 56px; }

/* ---------- 13. Studie: Tür-Szene ----------------------------------------- */
.door-scene { padding: 0; overflow: hidden; }
.door-scene__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--blue) var(--dots);
  background-size: 10px 10px;
  overflow: hidden;
}
.door-scene__floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14%;
  background: #E9A15B;
  border-top: var(--line-thick) solid var(--ink);
}
.door {
  position: absolute;
  left: 7%;
  bottom: 14%;
  width: 34%;
  height: 74%;
  perspective: 700px;
}
.door__frame {
  position: absolute;
  inset: 0;
  background: #2B2438;
  border: var(--line-thick) solid var(--ink);
  border-bottom: 0;
  overflow: hidden;
}
.door__peek {
  position: absolute;
  right: -2%;
  top: 18%;
  width: 70%;
  transform: translateX(80%);
}
.door__peek svg { display: block; width: 100%; }
.door__leaf {
  position: absolute;
  inset: 0;
  background: #F2B36D;
  border: var(--line) solid var(--ink);
  transform-origin: left center;
  backface-visibility: hidden;
}
.door__leaf::before,
.door__leaf::after {
  content: "";
  position: absolute;
  left: 16%; right: 16%;
  border: var(--line) solid var(--ink);
  border-radius: 4px;
}
.door__leaf::before { top: 8%; height: 34%; }
.door__leaf::after { bottom: 8%; height: 34%; }
.door__knob {
  position: absolute;
  right: 7%;
  top: 50%;
  width: 11%;
  aspect-ratio: 1;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
}
.door-scene__laptop {
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: 50%;
  transform-origin: 50% 100%;
}
.door-scene__laptop svg { display: block; width: 100%; overflow: visible; }
.door-scene__knarz { --size: 80px; top: 1%; left: 0; }
.door-scene__bubble {
  position: absolute;
  top: 5%;
  right: 4%;
  max-width: 50%;
  font-size: clamp(.95rem, 3.4vw, 1.35rem);
}
.door-scene figcaption,
.fig-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 16px 14px;
  font-size: .92rem;
  color: var(--muted);
  border-top: var(--line-thick) solid var(--ink);
  background: var(--white);
}
.door-scene figcaption .replay,
.fig-caption .replay { margin-top: 0; }

.lap-drop { opacity: 0; }

/* Ablauf, sobald die Szene sichtbar ist */
.js .door-scene .door-scene__knarz,
.js .door-scene .door-scene__bubble { opacity: 0; }
.door-scene.is-in .door__leaf { animation: door-open 1.1s .3s var(--ease-pop) both; }
.door-scene.is-in .door-scene__knarz { animation: pop-in .5s .45s var(--ease-boing) both; }
.door-scene.is-in .door__peek { animation: peek .6s 1s var(--ease-pop) both; }
.door-scene.is-in .door-scene__bubble { animation: pop-in .45s 1.5s var(--ease-boing) both; }
.door-scene.is-in .door-scene__laptop { animation: jitter .16s 1.1s linear 12; }
.door-scene.is-in .lap-drop { animation: drip-big 1s 1.1s ease-in infinite; }
.door-scene.is-in .lap-drop--2 { animation-delay: 1.5s; }
html:not(.js) .door__leaf { transform: rotateY(-72deg); }
html:not(.js) .door__peek { transform: none; }

@keyframes door-open {
  0% { transform: rotateY(0); }
  55% { transform: rotateY(-80deg); }
  75% { transform: rotateY(-66deg); }
  100% { transform: rotateY(-72deg); }
}
@keyframes peek {
  0% { transform: translateX(80%); }
  100% { transform: translateX(0); }
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(.2) rotate(-12deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes drip-big {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(18px); }
}

/* ---------- 14. Taschentuch-Test ------------------------------------------ */
.test-hero { display: grid; gap: 26px; align-items: center; max-width: 960px; margin: 10px auto 36px; }
.tissue-widget { display: grid; justify-items: center; padding: 22px 16px 20px; text-align: center; }
.tissuebox-btn {
  position: relative;
  display: block;
  width: min(270px, 78vw);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tissuebox-btn svg { display: block; width: 100%; overflow: visible; }
.tissuebox-btn:active svg { transform: scale(.97); }
.tissue { transform-origin: 50% 100%; transform-box: fill-box; animation: tissue-wave 1.8s ease-in-out infinite; }
.tissue__tip { transform-origin: 50% 100%; transform-box: fill-box; animation: tissue-tip 1.8s ease-in-out infinite; }
.tissuebox__zupf { --size: 100px; top: -14px; right: -18px; opacity: 0; }
.tissuebox__zupf.is-pop { animation: zupf 1s var(--ease-boing) both; }
.tissue-widget__count {
  margin: 14px 0 6px;
  font-family: var(--font-comic);
  font-size: 1.5rem;
  letter-spacing: .05em;
}
.tissue-widget .bubble { margin-top: 6px; max-width: 320px; min-height: 2.9em; }
.tissue-widget__hint { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }

@keyframes tissue-wave {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(8deg); }
}
@keyframes tissue-tip {
  0%, 100% { transform: rotate(-10deg) skewX(4deg); }
  50% { transform: rotate(14deg) skewX(-6deg); }
}
@keyframes zupf {
  0% { opacity: 0; transform: scale(.2) rotate(-20deg); }
  25% { opacity: 1; transform: scale(1.1) rotate(4deg); }
  40%, 75% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: scale(.9); }
}

.seal-wrap { position: relative; display: grid; place-items: center; }
.seal { width: min(230px, 62vw); filter: drop-shadow(5px 5px 0 var(--ink)); rotate: -12deg; }
.seal-wrap .burst { --size: 96px; top: -6px; left: 2%; opacity: 0; }
.js .seal-wrap .seal { opacity: 0; }
.seal-wrap.is-in .seal { animation: stamp-slam .55s .2s cubic-bezier(.2, 1.5, .4, 1) both; }
.seal-wrap.is-in .burst { animation: pop-in .4s .6s var(--ease-boing) both; }
.seal-wrap.is-in { animation: jitter .12s .6s linear 3; }

@keyframes stamp-slam {
  0% { opacity: 0; transform: scale(2.8) rotate(-25deg); }
  65% { opacity: 1; transform: scale(.92) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (min-width: 760px) {
  .test-hero { grid-template-columns: 1.1fr .9fr; }
  .method dl { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
}

.method { margin: 34px 0; }
.method dl { margin: 0; display: grid; gap: 12px; }
.method dt { font-family: var(--font-comic); font-size: 1.25rem; letter-spacing: .04em; }
.method dd { margin: 0; }
.weights { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.weights li {
  padding: .15em .6em;
  font-weight: 800;
  font-size: .92rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

/* Ergebnistabelle – auf dem Handy werden die Zeilen zu Karten */
.results { max-width: 1040px; margin: 20px auto 0; }
.results-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.results-table caption { text-align: left; font-size: .95rem; color: var(--muted); margin-bottom: 14px; caption-side: top; }
.results-table thead { display: none; }
.results-table tbody { display: grid; gap: 18px; }
.results-table tr {
  display: grid;
  background: var(--white);
  border: var(--line-thick) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.results-table tr.is-winner { background: #FFF3B8; }
.results-table th[scope="row"] {
  display: block;
  padding: 12px 14px 10px;
  font-family: var(--font-comic);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: .03em;
  line-height: 1.1;
  text-align: left;
  background: var(--yellow);
  border-bottom: var(--line) solid var(--ink);
}
.results-table tr.is-winner th[scope="row"] { background: var(--green); }
.results-table th[scope="row"] small { display: block; font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; font-weight: 700; color: #2c2c2c; margin-top: 3px; }
.results-table td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  border-bottom: 1px dashed #bbb;
}
.results-table td:last-child { border-bottom: 0; padding-block: 10px 12px; }
.results-table td::before { content: attr(data-label); font-weight: 700; }

.grade {
  display: inline-block;
  min-width: 3.1em;
  padding: .1em .4em;
  font-weight: 900;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.g1 { background: var(--green); }
.g2 { background: #A6E88A; }
.g3 { background: var(--yellow); }
.g4 { background: var(--orange); }
.g5 { background: var(--red); }
.verdict {
  display: inline-block;
  padding: .15em .55em .05em;
  font-family: var(--font-comic);
  font-size: 1.15rem;
  letter-spacing: .05em;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 2px 2px 0 var(--ink);
}
.results__note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

@media (min-width: 900px) {
  .results-table { border: var(--line-thick) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--white); overflow: hidden; }
  .results-table thead { display: table-header-group; }
  .results-table tbody { display: table-row-group; }
  .results-table tr { display: table-row; border: 0; box-shadow: none; border-radius: 0; }
  .results-table th, .results-table td { display: table-cell; padding: 12px 10px; text-align: center; vertical-align: middle; border-bottom: 2px solid var(--ink); }
  .results-table tbody tr:last-child > * { border-bottom: 0; }
  .results-table thead th {
    font-family: var(--font-comic);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: .04em;
    line-height: 1.1;
    background: var(--ink);
    color: var(--white);
    border-bottom: 0;
  }
  .results-table thead th small { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: 0; color: var(--yellow); }
  .results-table th[scope="row"] { text-align: left; font-size: 1.35rem; border-right: 2px solid var(--ink); }
  .results-table td::before { display: none; }
  .results-table tbody tr:hover td { background: #FFF3B8; }
}

/* Produktkarten */
.products { display: grid; gap: 26px; margin-top: 26px; }
.product { padding: 20px 18px; }
.product__rank {
  position: absolute;
  top: -18px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  font-family: var(--font-comic);
  font-size: 1.6rem;
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  rotate: -10deg;
}
.product h3 { font-size: 1.8rem; margin: 6px 0 4px 34px; }
.product .verdict { margin-bottom: 12px; }
.product__pc { display: grid; gap: 4px 20px; list-style: none; padding: 0; margin: 12px 0 0; }
.product__pc li { padding-left: 1.5em; text-indent: -1.5em; }
.product__pc li::before { display: inline-block; width: 1.5em; text-indent: 0; font-weight: 900; }
.product__pc .pro::before { content: "+"; color: #1B8A4A; }
.product__pc .con::before { content: "–"; color: var(--red-ink); }

.meter { margin: 10px 0 4px; }
.meter__label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; font-size: .92rem; font-weight: 800; }
.meter__label span:last-child { font-family: var(--font-hand); font-weight: 400; font-size: 1.1rem; }
.meter__track { height: 16px; margin-top: 4px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; container-type: inline-size; }
/*
  Der Farbverlauf ist immer so breit wie die ganze Leiste (100cqw),
  der Balken zeigt davon nur den Teil bis zu seinem Wert.
  Standard: hoch = gut (rot → grün). .meter--loud: hoch = schlecht (grün → rot).
  .meter--plain: einfarbig in var(--c).
*/
.meter__fill {
  --meter-grad: linear-gradient(90deg, var(--red), var(--yellow) 50%, var(--green));
  display: block;
  height: 100%;
  width: 0;
  background: var(--meter-grad) left center / calc(100% / max(var(--v, 1), .01)) 100% no-repeat;
  background-size: 100cqw 100%;
  border-right: 2px solid var(--ink);
  transition: width 1s .2s var(--ease-pop);
}
.meter--loud .meter__fill { --meter-grad: linear-gradient(90deg, var(--green), var(--yellow) 50%, var(--red)); }
.meter--plain .meter__fill { background: var(--c, var(--pink)); }
.js .is-in .meter__fill,
html:not(.js) .meter__fill { width: calc(var(--v) * 100%); }

@media (min-width: 760px) {
  .products { grid-template-columns: 1fr 1fr; }
}

.verdict-box { margin: 40px auto 0; max-width: 720px; }

/* ---------- 15. Browserverlauf-Ratgeber ----------------------------------- */
/* Panischer Browser */
.pb-figure { padding: 0; overflow: hidden; }
.pb {
  position: relative;
  margin: 22px 18px 20px;
  background: var(--white);
  border: var(--line-thick) solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.pb__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--pink);
  border-bottom: var(--line) solid var(--ink);
  border-radius: 8px 8px 0 0;
}
.pb__dots { display: flex; gap: 5px; }
.pb__dots i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.pb__dots i:nth-child(1) { background: var(--red); }
.pb__dots i:nth-child(2) { background: var(--yellow); }
.pb__url {
  flex: 1;
  min-width: 0;
  padding: 2px 10px;
  font-size: .85rem;
  font-weight: 800;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pb__body { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 12px 64px; min-height: 230px; }
.pb__face { width: 84px; }
.pb__face svg { display: block; width: 100%; overflow: visible; }
.pb__list-wrap { position: relative; }
.pb__list-title { font-family: var(--font-comic); font-size: 1.3rem; letter-spacing: .04em; margin: 0 0 6px; }
.pb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.pb__list li {
  padding: 4px 8px;
  font-size: .9rem;
  font-weight: 700;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
}
.pb__empty {
  position: absolute;
  inset: 34px 0 auto 0;
  padding: 12px;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
}
.pb__btn {
  position: absolute;
  right: 12px;
  bottom: 14px;
  padding: .35em .8em .25em;
  font-family: var(--font-comic);
  font-size: 1.05rem;
  letter-spacing: .05em;
  background: var(--red);
  border: var(--line) solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}
.pb__cursor { position: absolute; right: 30px; bottom: -6px; width: 30px; opacity: 0; }
.pb__cursor svg { display: block; width: 100%; }
.pb__boom { --size: 88px; top: 40px; right: -6px; opacity: 0; }
.pb__boom--2 { --size: 80px; top: auto; bottom: 40px; left: 20px; right: auto; }
.pb__note {
  position: absolute;
  left: 40px;
  top: 64px;
  font-family: var(--font-comic);
  font-size: 1.4rem;
  opacity: 0;
}
.pb__note--2 { left: 58px; }

/* Gesichtsausdrücke */
.pbf-mouth-calm, .pbf-mouth-panic, .pbf-mouth-whistle, .pbf-sweat { opacity: 0; }
.pbf-mouth-calm { opacity: 1; }

/* Ablauf (3,6 s), gestartet durch .is-in */
.pb-figure.is-in .pb { animation: pb-shake .12s .6s linear 18; }
.pb-figure.is-in .pbf-pupils { animation: pb-dart .3s linear 9 alternate, pb-lookup .4s 2.9s ease-out forwards; }
.pb-figure.is-in .pbf-mouth-calm { animation: pb-first 3.6s linear both; }
.pb-figure.is-in .pbf-mouth-panic,
.pb-figure.is-in .pbf-sweat { animation: pb-middle 3.6s linear both; }
.pb-figure.is-in .pbf-mouth-whistle { animation: pb-last 3.6s linear both; }
.pb-figure.is-in .pb__cursor { animation: pb-cursor 3.6s ease-in-out both; }
.pb-figure.is-in .pb__btn { animation: pb-press .18s .8s ease-in-out 10 alternate; }
.pb-figure.is-in .pb__list li { animation: pb-wipe .5s calc(1s + var(--i) * .3s) ease-in both; }
.pb-figure.is-in .pb__list li.is-boring { animation-name: pb-wipe-slow; }
.pb-figure.is-in .pb__boom { animation: pb-boom 1.2s 1s var(--ease-boing) both; }
.pb-figure.is-in .pb__boom--2 { animation-delay: 1.8s; }
.pb-figure.is-in .pb__empty { animation: fade-in .5s 2.7s both; }
.pb-figure.is-in .pb__note { animation: pb-note 1.8s 3s ease-out infinite; }
.pb-figure.is-in .pb__note--2 { animation-delay: 3.9s; }

@keyframes pb-shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-3px, 1px) rotate(-1.2deg); }
  75% { transform: translate(3px, -1px) rotate(1.2deg); }
}
@keyframes pb-dart {
  0% { transform: translateX(-3px); }
  100% { transform: translateX(3px); }
}
@keyframes pb-lookup { to { transform: translate(-3px, -4px); } }
@keyframes pb-first { 0%, 16% { opacity: 1; } 17%, 100% { opacity: 0; } }
@keyframes pb-middle { 0%, 16% { opacity: 0; } 17%, 77% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes pb-last { 0%, 77% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes pb-cursor {
  0% { opacity: 0; transform: translate(60px, 60px); }
  18% { opacity: 1; transform: translate(0, 0); }
  75% { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(80px, 40px); }
}
@keyframes pb-press {
  from { transform: none; box-shadow: 3px 3px 0 var(--ink); }
  to { transform: translate(2px, 2px) scale(.96); box-shadow: 0 0 0 var(--ink); }
}
@keyframes pb-wipe {
  0% { opacity: 1; transform: none; }
  25% { transform: translateX(-6px) rotate(-2deg); }
  100% { opacity: 0; transform: translateX(130%) rotate(8deg); }
}
@keyframes pb-wipe-slow {
  0%, 60% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(20px) rotate(-6deg); }
}
@keyframes pb-boom {
  0% { opacity: 0; transform: scale(.2) rotate(-20deg); }
  20% { opacity: 1; transform: scale(1.1); }
  35%, 75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.8); }
}
@keyframes pb-note {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(26px, -40px) rotate(20deg); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* nummerierte Fehler */
.mistakes { list-style: none; margin: 0; padding: 0; counter-reset: fehler; }
.mistake { position: relative; margin: 60px 0 0; }
.mistake__num {
  --o: 3px;
  --drop: 6px;
  position: absolute;
  top: -40px;
  left: -6px;
  z-index: 2;
  font-family: var(--font-comic);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--yellow);
  rotate: -10deg;
}
.mistake--bonus .mistake__num { font-size: 2.6rem; top: -26px; color: var(--pink); }
.mistake__panel { padding: 30px 18px 20px; }
.mistake h2 {
  margin: 0 0 .5em 40px;
  font-size: clamp(1.7rem, 6.5vw, 2.3rem);
  background: none;
  rotate: 0deg;
  display: block;
}
.mistake--bonus h2 { margin: 14px 0 .5em; }
.mistake__visual { margin: 18px 0 20px; }

@media (min-width: 720px) {
  .mistake__panel { padding: 34px 30px 26px; }
  .mistake__num { font-size: 5.4rem; top: -48px; left: -18px; }
}

/* Fehler 1: Adresszeile */
.fakebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
}
.fakebar svg { flex: none; width: 20px; height: 20px; }
.fakebar__typed { display: inline-block; }
.fakebar__caret { width: 2px; height: 1.1em; background: var(--ink); animation: caret 1s steps(1) infinite; }
.fakebar__suggest { color: #8a8a8a; white-space: nowrap; overflow: hidden; }
.fakebar__suggest .censor { background: #9a9a9a; }
.fakebar .stamp { position: absolute; right: 6px; top: -22px; font-size: 1.35rem; }
.js .fakebar .fakebar__suggest,
.js .fakebar .stamp { opacity: 0; }
.fakebar.is-in .fakebar__typed { animation: type2 .6s .2s steps(2) both; }
.fakebar.is-in .fakebar__suggest { animation: fade-in .3s 1s both; }
.fakebar.is-in .stamp { animation: stamp-slam .45s 1.7s cubic-bezier(.2, 1.5, .4, 1) both; }

@keyframes caret { 50% { opacity: 0; } }
@keyframes type2 { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Fehler 2: Synchronisierung */
.sync { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; text-align: center; }
.sync__dev svg { display: block; width: min(76px, 100%); margin: 0 auto 6px; overflow: visible; }
.sync__dev span { display: block; font-size: .85rem; font-weight: 800; line-height: 1.25; }
.sync__line {
  width: 26px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 11px);
  background-size: 11px 6px;
  animation: dash-move .6s linear infinite;
}
@keyframes dash-move { to { background-position: 11px 0; } }
@media (min-width: 560px) { .sync__line { width: 60px; } }

/* Fehler 3: Smart-TV */
.tv { max-width: 520px; margin-inline: auto; }
.tv__screen {
  padding: 12px 12px 16px;
  background: #22203A;
  color: var(--white);
  border: 7px solid var(--ink);
  border-radius: 12px;
}
.tv__row-title { margin: 0 0 8px; font-weight: 900; font-size: .95rem; }
.tv__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tv__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 16 / 10;
  padding: 6px;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 6px;
  border: 2px solid #000;
  overflow: hidden;
}
.tv__tile--a { background: #4B8FD8; }
.tv__tile--c { background: #B04B6B; }
.tv__tile--sus { background: repeating-conic-gradient(#666 0 25%, #444 0 50%) 0 0 / 12px 12px; outline: 3px solid var(--yellow); outline-offset: 1px; }
.tv__tile--sus .stamp { position: absolute; top: 10%; left: 6%; font-size: clamp(.65rem, 2.6vw, .9rem); border-width: 2px; background: rgba(255, 255, 255, .85); }
.tv__progress { position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--p) * 100%); background: var(--red); }
.tv__time { position: relative; z-index: 1; font-size: .62rem; white-space: nowrap; background: rgba(0, 0, 0, .7); align-self: flex-start; padding: 0 4px; border-radius: 3px; }
.tv__stand { width: 30%; height: 14px; margin: 0 auto; background: var(--ink); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.tv-bubble { margin: 14px 0 0 auto; max-width: 280px; }

/* Fehler 4: Streaming-Empfehlungen */
.stream { padding: 14px; background: #1E1B2E; color: var(--white); border: var(--line) solid var(--ink); border-radius: 12px; }
.stream__why { margin: 0 0 10px; font-weight: 900; }
.stream__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stream__tile {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 2 / 3;
  padding: 8px;
  font-family: var(--font-comic);
  font-size: clamp(.95rem, 3.6vw, 1.25rem);
  letter-spacing: .03em;
  line-height: 1;
  color: var(--ink);
  background: var(--c) var(--dots);
  background-size: auto, 8px 8px;
  border: var(--line) solid var(--ink);
  border-radius: 8px;
}
.stream__profile { margin: 10px 0 0; font-size: .85rem; color: #CFCBE0; }
.js .stream .stream__tile { opacity: 0; }
.stream.is-in .stream__tile { animation: pop-in .45s calc(.2s + var(--i) * .2s) var(--ease-boing) both; }

/* Fehler 5: leerer Verlauf */
.emptyhist { position: relative; display: grid; gap: 22px; justify-items: start; }
.emptyhist__win {
  position: relative;
  width: min(100%, 360px);
  padding: 14px 16px 24px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
}
.emptyhist__title { margin: 0 0 8px; font-family: var(--font-comic); font-size: 1.3rem; letter-spacing: .04em; border-bottom: 2px solid var(--ink); }
.emptyhist__none { margin: 0; font-style: italic; color: var(--muted); }
.emptyhist .sparkle:nth-of-type(1) { top: 10px; right: 20px; }
.emptyhist .sparkle:nth-of-type(2) { top: 52px; right: 64px; animation-delay: .5s; width: 14px; height: 14px; }
.emptyhist .sparkle:nth-of-type(3) { bottom: 8px; right: 14px; animation-delay: 1s; width: 18px; height: 18px; }
.emptyhist .bubble { justify-self: end; max-width: 300px; }

/* Bonus: Wiederherstellen-Dialog */
.restore {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
  padding: 16px 16px 18px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.restore__title { margin: 0 0 4px; font-family: var(--font-comic); font-size: 1.5rem; letter-spacing: .04em; }
.restore p { margin-bottom: 12px; }
.restore__btns { display: flex; gap: 10px; justify-content: flex-end; }
.restore__btn { padding: .3em .8em; font-weight: 800; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); }
.restore__btn--yes { background: var(--blue); }
.restore__cursor { position: absolute; right: 36px; bottom: -16px; width: 26px; animation: tremble .1s linear infinite; }
.restore__beamer {
  position: absolute;
  top: -14px;
  right: -8px;
  padding: .15em .5em 0;
  font-family: var(--font-comic);
  font-size: 1rem;
  letter-spacing: .05em;
  background: var(--red);
  border: 2px solid var(--ink);
  rotate: 8deg;
}
@keyframes tremble {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1px, -1px); }
}

/* Diskretions-Check */
.check { margin-top: 56px; padding: 24px 18px; }
.check__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.check__item label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  font-weight: 800;
  line-height: 1.3;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
}
.check__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 6px;
}
.check__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: -4px;
  width: 11px;
  height: 22px;
  border: solid var(--red-ink);
  border-width: 0 5px 5px 0;
  transform: rotate(40deg) scale(0);
  transition: transform .35s var(--ease-boing);
}
.check__item input:checked + .check__box::after { transform: rotate(40deg) scale(1); }
.check__item input:checked ~ .check__text { text-decoration: line-through; text-decoration-thickness: 2px; }
.check__item input:focus-visible + .check__box { outline: 3px dashed var(--ink); outline-offset: 3px; }
.check__meter { height: 22px; background: var(--white); border: var(--line) solid var(--ink); border-radius: 999px; overflow: hidden; }
.check__meter span {
  display: block;
  height: 100%;
  width: calc(var(--score, 0) * 100%);
  background: repeating-linear-gradient(-45deg, var(--green) 0 10px, #74E3A2 10px 20px);
  border-right: var(--line) solid var(--ink);
  transition: width .6s var(--ease-pop);
}
.check__result { margin: 12px 0 0; font-size: 1.1rem; min-height: 3em; }
.check__result strong { font-family: var(--font-comic); font-weight: 400; font-size: 1.3rem; letter-spacing: .04em; }

/* ---------- 16. Rechtliches & 404 ----------------------------------------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: 1.8rem; margin-top: 1.4em; }
.legal h3 { font-size: 1.35rem; margin-top: 1.2em; }
.legal address { font-style: normal; }
.ph {
  padding: 0 .25em;
  background: var(--yellow);
  border: 2px dashed var(--ink);
  border-radius: 4px;
  font-weight: 800;
}
.todo {
  margin: 24px 0;
  padding: 14px 16px;
  background: var(--white);
  border: var(--line) dashed var(--red-ink);
  border-radius: 10px;
}

.notfound { display: grid; gap: 24px; justify-items: center; text-align: center; padding-top: 30px; }
.notfound__code {
  --o: 3px;
  --drop: 8px;
  --drop-c: var(--red);
  margin: 0;
  font-size: clamp(6rem, 30vw, 11rem);
  line-height: .9;
  color: var(--yellow);
  rotate: -4deg;
}
.notfound .knuelli { width: min(220px, 60vw); }

/* ---------- 17. Chef-Tarnung (Panik-Knopf) -------------------------------- */
.boss {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: #222;
  background: #FFFFFF;
}
.boss.is-open { display: flex; }
.boss__titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; color: #fff; background: #3C5A78; }
.boss__titlebar strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boss__menu { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 6px 12px; background: #F3F3F3; border-bottom: 1px solid #D0D0D0; }
.boss__formula { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-bottom: 1px solid #D0D0D0; }
.boss__formula span:first-child { width: 48px; padding: 2px 4px; border: 1px solid #C8C8C8; text-align: center; }
.boss__formula span:last-child { flex: 1; padding: 2px 6px; border: 1px solid #C8C8C8; }
.boss__grid { flex: 1; overflow: auto; }
.boss table { border-collapse: collapse; min-width: 640px; }
.boss th, .boss td { min-width: 96px; height: 22px; padding: 1px 6px; border: 1px solid #DADADA; text-align: right; white-space: nowrap; font-weight: 400; }
.boss thead th, .boss tbody th { background: #F0F0F0; color: #555; text-align: center; min-width: 38px; }
.boss td:first-of-type { text-align: left; }
.boss tr.is-sum td { font-weight: 700; border-top: 2px solid #999; }
.boss__tabs { display: flex; gap: 2px; padding: 0 8px; background: #F3F3F3; border-top: 1px solid #D0D0D0; }
.boss__tabs span { padding: 4px 14px; border: 1px solid #D0D0D0; border-top: 0; background: #E8E8E8; }
.boss__tabs span:first-child { background: #fff; font-weight: 600; }
.boss__back {
  padding: 4px 10px;
  font: inherit;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 3px;
  cursor: pointer;
}
.boss-open { overflow: hidden; }

/* ---------- 18. Scroll-Animationen ---------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px) scale(.9);
  transition: opacity .45s ease, transform .6s var(--ease-pop);
  transition-delay: var(--d, 0s);
}
.js .reveal--pop { transform: scale(.55) rotate(-4deg); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .teaser.reveal.is-in { transition: opacity .45s ease, transform .25s var(--ease-pop), box-shadow .25s; }

/* ---------- 19. Übersicht, Rubriken, Mitmach-Block ------------------------ */
.teasers--three { display: grid; gap: 30px; }
@media (min-width: 720px) { .teasers--three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .teasers--three { grid-template-columns: repeat(3, 1fr); } }
.teaser--compact .teaser__media { min-height: 160px; padding: 14px; }
.teaser--compact .teaser__media svg { width: min(170px, 62%); }
.teaser--compact .teaser__title { font-size: clamp(1.5rem, 5.5vw, 1.9rem); }
.teaser--compact .teaser__text { font-size: .98rem; }
.teaser--compact .teaser__cta { font-size: 1.15rem; }

.rubric { margin-top: 60px; scroll-margin-top: calc(var(--header-h) + 24px); }
.rubric__intro { max-width: 42em; margin: 16px 0 0; font-size: 1.05rem; }
.more-link { display: flex; justify-content: center; margin-top: 34px; }

.playbox { margin-top: 56px; padding: 26px 18px 30px; }
.playbox .section-title { background: var(--white); }
.playbox__intro { max-width: 40em; margin: 16px 0 0; font-weight: 700; }
.playbox .teasers { margin-top: 24px; }
@media (min-width: 720px) {
  .playbox { padding: 34px 30px 38px; }
  .teasers--four { grid-template-columns: 1fr 1fr; }
}

/* ---------- 20. Router-Interview ------------------------------------------ */
.router-stage { display: grid; justify-items: center; gap: 14px; padding: 26px 16px 20px; }
.router-stage__top { position: relative; width: min(320px, 82vw); }
.router { display: block; width: 100%; overflow: visible; }
.router__ant { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }
.router__ant--l { transform: rotate(-42deg); }
.router__ant--r { transform: rotate(42deg); }
.router__led { animation: led 1.6s steps(1) infinite; }
.router__led--2 { animation-delay: .4s; }
.router__led--3 { animation-delay: .8s; }
.router__led--4 { animation-delay: 1.2s; }
.router__eyes { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease-boing); }
.router-stage .burst { --size: 90px; top: -10px; right: -18px; opacity: 0; }
.router-stage.is-alert .router__ant { transform: rotate(0); transition: transform .45s var(--ease-boing); }
.router-stage.is-alert .router__led { animation-duration: .16s; }
.router-stage.is-alert .router { animation: jitter .14s linear 12; }
.router-stage.is-alert .router__eyes { transform: scale(1.3); }
.router-stage.is-alert .burst { animation: pop-in .4s var(--ease-boing) both; }
.router-stage .bubble { max-width: 340px; text-align: center; min-height: 2.8em; }
.router-stage__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@keyframes led { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .2; } }

.qa { margin: 30px 0; }
.qa__q { margin: 0 0 14px; font-weight: 900; font-size: 1.1rem; }
.qa__who {
  display: inline-block;
  margin-right: .4em;
  padding: .05em .45em 0;
  font-family: var(--font-comic);
  font-weight: 400;
  letter-spacing: .05em;
  background: var(--red);
  border: 2px solid var(--ink);
}
.qa__a { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: start; }
.qa__avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--blue);
  border: var(--line) solid var(--ink);
  border-radius: 12px;
}
.qa__avatar svg { width: 36px; overflow: visible; }
.qa__a .bubble { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.55; }
.qa__stage { font-style: italic; color: var(--muted); }
.bubble--left::before { left: -23px; top: 14px; bottom: auto; border-width: 0 23px 16px 0; border-color: transparent var(--ink) transparent transparent; }
.bubble--left::after { left: -15px; top: 17px; bottom: auto; border-width: 0 16px 11px 0; border-color: transparent var(--white) transparent transparent; }

/* ---------- 21. Bluetooth-Pannen ------------------------------------------ */
.bt { padding: 0; overflow: hidden; }
.bt__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 8px;
  min-height: 200px;
  padding: 26px 14px 14px;
  background: var(--pink) var(--dots);
  background-size: auto, 10px 10px;
}
.bt__dev { position: relative; z-index: 1; text-align: center; }
.bt__dev svg { display: block; width: 100%; max-width: 130px; margin: 0 auto 6px; overflow: visible; }
.bt__dev span {
  display: inline-block;
  padding: .1em .5em;
  font-size: .8rem;
  font-weight: 900;
  line-height: 1.25;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.bt__dev--off { align-self: start; opacity: .8; }
.bt__dev--off svg { max-width: 86px; }
.bt__dev--off span { background: var(--red); }
.bt__stage { min-height: 250px; }
.bt__waves { position: absolute; z-index: 2; left: 26%; right: 22%; bottom: 62px; height: 44px; pointer-events: none; }
.bt__wave {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 44px;
  border: 5px solid var(--ink);
  border-left: 0;
  border-radius: 0 50% 50% 0 / 0 50% 50% 0;
  opacity: 0;
  animation: wave-fly 1.8s linear infinite;
}
.bt__wave:nth-child(2) { animation-delay: .6s; }
.bt__wave:nth-child(3) { animation-delay: 1.2s; }
.bt.is-loud .bt__wave { animation-duration: .7s; border-color: var(--red); }
.bt.is-loud .bt__dev--bar svg { animation: jitter .12s linear infinite; }
@keyframes wave-fly {
  0% { left: 0; opacity: 0; transform: scale(.6); }
  15% { opacity: 1; }
  100% { left: calc(100% - 26px); opacity: 0; transform: scale(1.2); }
}
.vol { display: grid; gap: 12px; padding: 16px 16px 18px; background: var(--white); border-top: var(--line-thick) solid var(--ink); }
.vol__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.vol__label { font-family: var(--font-comic); font-size: 1.2rem; letter-spacing: .05em; }
.vol__bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.vol__bars i { display: block; width: 11px; background: #E6E6E6; border: 2px solid var(--ink); border-radius: 3px; transition: background .2s; }
.vol__bars i:nth-child(1) { height: 25%; } .vol__bars i:nth-child(2) { height: 33%; }
.vol__bars i:nth-child(3) { height: 41%; } .vol__bars i:nth-child(4) { height: 49%; }
.vol__bars i:nth-child(5) { height: 57%; } .vol__bars i:nth-child(6) { height: 65%; }
.vol__bars i:nth-child(7) { height: 73%; } .vol__bars i:nth-child(8) { height: 81%; }
.vol__bars i:nth-child(9) { height: 90%; } .vol__bars i:nth-child(10) { height: 100%; }
.vol__bars i.is-on { background: var(--green); }
.vol__bars i.is-on:nth-child(n+5) { background: var(--yellow); }
.vol__bars i.is-on:nth-child(n+8) { background: var(--red); }
.vol__msg { margin: 0; font-family: var(--font-hand); font-size: 1.3rem; line-height: 1.25; min-height: 2.5em; }

.watch {
  display: grid;
  place-items: center;
  width: 170px;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
  color: var(--white);
  background: #1E1B2E;
  border: 8px solid var(--ink);
  border-radius: 38px;
  box-shadow: 0 -18px 0 -8px var(--ink), 0 18px 0 -8px var(--ink);
}
.watch strong { display: block; font-family: var(--font-comic); font-weight: 400; font-size: 1.3rem; letter-spacing: .04em; color: var(--green); }
.watch span { display: block; font-size: .78rem; font-weight: 800; line-height: 1.3; }
.devlist { max-width: 360px; margin: 0 auto; padding: 0; list-style: none; border: var(--line) solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--white); }
.devlist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font-weight: 800; border-bottom: 2px dashed #ccc; }
.devlist li:last-child { border-bottom: 0; }
.devlist .is-on { background: #FFF3B8; }
.devlist em { font-style: normal; color: #1B8A4A; }

/* ---------- 22. Taschentuch-Aktie ----------------------------------------- */
.stock { padding: 0; overflow: hidden; }
.stock__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 16px 10px;
  color: var(--white);
  background: var(--ink);
}
.stock__name { font-family: var(--font-comic); font-size: 1.3rem; letter-spacing: .05em; }
.stock__price { font-family: var(--font-comic); font-size: 1.6rem; letter-spacing: .04em; }
.stock__delta { color: var(--green); }
.stock__chart { position: relative; padding: 14px 10px 6px; background: var(--white) var(--dots); background-size: 10px 10px; }
.stock__chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.stock__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .stock .stock__line { stroke-dashoffset: 1; }
.stock.is-in .stock__line { animation: draw 3s .3s cubic-bezier(.55, 0, .9, .6) both; }
.js .stock .stock__area, .js .stock .stock__note { opacity: 0; }
.stock__note { transform-box: fill-box; transform-origin: center; }
.stock.is-in .stock__area { animation: fade-in .6s 3.3s both; }
.stock.is-in .stock__note--1 { animation: pop-in .4s 1.8s var(--ease-boing) both; }
.stock.is-in .stock__note--2 { animation: pop-in .45s 2.9s var(--ease-boing) both; }
.stock.is-in .stock__note--3 { animation: pop-in .4s 3.5s var(--ease-boing) both; }
.stock__peak { --size: 78px; left: 48%; top: -4%; opacity: 0; }
@media (min-width: 720px) { .stock__peak { --size: 112px; left: 58%; top: -2%; } }
.stock.is-in .stock__peak { animation: pop-in .4s 2.9s var(--ease-boing) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.mini-table { width: 100%; border-collapse: collapse; background: var(--white); border: var(--line) solid var(--ink); }
.mini-table caption { text-align: left; font-family: var(--font-comic); font-size: 1.4rem; letter-spacing: .04em; margin-bottom: 8px; }
.mini-table th, .mini-table td { padding: 8px 10px; text-align: left; border-bottom: 2px dashed #ccc; }
.mini-table th { font-family: var(--font-comic); font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; background: var(--yellow); border-bottom: var(--line) solid var(--ink); }
.mini-table td:last-child, .mini-table th:last-child { text-align: right; white-space: nowrap; }
.up { color: #1B8A4A; font-weight: 900; }
.down { color: var(--red-ink); font-weight: 900; }
.disclaimer { margin: 34px 0; padding: 14px 16px; background: var(--white); border: var(--line) dashed var(--ink); border-radius: 10px; font-size: .95rem; }

/* ---------- 23. Alt+F4-WM & Reaktionstest --------------------------------- */
.medals { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.medal { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; }
.medal__badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-comic);
  font-size: 1.4rem;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
}
.medal--1 .medal__badge { background: var(--yellow); }
.medal--2 .medal__badge { background: #D9D9D9; }
.medal--3 .medal__badge { background: var(--orange); }
.medal--dq .medal__badge { background: var(--red); font-size: 1rem; }
.medal__time { font-family: var(--font-comic); font-size: 1.5rem; letter-spacing: .04em; }
.medal small { display: block; color: var(--muted); font-size: .88rem; }

.rt { padding: 0; overflow: hidden; }
.rt .door-scene__stage { aspect-ratio: 4 / 3; }
.rt__screen {
  position: absolute;
  right: 5%;
  bottom: 18%;
  width: 48%;
  background: var(--white);
  border: var(--line-thick) solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease-in, opacity .18s ease-in;
}
.rt__screen-bar { display: flex; gap: 4px; align-items: center; padding: 4px 6px; background: var(--pink); border-bottom: 3px solid var(--ink); font-size: .7rem; font-weight: 900; white-space: nowrap; overflow: hidden; }
.rt__screen-bar i { width: 9px; height: 9px; flex: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.rt__screen-body { display: grid; place-items: center; gap: 4px; padding: 10px 6px 12px; text-align: center; }
.rt__screen-body .censor { --w: 70%; height: .7em; display: block; }
.rt .door__leaf { transition: transform .12s ease-out; }
.rt .door__peek { transition: transform .3s .08s var(--ease-pop); }
.rt .rt__knarz { --size: 80px; top: 2%; left: 0; opacity: 0; }
.rt.is-go .door__leaf { transform: rotateY(-72deg); }
.rt.is-go .door__peek { transform: none; }
.rt.is-go .rt__knarz { animation: pop-in .22s var(--ease-boing) both; }
.rt.is-closed .rt__screen { transform: scale(0) rotate(-10deg); opacity: 0; }
.rt.is-caught .rt__screen { animation: jitter .12s linear 6; }
.rt__controls { display: grid; gap: 10px; justify-items: center; padding: 16px 16px 18px; text-align: center; background: var(--white); border-top: var(--line-thick) solid var(--ink); }
.rt__btn { width: 100%; max-width: 420px; justify-content: center; font-size: 1.7rem; padding: .55em 1em .45em; rotate: 0deg; }
.rt__btn[data-state="wait"] { background: var(--yellow); }
.rt__btn[data-state="go"] { background: var(--red); animation: wiggle .3s linear infinite; }
.rt__btn[data-state="idle"], .rt__btn[data-state="done"] { background: var(--blue); }
.rt__result { margin: 0; font-family: var(--font-comic); font-size: 2.6rem; letter-spacing: .04em; line-height: 1; min-height: 1em; }
.rt__verdict { margin: 0; font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.25; min-height: 1.3em; }
.rt__best, .rt__warn { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- 24. Ausreden-Generator ---------------------------------------- */
.slot { padding: 22px 16px 26px; }
.slot__ask { margin: 0 0 10px; font-weight: 900; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.chip {
  padding: .45em .85em;
  font: inherit;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--yellow); }
.chip:active { transform: translate(2px, 2px); box-shadow: none; }
.slot__machine {
  position: relative;
  padding: 16px 14px 18px;
  background: var(--red) var(--dots);
  background-size: auto, 10px 10px;
  border: var(--line-thick) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.slot__title { --o: 2px; --drop: 4px; margin: 0 0 12px; font-family: var(--font-comic); font-size: clamp(1.4rem, 6vw, 2rem); letter-spacing: .05em; text-align: center; color: var(--white); }
.slot__question { margin: 0 0 12px; text-align: center; font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.2; color: var(--ink); background: var(--white); border: 3px solid var(--ink); border-radius: 10px; padding: .3em .6em; }
.slot__reels { display: grid; gap: 10px; }
.reel {
  position: relative;
  height: 78px;
  overflow: hidden;
  background: var(--white);
  border: var(--line-thick) solid var(--ink);
  border-radius: 10px;
  box-shadow: inset 0 10px 10px -8px rgba(0, 0, 0, .45), inset 0 -10px 10px -8px rgba(0, 0, 0, .45);
}
.reel__label { position: absolute; top: 3px; left: 8px; z-index: 1; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reel__strip { will-change: transform; }
.reel__item { display: flex; align-items: center; justify-content: center; height: 70px; padding: 12px 10px 2px; font-weight: 800; font-size: 1rem; line-height: 1.2; text-align: center; }
.slot__go-row { display: flex; justify-content: center; margin-top: 16px; }
.slot__go { font-size: 1.6rem; background: var(--yellow); }
.slot__lever { display: none; }
@media (min-width: 760px) {
  .slot { padding: 30px 30px 34px; }
  .slot__reels { grid-template-columns: repeat(3, 1fr); }
  .reel { height: 96px; }
  .reel__item { height: 88px; }
  .slot__machine { margin-right: 34px; padding: 20px 20px 22px; }
  .slot__lever { display: block; position: absolute; right: -34px; top: 34%; width: 16px; height: 96px; background: #BDBDBD; border: var(--line) solid var(--ink); border-left: 0; border-radius: 0 8px 8px 0; transform-origin: 50% 100%; }
  .slot__lever::before { content: ""; position: absolute; left: 50%; top: -24px; width: 30px; height: 30px; margin-left: -15px; background: var(--red); border: var(--line) solid var(--ink); border-radius: 50%; }
  .slot.is-spinning .slot__lever { animation: lever .7s var(--ease-pop); }
}
@keyframes lever { 40% { transform: scaleY(-.85); } 100% { transform: scaleY(1); } }
.slot__out { margin-top: 26px; }
.slot__out .bubble { font-size: clamp(1.35rem, 5vw, 1.8rem); line-height: 1.25; }
.slot__out .bubble.is-new { animation: pop-in .4s var(--ease-boing); }
.slot__cred { margin-top: 30px; }
.slot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.slot__msg { font-family: var(--font-hand); font-size: 1.2rem; min-height: 1.3em; }
.slot__history { margin-top: 26px; }
.slot__history h3 { font-size: 1.4rem; }
.slot__history ol { margin: 0; padding-left: 1.3em; }
.slot__history li { margin-bottom: .4em; }

/* ---------- 25. Horoskop --------------------------------------------------- */
.zodiac { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; list-style: none; padding: 0; }
@media (min-width: 640px) { .zodiac { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .zodiac { grid-template-columns: repeat(4, 1fr); } }
.zcard { position: relative; perspective: 1000px; }
.zcard.is-pop { z-index: 5; animation: zcard-pop .75s var(--ease-pop); }
@keyframes zcard-pop {
  0% { transform: none; }
  25% { transform: translateY(-14px) scale(1.08) rotate(-3deg); }
  55% { transform: translateY(2px) scale(.97) rotate(1.5deg); }
  100% { transform: none; }
}
@media (hover: hover) {
  .zcard__inner:hover .zcard__sym { animation: wiggle .35s linear 2; }
}
.zcard__inner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-align: center;
  background: none;
  border: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .65s var(--ease-pop);
}
.zcard.is-flipped .zcard__inner { transform: rotateY(180deg); }
.zcard__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px;
  background: var(--c, var(--yellow)) var(--dots);
  background-size: auto, 10px 10px;
  border: var(--line-thick) solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.zcard__back { justify-content: flex-start; gap: 6px; text-align: left; background: var(--white); transform: rotateY(180deg); overflow: hidden; }
.zcard__sym { font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif; font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1; }
.zcard__name { font-family: var(--font-comic); font-size: 1.55rem; letter-spacing: .04em; line-height: 1; }
.zcard__date { font-size: .78rem; font-weight: 800; }
.zcard__hint { margin-top: 8px; font-family: var(--font-hand); font-size: .95rem; }
.zcard__back .zcard__name { font-size: 1.2rem; }
.zcard__text { font-size: clamp(.8rem, 2.9vw, .92rem); line-height: 1.35; }
.zcard__luck { margin-top: auto; font-size: .76rem; line-height: 1.3; font-weight: 800; }
.zcard__luck span { display: block; }

/* ---------- 26. Selbsttest-Quiz ------------------------------------------- */
.quiz { padding: 22px 18px 26px; }
.quiz__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.quiz__step { font-family: var(--font-comic); font-size: 1.15rem; letter-spacing: .05em; }
.quiz__progress { height: 18px; margin: 8px 0 22px; background: var(--white); border: var(--line) solid var(--ink); border-radius: 999px; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: calc(var(--q, 0) * 100%); background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #FF7A5C 8px 16px); border-right: var(--line) solid var(--ink); transition: width .5s var(--ease-pop); }
.quiz__card { margin: 0; padding: 0; border: 0; min-width: 0; }
.js .quiz__card { display: none; }
.js .quiz__card.is-active { display: block; animation: quiz-in .45s var(--ease-pop); }
.quiz__q { display: block; margin-bottom: 16px; font-family: var(--font-comic); font-size: clamp(1.6rem, 6.5vw, 2.3rem); letter-spacing: .03em; line-height: 1.05; }
.quiz__q:focus, .quiz__type:focus { outline: none; }
.quiz__answers { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.quiz__answer {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: .6em .9em;
  font: inherit;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s, background .15s;
}
@media (hover: hover) { .quiz__answer:hover { background: #FFF3B8; transform: translate(-2px, -2px); } }
.quiz__answer:active { transform: translate(2px, 2px); box-shadow: none; }
.quiz__answer.is-picked { background: var(--yellow); }
.quiz__result { display: none; }
.quiz__result.is-active { display: block; animation: quiz-in .5s var(--ease-pop); }
.quiz__result-head { position: relative; padding-top: 10px; }
.quiz__kicker { font-family: var(--font-hand); font-size: 1.35rem; margin: 0; }
.quiz__type { --o: 3px; --drop: 6px; --drop-c: var(--red); margin: 4px 0 14px; font-size: clamp(2.3rem, 10vw, 3.6rem); color: var(--white); rotate: -2deg; }
.quiz__result-head .burst { --size: 96px; top: -26px; right: -8px; }
.quiz__bars { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 4px; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@keyframes quiz-in { from { opacity: 0; transform: translateX(40px) rotate(2deg); } to { opacity: 1; transform: none; } }

/* ---------- 27. Mülleimer ------------------------------------------------- */
.bin-stage { padding: 0; overflow: hidden; }
.bin-stage__stage { position: relative; display: grid; justify-items: center; padding: 34px 16px 18px; }
.bin { display: block; width: min(240px, 62vw); overflow: visible; }
.bin__lid, .bin__ball, .bin__chips { transform-box: fill-box; }
.bin__lid { transform-origin: 0% 100%; }
.bin__ball { transform: translateY(46px); }
.js .bin__chips { transform: translateY(-190px); opacity: 0; }
.bin-stage .burst { --size: 92px; top: 16px; right: 6%; opacity: 0; }
.bin-stage .bubble { position: absolute; top: 12px; left: 4%; max-width: 44%; font-size: clamp(.95rem, 3.6vw, 1.2rem); opacity: 0; }
.bin-stage.is-in .bin__lid { animation: bin-lid 3.4s var(--ease-pop) both; }
.bin-stage.is-in .bin__ball { animation: bin-ball 3.4s ease-in-out both; }
.bin-stage.is-in .bin__chips { animation: bin-chips 3.4s ease-in both; }
.bin-stage.is-in .bubble { animation: pop-in .4s 1.9s var(--ease-boing) both; }
.bin-stage.is-in .burst { animation: pb-boom 1.1s 2.6s var(--ease-boing) both; }
html:not(.js) .bin__chips { transform: none; }
@keyframes bin-lid {
  0% { transform: rotate(0); }
  12%, 72% { transform: rotate(-42deg); }
  78% { transform: rotate(5deg); }
  84% { transform: rotate(-4deg); }
  90%, 100% { transform: rotate(0); }
}
@keyframes bin-ball {
  0%, 10% { transform: translateY(46px); }
  22%, 38% { transform: translateY(0); }
  46%, 100% { transform: translateY(46px); }
}
@keyframes bin-chips {
  0%, 36% { transform: translateY(-190px); opacity: 0; }
  38% { opacity: 1; }
  50% { transform: translateY(0); }
  54% { transform: translateY(-8px); }
  58%, 100% { transform: translateY(0); opacity: 1; }
}

.fold-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: center; }
.fold-vs svg { display: block; width: min(110px, 100%); margin: 0 auto 6px; overflow: visible; }
.fold-vs span { font-family: var(--font-hand); font-size: 1.15rem; }

/* ---------- 28. Weniger Bewegung, wenn gewünscht --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none !important; white-space: normal; flex-wrap: wrap; padding: .4em .8em; }
  .ticker__track [aria-hidden="true"] { display: none; }
  .ticker { flex-direction: column; }
  .ticker__label { border-right: 0; border-bottom: var(--line-thick) solid var(--ink); align-self: flex-start; }
  .knuelli__body, .knuelli__arm-r, .knuelli__eyes, .tissue, .tissue__tip,
  .burst--spin::before, .burst--spin::after, .sparkle, .sf__drop, .restore__cursor,
  .sync__line, .fakebar__caret, .router__led, .bt__wave { animation: none !important; }
  .bt__wave { opacity: 1; }
  .bt__wave:nth-child(1) { left: 20%; } .bt__wave:nth-child(2) { left: 50%; } .bt__wave:nth-child(3) { left: 80%; }
  .pb__note { display: none; }
}
