:root {
  --blau: #0a75b8;
  --blau-dunkel: #07507f;
  --blau-hell: #e8f3fa;
  --orange: #ef7d00;
  --orange-dunkel: #c96800;
  --text: #1d2a35;
  --grau: #5b6873;
  --linie: #dde5ec;
  --weiss: #fff;
  --radius: 14px;
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--text); background: var(--weiss);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--blau-dunkel); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 99; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.kopf .logo img { height: 54px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blau); }
.nav .tel { background: var(--orange); color: #fff; padding: 9px 16px; border-radius: 999px; }
.nav .tel:hover { background: var(--orange-dunkel); color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--blau-dunkel); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px 22px; border-bottom: 1px solid var(--linie); gap: 14px; align-items: flex-start; }
  .nav.offen { display: flex; }
  .kopf .logo img { height: 38px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--blau-dunkel) 0%, var(--blau) 60%, #2d93d1 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: .35em; }
.hero h1 span { color: #ffd19a; }
.hero p.lead { font-size: 1.15rem; opacity: .95; max-width: 34em; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dunkel); }
.btn-weiss { background: #fff; color: var(--blau-dunkel); }
.btn-weiss:hover { background: var(--blau-hell); }
.hero .bild { justify-self: center; width: min(100%, 420px); }
.hero .bild svg { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.25)); }
.hero .punkte { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-weight: 600; }
.hero .punkte li::before { content: "✓ "; color: #ffd19a; }
.welle { display: block; width: 100%; height: 48px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 56px; } .hero .bild { width: 70%; } }

/* Notdienst-Leiste */
.notleiste { background: var(--orange); color: #fff; }
.notleiste .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; padding-top: 14px; padding-bottom: 14px; font-weight: 700; text-align: center; }
.notleiste a { color: #fff; font-size: 1.2rem; white-space: nowrap; }

/* Abschnitte */
section.block { padding: 76px 0; }
section.hell { background: var(--blau-hell); }
.kicker { color: var(--orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: .5em; }
.intro { max-width: 46em; color: var(--grau); margin-bottom: 36px; }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .karten { grid-template-columns: 1fr; } }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 4px 18px rgba(7,80,127,.06); transition: transform .15s, box-shadow .15s; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(7,80,127,.12); }
.karte .ico { width: 54px; height: 54px; border-radius: 12px; background: var(--blau-hell); display: grid; place-items: center; margin-bottom: 14px; }
.karte .ico svg { width: 30px; height: 30px; stroke: var(--blau); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karte p { color: var(--grau); margin: 0; font-size: .97rem; }
.karte ul { color: var(--grau); margin: .6em 0 0; padding-left: 1.1em; font-size: .95rem; }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; gap: 28px; } }
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px solid var(--linie); }
.liste li::before { content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='white' stroke-width='3' fill='none'/%3E%3C/svg%3E") center/14px no-repeat; }

.zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.zahl { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--linie); text-align: center; }
.zahl b { display: block; font-size: 1.9rem; color: var(--blau); }
.zahl span { color: var(--grau); font-size: .92rem; }

.ablauf { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.schritt { position: relative; padding: 30px 22px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--linie); }
.schritt::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--blau); color: #fff; display: grid; place-items: center; font-weight: 800; }
.schritt p { color: var(--grau); margin: 0; font-size: .95rem; }

