:root {
  --akzent: #b35900;
  --akzent-hell: #fff1e3;
  --orange: #eb882d;
  --dunkel: #464646;
  --text: #333333;
  --grau: #5f5f5f;
  --linie: #e2e2e2;
  --weiss: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Verdana, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: #eeeeee;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

a { color: var(--akzent); }
a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--akzent); }
h2 { font-size: 1.2rem; color: var(--akzent); text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grau); margin-top: 1em; }
p { margin: 0 0 .8em; }

/* Kopf */
.kopf {
  background: var(--orange);
  border-bottom: 4px solid var(--dunkel);
  padding: 12px 0;
}
.logo {
  display: block;
  width: 300px;
  max-width: 75vw;
  height: auto;
}

/* Abschnitte */
main section {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 24px;
  margin: 20px 0;
}

.hinweis { border-left: 6px solid var(--orange); }

/* Karten */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.karte {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--akzent-hell);
  border-radius: 6px;
  padding: 18px;
}
.karte .nummer {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--akzent);
}
.karte--orange { background: var(--orange); color: #222; }
.karte--orange .nummer { color: #222; }
.karte .titel {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--akzent);
  margin-bottom: 4px;
}
.karte:hover .titel, .karte:hover .nummer { text-decoration: underline; }

/* Kontakt */
.spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 32px;
}
.spalten h3:first-child { margin-top: 0; }

.button {
  display: inline-block;
  background: var(--orange);
  color: #222;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
}

/* Ansprechpartner */
.personen {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 32px;
}
.personen > div {
  padding: 12px 0;
  border-top: 1px solid var(--linie);
}
.personen dt { font-weight: 700; }
.personen dd { margin: 2px 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.personen .rolle { color: var(--grau); font-size: .85rem; }

/* Impressum */
.impressum { font-size: .9rem; color: var(--grau); }
.impressum h2 { font-size: 1rem; margin-top: .6em; }

/* Fuß */
.fuss {
  padding: 24px 0 40px;
  font-size: .85rem;
  color: var(--grau);
}
.fuss a { color: var(--grau); }

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e8e8;
    --grau: #b0b0b0;
    --linie: #3a3a3a;
    --weiss: #232323;
    --akzent-hell: #3a2a1b;
  }
  body { background: #161616; }
  a, h1, h2, .karte .nummer, .karte .titel { color: #ffad5c; }
  .karte--orange, .karte--orange .nummer { color: #222; }
}
