/* ringcade.aqlis.de – eine Stylesheet-Datei, keine externen Ressourcen, kein JavaScript.
   Schrift: Fredoka (SIL OFL 1.1, /fonts/OFL.txt), selbst gehostet, latin, variabel 300–700 –
   dieselbe Schrift wie die App. Nur Überschriften, Wortmarke, Navigation; Fließtext Systemschrift.
   Farben nach D28 als OKLCH-Tokens (Hex nur im Kommentar):
   Nachtblau #0A1A45, Creme #FDFAEB, Koralle #F87858.
   Kontrast (WCAG 2.x, aus OKLCH → sRGB gerechnet, 2026-10-19):
     hell:   Nachtblau auf Creme 16,1:1 · Gedämpft auf Creme 7,0:1 ·
             Creme auf Nachtblau (Band, Hero) 16,1:1 · Koralle auf Nachtblau 6,3:1 · Nachtblau auf Koralle (Skip-Link) 6,3:1
     dunkel: Creme auf Nachtblau 16,1:1 · Gedämpft-dunkel auf Nachtblau 11,0:1 ·
             Creme auf Band-dunkel 18,3:1 · Koralle auf Band-dunkel 7,2:1 · Gedämpft-dunkel auf Band-dunkel 12,6:1
   Koralle nie als Text auf Creme (2,6:1) – auf Creme nur als Linie (border-top) oder Unterstreichung.
   Akzente nur als border-top, kein border-left, keine Verläufe, kein 100vh, keine Motion. */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/fredoka-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --navy: oklch(23.5% 0.084 265);
  --navy-deep: oklch(17% 0.06 265);
  --creme: oklch(98.3% 0.020 97.5);
  --coral: oklch(71.6% 0.164 35.2);
  --muted: oklch(45.5% 0.059 270.5);
  --line: oklch(86.5% 0.032 94.9);
  --bg: var(--creme);
  --fg: var(--navy);
  --fg-muted: var(--muted);
  --band: var(--navy);
  --on-band: var(--creme);
  --on-band-muted: oklch(86% 0.025 95);
  --frame: var(--creme);
  --focus: var(--coral);
  --space: 16px;
  --measure: 46rem;
  --wide: 72rem;
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--navy);
    --fg: var(--creme);
    --fg-muted: oklch(86% 0.025 95);
    --line: oklch(38% 0.07 265);
    --band: var(--navy-deep);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: var(--space); top: -100px;
  background: var(--coral); color: var(--navy);
  padding: 12px 16px; font-weight: 700; z-index: 10;
}
.skip:focus { top: 8px; }

/* Kopf-Band: Nachtblau, Koralle als border-top, darunter eine Reihe Steine aus dem App-Icon (i2-reihe-oben). */
.band { background: var(--band); color: var(--on-band); border-top: 4px solid var(--coral); }
.band-inner, .wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--space); }
.band-inner--wide, .wrap--wide { max-width: var(--wide); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 8px; }
.wordmark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-size: 1.75rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none;
}
.wordmark .c, .display .c { color: var(--coral); position: relative; top: -0.16em; }
.nav { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px;
  font-family: var(--display); font-weight: 550; font-size: 1.0625rem; text-decoration: none;
}
.nav a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.quick a { font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--on-band-muted); }
.quick a:hover { color: var(--on-band); }

.stones {
  height: 30px;
  background: url("/img/steine.svg") left 10px bottom 8px / auto 18px repeat-x;
  opacity: 0.9;
}
.stones--hero { height: 72px; background-position: left -6px bottom 22px; background-size: auto 34px; }

/* Sprachleiste der Rechtsseiten */
.langs { border-bottom: 1px solid var(--line); }
.langs ul { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0; padding: 4px 0; list-style: none; }
.langs a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center;
  padding: 0 10px; text-decoration: none; font-size: 0.9375rem;
}
.langs a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }

