/* ============================================================
   PrivacyBee Lab — die Seiten des Lab
   Übertragen aus specs/008-lab-multi-app/design/PrivacyBee Lab.dc.html.

   Der Entwurf setzt jeden Stil inline und Hover über ein eigenes Attribut (`style-hover`).
   Hier stehen dieselben Werte als Klassen und `:hover` — die Werte selbst sind die des
   Entwurfs. Farben ausschliesslich über die Tokens aus `tokens/colors.css`.

   Hell, wie der Entwurf. Ein dunkles Thema hat der Entwurf nicht, und die Scanseite auch nicht.
   ============================================================ */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pb-white);
  color: var(--pb-navy-700);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
a { color: var(--pb-blue-500); text-decoration: none; }
a:hover { color: var(--pb-blue-600); text-decoration: underline; }
a:focus-visible, .lab-knopf:focus-visible { outline: 3px solid var(--pb-blue-400); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }

.lab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lab-skip { position: absolute; left: -9999px; }
.lab-skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--pb-white); padding: 8px 12px; border-radius: 8px; }

.lab-innen { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- LAB-Marken ---------- */
.lab-marke {
  flex: none; display: inline-flex; align-items: center;
  font-weight: 800; letter-spacing: 0.1em; border-radius: 5px;
}
.lab-marke--voll { height: 21px; padding: 0 8px; background: var(--pb-honey-500); color: var(--pb-navy-800); font-size: 10.5px; }
.lab-marke--rand { height: 24px; padding: 0 9px; border-radius: 6px; border: 1.5px solid var(--pb-navy-800); color: var(--pb-navy-800); font-size: 12px; letter-spacing: 0.08em; }
.lab-marke--hell { height: 24px; padding: 0 9px; border-radius: 6px; border: 1.5px solid var(--pb-honey-400); color: var(--pb-honey-400); font-size: 12px; letter-spacing: 0.08em; }

/* ---------- Lab-Leiste ---------- */
.lab-leiste { background: var(--pb-navy-800); }
.lab-leiste__innen {
  max-width: 1280px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px; font-weight: 600; color: var(--pb-white);
}

/* ---------- Kopf ---------- */
.lab-kopf { background: var(--pb-white); border-bottom: 1px solid var(--pb-grey-200); }
.lab-kopf__innen {
  max-width: 1280px; margin: 0 auto; padding: 12px 24px; min-height: 70px;
  display: flex; align-items: center; column-gap: 32px; row-gap: 12px; flex-wrap: wrap;
}
.lab-brand { display: flex; align-items: center; gap: 11px; flex: none; }
.lab-brand:hover { text-decoration: none; }
.lab-brand img { height: 34px; width: auto; display: block; }
.lab-brand__wort { font-size: 26px; letter-spacing: -0.03em; color: var(--pb-navy-800); font-weight: 500; line-height: 1; }
.lab-brand__wort b { font-weight: 800; }
.lab-kopf__nav { flex: 1 1 auto; display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.lab-kopf__nav a { color: var(--pb-navy-700); white-space: nowrap; }
.lab-kopf__nav a:hover { color: var(--pb-navy-800); text-decoration: none; }
.lab-kopf__ende { flex: none; display: flex; align-items: center; gap: 14px; }
.lab-sprachen { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.lab-sprachen [aria-current] { color: var(--pb-navy-800); }
.lab-sprachen a { color: var(--pb-grey-500); }
.lab-sprachen a:hover { color: var(--pb-navy-800); text-decoration: none; }
.lab-sprachen span[aria-hidden] { color: var(--pb-grey-300); }

/* ---------- Knöpfe: Schrift bleibt, der Grund wird dunkler (wie auf der Scanseite) ---------- */
.lab-knopf {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px;
  white-space: nowrap; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
}
.lab-knopf:hover { text-decoration: none; }
.lab-knopf--gross { height: 52px; padding: 0 28px; font-size: 16px; }
.lab-knopf--blau { background: var(--pb-blue-500); color: var(--pb-white); }
.lab-knopf--blau:hover { background: var(--pb-blue-600); color: var(--pb-white); }
.lab-knopf--honig { background: var(--pb-honey-500); color: var(--pb-navy-800); }
.lab-knopf--honig:hover { background: var(--pb-honey-600); color: var(--pb-navy-800); }
.lab-knopf--navy { background: var(--pb-navy-800); color: var(--pb-white); }
.lab-knopf--navy:hover { background: var(--pb-navy-700); color: var(--pb-white); }
.lab-knopf--still { background: var(--pb-grey-100); color: var(--pb-grey-600); cursor: default; }

/* ---------- Überschriften, Kleintitel ---------- */
.lab-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pb-navy-300); }
.lab-eyebrow--dunkel { color: var(--pb-navy-800); letter-spacing: 0.1em; }
.lab-honig { color: var(--pb-honey-500); }

/* ---------- Aufmacher ---------- */
.lab-aufmacher { background: var(--pb-white); }
.lab-aufmacher__raster { padding-top: 84px; padding-bottom: 76px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.lab-aufmacher__text { flex: 1 1 560px; min-width: 0; }
.lab-aufmacher h1 {
  margin: 16px 0 20px; font-size: clamp(40px, 6.4vw, 76px); line-height: .96; font-weight: 800;
  letter-spacing: -0.045em; color: var(--pb-navy-800); text-wrap: pretty;
}
.lab-einleitung { margin: 0 0 30px; font-size: 18px; line-height: 1.6; color: var(--pb-navy-700); max-width: 60ch; }
.lab-aufmacher__handlung { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.lab-aufmacher__handlung > a:not(.lab-knopf) { font-size: 15px; font-weight: 600; }

.lab-nicht { flex: 1 1 300px; min-width: 270px; max-width: 380px; border-left: 3px solid var(--pb-honey-500); padding-left: 22px; }
.lab-nicht ul { list-style: none; margin: 6px 0 0; padding: 0; }
.lab-nicht li { padding: 14px 0; border-bottom: 1px solid var(--pb-grey-200); font-size: 15px; font-weight: 600; color: var(--pb-navy-800); }
.lab-nicht li:last-child { border-bottom: 0; }
.lab-nicht p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--pb-grey-600); }

/* ---------- Projekte ---------- */
.lab-experimente { background: var(--pb-grey-50); border-top: 1px solid var(--pb-grey-200); }
.lab-experimente > .lab-innen { padding-top: 72px; padding-bottom: 80px; }
.lab-experimente__kopf { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lab-experimente h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; font-weight: 800; letter-spacing: -0.036em; color: var(--pb-navy-800); }
.lab-experimente__zahl { font-size: 14px; font-weight: 600; color: var(--pb-grey-500); }

.lab-karte {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 38px;
  background: var(--pb-white); border: 1px solid var(--pb-grey-200); border-radius: 16px;
  box-shadow: 0 6px 18px rgba(26, 39, 68, .08); color: inherit;
}
.lab-karte + .lab-karte { margin-top: 26px; }
.lab-karte--offen:hover { text-decoration: none; color: inherit; border-color: var(--pb-honey-500); box-shadow: 0 10px 26px rgba(26, 39, 68, .13); }
.lab-karte__haupt { flex: 1 1 440px; min-width: 0; }
.lab-karte__kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lab-karte__kopf .lab-marke--voll { height: 22px; padding: 0 9px; border-radius: 6px; font-size: 11px; letter-spacing: 0.09em; }
.lab-karte__meta { font-size: 13px; font-weight: 600; color: var(--pb-grey-500); }
.lab-karte h3 { margin: 14px 0 12px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; color: var(--pb-navy-800); }
.lab-karte p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--pb-navy-700); max-width: 58ch; }
.lab-karte .lab-knopf--gross { height: 50px; padding: 0 26px; }
.lab-karte__seite { flex: 1 1 240px; min-width: 220px; max-width: 300px; }
.lab-karte__seite .lab-eyebrow { font-size: 11px; letter-spacing: 0.1em; }
.lab-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.lab-liste li { padding: 12px 0; border-top: 1px solid var(--pb-grey-200); font-size: 14px; font-weight: 600; color: var(--pb-navy-800); }
.lab-liste li.lab-liste__vorbehalt { font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--pb-grey-600); }

