/* ==========================================================================
   Immobetreuung 24
   Stylesheet. Keine externen Abhängigkeiten (DSGVO-freundlich).

   Farben stammen direkt aus dem Logo:
     Anthrazit  #1C2738
     Blau       #0074BE
     Grau       #959595
   ========================================================================== */

:root {
  --navy-900: #111a26;
  --navy-800: #1c2738;   /* Logo-Anthrazit */
  --navy-700: #26344a;
  --navy-600: #37485f;

  --blau-700: #005e9a;
  --blau-600: #0074be;   /* Logo-Blau */
  --blau-500: #1a8ed6;
  --blau-200: #b9dcf3;
  --blau-100: #e4f1fa;

  --grau-500: #959595;   /* Logo-Grau */

  --weiss: #ffffff;
  --hell-50: #f7f9fb;
  --hell-100: #eef2f7;
  --rand: #dbe3ec;

  --text: #1c2738;
  --text-mut: #5b6a7d;

  --breite: 1140px;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(28, 39, 56, .06), 0 10px 28px rgba(28, 39, 56, .09);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--hell-50);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blau-700); }

h1, h2, h3 {
  line-height: 1.18;
  color: var(--navy-800);
  font-weight: 700;
  letter-spacing: -.021em;
}

h2 { font-size: clamp(1.65rem, 3.3vw, 2.3rem); margin: 0 0 .5rem; }
h3 { font-size: 1.14rem; margin: 0 0 .4rem; letter-spacing: -.012em; }

.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--hell { background: var(--weiss); }
.section--grau { background: var(--hell-100); }

.section__kopf { max-width: 680px; margin-bottom: 2.6rem; }
.section__kopf p { color: var(--text-mut); font-size: 1.05rem; margin: 0; }

.auge {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blau-600);
  margin-bottom: .7rem;
}

/* --- Kopfzeile ----------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rand);
}

.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 94px;
}

.logo { display: block; flex: none; }
.logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > * { flex: none; }
/* :not(.btn), damit die Button-Gestaltung in der Navigation erhalten bleibt */
.nav a:not(.btn) {
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:not(.btn):hover { color: var(--blau-600); border-bottom-color: var(--blau-600); }

.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: var(--navy-800) !important;
  border-bottom: none !important;
}
.nav__tel svg { color: var(--blau-600); }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--rand);
  border-radius: 8px;
  padding: .45rem .6rem;
  cursor: pointer;
  color: var(--navy-800);
}

/* Schlanke Navigation auf Impressum und Datenschutz: kein Burger, immer
   sichtbar. Bricht bei schmalen Fenstern in eine zweite Zeile um. */
.nav--einfach {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .7rem 1.3rem;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--voll { background: var(--blau-600); color: #fff; }
.btn--voll:hover { background: var(--blau-700); }

.btn--rand { border-color: var(--blau-600); color: var(--blau-700); background: transparent; }
.btn--rand:hover { background: var(--blau-100); }

.btn--hell { background: #fff; color: var(--navy-800); }
.btn--hell:hover { background: var(--blau-100); }

.btn--geist { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--geist:hover { background: rgba(255,255,255,.12); }

.btn-reihe { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  background: var(--navy-800);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 18%, rgba(0, 116, 190, .55), transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(0, 116, 190, .3), transparent 45%);
  pointer-events: none;
}

.hero__innen {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 11vw, 128px) 0 clamp(60px, 9vw, 104px);
  max-width: 780px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.05rem, 5vw, 3.4rem);
  margin: 0 0 1.1rem;
  letter-spacing: -.028em;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.23rem);
  color: rgba(255,255,255,.88);
  max-width: 620px;
  margin: 0;
}

.hero .auge { color: var(--blau-200); }

/* --- Kennzahlen ---------------------------------------------------------- */

.zahlen {
  display: grid;
  /* feste Spaltenzahl statt auto-fit: sonst bleibt bei 4 Kacheln eine Zelle leer */
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rand);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -46px;
  position: relative;
  z-index: 5;
  box-shadow: var(--schatten);
}

