/* Farben aus dem Logo. Koralle, Salbei und Senf nur für große Schrift und Flächen;
   Fließtext in den dunklen Tönen, damit der Kontrast mindestens 4,5:1 erreicht. */
:root {
  --creme: #FDFBF7;
  --weiss: #FFFFFF;
  --koralle: #DA7563;
  --koralle-mittel: #C45E4C; /* große Schrift, 3,9:1 auf Creme */
  --koralle-dunkel: #A8473A;
  --koralle-hell: #FBE9E4;
  --salbei: #889569;
  --salbei-dunkel: #55633D;
  --salbei-hell: #EEF1E6;
  --senf: #E49E4C;
  --senf-hell: #FBF0DF;
  --braun: #62382C;
  --text: #4A3A33;
  --text-leise: #6E5C53;
  --rand: #EFE6DC;
  --radius: 22px;
  --breite: 1080px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--koralle-dunkel); text-underline-offset: 0.18em; }
a:hover { color: var(--braun); }
a:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--braun); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* Kopf */
.kopf {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marke img { width: clamp(150px, 26vw, 220px); }

/* Sprachwahl: <details> statt Skript, die CSP verbietet JavaScript. */
.sprachwahl { position: relative; }
.sprachwahl summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--salbei-dunkel);
  background: var(--salbei-hell);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}
.sprachwahl summary::-webkit-details-marker { display: none; }
.sprachwahl summary::after { content: "▾"; font-size: 0.8em; }
.sprachwahl[open] summary::after { content: "▴"; }
.sprachwahl summary:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; }
.sprachwahl ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 10;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(98, 56, 44, 0.14);
  display: grid;
  grid-template-columns: repeat(2, minmax(9em, 1fr));
  gap: 2px;
}
.sprachwahl a {
  display: block;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.sprachwahl a:hover { background: var(--creme); color: var(--braun); }
.sprachwahl a[aria-current] { background: var(--salbei-hell); color: var(--salbei-dunkel); font-weight: 600; }

main { max-width: var(--breite); margin: 0 auto; padding: 0 16px; }

/* Einstieg */
.held {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 56px;
}
.held-bild { width: min(100%, 380px); margin: 0 auto; }
.held-text { text-align: center; }
.held h1 span { color: var(--koralle-mittel); }
.unterzeile { font-size: 1.2rem; max-width: 34em; margin-inline: auto; }
.hinweis {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--text-leise);
  background: var(--senf-hell);
  border-radius: 14px;
  padding: 8px 16px;
}

@media (min-width: 820px) {
  .held { grid-template-columns: 5fr 6fr; gap: 48px; padding: 40px 0 80px; }
  .held-bild { width: 100%; max-width: 440px; }
  .held-text { text-align: start; }
  .unterzeile { margin-inline: 0; }
}

/* Bereiche */
.bereiche { padding-bottom: 64px; }
.bereiche > h2 { text-align: center; margin-bottom: 1.2em; }
.karten {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.karte {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.karte p { margin: 0; color: var(--text-leise); font-size: 1rem; }
.symbol {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.karte:nth-child(3n+1) .symbol { background: var(--koralle-hell); }
.karte:nth-child(3n+2) .symbol { background: var(--salbei-hell); }
.karte:nth-child(3n+3) .symbol { background: var(--senf-hell); }

/* Bänder */
.band {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 24px;
}
.band p { max-width: 40em; font-size: 1.1rem; margin-bottom: 0; }
.band-koralle { background: var(--koralle-hell); }
.band-salbei { background: var(--salbei-hell); }
.band-salbei h2 { color: var(--salbei-dunkel); }

/* Textseiten */
.textseite { max-width: 46em; margin: 0 auto; padding: 16px 0 64px; }
.textseite h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
.textseite h2 { font-size: 1.3rem; margin-top: 1.8em; }
.textseite address { font-style: normal; margin-bottom: 1em; }
.platzhalter {
  background: var(--senf-hell);
  border: 1px dashed var(--senf);
  border-radius: 6px;
  padding: 0 6px;
  color: var(--braun);
}

/* Schriften für Arabisch und Chinesisch; Sperrung würde arabische Buchstaben trennen. */
:lang(ar) body, body:lang(ar) {
  font-family: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, system-ui, sans-serif;
  line-height: 1.8;
}
:lang(zh-Hans) body, body:lang(zh-Hans) {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
:lang(ar) h1, :lang(zh-Hans) h1 { letter-spacing: 0; }

/* Fuß */
.fuss {
  max-width: var(--breite);
  margin: 40px auto 0;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--rand);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-leise);
}
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 20px; }
