/* Presse-Seite press.bekommste.email. Farben wie die Web-App (apps/pwa/src/colors.css). */
/* Inter: SIL Open Font License 1.1, https://github.com/rsms/inter */
@font-face {
  font-family: Inter;
  src: url(/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: #ffffff;
  --primary: #07041d;
  --secondary: #f1f0f5;
  --border: #eeeff0;
  --muted: #6f6c84;
  --blue: #1e75ff;
  --buehne-hell: #ffffff;
  --buehne-dunkel: #1c1c24;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #1c1c24;
    --primary: #efeff0;
    --secondary: #292932;
    --border: #2c2c34;
    --muted: #a3a3ad;
    --blue: #5b9bff;
    --buehne-hell: #ffffff;
    --buehne-dunkel: #111117;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--primary);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.breit {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--background) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.kopf-innen { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; font-size: 17px; }
.marke:hover { text-decoration: none; }
.marke img { width: 28px; height: 28px; }
.etikett { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Start */
.start { padding: 48px 0 24px; }
.start-logo { width: 96px; height: 96px; margin-bottom: 20px; }
h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.gross { font-size: clamp(18px, 2.6vw, 22px); max-width: 680px; margin: 0 0 8px; }
.start p { max-width: 680px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.knopf:hover { text-decoration: none; filter: brightness(0.97); }
.knopf.haupt { background: var(--primary); color: var(--background); }
.knopf small { font-weight: 500; opacity: 0.7; }

/* Inhalt */
.inhalt {
  display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 4px; margin: 8px 0 8px;
  scrollbar-width: none;
}
.inhalt::-webkit-scrollbar { display: none; }
.inhalt a {
  flex: none; padding: 6px 14px; border-radius: 999px;
  background: var(--secondary); color: var(--primary); font-size: 14px; font-weight: 500;
}
.inhalt a:hover { text-decoration: none; }

section { padding: 28px 0 8px; }
h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 14px; }
h3 { font-size: 17px; margin: 18px 0 6px; }
h3:first-child { margin-top: 0; }
.leise { color: var(--muted); font-size: 15px; }

/* Karten */
.gitter { display: grid; gap: 16px; margin-bottom: 16px; }
.gitter.zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.gitter.drei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.karte { margin: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--background); }
.buehne { display: flex; align-items: center; justify-content: center; padding: 28px 20px; min-height: 170px; }
.buehne.hell { background: var(--buehne-hell); border-bottom: 1px solid var(--border); }
.buehne.dunkel { background: var(--buehne-dunkel); }
.buehne.discord { background: #313338; }
.buehne .wort { width: 100%; max-width: 360px; }
.buehne .symbol { width: 112px; height: 112px; }
.buehne .rund { border-radius: 50%; }
figcaption { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 6px; }
figcaption b { font-size: 15px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a {
  font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 8px;
  background: var(--secondary); color: var(--primary);
}
.links a:hover { text-decoration: none; filter: brightness(0.96); }

/* Farben */
.farben { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.farbe { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; padding-bottom: 10px; }
.farbe i { display: block; height: 72px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.farbe b, .farbe code { display: block; padding: 0 12px; }
.farbe b { font-size: 14px; }
.farbe code { font-size: 13px; color: var(--muted); font-family: inherit; font-variant-numeric: tabular-nums; }
.farbe.breit2 { grid-column: span 2; }
@media (max-width: 360px) { .farbe.breit2 { grid-column: auto; } }
.verlauf { background: linear-gradient(135deg, #ff9797, #6d6aff); }
.f-rosa { background: #ff9797; }
.f-lila { background: #6d6aff; }
.f-text { background: #07041d; }
.f-dunkel { background: #1c1c24; }
.f-flaeche { background: #f1f0f5; }
.f-akzent { background: #1e75ff; }

/* Bilder */
.bilder { display: grid; gap: 12px; margin-bottom: 12px; }
.bilder.pc { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bilder.handy { grid-template-columns: repeat(auto-fill, minmax(min(45%, 150px), 1fr)); }
.bilder a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.bilder img { width: 100%; }

/* Texte */
.karte.text { padding: 18px 20px; margin-bottom: 16px; }
.karte.text p { margin: 0 0 10px; max-width: 72ch; }
.fakten { width: 100%; border-collapse: collapse; font-size: 15px; }
.fakten th, .fakten td { text-align: left; vertical-align: top; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.fakten tr:last-child th, .fakten tr:last-child td { border-bottom: 0; }
.fakten th { width: 32%; color: var(--muted); font-weight: 500; }
.fakten td { overflow-wrap: anywhere; }

.regeln { padding-left: 20px; margin: 0; }
.regeln li { margin-bottom: 6px; }

/* Fuß */
.fuss { margin-top: 40px; border-top: 1px solid var(--border); padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.fuss-innen { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fuss a { color: var(--muted); }