.zahl { background: var(--weiss); padding: 1.7rem 1.5rem; }
.zahl__wert {
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--blau-600);
  line-height: 1.1;
  margin-bottom: .35rem;
}
.zahl__label { font-size: .92rem; color: var(--text-mut); }

/* --- Leistungen ---------------------------------------------------------- */

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.karte {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.karte:hover {
  border-color: var(--blau-500);
  transform: translateY(-3px);
  box-shadow: var(--schatten);
}

.karte__icon {
  width: 46px; height: 46px;
  border-radius: 9px;
  background: var(--blau-100);
  color: var(--blau-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
}
.karte__icon svg { width: 24px; height: 24px; }

.karte p { margin: 0 0 .9rem; color: var(--text-mut); font-size: .97rem; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .94rem;
  margin-bottom: .38rem;
  color: var(--text);
}
.liste li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blau-600);
}

/* --- Zweispalter --------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split p { color: var(--text-mut); }
.split p strong { color: var(--text); }

.zitat {
  background: var(--navy-800);
  color: #d8e2ee;
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  position: relative;
  overflow: hidden;
}
.zitat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(0,116,190,.45), transparent 55%);
  pointer-events: none;
}
.zitat > * { position: relative; z-index: 1; }
.zitat blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 500;
  color: #fff;
}
.zitat__wer { font-size: .9rem; color: var(--blau-200); }

.merkmale { display: grid; gap: 1.15rem; margin-top: 1.8rem; }
.merkmal { display: flex; gap: .9rem; align-items: flex-start; }
.merkmal__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blau-100);
  color: var(--blau-700);
  display: grid; place-items: center;
  margin-top: .15rem;
}
.merkmal__icon svg { width: 17px; height: 17px; }
.merkmal h3 { margin: 0 0 .15rem; font-size: 1.02rem; }
.merkmal p { margin: 0; font-size: .94rem; color: var(--text-mut); }

/* --- Ablauf -------------------------------------------------------------- */

.schritte {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: schritt;
}

.schritt {
  position: relative;
  padding-top: 3.3rem;
  border-top: 3px solid var(--blau-200);
}
.schritt::before {
  counter-increment: schritt;
  content: counter(schritt, decimal-leading-zero);
  position: absolute;
  top: 1.1rem; left: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--blau-600);
}
.schritt p { margin: 0; color: var(--text-mut); font-size: .95rem; }

/* --- Referenzen ---------------------------------------------------------- */

.referenzen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.4rem;
}

.referenz {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.referenz:hover { border-color: var(--blau-500); box-shadow: var(--schatten); }

.referenz__art {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blau-600);
  margin-bottom: .55rem;
}

.referenz h3 { margin: 0 0 .9rem; font-size: 1.16rem; }

.referenz__daten {
  display: grid;
  gap: .45rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rand);
}
.referenz__zeile { display: flex; gap: .6rem; font-size: .94rem; }
.referenz__zeile dt { flex: none; width: 8.5rem; color: var(--text-mut); margin: 0; }
.referenz__zeile dd { margin: 0; font-weight: 600; color: var(--navy-800); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.chip {
  font-size: .82rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--blau-100);
  color: var(--blau-700);
  white-space: nowrap;
}

.referenz-hinweis {
  margin-top: 2rem;
  padding: 1.3rem 1.5rem;
  background: var(--weiss);
  border: 1px dashed var(--rand);
  border-radius: var(--radius);
  color: var(--text-mut);
  font-size: .96rem;
}
.referenz-hinweis strong { color: var(--navy-800); }

/* --- Jobs ---------------------------------------------------------------- */

