
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Cond"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Cond"; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); }

:root { --breite: 70rem; --kopf: "Plex Cond", "Arial Narrow", Arial, sans-serif; --lauf: "Plex", Arial, Helvetica, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--lauf); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 700; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }
.rahmen { max-width: var(--breite); margin-inline: auto; padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right)); }

.sprung { position: absolute; left: -999rem; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 20; }
.sprung:focus { left: 0.5rem; top: 0.5rem; }

.kopf { background: var(--paper); border-bottom: 1px solid var(--bg2); position: sticky; top: 0; z-index: 10; }
.kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; }
.marke { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.marke img { width: 43px; height: 40px; display: block; }
.marke span { font-family: var(--kopf); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.kopf-tel { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.95rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 2px solid var(--ink); border-radius: 3px; white-space: nowrap; }
.kopf-tel:hover { color: var(--accent-ink); filter: brightness(1.08); }

.knopf { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 1.2rem; text-decoration: none; padding: 0.9rem 1.5rem; border: 2px solid var(--ink); border-radius: 3px; box-shadow: 4px 4px 0 var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.knopf:hover { color: var(--accent-ink); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.zeiten { display: block; margin-top: 0.9rem; font-size: 0.97rem; color: var(--muted); }

.abschnitt { padding-block: clamp(2.6rem, 7vw, 5rem); }
.abschnitt > .rahmen > h2 { margin-bottom: 1.2rem; max-width: 22ch; }
.hell { background: var(--paper); }
.grund { background: var(--bg2); }
.dunkel { background: var(--ink); color: #f4f6f7; }
.dunkel a { color: var(--accent); }
.dunkel a:hover { color: #fff; }

.kontakt .nummer { font-family: var(--kopf); font-weight: 700; font-size: clamp(2.9rem, 10vw, 6rem); line-height: 1; display: inline-block; text-decoration: none; margin: 0.4rem 0 1rem; }
.kontakt .nummer:hover { color: #fff; }
.kontakt p { max-width: 50ch; }

.fuss { background: var(--ink); color: #f4f6f7; border-top: 1px solid rgba(255, 255, 255, 0.22); padding-block: 1.5rem max(1.5rem, env(safe-area-inset-bottom)); font-size: 1rem; }
.fuss .rahmen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 2rem; justify-content: space-between; }
.fuss a { color: #f4f6f7; }
.fuss a:hover { color: var(--accent); }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }

.textseite { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.textseite h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: 1.4rem; }
.textseite h2 { font-size: 1.6rem; font-weight: 600; margin: 2.1rem 0 0.6rem; }
.textseite p, .textseite ul { max-width: 68ch; }
.textseite ul { padding-left: 1.2rem; margin: 0 0 1em; }
.textseite li { margin-bottom: 0.3em; }
.textseite address { font-style: normal; margin-bottom: 1em; }
.textseite h1, .textseite h2, .textseite p, .textseite li { hyphens: auto; -webkit-hyphens: auto; }
.textseite a { padding-block: 0.35em; }

.marke { min-width: 0; }
.marke span { hyphens: manual; overflow-wrap: normal; }
.einstieg .rahmen > * { min-width: 0; }
@media (max-width: 40rem) {
  body { font-size: 1.03rem; }
  .marke span { font-size: 1rem; line-height: 1.1; }
  .marke img { width: 36px; height: auto; }
  .kopf-tel { padding: 0 0.7rem; font-size: 0.95rem; }
  .kopf .rahmen { gap: 0.6rem; }
  .abschnitt { padding-block: 2.5rem; }
  .knopf { display: block; text-align: center; margin-right: 4px; padding-block: 1rem; }
  .zeiten { text-align: center; }
  .fuss .rahmen { display: block; }
  .fuss nav { margin-top: 0.3rem; }
  .textseite h2 { font-size: 1.4rem; }
}
@media (max-height: 30rem) and (orientation: landscape) { .kopf { position: static; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .knopf { transition: none; } }
@media print { .kopf { position: static; } }

:root { --bg: #f1f5f8; --bg2: #d3dde5; --paper: #ffffff; --ink: #0b2a42; --muted: #46606f; --accent: #6fd0f5; --accent-ink: #06202f; --link: #0a5a91; --blau: #0d3350; }
.kopf-tel { border-color: var(--blau); }
.knopf { border-color: var(--accent-ink); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35); }
.einstieg .knopf { border-color: #fff; box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.35); }
.einstieg .knopf:hover { box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.35); }
.einstieg .zeiten { color: #b9d3e3; }

.einstieg { color: #fff; background-color: var(--blau); background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; padding-block: clamp(3rem, 9vw, 6.5rem); }
.einstieg h1 { max-width: 15ch; }
.einstieg .vorspann { font-size: 1.25rem; margin: 1.4rem 0 1.8rem; max-width: 40ch; color: #e6f1f8; }

.einstieg .rahmen { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 58rem) { .einstieg .rahmen { grid-template-columns: 1.05fr 0.95fr; } }
.einstieg .rahmen > * { min-width: 0; }
.grundriss { width: 100%; max-width: 34rem; height: auto; justify-self: center; display: block; }
@media (min-width: 58rem) { .grundriss { justify-self: end; } }

.bauablauf .rahmen > p { max-width: 58ch; }
.plan { --rot: #d8322b; --grau: #8da3b3; margin-top: 2rem; background: var(--paper); border: 2px solid var(--blau); box-shadow: 8px 8px 0 var(--bg2); padding: 1rem 1rem 0.8rem; }
.plan-zeile { display: grid; gap: 0.15rem 1.2rem; padding: 0.35rem 0; align-items: center; }
@media (min-width: 46rem) { .plan { padding: 1.4rem 1.6rem 1.1rem; } .plan-zeile { grid-template-columns: 13.5rem 1fr; } }
.plan-name { font-size: 0.98rem; line-height: 1.25; color: var(--ink); }
.plan-spur { display: grid; grid-template-columns: repeat(24, 1fr); align-items: center; height: 1.1rem; background-image: repeating-linear-gradient(90deg, var(--bg2) 0, var(--bg2) 1px, transparent 1px, transparent calc(100% / 24)); background-color: transparent; }
.plan-spur i { grid-row: 1; grid-column: var(--s) / var(--e); height: 0.8rem; background: var(--grau); border-radius: 2px; }
.plan-zeile.wir { background: rgba(216, 50, 43, 0.08); box-shadow: -0.6rem 0 0 rgba(216, 50, 43, 0.08), 0.6rem 0 0 rgba(216, 50, 43, 0.08); }
.plan-zeile.wir .plan-name { color: #a31e18; font-weight: 600; }
.plan-zeile.wir .plan-spur i { background: var(--rot); height: 1.1rem; box-shadow: 0 0 0 2px rgba(216, 50, 43, 0.25); }
.plan-kopf { padding-bottom: 0.5rem; margin-bottom: 0.3rem; border-bottom: 2px solid var(--blau); }
.plan-kopf .plan-spur { height: auto; background: none; }
.plan-kopf b { grid-row: 1; grid-column: var(--s) / var(--e); font-family: var(--kopf); font-weight: 700; font-size: 1.05rem; color: var(--blau); border-left: 2px solid var(--blau); padding-left: 0.4rem; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.plan-kopf b.ende { text-align: right; border-left: 0; border-right: 2px solid var(--blau); padding: 0 0.4rem 0 0; }
.plan-achse { border-top: 2px solid var(--blau); margin-top: 0.4rem; padding-top: 0.5rem; }
.plan-achse .plan-spur { height: auto; background: none; font-size: 0.9rem; color: var(--muted); }
.plan-achse em { grid-row: 1; grid-column: var(--s) / var(--e); font-style: normal; }
.plan-achse em.rechts { text-align: right; }
.legende-plan { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; padding: 0; margin: 1.1rem 0 0; font-size: 0.97rem; }
.legende-plan li { display: flex; align-items: center; gap: 0.5rem; }
.sw { display: inline-block; width: 1.6rem; height: 0.8rem; border-radius: 2px; }
.sw.grau { background: #8da3b3; } .sw.rot { background: #d8322b; }
.legende { font-size: 0.95rem; color: var(--muted); margin: 0.8rem 0 0; }
.phasen-text { margin-top: 2.2rem; }
@media (max-width: 40rem) { .plan-kopf b { font-size: 0.9rem; padding-left: 0.25rem; } .plan-name { font-size: 0.95rem; } .plan-zeile.wir { box-shadow: none; padding-inline: 0.4rem; margin-inline: -0.4rem; } }

.leistungen { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
@media (min-width: 46rem) { .leistungen { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.leistungen li { padding: 1rem 0; border-bottom: 1px solid var(--ink); }
.leistungen strong { display: block; font-family: var(--kopf); font-size: 1.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 0.15rem; }
.leistungen span { display: block; }

.spalten { display: grid; gap: 2.2rem 3rem; margin-top: 1.8rem; }
@media (min-width: 52rem) { .spalten { grid-template-columns: repeat(3, 1fr); } }
.spalten h3 { margin-bottom: 0.45rem; padding-top: 0.7rem; border-top: 3px solid var(--blau); }
.spalten p { margin: 0; }

.zwei { display: grid; gap: 2rem 4rem; }
@media (min-width: 56rem) { .zwei { grid-template-columns: 1fr 1fr; } }
.zwei h2 { margin-bottom: 1rem; }

.schritte { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.5rem; max-width: 46rem; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; }
.schritte li::before { content: counter(s); font-family: var(--kopf); font-weight: 700; font-size: 1.7rem; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--ink); border-radius: 50%; }
.schritte h3 { margin: 0.2rem 0 0.25rem; }
.schritte p { margin: 0; }
@media (max-width: 40rem) { .schritte li { grid-template-columns: 2.6rem 1fr; gap: 0 0.8rem; } .schritte li::before { width: 2.6rem; height: 2.6rem; font-size: 1.45rem; } }
