/* Gleiche Farben und Schriften wie in der App (src/App.jsx, vars-Objekt),
   damit die oeffentlichen Seiten und die App wie ein Produkt wirken. */
:root {
  --bg: #f6efdd;
  --surface: #fdf9ee;
  --surface-2: #efe6cd;
  --text: #241d10;
  --muted: #7c6f58;
  --gold: #3e8f5f;
  --gold-dark: #2c6b45;
  --border: rgba(62, 143, 95, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0c08;
    --surface: #1b160e;
    --surface-2: #241d12;
    --text: #f5efe2;
    --muted: #9c9280;
    --gold: #6abf8c;
    --gold-dark: #8fe0ae;
    --border: rgba(106, 191, 140, 0.18);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.marke {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 18px;
}

nav a:hover {
  color: var(--text);
}

h1 {
  font-family: "Sora", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

h2 {
  font-family: "Sora", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 38px 0 10px;
}

p,
li {
  color: var(--text);
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

a {
  color: var(--gold);
}

.karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 18px 0;
}

.hinweis {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  margin: 20px 0;
}

.knopf {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 8px;
}

/* Werbeplatz. Solange kein Netzwerk eingebunden ist, bleibt der Rahmen leer —
   damit die Seite nicht springt, sobald spaeter eine Anzeige geladen wird. */
.werbeplatz {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  margin: 34px 0;
}

footer {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

footer a {
  margin-right: 16px;
}

@media (max-width: 560px) {
  h1 {
    font-size: 27px;
  }
  nav a {
    margin: 0 14px 0 0;
  }
  header.top {
    padding: 18px 0;
  }
}

/* Zusatz-Auszeichnung fuer die Zeile unter dem Namen im Impressum. */
.klein {
  font-size: 14px;
  color: var(--muted);
}