/* Lesetext der Rechtsseiten */
main { display: block; padding-block: 28px 56px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem); font-weight: 600; line-height: 1.1; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.4375rem; font-weight: 600; line-height: 1.25; margin: 2.5rem 0 0.5rem; padding-top: 0.875rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.1875rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }
p, ul, ol { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
.stand, .meta { color: var(--fg-muted); font-size: 0.9375rem; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }

.table-scroll { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--fg); }
tbody tr:last-child td { border-bottom: 0; }

/* Startseite */
.home main { padding: 0; }
.hero { background: var(--band); color: var(--on-band); overflow: hidden; }
.hero-inner {
  max-width: var(--wide); margin: 0 auto; padding: 16px var(--space) 8px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px;
}
.app-icon {
  display: block; width: clamp(112px, 22vw, 168px); height: auto;
  border-radius: 22.5%;
  box-shadow: 0 0 0 3px var(--frame);
}
.display {
  font-size: clamp(3.5rem, 2.2rem + 6.4vw, 7rem); font-weight: 650; line-height: 0.95; letter-spacing: -0.025em;
  margin: 28px 0 16px;
}
.hero-lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; max-width: 30rem; margin: 0 0 24px; }
.soon {
  display: inline-block; margin: 0;
  padding-top: 10px; border-top: 3px solid var(--coral);
  font-family: var(--display); font-weight: 550; font-size: 1.1875rem; color: var(--coral);
}
.soon a { display: inline-flex; align-items: center; min-height: 44px; }

/* Spielbilder: eigener Rahmen (Creme-Kontur, Radius), überlappend gestaffelt, kein Geräterahmen. */
.shots {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start; padding-bottom: 8px;
}
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto;
  border-radius: clamp(14px, 3.4vw, 30px);
  box-shadow: 0 0 0 3px var(--frame), 0 10px 0 3px oklch(12% 0.04 265);
  background: var(--navy);
}
.shot--path { grid-column: 1 / 6; grid-row: 1; margin-top: 18%; transform: rotate(-3deg); }
.shot--game { grid-column: 5 / 10; grid-row: 1; position: relative; z-index: 1; }
.shot--daily { grid-column: 8 / 13; grid-row: 1; align-self: end; position: relative; z-index: 2; margin-bottom: 10%; transform: rotate(3deg); }

.choose { padding-block: 40px 56px; }
.choose h2 { border: 0; padding: 0; margin: 0 0 20px; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.15; }
.choose .also {
  display: block; margin-top: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--fg-muted);
}
.home-langs { list-style: none; padding: 0; margin: 0; }
.home-langs > li {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 32px;
  border-top: 1px solid var(--line); padding: 18px 0 10px; margin: 0;
}
.home-langs > li:last-child { border-bottom: 1px solid var(--line); }
.home-langs h3 { margin: 0; font-size: 1.375rem; }
.home-langs .pitch { margin: 0 0 2px; max-width: 34rem; }
.home-langs .meta { margin: 0; }
.row-links { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; padding: 0; margin: 4px 0 0; }
.row-links li { margin: 0; }
.row-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration-color: var(--line); text-decoration-thickness: 2px;
}
.row-links a:hover { text-decoration-color: var(--coral); }

footer { border-top: 1px solid var(--line); padding-block: 16px 32px; color: var(--fg-muted); font-size: 0.9375rem; }
.home footer { border-top: 0; }
footer ul { display: flex; flex-wrap: wrap; gap: 0 16px; list-style: none; padding: 0; margin: 0 0 8px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 52rem) {
  .hero-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 48px; padding-top: 40px; }
  .hero-copy { padding-bottom: 48px; }
  .home-langs > li { grid-template-columns: 14rem minmax(0, 1fr); align-items: baseline; padding: 22px 0 12px; }
  .row-links { grid-column: 2; gap: 0 28px; }
}

@media print {
  .band, .langs, .skip, footer ul, .stones { display: none; }
  body { background: #fff; color: #000; }
}
