/* Webseite von Atramentum: Farben wie in der App (tokens.css), keine externen Schriften oder Skripte. */
:root {
  --canvas: #E8DFCD; --surface: #F4ECDC; --ink: #30231D; --muted: #6B5B4B; --border: #C5B59C;
  --accent: #6A302A; --accent-text: #FFFAEF; --wood: #49352A; --wood-text: #FFFAEF; --paper: #FFFDF8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #191B18; --surface: #252822; --ink: #EEE7D8; --muted: #B9B4A5; --border: #74796B;
    --accent: #E0B583; --accent-text: #272117; --wood: #36291F; --wood-text: #EEE7D8; --paper: #2B2E28;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.huelle { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.kopf { background: var(--surface); border-bottom: 1px solid var(--border); }
header.kopf .huelle { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 22px var(--serif); margin-right: auto; }
.marke img { width: 36px; height: 36px; }
nav.oben { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav.oben a { color: var(--ink); text-decoration: none; }
nav.oben a:hover { text-decoration: underline; }

.held { padding: 56px 0 32px; text-align: center; }
.held h1 { font: 600 clamp(32px, 6vw, 52px)/1.15 var(--serif); margin: 0 0 16px; }
.held .unterzeile { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 760px; margin: 0 auto 28px; }
.knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600;
  text-decoration: none; background: var(--wood); color: var(--wood-text); border: 1px solid var(--border); }
.knopf.haupt { background: var(--accent); color: var(--accent-text); border-color: transparent; }
.knopf:hover { filter: brightness(1.08); }
.klein { font-size: 14px; color: var(--muted); margin-top: 12px; }
.bildschirm { margin: 36px auto 0; max-width: 1000px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(48, 35, 29, 0.18); }

section { padding: 40px 0; }
h2 { font: 600 clamp(26px, 3.4vw, 34px)/1.2 var(--serif); margin: 0 0 18px; }
h3 { font: 600 20px/1.3 var(--serif); margin: 0 0 6px; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.karte { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.karte p { margin: 0; color: var(--muted); }

.ansichten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.ansichten figure { margin: 0; }
.ansichten img { border-radius: 10px; border: 1px solid var(--border); }
.ansichten figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }

.tabelle-huelle { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--surface); border-radius: 10px; overflow: hidden; font-size: 16px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.hinweis { background: var(--surface); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 6px; }
footer.fuss { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.fuss a { color: var(--muted); }
@media (max-width: 600px) {
  .held { padding-top: 36px; }
  nav.oben { gap: 12px; }
}
/* Sprachwahl im Kopf: Kürzel, aktuelle Sprache hervorgehoben */
.sprachwahl { display: inline-flex; gap: 2px; }
nav.oben .sprachwahl a { font-size: 13px; letter-spacing: .04em; padding: 2px 5px; border-radius: 4px; color: var(--muted); }
nav.oben .sprachwahl a[aria-current] { color: var(--ink); font-weight: 600; background: var(--canvas); }
