/* Gemeinsames Design für oliver-dohrenbusch.de – Grundfarbe #960019 */
:root {
  --rot: #960019;
  --rot-dunkel: #6e0012;
  --rot-hell: #f7e6e9;
  --text: #221a1b;
  --leise: #6a5f61;
  --linie: #e6dcdd;
  --flaeche: #ffffff;
  --grund: #fbf7f7;
  --link: #960019;
  --schatten: 0 1px 2px rgba(60, 0, 10, .06), 0 6px 20px rgba(60, 0, 10, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --rot-hell: #2a1216;
    --text: #f1e9ea;
    --leise: #b3a5a7;
    --linie: #3a2a2d;
    --flaeche: #1c1416;
    --grund: #120c0d;
    --link: #ff8597;
    --schatten: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
code { font-size: .9em; background: var(--rot-hell); padding: 1px 5px; border-radius: 4px; }

/* Kopf */
.kopf { background: var(--rot); color: #fff; }
.kopf-innen { max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.marke { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1em; letter-spacing: .2px; display: flex; align-items: center; gap: 10px; }
.marke-zeichen { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: var(--rot); display: grid; place-items: center; font-weight: 800; font-size: .85em; }
.kopf nav a { color: #fff; text-decoration: none; margin-left: 18px; opacity: .9; font-size: .95em; }
.kopf nav a:first-child { margin-left: 0; }
.kopf nav a:hover, .kopf nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }

/* Bühne Startseite */
.buehne { background: linear-gradient(160deg, var(--rot) 0%, var(--rot-dunkel) 100%); color: #fff; }
.buehne-innen { max-width: 1040px; margin: 0 auto; padding: 56px 20px 64px; }
.buehne h1 { font-size: clamp(1.9em, 4vw, 2.7em); line-height: 1.15; margin: 0 0 12px; }
.buehne p { font-size: 1.15em; max-width: 620px; margin: 0; opacity: .92; }

/* Inhalt */
main { max-width: 1040px; margin: 0 auto; padding: 40px 20px 64px; }
main.schmal { max-width: 780px; }
h1 { font-size: 1.9em; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 1.3em; margin: 40px 0 10px; }
.unterzeile { color: var(--leise); margin: 0 0 28px; }
.zurueck { display: inline-block; margin-bottom: 18px; font-size: .95em; }

/* Karten */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 16px; }
.karte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 22px;
  box-shadow: var(--schatten); display: flex; flex-direction: column;
}
.karte h3 { margin: 0 0 6px; font-size: 1.15em; }
.karte p { margin: 0 0 16px; color: var(--leise); flex: 1; }
.karte .symbol { width: 44px; height: 44px; border-radius: 11px; background: var(--rot-hell); color: var(--rot); display: grid; place-items: center; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .karte .symbol { color: var(--link); } }
.karte .symbol svg { width: 24px; height: 24px; }
.karte-gross { border-top: 4px solid var(--rot); }
.verweise { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .95em; }
.knopf {
  display: inline-block; background: var(--rot); color: #fff; text-decoration: none; font-weight: 600;
  padding: 9px 16px; border-radius: 9px;
}
.knopf:hover { background: var(--rot-dunkel); text-decoration: none; }
.marker { display: inline-block; font-size: .78em; font-weight: 600; color: var(--rot); background: var(--rot-hell); padding: 2px 8px; border-radius: 99px; margin-bottom: 10px; align-self: flex-start; }
@media (prefers-color-scheme: dark) { .marker { color: var(--link); } }

/* Rechtstexte */
.recht h2 { font-size: 1.15em; margin: 34px 0 8px; padding-top: 14px; border-top: 1px solid var(--linie); }
.recht h3 { font-size: 1em; margin: 20px 0 4px; }
.kurz { background: var(--rot-hell); border-left: 4px solid var(--rot); border-radius: 8px; padding: 14px 18px; }
.kurz p { margin: 0; }
.kurz p + p, .kurz ul { margin-top: 8px; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: .95em; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--linie); }
th { font-weight: 600; }
.tabelle { overflow-x: auto; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); }
.fuss-innen { max-width: 1040px; margin: 0 auto; padding: 22px 20px 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--leise); font-size: .92em; }
.fuss a { color: var(--leise); margin-left: 16px; }
.fuss a:first-child { margin-left: 0; }

/* ---- Ergänzungen easyTDD ---- */
.marke img { width: 36px; height: 36px; border-radius: 9px; display: block; background: #fff; padding: 2px; }
.buehne .claim { font-size: 1.05em; opacity: .85; margin: 0 0 6px; letter-spacing: .3px; }
.buehne .knoepfe { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.knopf-hell { background: #fff; color: var(--rot) !important; }
.knopf-hell:hover { background: #f3e3e6; }
.knopf-rand { background: transparent; border: 1.5px solid rgba(255,255,255,.7); }
.knopf-rand:hover { background: rgba(255,255,255,.12); }
.lead { font-size: 1.15em; }
.inhalt h2 { font-size: 1.35em; margin: 44px 0 10px; scroll-margin-top: 16px; }
.inhalt h3 { font-size: 1.08em; margin: 26px 0 6px; }
.inhalt table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95em; }
.inhalt th, .inhalt td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--linie); }
.inhalt th { font-weight: 600; }
.inhalt li { margin-bottom: 4px; }
.box { background: var(--rot-hell); border-left: 4px solid var(--rot); border-radius: 8px; padding: 14px 18px; margin: 18px 0; }
.box ul { margin: 8px 0 0; padding-left: 20px; }
.toc { columns: 2; column-gap: 32px; padding-left: 20px; }
@media (max-width: 640px) { .toc { columns: 1; } .kopf nav a { margin-left: 12px; } }
.schritte { counter-reset: s; list-style: none; padding: 0; }
.schritte li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 12px; min-height: 30px; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9em; }
.fluss { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 14px 0; }
.fluss > div { background: var(--flaeche); border: 1px solid var(--linie); border-top: 4px solid var(--rot); border-radius: 10px; padding: 14px 16px; }
.fluss strong { display: block; margin-bottom: 4px; }
pre { background: #1d1517; color: #f3e9ea; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: .85em; line-height: 1.5; }
pre code { background: none; padding: 0; color: inherit; }
.bild { margin: 18px 0; }
.bild img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--linie); }
.bild figcaption { color: var(--leise); font-size: .9em; margin-top: 6px; }
.bild.handy img { max-width: 340px; }
.bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 300px)); gap: 20px; align-items: start; justify-content: start; }
.bilder .bild img { width: 100%; max-width: 100%; }
.bilder .bild { margin: 0; }
.platzhalter { border: 2px dashed var(--linie); border-radius: 10px; padding: 34px 14px; text-align: center; color: var(--leise); font-size: .9em; background: var(--flaeche); }
.merkmale { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 16px; }
.merkmal { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 20px; box-shadow: var(--schatten); }
.merkmal h3 { margin: 10px 0 4px; font-size: 1.05em; }
.merkmal p { margin: 0; color: var(--leise); }
.merkmal .symbol { width: 42px; height: 42px; border-radius: 10px; background: var(--rot-hell); color: var(--rot); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .merkmal .symbol { color: var(--link); } }
.merkmal .symbol svg { width: 22px; height: 22px; }
.hinweis-archiv { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 12px 16px; color: var(--leise); }
