/* MiR – Menschen im Revier: Übergangsseite
   Farben und Gestaltung nach Corporate Design MiR (Stand 09/2026) */

:root {
  --dunkelblau: #00488c;
  --hellblau: #35a9e1;
  --hellblau-text: #1b7db3; /* abgedunkelte Abstufung für weiße Schrift (Kontrast) */
  --hellblau-zart: #eaf5fc;
  --text: #1a1a1a;
  --weiss: #fff;
  --breite: 760px; /* eine Textbreite für alle Bereiche */
  --font: "Brother 1816", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
}

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

a { color: var(--dunkelblau); text-underline-offset: .15em; }
a:hover { color: var(--hellblau-text); }
a:focus-visible,
.btn:focus-visible { outline: 3px solid var(--hellblau); outline-offset: 3px; }

h1, h2 {
  color: var(--dunkelblau);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5rem;
  hyphens: manual;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

p { margin: 0 0 1.25rem; }

.wrap { width: min(var(--breite), 100% - 2rem); margin-inline: auto; }

/* Kopf */
.site-header {
  background: var(--weiss);
  border-bottom: 2px solid var(--dunkelblau);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.brand img { width: clamp(110px, 18vw, 150px); }
.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  white-space: nowrap;
}
.header-phone .label { font-weight: 400; color: var(--text); }

/* Subline mit Rechteck */
.subline {
  display: inline-block;
  background: var(--hellblau-text);
  color: var(--weiss);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.35;
  padding: .2rem .6rem;
  margin-bottom: 1.5rem;
}

/* Gestaltungselement „die zwei Linien“ (L) */
.frame {
  border-left: 3px solid var(--dunkelblau);
  border-bottom: 3px solid var(--dunkelblau);
  padding: .25rem 0 1.5rem clamp(1.25rem, 3vw, 2rem);
}
.frame-light { border-color: var(--weiss); }

/* Hero */
.hero {
  background: var(--dunkelblau);
  color: var(--weiss);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 { color: var(--weiss); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: .75rem 1.25rem;
  border: 2px solid var(--weiss);
  line-height: 1.2;
}
.btn-light { background: var(--weiss); color: var(--dunkelblau); }
.btn-light:hover { background: var(--hellblau-zart); color: var(--dunkelblau); }
.btn-outline { color: var(--weiss); }
.btn-outline:hover { background: var(--weiss); color: var(--dunkelblau); }

/* Inhaltsbereiche */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }


.squares { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.squares li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.squares li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .6em;
  height: .6em;
  background: var(--hellblau);
}
.note { font-size: .95rem; color: #333; margin-bottom: 0; }


/* Rechtstexte */
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.legal li { margin-bottom: .35rem; }

/* Fuß */
.site-footer {
  background: var(--dunkelblau);
  color: var(--weiss);
  padding-block: 2.5rem 1.25rem;
  font-size: .95rem;
}
.site-footer a { color: var(--weiss); }
.site-footer a:hover { color: var(--hellblau-zart); }
.footer-inner {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
.footer-logo { width: 130px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { font-weight: 700; }
.footer-nav a[aria-current="page"] { text-decoration-thickness: 2px; }
.copy {
  margin-top: 2rem;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: .85rem;
}

@media (min-width: 700px) {
  .footer-inner { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
}

@media (max-width: 420px) {
  .header-phone .label { display: none; }
}
