/* REBPM-Vorschaltseite: eigenes Erscheinungsbild aus www.rebpm.org (Theme iconic-one: Gelb #EBDD00, Text #313131/#444, Grau #757575).
   Keine externen Schriften, Skripte oder Bilder; Schrift Ubuntu nur, falls lokal installiert. */
:root {
  --gelb: #ebdd00;
  --gelb-dunkel: #d4c700;
  --text: #313131;
  --text-2: #5e5e5e;
  --linie: #e2e2e2;
  --flaeche: #f6f6f2;
  --fuss: #313131;
  --link: #1f5f86;
  --max: 1080px;
  --rand: 40px;
  --nach-knopf: 16px;
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; min-height: 100%; display: flex; flex-direction: column;
  font-family: "Ubuntu", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text); background: #fff;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, .knopf:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.huelle { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }

/* Kopf */
.kopf { border-bottom: 5px solid var(--gelb); background: #fff; }
.kopf .huelle { display: flex; align-items: center; min-height: 104px; }
.kopf a { display: inline-block; line-height: 0; }
.kopf img { height: 68px; width: auto; }

/* Inhalt */
main { flex: 1 0 auto; padding: 48px 0 56px; }
.raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
h1 { margin: 0 0 18px; font-size: 38px; line-height: 1.2; font-weight: 700; }
h1 .zeile2 { display: block; }
h1 .zeile2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 16px; background: var(--gelb); }
.lead { margin: 0 0 14px; font-size: 19px; }
p { margin: 0 0 14px; }
.knoepfe { margin: 24px 0 var(--nach-knopf); display: flex; flex-wrap: wrap; gap: 10px; }
.knopf {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px;
  background: var(--gelb); color: #1a1a1a; font-weight: 700; text-decoration: none; border-radius: 3px;
  border: 1px solid var(--gelb-dunkel);
}
.knopf:hover { background: var(--gelb-dunkel); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.adresse { color: var(--text-2); font-size: 15px; }
.adresse strong { color: var(--text); font-weight: 600; user-select: all; }
.englisch { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--linie); color: var(--text-2); font-size: 15px; }
.englisch h2 { margin: 0 0 6px; font-size: 15px; color: var(--text); }

/* Infokarte (überall gleich aufgebaut) */
.karte { background: var(--flaeche); border-top: 5px solid var(--gelb); padding: 22px; }
.karte h2 { margin: 0 0 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.karte dl { margin: 0; }
.karte .r { padding: 10px 0; border-top: 1px solid var(--linie); }
.karte .r:first-child { border-top: 0; padding-top: 0; }
.karte dt { font-size: 13px; color: var(--text-2); }
.karte dd { margin: 0; }
.karte > :last-child { margin-bottom: 0; }

/* Rechtstexte */
.text { max-width: 760px; }
.text h1 { font-size: 34px; }
.text h2 { margin: 30px 0 8px; font-size: 21px; }
.text p, .text li { color: var(--text); }
.text ul { margin: 0 0 14px; padding-left: 22px; }
.stand { margin-top: 30px; color: var(--text-2); font-size: 15px; }

/* Fuß unten am Fenster */
.fuss { background: var(--fuss); color: #e6e6e6; font-size: 15px; }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 24px; }
.fuss a { color: #fff; }
.fuss a[aria-current="page"] { text-decoration-color: var(--gelb); text-decoration-thickness: 3px; }

@media (max-width: 860px) {
  :root { --rand: 17px; }
  body { font-size: 16px; }
  .kopf .huelle { min-height: 80px; }
  .kopf img { height: 52px; }
  main { padding: 28px 0 40px; }
  .raster { grid-template-columns: 1fr; gap: 28px; }
  h1, .text h1 { font-size: 28px; }
  .lead { font-size: 17px; }
  .knopf { width: 100%; justify-content: center; }
  .karte { padding: 18px; }
  .fuss .huelle { flex-direction: column; }
}
