/* The Tale Suite – Webseite. Nur Systemschriften, keine fremden Dienste, keine Cookies. */
:root {
  --grund: #f7f3ea;
  --flaeche: #ffffff;
  --text: #1d2a29;
  --leise: #55625f;
  --petrol: #14524f;
  --petrol-hell: #1f6f6a;
  --linie: #e2dccd;
  --gelb: #f2c94c;
  --luecke: #fff2b3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0f1918;
    --flaeche: #172322;
    --text: #e8eeec;
    --leise: #a3b2af;
    --petrol: #5fc0b6;
    --petrol-hell: #7fd3ca;
    --linie: #2a3a38;
    --luecke: #5a4a12;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--petrol); text-underline-offset: 2px; }
a:hover { color: var(--petrol-hell); }
.rahmen { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--linie); }
header .rahmen { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header .marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 18px; margin-right: auto; }
header .marke img { width: 32px; height: 32px; }
header nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
header nav a { text-decoration: none; color: var(--leise); }
header nav a[aria-current="page"], header nav a:hover { color: var(--petrol); }

main { padding: 32px 0 48px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 4px; }
.leise { color: var(--leise); }

.kopf { display: flex; gap: 24px; align-items: center; padding: 12px 0 8px; flex-wrap: wrap; }
.kopf img { width: 120px; height: 120px; flex: none; }
.kopf .unter { font-size: 20px; color: var(--leise); margin: 0; }
.kopf .zeile { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol); margin: -6px 0 8px; }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 28px 0; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 16px 18px; }
.karte h3 { margin-top: 0; color: var(--petrol); }
.karte p { margin: 0; font-size: 16px; }
.anforderungen ul { margin: 0 0 10px; }
.anforderungen li { margin-bottom: 8px; font-size: 16px; }
.anforderungen p { margin-top: 4px; }

.hinweis { background: var(--flaeche); border-left: 4px solid var(--gelb); border-radius: 6px; padding: 12px 16px; margin: 24px 0; }

/* Vom Betreiber auszufüllen – vor dem Hochladen ersetzen. */
.luecke { background: var(--luecke); padding: 0 4px; border-radius: 3px; }

footer { border-top: 1px solid var(--linie); padding: 20px 0 32px; font-size: 15px; color: var(--leise); }
footer .rahmen { display: flex; gap: 18px; flex-wrap: wrap; }
footer .rahmen span { margin-right: auto; }

@media (max-width: 520px) {
  h1 { font-size: 25px; }
  .kopf img { width: 88px; height: 88px; }
  .kopf .unter { font-size: 18px; }
}
