/* Halteblatt – Designsystem „Salbei und Leinen“ (siehe DESIGN.md). Keine externen Ressourcen. */
@font-face { font-family: "Lora"; src: url("/fonts/Lora-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/Lora-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-It.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --text: #2B302C; --salbei: #4F6F5E; --salbei-hell: #7F9E8F;
  --flaeche: #E7EFEA; --papier: #FAF7F2; --akzent: #EBAE85; --akzent-dunkel: #A65A32;
  --weiss: #FFFFFF;
  --font-head: "Lora", Georgia, serif;
  --font-text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--text);
  font-family: var(--font-text); font-size: 18px; line-height: 1.6;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

/* Kopf */
.kopf { padding: 1.5rem 0 0; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.marke { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--salbei); text-decoration: none; }
.marke svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 1.1rem; font-size: .95rem; }
.nav a { color: var(--salbei); }

/* Typografie */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--salbei); line-height: 1.25; }
h1 { font-size: 2rem; margin: 2.2rem 0 .6rem; }
h2 { font-size: 1.4rem; margin: 2.4rem 0 .6rem; padding-bottom: .35rem; border-bottom: 1px solid var(--salbei-hell); }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .3rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; }
.leise { color: var(--salbei); font-size: .95rem; }
a { color: var(--salbei); text-decoration: underline; text-underline-offset: .15em; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--akzent-dunkel); outline-offset: 3px; border-radius: 4px; }

/* Karten und Kästen */
.karte { background: var(--weiss); border: 1px solid var(--salbei-hell); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.5rem 0; }
.karte h2 { border: 0; margin-top: 0; padding: 0; }
.info { background: var(--flaeche); border: 1px solid var(--salbei-hell); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.frist { background: var(--weiss); border: 1px solid var(--salbei-hell); border-left: 4px solid var(--akzent-dunkel); border-radius: 6px; padding: .9rem 1.1rem; margin: 1rem 0; }
.frist strong:first-child { color: var(--akzent-dunkel); }

/* Häkchenliste */
.haken { list-style: none; padding: 0; margin: 0 0 1rem; }
.haken li { position: relative; padding-left: 2.1rem; margin: .45rem 0; }
.haken li::before {
  content: "✓"; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem;
  background: var(--akzent); color: var(--text); border-radius: 4px; font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* Kaufknöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.knopf {
  display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; border-radius: 8px;
  background: var(--salbei); color: var(--weiss); font-weight: 700; text-decoration: none;
}
.knopf:hover { background: var(--text); color: var(--weiss); }
.knopf.leer { background: var(--weiss); color: var(--salbei); border: 1px solid var(--salbei-hell); font-weight: 400; cursor: default; }

/* Linkliste */
.links { list-style: none; padding: 0; margin: 0; }
.links li { background: var(--weiss); border: 1px solid var(--salbei-hell); border-radius: 8px; padding: .75rem 1rem; margin: .5rem 0; }
.links li a { font-weight: 700; }
.links li span { display: block; font-size: .9rem; color: var(--salbei); }
.laender { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem; list-style: none; padding: 0; }
.laender li { background: var(--weiss); border: 1px solid var(--salbei-hell); border-radius: 8px; padding: .6rem .9rem; }
.sprung { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .95rem; margin: .5rem 0 1rem; }

/* Fuß */
.fuss { margin-top: 3.5rem; background: var(--salbei); color: var(--weiss); padding: 1.6rem 0 2rem; font-size: .95rem; }
.fuss a { color: var(--weiss); }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; }

/* Platzhalter, bis die Angaben feststehen */
.offen { background: var(--akzent); color: var(--text); padding: 0 .3rem; border-radius: 3px; }

@media (max-width: 520px) { body { font-size: 17px; } h1 { font-size: 1.7rem; } }
@media print { .nav, .fuss, .knoepfe { display: none; } body { background: #fff; } }