.job-teaser {
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.job-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 15%, rgba(0,116,190,.5), transparent 55%);
  pointer-events: none;
}
.job-teaser > * { position: relative; z-index: 1; }
.job-teaser h2 { color: #fff; margin-bottom: .6rem; }
.job-teaser p { color: rgba(255,255,255,.82); margin: 0 0 1.2rem; }
.job-teaser .auge { color: var(--blau-200); }

.job-teaser__stellen { display: flex; flex-wrap: wrap; gap: .5rem; }
.job-teaser__stellen .chip {
  background: rgba(255,255,255,.13);
  color: #eaf3fb;
  border: 1px solid rgba(255,255,255,.2);
  font-size: .88rem;
  padding: .35rem .85rem;
}

.stellen { display: grid; gap: 1.4rem; }

.stelle {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
}

.stelle__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  margin-bottom: 1.2rem;
}
.stelle__kopf h3 { margin: 0; font-size: 1.28rem; }

.stelle__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.stelle__meta .chip { background: var(--hell-100); color: var(--text-mut); }

.stelle__spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.stelle__spalten h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--blau-600);
  margin: 0 0 .6rem;
}

.stelle__fuss {
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rand);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.stelle__fuss p { margin: 0; font-size: .92rem; color: var(--text-mut); }

.vorteile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.vorteil { display: flex; gap: .9rem; align-items: flex-start; }
.vorteil__icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--blau-100);
  color: var(--blau-700);
  display: grid; place-items: center;
}
.vorteil__icon svg { width: 20px; height: 20px; }
.vorteil h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.vorteil p { margin: 0; font-size: .94rem; color: var(--text-mut); }

/* --- Seitenkopf (Unterseiten) -------------------------------------------- */

.seitenkopf {
  background: var(--navy-800);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.seitenkopf::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(0,116,190,.5), transparent 50%);
  pointer-events: none;
}
.seitenkopf__innen {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vw, 84px) 0;
  max-width: 740px;
}
.seitenkopf h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: -.026em;
}
.seitenkopf p { font-size: clamp(1.02rem, 2vw, 1.18rem); color: rgba(255,255,255,.87); margin: 0; }
.seitenkopf .auge { color: var(--blau-200); }

/* --- Kontakt ------------------------------------------------------------- */

.kontakt { background: var(--navy-800); color: #cfdae7; position: relative; overflow: hidden; }
.kontakt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(0,116,190,.4), transparent 50%);
  pointer-events: none;
}
.kontakt > * { position: relative; z-index: 1; }
.kontakt h2 { color: #fff; }
.kontakt .auge { color: var(--blau-200); }
.kontakt .section__kopf p { color: rgba(255,255,255,.78); }

.kontakt__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.kontaktdaten { display: grid; gap: 1.5rem; }
.kd__label {
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blau-200);
  margin-bottom: .3rem;
}
.kd__wert { font-size: 1.08rem; color: #fff; }
.kd__wert a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(185,220,243,.5); }
.kd__wert a:hover { border-bottom-color: var(--blau-200); }
.kd__zusatz { font-size: .88rem; color: rgba(255,255,255,.62); margin-top: .2rem; }

.formular {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text);
}

.feld-reihe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feld { margin-bottom: 1rem; }
.feld label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--navy-800);
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  font-size: .97rem;
  color: var(--text);
  background: var(--hell-50);
  border: 1px solid var(--rand);
  border-radius: 7px;
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--blau-500);
  box-shadow: 0 0 0 3px rgba(0, 116, 190, .16);
}
.feld textarea { resize: vertical; min-height: 120px; }

.pflicht { color: #c0392b; }

.zustimmung {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--text-mut);
  margin: 1.2rem 0 1.4rem;
}
.zustimmung input { width: 17px; height: 17px; flex: none; margin-top: .18rem; }

.formular .btn { width: 100%; }

.hinweis {
  font-size: .82rem;
  color: var(--text-mut);
  margin: .9rem 0 0;
  text-align: center;
}

/* Dateiauswahl im Bewerbungsformular */
.feld input[type="file"] {
  padding: .55rem .6rem;
  font-size: .9rem;
  cursor: pointer;
}
.feld input[type="file"]::file-selector-button {
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  margin-right: .8rem;
  padding: .45rem .9rem;
  color: var(--blau-700);
  background: var(--blau-100);
  border: 1px solid var(--blau-200);
  border-radius: 6px;
  cursor: pointer;
}
.feld input[type="file"]::file-selector-button:hover { background: var(--blau-200); }

