:root {
  --brand: #C1694F;
  --brand-dunkel: #9d523c;
  --text: #2d2118;
  --grau: #5b6577;
  --linie: #e4dcd2;
  --flaeche: #faf5ef;
  --karte: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #f1e9e1; --grau: #b3a99f; --linie: #3d332b; --flaeche: #1f1813; --karte: #2a211a; --brand: #d98569; --brand-dunkel: #e8a58f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--flaeche); }
a { color: var(--brand-dunkel); }
.nur-lesen { position: absolute; left: -9999px; }
.kopf { background: var(--brand); color: #fff; }
.kopf-innen { max-width: 62rem; margin: 0 auto; padding: 1rem; display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; justify-content: space-between; }
.marke { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.logo { background: #fff; border-radius: .6rem; padding: .35rem .8rem; display: flex; flex-shrink: 0; }
.logo img { height: 3rem; width: auto; display: block; }
.marke-text { line-height: 1.2; }
.marke-text span { font-weight: 400; opacity: .9; display: block; font-size: .9rem; }
.suche { flex: 0 1 18rem; min-width: 0; }
.suche input { width: 100%; padding: .7rem .9rem; border: 0; border-radius: .5rem; font: inherit; }
@media (max-width: 40rem) { .suche { flex: 1 1 100%; } }
main { max-width: 62rem; margin: 0 auto; padding: 1rem; display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { main { grid-template-columns: 15rem 1fr; } main:has(.kacheln) { grid-template-columns: 1fr; } }
.inhalt ul, article > ul:last-child { list-style: none; padding: 0; margin: 0; }
.inhalt a { display: block; padding: .45rem .75rem; border-radius: .4rem; text-decoration: none; color: var(--text); }
.inhalt a:hover, .inhalt a[aria-current] { background: var(--karte); color: var(--brand-dunkel); font-weight: 600; }
article { min-width: 0; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: .5rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 .4rem; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; background: var(--karte); font-size: .95rem; }
th, td { border: 1px solid var(--linie); padding: .5rem .65rem; text-align: left; vertical-align: top; }
th { background: var(--flaeche); }
code { background: var(--karte); padding: .1rem .35rem; border-radius: .25rem; }
.kacheln { list-style: none; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.kacheln a { display: block; height: 100%; padding: 1rem; background: var(--karte); border: 1px solid var(--linie); border-left: 4px solid var(--brand); border-radius: .5rem; text-decoration: none; color: var(--text); font-weight: 600; }
.kacheln a:hover { border-color: var(--brand); }
.bilder-alt { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin: 2rem 0 1rem; }
figure { margin: 0; }
figure img { width: 100%; height: auto; border: 1px solid var(--linie); border-radius: .5rem; background: var(--karte); }
figcaption { font-size: .875rem; color: var(--grau); margin-top: .35rem; }
.blaettern { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
#treffer ul { list-style: none; padding: 0; }
#treffer li { background: var(--karte); border: 1px solid var(--linie); border-radius: .5rem; padding: .75rem 1rem; margin-bottom: .5rem; }
#treffer small { display: block; color: var(--grau); }
.fuss { max-width: 62rem; margin: 2rem auto; padding: 0 1rem; color: var(--grau); font-size: .875rem; }
.inhalt summary { cursor: pointer; font-weight: 600; padding: .5rem .75rem; background: var(--karte); border: 1px solid var(--linie); border-radius: .4rem; }
@media (min-width: 52rem) { .inhalt summary { display: none; } }
figure.bild { margin: 1.25rem 0; text-align: center; }
figure.bild img { max-width: 100%; width: auto; max-height: 34rem; border: 1px solid var(--linie); border-radius: .5rem; background: var(--karte); }
figure.bild figcaption { text-align: left; max-width: 34rem; margin: .4rem auto 0; }