/* Stand und Störung: Form UND Wort, nicht nur Farbe */
.lab-zustand {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  border: 1.5px dashed var(--pb-grey-400); color: var(--pb-grey-600); font-size: 12px; font-weight: 700;
}
.lab-zustand--gestoert { border-style: solid; border-color: var(--pb-red-500); color: var(--pb-red-600); background: var(--pb-red-50); }

.lab-naechstes {
  margin-top: 26px; padding: 22px 26px; border: 1.5px dashed var(--pb-grey-300); border-radius: 16px;
  display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap;
}
.lab-naechstes strong { font-size: 15px; font-weight: 700; color: var(--pb-navy-800); }
.lab-naechstes span { flex: 1; min-width: 200px; font-size: 14px; color: var(--pb-grey-600); }

/* ---------- Regeln ---------- */
.lab-regeln { background: var(--pb-white); border-top: 1px solid var(--pb-grey-200); }
.lab-regeln__raster { padding-top: 76px; padding-bottom: 84px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.lab-regeln__raster > div { flex: 1 1 420px; min-width: 0; }
.lab-regeln h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; color: var(--pb-navy-800); text-wrap: pretty; }
.lab-regeln p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--pb-navy-700); max-width: 62ch; }
.lab-regelliste { flex: 1 1 320px; min-width: 280px; margin: 0; padding: 0; list-style: none; counter-reset: regel; }
.lab-regelliste li {
  counter-increment: regel; display: grid; grid-template-columns: 34px 1fr; column-gap: 18px;
  padding: 18px 0; border-top: 1px solid var(--pb-grey-200);
}
.lab-regelliste li:last-child { border-bottom: 1px solid var(--pb-grey-200); }
.lab-regelliste li::before { content: counter(regel, decimal-leading-zero); grid-row: span 2; font-size: 15px; font-weight: 800; color: var(--pb-honey-500); }
.lab-regelliste__titel { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--pb-navy-800); }
.lab-regelliste__text { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--pb-grey-600); }