/* Rückmeldung nach dem Absenden */
.meldung {
  margin: 1rem 0 0;
  padding: .95rem 1.1rem;
  border-radius: 8px;
  border: 1px solid;
  font-size: .93rem;
  line-height: 1.5;
}

.meldung--gut {
  color: #1c5c34;
  background: #eaf6ee;
  border-color: #bcdfc8;
  text-align: center;
}

.meldung--schlecht {
  color: #8c2c22;
  background: #fdecea;
  border-color: #f3c8c2;
}

/* Der Honigtopf gegen Spam-Programme: für Besucher unsichtbar,
   aber nicht per "display:none" – darauf achten manche Programme. */
.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Fußzeile ------------------------------------------------------------ */

.fuss {
  background: var(--navy-900);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 2rem;
  font-size: .92rem;
}

.fuss__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.fuss h3 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss a { color: rgba(255,255,255,.7); text-decoration: none; }
.fuss a:hover { color: #fff; }

.fuss__logo { display: inline-block; margin-bottom: 1.1rem; }
.fuss__logo img { height: 62px; width: auto; }

.fuss__unten {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
}

/* --- Rechtstexte (Impressum / Datenschutz) ------------------------------- */

.rechts { background: var(--weiss); padding: clamp(48px, 7vw, 80px) 0; }
.rechts__innen { max-width: 760px; }
.rechts h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); margin: 0 0 .4rem; letter-spacing: -.025em; }
.rechts .stand { color: var(--text-mut); font-size: .9rem; margin: 0 0 2.5rem; }
.rechts h2 { font-size: 1.3rem; margin: 2.4rem 0 .6rem; }
.rechts h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.rechts p { color: #3d4a5a; }
.rechts ul { color: #3d4a5a; padding-left: 1.2rem; }
.rechts li { margin-bottom: .35rem; }

.zurueck {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .93rem;
  text-decoration: none;
  margin-bottom: 1.8rem;
}
.zurueck:hover { text-decoration: underline; }

.kasten {
  background: var(--blau-100);
  border-left: 3px solid var(--blau-600);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  font-size: .95rem;
}
.kasten p:last-child { margin-bottom: 0; }

/* --- Responsiv ----------------------------------------------------------- */

@media (max-width: 900px) {
  .split, .kontakt__grid, .job-teaser { grid-template-columns: 1fr; }
  .fuss__grid { grid-template-columns: 1fr 1fr; }
  .zahlen, .schritte { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .stelle__spalten { grid-template-columns: 1fr; }
  .referenz__zeile { flex-direction: column; gap: 0; }
  .referenz__zeile dt { width: auto; }
  .stelle__fuss .btn { width: 100%; }
}

@media (max-width: 520px) {
  .zahlen, .schritte { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .burger { display: block; }

  .kopf__innen { min-height: 76px; }
  .logo img { height: 48px; }

  /* :not(.nav--einfach), damit die Rechtsseiten ihre einzeilige Navigation behalten */
  .nav:not(.nav--einfach) {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--rand);
    padding: .5rem 22px 1.2rem;
    box-shadow: var(--schatten);
    display: none;
  }
  .nav:not(.nav--einfach).offen { display: flex; }
  .nav:not(.nav--einfach) a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--hell-100); }
  .nav:not(.nav--einfach) .btn { margin-top: .8rem; }

  /* auf schmalen Fenstern etwas kompakter */
  .nav--einfach { gap: .6rem .9rem; font-size: .93rem; }
  .nav--einfach .btn { padding: .6rem 1.1rem; font-size: .92rem; }

  .zahlen { margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .feld-reihe { grid-template-columns: 1fr; }
  .fuss__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* --- Druck --------------------------------------------------------------- */

@media print {
  .kopf, .fuss, .formular { display: none; }
  body { background: #fff; }
}
