/* Jan Saam – Brandschutz & Brandschutzerziehung · Entwurf v2
   Layout: linksbündig, ruhige Flächen in Weiß und Navy-Tönung; die eine laute Stelle
   ist der Aushang „Verhalten im Brandfall“ (Aufbau wie Brandschutzordnung Teil A, DIN 14096).
   Schriften lokal: Caladea (metrisch wie Cambria) für Überschriften, Carlito (wie Calibri) für Text. */

@font-face { font-family: "Caladea"; src: url("../fonts/caladea-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caladea"; src: url("../fonts/caladea-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/carlito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/carlito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Farbe (Corporate Design) */
  --rot: #E30613;
  --kirsch: #990011;
  --navy: #2F3C7E;
  --navy-tief: #222C5E;
  --ink: #1A1A1A;
  --grau: #595959;
  --rot-hell: #FBF0F0;
  --navy-hell: #F0F2F8;
  --papier: #FFFFFF;
  --linie: #DADDEA;
  --gruen: #1E7D4F;           /* Sicherheitsgrün, nur im Aushang (Rettungsweg) */
  /* Schrift */
  --serif: "Caladea", Cambria, Georgia, "Times New Roman", serif;
  --sans: "Carlito", Calibri, "Segoe UI", Arial, sans-serif;
  /* Maße */
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--papier); color: var(--ink); font-family: var(--sans); font-size: 1.1875rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rot); color: #fff; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.lead { font-size: 1.3rem; color: var(--ink); max-width: 38em; }
.muted { color: var(--grau); }
.small { font-size: 1rem; }
.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-tint { background: var(--navy-hell); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.section-head { display: flex; flex-direction: column; gap: .75rem; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--rot); letter-spacing: .01em; }

/* Skip-Link */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; font: 700 1.05rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-rot { background: var(--rot); color: #fff; }
.btn-rot:hover { background: var(--kirsch); color: #fff; }
.btn-linie { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-linie:hover { background: var(--navy); color: #fff; }
.btn-weiss { background: #fff; color: var(--navy); }
.btn-weiss:hover { background: var(--rot-hell); color: var(--kirsch); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 700; color: var(--navy); }

/* Kopfzeile */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--linie); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 1.02rem; color: var(--navy); text-decoration: none; }
.nav a:hover { background: var(--navy-hell); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--rot); }
.nav .btn { margin-left: 10px; padding-inline: 1.1em; min-height: 44px; }
.nav a.btn-rot, .nav a.btn-rot:hover { color: #fff; }
.nav a.btn-rot:hover { background: var(--kirsch); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 8px; min-height: 44px; padding: 0 14px; font: 700 1rem var(--sans); cursor: pointer; }

/* Startseite: Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); background: var(--navy-hell); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.hero-text .lead { max-width: 33em; }
.hero-ort { color: var(--grau); font-size: 1.02rem; }

/* Aushang „Verhalten im Brandfall“ */
.aushang { background: var(--papier); border: 6px solid var(--rot); border-radius: 4px; box-shadow: 0 24px 48px -28px rgba(47, 60, 126, .45); min-width: 0; }
.aushang-kopf { background: var(--rot); color: #fff; padding: 14px 20px 16px; display: flex; flex-direction: column; gap: 2px; }
.aushang-kopf small { font-size: .95rem; opacity: .9; }
.aushang-kopf strong { font-family: var(--sans); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.15; letter-spacing: .01em; }
.aushang ol { list-style: none; margin: 0; padding: 0; }
.aushang li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 20px; border-top: 2px solid var(--rot-hell); animation: zeile .5s ease-out both; }
.aushang li:first-child { border-top: 0; }
.aushang li:nth-child(2) { animation-delay: .12s; }
.aushang li:nth-child(3) { animation-delay: .24s; }
.aushang li:nth-child(4) { animation-delay: .36s; }
@keyframes zeile { from { transform: translateX(-8px); opacity: .35; } to { transform: none; opacity: 1; } }
.zeichen { width: 64px; height: 64px; border-radius: 4px; display: grid; place-items: center; background: var(--rot); color: #fff; }
.zeichen svg { width: 44px; height: 44px; }
.zeichen.gruen { background: var(--gruen); }
.zeichen.leer { background: var(--rot-hell); color: var(--rot); font: 700 1.7rem/1 var(--serif); }
.aushang li b { display: block; font-size: 1.22rem; color: var(--ink); line-height: 1.25; }
.aushang li div span { display: block; color: var(--grau); font-size: 1rem; line-height: 1.4; }
.aushang-fuss { padding: 12px 20px 14px; background: var(--rot-hell); font-size: .95rem; color: var(--kirsch); }

/* Eckdaten-Leiste */
.eckdaten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); margin: clamp(40px, 5vw, 64px) 0 0; }
.eckdaten div { padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eckdaten dt { color: var(--grau); font-size: 1rem; }
.eckdaten dd { margin: 0; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.45rem; font-variant-numeric: tabular-nums; }

/* Zwei Schwerpunkte */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.feld { border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.feld-navy { background: var(--navy); color: #fff; }
.feld-navy h3 { color: #fff; }
.feld-navy a.textlink { color: #fff; }
.feld-rot { background: var(--rot-hell); }
.feld-rot h3 { color: var(--kirsch); }
.feld h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.feld .preis { font-family: var(--serif); font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.feld .preis small { font-family: var(--sans); font-size: 1rem; font-weight: 400; opacity: .85; }
.feld .btn-row { margin-top: auto; padding-top: .5rem; }
.haken { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.haken li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.haken li::before { content: ""; width: 18px; height: 18px; margin-top: .3em; border-radius: 50%; background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.feld-navy .haken li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F3C7E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Merkmale mit Icon-Kreis */
.merkmale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.merkmal { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.kreis { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rot); color: #fff; flex: none; }
.kreis.navy { background: var(--navy); }
.kreis svg { width: 26px; height: 26px; }
.merkmal h3 { font-size: 1.2rem; }
.merkmal p { color: var(--grau); font-size: 1.05rem; }

/* Ablauf (echte Reihenfolge) */
.ablauf { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); counter-reset: s; }
.ablauf li { counter-increment: s; display: flex; flex-direction: column; gap: .5rem; padding-top: 18px; border-top: 3px solid var(--navy); position: relative; min-width: 0; }
.ablauf li::before { content: counter(s); position: absolute; top: -20px; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--papier); border: 3px solid var(--navy); color: var(--navy); font: 700 1.05rem/30px var(--sans); text-align: center; }
.ablauf li:last-child { border-top-color: var(--rot); }
.ablauf li:last-child::before { border-color: var(--rot); color: var(--rot); }
.ablauf h3 { font-size: 1.2rem; margin-top: 14px; }
.ablauf p { color: var(--grau); font-size: 1.05rem; }

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.portrait { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-hell); aspect-ratio: 4 / 5; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1.5px solid var(--linie); background: var(--papier); border-radius: 999px; padding: 4px 14px; font-size: 1rem; color: var(--navy); font-weight: 700; }
.band-tint .chips li { border-color: #CDD2E4; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--rot); border-bottom: 3px solid var(--rot); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; max-width: 44em; color: var(--ink); }

/* Abschluss-Band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta p { color: #D7DBEE; max-width: 36em; margin-top: .5rem; }

/* Unterseiten-Kopf */
.page-hero { background: var(--navy-hell); padding-block: clamp(40px, 6vw, 72px); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 1rem; }
.page-hero .lead { max-width: 40em; }
.crumb { font-size: 1rem; color: var(--grau); }
.crumb a { color: var(--grau); }

/* Inhalt + Steckbrief */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { display: flex; flex-direction: column; gap: 1.1rem; max-width: 42em; min-width: 0; }
.prose h2 { margin-top: .6rem; }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.liste li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--linie); position: relative; }
.liste li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 12px; height: 12px; background: var(--rot); border-radius: 2px; }
.steckbrief { background: var(--navy-hell); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; position: sticky; top: 100px; }
.steckbrief dl { margin: 0; display: grid; gap: 14px; }
.steckbrief dt { font-size: .95rem; color: var(--grau); }
.steckbrief dd { margin: 0; font-weight: 700; color: var(--navy); }
.normen { display: flex; flex-direction: column; gap: 6px; padding: 0; margin: 0; list-style: none; font-size: 1rem; }
.normen li { padding-left: 14px; border-left: 3px solid var(--rot); }

/* Preise */
.tabelle-box { overflow-x: auto; }
table.preise { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 460px; }
.preise caption { text-align: left; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.3rem; padding-bottom: 10px; }
.preise th, .preise td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.preise thead th { font-size: .95rem; color: var(--grau); font-weight: 400; border-bottom: 2px solid var(--navy); }
.preise td.betrag, .preise th.betrag { text-align: right; padding-right: 0; white-space: nowrap; font-weight: 700; color: var(--navy); }
.preise td span { display: block; color: var(--grau); font-size: .98rem; }
.preis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }

/* Preisrechner */
.rechner { border: 2px solid var(--navy); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 1.25rem; background: var(--papier); min-width: 0; }
.rechner h3 { font-size: 1.45rem; }
.feldzeile { display: flex; flex-direction: column; gap: 8px; }
.feldzeile label, .feldzeile legend { font-weight: 700; color: var(--navy); }
.tn { display: flex; align-items: center; gap: 14px; }
.tn input[type=range] { flex: 1; accent-color: var(--rot); min-width: 0; }
.tn output { font: 700 1.6rem/1 var(--serif); color: var(--navy); min-width: 2.2ch; text-align: right; font-variant-numeric: tabular-nums; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.zonen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zonen label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--linie); border-radius: 8px; padding: 10px 12px; cursor: pointer; font-weight: 400; color: var(--ink); font-size: 1.02rem; }
.zonen input { accent-color: var(--rot); }
.zonen label:has(input:checked) { border-color: var(--navy); background: var(--navy-hell); }
.summe { border-top: 2px solid var(--navy); padding-top: 14px; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.summe div { display: flex; justify-content: space-between; gap: 12px; }
.summe .gesamt { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.45rem; border-top: 1px solid var(--linie); padding-top: 8px; margin-top: 4px; }
.summe .hinweis { color: var(--kirsch); font-size: 1rem; }

/* Entfernungsringe */
.ringe { width: 100%; max-width: 340px; height: auto; }
@media (min-width: 901px) { .rechner { position: sticky; top: 100px; } }
.ringe text { font-family: var(--sans); }

/* Kacheln „weitere Angebote“ */
.raster-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px); }
.angebot { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.angebot h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.angebot p { color: var(--grau); }

/* Brandschutzerziehung */
.notruf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--rot); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.notruf .zahl { font: 700 clamp(4.5rem, 12vw, 8rem)/.9 var(--serif); letter-spacing: -.02em; }
.notruf h2 { color: #fff; }
.notruf p { color: #FFE3E5; margin-top: .6rem; max-width: 34em; }
.formate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.format { border-top: 3px solid var(--rot); padding-top: 18px; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.format p { color: var(--grau); }

/* Lernportal-Mock */
.portal { border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--papier); box-shadow: 0 24px 48px -32px rgba(47, 60, 126, .5); }
.portal-kopf { background: var(--navy); color: #fff; padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.portal-kopf img { width: 22px; height: auto; }
.portal ul { list-style: none; padding: 8px 18px 4px; margin: 0; }
.portal li { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.portal li:last-child { border-bottom: 0; }
.portal li b { display: block; color: var(--navy); }
.portal li span { color: var(--grau); font-size: .98rem; }
.balken { height: 8px; border-radius: 99px; background: var(--navy-hell); overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--rot); border-radius: 99px; }
.portal-fuss { padding: 10px 18px; font-size: .92rem; color: var(--grau); background: var(--navy-hell); }

/* Werdegang */
.zeitleiste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 3px solid var(--linie); }
.zeitleiste li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 0 0 22px 22px; position: relative; }
.zeitleiste li::before { content: ""; position: absolute; left: -8.5px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--papier); border: 3px solid var(--navy); }
.zeitleiste li:first-child::before { background: var(--rot); border-color: var(--rot); }
.zeitleiste .wann { color: var(--rot); font-weight: 700; font-variant-numeric: tabular-nums; }
.zeitleiste b { color: var(--navy); display: block; }
.zeitleiste span.d { color: var(--grau); font-size: 1.02rem; }

/* Formular */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.formular input, .formular select, .formular textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1.5px solid #C5CADC; border-radius: 8px; background: var(--papier); color: var(--ink); }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(47, 60, 126, .18); }
.formular textarea { min-height: 140px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 1rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--rot); }
.form-ok { background: var(--navy-hell); border-left: 4px solid var(--navy); padding: 14px 16px; border-radius: 6px; }
.kontaktbox { background: var(--navy-hell); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.kontaktbox dl { margin: 0; display: grid; gap: 12px; }
.kontaktbox dt { color: var(--grau); font-size: .95rem; }
.kontaktbox dd { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }

/* Rechtstexte */
.legal { max-width: 46rem; display: flex; flex-direction: column; gap: 1rem; }
.legal h2 { font-size: 1.4rem; margin-top: 1rem; }
.callout { background: #FFF6D6; border-left: 4px solid #C99A00; padding: 12px 16px; border-radius: 6px; }
.placeholder { background: #FFF1A8; padding: 0 3px; border-radius: 3px; }
.note { color: var(--grau); font-size: 1rem; }

/* Fußzeile */
.site-footer { background: var(--navy-tief); color: #C9CEE3; padding-block: 56px 28px; font-size: 1.02rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-grid img { width: 220px; height: auto; margin-bottom: 14px; }
.site-footer h2 { font-family: var(--sans); font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .95rem; }

/* Responsiv */
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--papier); border-bottom: 1px solid var(--linie); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; gap: 2px; }
  .nav.offen { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 8px 0 0; }
  .site-header .wrap { position: relative; }
  .merkmale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .preis-grid, .person { grid-template-columns: minmax(0, 1fr); }
  .steckbrief { position: static; }
  .person .portrait { max-width: 340px; }
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .formate { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .duo, .raster-2, .merkmale, .formular, .zonen { grid-template-columns: minmax(0, 1fr); }
  .ablauf { grid-template-columns: minmax(0, 1fr); }
  .notruf { grid-template-columns: minmax(0, 1fr); }
  .zeitleiste li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .brand img { height: 42px; }
  .aushang li { grid-template-columns: 52px minmax(0, 1fr); padding: 12px 14px; }
  .zeichen { width: 52px; height: 52px; }
  .zeichen svg { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Expertenwebsite: Ergänzungen ---------- */
.leistungen-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 24px); }
.leistungen-3 .feld { padding: clamp(22px, 3vw, 32px); }
.leistungen-3 .feld h3 { font-size: 1.45rem; }
.feld-hell { background: var(--navy-hell); }
.kreis.weiss { background: #fff; color: var(--navy); }
.feld .preis.klein { font-size: 1.15rem; color: var(--navy); }
.feld-rot .preis.klein { color: var(--kirsch); }
.feld-navy .preis { color: #fff; }

.wissen-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); border-top: 1px solid var(--linie); }
.wissen-teaser a { display: flex; flex-direction: column; gap: 4px; padding: 20px 40px 20px 0; border-bottom: 1px solid var(--linie); text-decoration: none; position: relative; min-width: 0; }
.wissen-teaser a::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-top: 3px solid var(--rot); border-right: 3px solid var(--rot); transform: rotate(45deg); transition: right .15s; }
.wissen-teaser a:hover::after { right: 2px; }
.wissen-teaser b { font-family: var(--serif); color: var(--navy); font-size: 1.25rem; line-height: 1.25; }
.wissen-teaser span { color: var(--grau); font-size: 1.02rem; }
.wissen-teaser a:hover b { color: var(--rot); }

.wissen { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; font-size: 1.02rem; }
.toc b { color: var(--grau); font-weight: 400; }
.toc ol { margin: 0; padding: 0 0 0 1.3em; display: grid; gap: 8px; color: var(--rot); font-weight: 700; }
.toc a { color: var(--navy); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--rot); text-decoration: underline; }
.artikel { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); min-width: 0; }
.artikel .prose { max-width: 46em; }
.artikel h2 { margin-top: 0; }

.bedarf { border: 2px solid var(--navy); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }
.bedarf h3 { font-size: 1.35rem; }
.bedarf-felder { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.bedarf label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.bedarf input, .bedarf select { width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid #C5CADC; border-radius: 8px; background: var(--papier); color: var(--ink); }
.bedarf input:focus, .bedarf select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(47, 60, 126, .18); }
.bedarf-ergebnis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; background: var(--navy-hell); border-radius: 8px; padding: 16px 18px; }
.bedarf-ergebnis .gross { font: 700 3rem/1 var(--serif); color: var(--rot); font-variant-numeric: tabular-nums; min-width: 1.5ch; text-align: center; }
.bedarf-ergebnis b { display: block; color: var(--navy); }
.bedarf-ergebnis span { color: var(--ink); }
.bedarf .btn { align-self: flex-start; }

.brandklassen th[scope=row] { width: 64px; }
.bk { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--rot); color: #fff; font: 700 1.3rem/1 var(--serif); }
.brandklassen td { color: var(--ink); }
.warnung { border-left: 4px solid var(--rot); background: var(--rot-hell); padding: 14px 16px; border-radius: 0 6px 6px 0; }
.warnung b { color: var(--kirsch); }
.teile { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--linie); }
.teile div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.teile dt { font-family: var(--serif); font-weight: 700; color: var(--rot); font-size: 1.2rem; }
.teile dd { margin: 0; }

.ablauf.vertikal { grid-template-columns: minmax(0, 1fr); row-gap: 36px; margin-top: 20px; }
.liste-num { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; font-size: 1.02rem; }
.liste-num li::marker { color: var(--rot); font-weight: 700; }
.kontaktbox h3 { font-size: 1.15rem; }

@media (max-width: 900px) {
  .leistungen-3 { grid-template-columns: minmax(0, 1fr); }
  .wissen { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; background: var(--navy-hell); border-radius: var(--radius); padding: 18px 20px; }
}
@media (max-width: 640px) {
  .wissen-teaser, .bedarf-felder { grid-template-columns: minmax(0, 1fr); }
  .teile div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
.leistungen-3 .preis small { display: block; margin-top: 4px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }

/* CSP-sicher: Hilfsklassen statt Inline-Styles */
.mt-m { margin-top: 24px; }
.mt-s { margin-top: 12px; }
.m0 { margin: 0; }
.abgrenzung { margin-top: 32px; max-width: 46rem; }
.h-klein { font-size: 1.5rem; }
.check-label { font-weight: 400 !important; color: inherit !important; margin: 0 !important; }
.balken i.w25 { width: 25%; } .balken i.w60 { width: 60%; } .balken i.w100 { width: 100%; }
.hinweis-box { background: var(--navy-hell); border-left: 4px solid var(--navy); padding: 14px 16px; border-radius: 0 6px 6px 0; }
