/* ---------------- Rechtliche Seiten: Impressum und Datenschutz.
     Eigene, sehr schlanke Datei - diese beiden Seiten brauchen weder den
     Canvas-Aufbau der Programmseiten noch motion.js. Farben, Schriften und
     die Raute folgen den IZ.GE Brand Guidelines (v5):
       #00365A Navy - Text und Kopfleiste
       #BC992B Gold - Raute und Akzent auf Dunkel
       #8A6F1E Gold dunkel - Links auf hellem Grund (das reine Gold kaeme
                             dort nur auf 2,7:1 und faellt durch)
       #FBFAF7 - die ruhige Flaeche, #012A47 - der Fuss
     ---------------- */

:root {
  --navy: #00365A;
  --navy-tief: #012A47;
  --gold: #BC992B;
  --gold-dunkel: #8A6F1E;
  --flaeche: #FBFAF7;
  --raute: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--flaeche);
  color: var(--navy);
  font-family: "Nunito Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
  /* Lange E-Mail-Adressen und URLs sind hier unvermeidlich. Ohne diese
     Zeile sprengt ein einziges solches Wort auf dem Telefon die Breite -
     und body{overflow-x:hidden} schneidet dann die ganze Seite ab,
     statt sie scrollbar zu machen. */
  overflow-wrap: break-word;
}

img { max-width: 100%; }

/* ---------- Kopfleiste ---------- */

.rc-head {
  background: var(--navy);
  color: #fff;
  padding: 16px clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.rc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.rc-brand img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.rc-brand span {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
}

.rc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
}

.rc-back svg { width: 17px; height: 17px; }
.rc-back:hover,
.rc-back:focus-visible { background: rgba(255, 255, 255, .1); border-color: var(--gold); color: #fff; }

/* ---------- Inhalt ---------- */

.rc-main {
  max-width: min(78ch, 100%);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) clamp(18px, 4vw, 40px) clamp(56px, 7vw, 92px);
}

.rc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold-dunkel);
}

.rc-eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--gold);
  clip-path: var(--raute);
  flex: none;
}

h1 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.16;
  margin: 0 0 18px;
  letter-spacing: .01em;
}

.rc-lead {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.66;
  color: rgba(0, 54, 90, .82);
  margin: 0 0 8px;
  max-width: 60ch;
}

.rc-main section {
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(0, 54, 90, .12);
}

h2 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.34;
  margin: 0 0 12px;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
}

/* Die Raute als Aufzaehlungszeichen - dasselbe Zeichen wie auf den
   Programmseiten, nur kleiner. */
li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .66em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  clip-path: var(--raute);
}

strong { font-weight: 700; }

a {
  color: var(--gold-dunkel);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover, a:focus-visible { color: var(--navy); }

/* Noch zu ergaenzende Pflichtangabe. Absichtlich auffaellig: sie darf
   nicht unbemerkt live gehen. */
.rc-todo {
  display: inline-block;
  background: #FFF4D6;
  border: 1px dashed var(--gold-dunkel);
  color: #6B5410;
  border-radius: 5px;
  padding: 1px 8px;
  font-size: .9em;
  font-weight: 700;
}

.rc-stand {
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(0, 54, 90, .12);
  font-size: 14.5px;
  color: rgba(0, 54, 90, .62);
}

/* ---------- Fuss ---------- */

.rc-foot {
  background: var(--navy-tief);
  color: rgba(255, 255, 255, .62);
  padding: 26px clamp(18px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.rc-foot p { margin: 0; }

.rc-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.rc-foot a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.rc-foot a:hover,
.rc-foot a:focus-visible { color: var(--gold); text-decoration: underline; }
.rc-foot a[aria-current="page"] { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
