/* Tantive KI Gewinnspiel: nur Layout der App. Farben, Schrift und Abstände ausschließlich über Labs-Tokens. */

.labs-pagehead h1 {
  max-width: 28ch;
}
.labs-pagehead p {
  max-width: 68ch;
}

/* Ablauf in vier Schritten, reiner Text */
.gw-schritte {
  list-style: none;
  margin: 0 0 var(--l-s6);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--l-s4);
}
.gw-schritte li {
  display: flex;
  flex-direction: column;
  gap: var(--l-s1);
  padding: var(--l-s4);
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-r-m);
}
.gw-schritte__zahl {
  margin: 0;
}
.gw-schritte span:not(.gw-schritte__zahl) {
  color: var(--l-muted);
  font-size: var(--l-t-14);
}

/* Formular */
.gw-form {
  display: grid;
  gap: var(--l-s6);
  max-width: 860px;
}
.gw-zeile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--l-s4);
}
.gw-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--l-s3);
  align-items: start;
}
.gw-check label {
  margin: 0;
  font-weight: 400;
}
.gw-aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--l-s4);
  margin-top: var(--l-s4);
}
/* Falle für Bots: aus dem Blickfeld, aber nicht per display:none (das erkennen Bots) */
.gw-falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Textseiten und schmale Panels */
.gw-schmal {
  max-width: 720px;
}
.gw-text {
  max-width: 78ch;
}
.gw-text h2 {
  margin-top: var(--l-s6);
  font-size: var(--l-t-18);
}
.gw-text h2:first-child {
  margin-top: 0;
}
.gw-text li {
  margin-bottom: var(--l-s2);
}

/* Interner Bereich */
.gw-kpis {
  margin-bottom: var(--l-s6);
}
.gw-filter {
  display: flex;
  gap: var(--l-s2);
  flex-wrap: wrap;
  margin-bottom: var(--l-s4);
}
.gw-filter__link {
  padding: var(--l-s2) var(--l-s4);
  border: 1px solid var(--l-border);
  border-radius: var(--l-r-pill);
  color: var(--l-muted);
  text-decoration: none;
  min-height: var(--l-target);
  display: inline-flex;
  align-items: center;
}
.gw-filter__link[aria-current='page'] {
  background: var(--l-accent-tint);
  border-color: var(--l-accent);
  color: var(--l-text);
}
.gw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gw-detail {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  gap: var(--l-s6);
  align-items: start;
}
.gw-seite {
  display: grid;
  gap: var(--l-s6);
}
.gw-dl dt {
  margin-top: var(--l-s4);
  font-family: var(--l-font-title);
  font-weight: 600;
  color: var(--l-muted);
  font-size: var(--l-t-14);
}
.gw-dl dt:first-child {
  margin-top: 0;
}
.gw-dl dd {
  margin: var(--l-s1) 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .gw-detail {
    grid-template-columns: 1fr;
  }
}

/* Bühne für die Auslosung: groß genug für den Beamer */
.gw-buehne {
  text-align: center;
  padding-block: var(--l-s12);
}
.gw-los {
  font-family: var(--l-font-title);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--l-s6) 0;
  font-variant-numeric: tabular-nums;
}
.gw-sieger {
  font-family: var(--l-font-title);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--l-accent-text);
  margin: 0 0 var(--l-s6);
}
.gw-buehne .gw-aktion {
  justify-content: center;
}