/* ---------- Rückmeldung ---------- */
.lab-rueckmeldung { background: var(--pb-honey-400) url(honeycomb-bg.webp) center / cover no-repeat; }
.lab-rueckmeldung__raster { padding-top: 72px; padding-bottom: 78px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.lab-rueckmeldung__raster > div:first-child { flex: 1 1 460px; min-width: 0; }
.lab-rueckmeldung h2 { margin: 0 0 14px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1; font-weight: 800; letter-spacing: -0.042em; color: var(--pb-navy-800); text-wrap: pretty; }
.lab-rueckmeldung p { margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: var(--pb-navy-800); max-width: 54ch; }
.lab-rueckmeldung__bild { flex: 0 1 260px; min-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lab-rueckmeldung__bild img { height: 88px; width: auto; display: block; }
.lab-pille { max-width: 100%; padding: 11px 20px; border-radius: 999px; background: var(--pb-navy-800); color: var(--pb-white); font-size: 15px; font-weight: 700; line-height: 1.3; text-align: center; }

/* ---------- Hinweisseiten: Platzhalter, Störung, 404 ---------- */
.lab-hinweis { background: var(--pb-grey-50); border-top: 1px solid var(--pb-grey-200); }
.lab-hinweis .lab-innen { padding-top: 84px; padding-bottom: 96px; max-width: 760px; }
.lab-hinweis h1 { margin: 14px 0 16px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; color: var(--pb-navy-800); }
.lab-hinweis p { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: var(--pb-navy-700); max-width: 58ch; }

/* ---------- Fusszeile ---------- */
.lab-fuss { background: var(--pb-navy-800); }
.lab-fuss__innen { max-width: 1280px; margin: 0 auto; padding: 52px 24px 40px; }
.lab-fuss__oben { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.lab-fuss__marke { flex: none; display: flex; align-items: center; gap: 12px; }
.lab-fuss__marke:hover { text-decoration: none; }
.lab-fuss__marke img { height: 36px; width: auto; display: block; }
.lab-fuss__nav { display: flex; gap: 34px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.lab-fuss__nav a { color: var(--pb-white); }
.lab-fuss__nav a:hover { color: var(--pb-honey-400); text-decoration: none; }
.lab-fuss__unten { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--pb-navy-700); display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
.lab-fuss__recht { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.lab-fuss__recht a { color: var(--pb-navy-100); }
.lab-fuss__recht a:hover { color: var(--pb-white); text-decoration: none; }
.lab-fuss__zeile { font-size: 14px; color: var(--pb-navy-300); }

@media (max-width: 640px) {
  .lab-kopf__nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .lab-kopf__ende { margin-left: auto; }
  .lab-karte { padding: 26px 22px; gap: 28px; }
  .lab-aufmacher__raster { padding-top: 56px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