/* Notdienst-Block */
.notdienst { background: linear-gradient(120deg, #c95f00, var(--orange)); color: #fff; border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.notdienst h2 { color: #fff; }
.notdienst .gross { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; color: #fff; text-decoration: none; display: inline-block; margin: 6px 0; }
@media (max-width: 860px) { .notdienst { grid-template-columns: 1fr; padding: 28px; } }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.kontakt-grid .karte a { font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.karte-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); margin-top: 26px; background: #fff; }
.karte-map a { display: flex; align-items: center; gap: 14px; padding: 20px 24px; text-decoration: none; font-weight: 600; }

/* Fuß */
.fuss { background: #0b2a40; color: #c5d4df; padding: 46px 0 26px; font-size: .95rem; }
.fuss .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.fuss h3 { color: #fff; font-size: 1rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 10px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.fuss .logo-weiss { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.fuss .logo-weiss img { height: 36px; width: auto; }
@media (max-width: 860px) { .fuss .wrap { grid-template-columns: 1fr; } }

/* Mobile Anruf-Knopf */
.anruf-mobil { display: none; }
@media (max-width: 860px) {
  .anruf-mobil { display: flex; position: fixed; bottom: 14px; left: 14px; right: 14px; z-index: 30; justify-content: center; gap: 10px; background: var(--orange); color: #fff; padding: 14px; border-radius: 999px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  body { padding-bottom: 76px; }
}

/* Textseiten */
.text { max-width: 820px; padding-top: 50px; padding-bottom: 70px; }
.text h1 { color: var(--blau-dunkel); font-size: 2rem; }
.text h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Ergänzungen */
.btn { display: inline-flex; align-items: center; gap: 8px; }
.btn svg, .nav .tel svg, .anruf-mobil svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.menu-btn svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; }
.nav .tel { display: inline-flex; align-items: center; gap: 6px; }
.btn-rand { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.btn-rand:hover { background: rgba(255,255,255,.12); }
.btn-rand-dunkel { border: 2px solid var(--blau); color: var(--blau); background: #fff; }
.btn-rand-dunkel:hover { background: var(--blau-hell); }
.btn.voll { width: 100%; justify-content: center; margin-top: 10px; }
.hero .kicker { color: #ffd19a; }
.hero .punkte li::before { content: none; }
.hero .punkte li { display: inline-flex; align-items: center; gap: 6px; }
.hero .punkte svg { width: 20px; height: 20px; stroke: #ffd19a; fill: none; stroke-width: 2; }
.hero-karte { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 380px; justify-self: end; width: 100%; }
.hero-karte img { width: 72px; height: 72px; margin-bottom: 10px; }
.hero-karte h2 { font-size: 1.5rem; margin-bottom: .3em; }
.hero-karte p { color: var(--grau); margin: 0; }
.klein { font-size: .9rem; color: var(--grau); margin-top: 12px !important; }
@media (max-width: 860px) { .hero-karte { justify-self: stretch; max-width: none; } }
a.karte { text-decoration: none; color: inherit; display: block; }
.karte h3 { color: var(--blau-dunkel); }
.karte .mehr { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--orange-dunkel); font-weight: 700; font-size: .95rem; }
.karte .mehr svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.karte-not { border-color: #f6c79a; background: #fff8f1; }
.karte-not .ico { background: #fde6cf; }
.karte-not .ico svg { stroke: var(--orange-dunkel); }
.unterkopf { background: linear-gradient(120deg, var(--blau-dunkel), var(--blau)); color: #fff; padding: 46px 0 52px; }
.unterkopf h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.unterkopf .lead { max-width: 44em; opacity: .95; font-size: 1.1rem; margin: 0; }
.krumen { font-size: .9rem; margin-bottom: 14px; opacity: .9; }
.krumen a { color: #fff; }
.zwei.oben { align-items: start; grid-template-columns: 1.6fr 1fr; }
@media (max-width: 860px) { .zwei.oben { grid-template-columns: 1fr; } }
.fliess h2 { margin-top: 1.2em; font-size: 1.5rem; }
.seitenkarte { background: var(--blau-hell); border-radius: 18px; padding: 28px; position: sticky; top: 96px; }
.seitenkarte .ico { width: 54px; height: 54px; border-radius: 12px; background: #fff; display: grid; place-items: center; margin-bottom: 12px; }
.seitenkarte .ico svg { width: 30px; height: 30px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
.seitenkarte h2 { font-size: 1.35rem; }
.notleiste svg { display: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Nachbesserung 17.11. (Kai-Durchgang): Tippflächen ≥ 44 px, Anruf-Leiste erst nach dem Scrollen */
.skip:focus { padding: 12px 16px; }
@media (max-width: 860px) {
  .kontakt-grid .karte a, .fuss a, .hero-karte .klein a, .seitenkarte .klein a { display: inline-flex; align-items: center; min-height: 44px; }
  .fuss p { line-height: 1.3; }
  .anruf-mobil { transform: translateY(140%); transition: transform .25s ease; }
  .anruf-mobil.sichtbar { transform: none; }
  .fuss { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .anruf-mobil { transition: none; } }
