@font-face { font-family: 'Fira Sans'; font-weight: 300; font-display: swap; src: url('../fonts/FiraSans-Light.ttf') format('truetype'); }
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-display: swap; src: url('../fonts/FiraSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Fira Sans'; font-weight: 500; font-display: swap; src: url('../fonts/FiraSans-Medium.ttf') format('truetype'); }

:root {
  --blau: #006fb9;
  --blau-dunkel: #00548c;
  --blau-hell: #e8f2f9;
  --text: #1e1e1e;
  --text-2: #555d61;
  --linie: #dfe3e6;
  --grau-bg: #f5f6f7;
  --darkgrau-bg:#212629;
  --footer: #4d5357;
  --fehler: #b3261e;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: 'Fira Sans', Tahoma, Arial, sans-serif; font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }
strong, b { font-weight: 500; }
h1, h2, h3 { font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2.1rem; font-weight: 300; }
h2 { font-size: 1.55rem; font-weight: 300; }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Kopfbereich ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(to right, #fff 0%, #fff 45%, #d9d9d9 100%); border-bottom: 1px solid #e2e2e2; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: block; width: 140px; flex: none; }
.logo img { width: 140px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav li { margin: 0; }
.nav a { display: block; padding: 8px 12px; color: #4a4a4a; text-decoration: none; font-weight: 400; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; border-bottom: 2px solid transparent; }
.nav a:hover { color: #000; }
.nav a[aria-current="page"] { color: #000; border-bottom-color: var(--blau); }
.cta-top { flex: none; }
.menu-btn { display: none; background: none; border: 1px solid #494949; border-radius: 4px; padding: 8px 10px; cursor: pointer; }
/* Balken siehe „Mobiles Menü“ unten */

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 12px 22px; border-radius: 4px; font: inherit; font-weight: 400; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid var(--blau); background: var(--blau); color: #fff; }
.btn:hover, .btn:focus { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.btn.hell { background: #fff; color: var(--blau); }
.btn.hell:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.btn.klein { padding: 9px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }

/* ---------- Abschnitte ---------- */
.hero { background: var(--darkgrau-bg); border-bottom: 1px solid var(--linie); color:#fff;}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: 2.5rem;}
.hero .unterzeile { font-size: 1.15rem; color:#fff; opacity:0.8; }
.hero-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-bilder img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.seitenkopf { background: var(--darkgrau-bg); border-bottom: 1px solid var(--linie); padding: 80px 0 80px; color:#fff; }
.seitenkopf p { font-size: 1.1rem; color:#fff; opacity:0.8; max-width: 760px; }
.seitenkopf p a{ color:#00aeff; opacity:1; }
.abschnitt { padding: 80px 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt.grau { background: var(--grau-bg); }
.intro { max-width: 760px; }

.raster { display: grid; gap: 24px; }
.raster.zwei { grid-template-columns: repeat(2, 1fr); }
.raster.drei { grid-template-columns: repeat(3, 1fr); }
.raster.vier { grid-template-columns: repeat(4, 1fr); }

.kachel { border: 1px solid var(--linie); border-radius: 6px; padding: 24px; background: #fff; display: flex; flex-direction: column; }
.kachel h3 { margin-bottom: .4em; }
.kachel p:last-child { margin-bottom: 0; }
.kachel .mehr { margin-top: auto; padding-top: 8px; font-weight: 400; }
.kachel .unterzeile { color: var(--text-2); font-size: .95rem; margin-top: -.3em; }
.kachel .bild { margin: -24px -24px 18px; }
.kachel .bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px 6px 0 0; }

.schritte { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.schritte li { counter-increment: s; position: relative; padding: 22px 22px 22px 70px; border: 1px solid var(--linie); border-radius: 6px; background: #fff; margin: 0; }
.schritte li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--blau); color: #fff; font-weight: 500; text-align: center; line-height: 34px; }

.haken { list-style: none; padding: 0; }
.haken li { position: relative; padding-left: 28px; }
.haken li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: rotate(-45deg); }

.zielgruppen a { display: block; text-decoration: none; color: var(--text); border: 1px solid var(--linie); border-radius: 6px; padding: 18px 20px; background: #fff; height: 100%; }
.zielgruppen a:hover { border-color: var(--blau); }
.zielgruppen strong { display: block; color: var(--blau); }

.faq details { border-bottom: 1px solid var(--linie); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 400; font-size: 1.05rem; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--blau); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

.hinweis { border-left: 4px solid var(--blau); background: var(--blau-hell); padding: 14px 18px; border-radius: 0 4px 4px 0; font-size: .95rem; margin-bottom:60px;}
.cta-band { background: var(--blau); color: #fff; padding: 36px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { margin: 0; font-size: 1.2rem; max-width: 720px; }
.cta-band .btn { background: #fff; color: var(--blau); border-color: #fff; }
.cta-band .btn:hover { background: var(--blau-hell); }

.kontaktkarte { display: flex; gap: 20px; align-items: flex-start; }
.kontaktkarte img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; flex: none; }
.linkliste { list-style: none; padding: 0; }
.linkliste li { padding: 6px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.linkliste a { text-decoration: none; text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;}
.linkliste a:hover {  text-decoration-color: currentColor; }
.linkliste a:not(.extern)::after { content: " ›"; }
.extern::after { content: " ↗"; font-size: .85em; }
.inline-links a, a[href^="tel:"] { white-space: nowrap; }

/* ---------- Formulare ---------- */
.formular { max-width: 820px; }
.formular fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.formular legend { font-size: 1.35rem; font-weight: 400; margin-bottom: 14px; padding: 0; }
.feld { margin-bottom: 16px; }
.feld > label, .feld .label { display: block; font-weight: 300; color: var(--text); margin-bottom: 5px; font-size: 17px; }
.feld input[type=text], .feld input[type=email], .feld input[type=tel], .feld input[type=number], .feld input[type=month], .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #b9c0c5; border-radius: 4px; background: #fff; color: var(--text); }
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--blau); outline-offset: 0; border-color: var(--blau); }
.feld input[type=file] { font: inherit; font-size: 15px; }
.reihe { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.reihe.plz { grid-template-columns: 140px 1fr; }
.optionen { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.optionen label { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 300; cursor: pointer; }
.optionen input { width: 18px; height: 18px; accent-color: var(--blau); margin-top:-1px; }
.einzeln { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.einzeln input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--blau); flex: none; }
.pflicht { color: var(--blau); }
.hilfe { font-size: .88rem; color: var(--text-2); margin-top: 4px; }
.feld.fehlerhaft input, .feld.fehlerhaft select, .feld.fehlerhaft textarea { border-color: var(--fehler); }
.feldfehler { color: var(--fehler); font-size: .88rem; margin-top: 4px; }
.meldung { padding: 14px 18px; border-radius: 4px; margin-bottom: 18px; }
.meldung.fehler { background: #fbeaea; border: 1px solid #e7b7b4; color: #6f1712; }
.meldung.ok { background: #e9f5ec; border: 1px solid #b6dcc0; color: #1d4f2b; }
.datenschutz-hinweis { font-size: .9rem; color: var(--text-2); margin-top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Mehrstufiges Formular */
.fortschritt { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: f; }
.fortschritt li { counter-increment: f; margin: 0; padding-top: 10px; border-top: 4px solid var(--linie); font-size: .88rem; color: var(--text-2); }
.fortschritt li::before { content: counter(f) ". "; font-weight: 500; }
.fortschritt li.aktiv { border-top-color: var(--blau); color: var(--text); font-weight: 400; }
.fortschritt li.erledigt { border-top-color: #7fb3d9; }
.js .schritt { display: none; }
.js .schritt.aktiv { display: block; }
.schritt-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.no-js .fortschritt { display: none; }
.js .nur-ohne-js { display: none; }
.dateiliste { list-style: none; padding: 0; margin: 8px 0 0; font-size: .92rem; }
.dateiliste li { margin: 2px 0; }
.versteckt { display: none !important; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--darkgrau-bg); color: #e8e8e8; padding: 80px 0 40px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .raster { grid-template-columns: 2fr 1fr 1fr; }
.site-footer h2 { font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.2); margin-top: 24px; padding-top: 16px; font-size: .85rem; color: #cfd3d6; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.25rem; font-weight: 500; margin-top: 1.6em; }

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
  .raster.vier { grid-template-columns: repeat(2, 1fr); }
  .raster.drei, .schritte { grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 60px; }
  .site-footer .raster { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; order: 3; }
  .cta-top { margin-left: auto; order: 2; }
  .nav { order: 4; flex-basis: 100%; margin: 0; display: none; padding-bottom: 12px; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--linie); }
  .site-header .wrap { flex-wrap: wrap; gap: 12px; }
  .seitenkopf {padding-top: 40px; padding-bottom: 40px;}
  .site-footer {padding-top: 60px; padding-bottom: 40px;}
   
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1, .hero h1 { font-size: 1.75rem; }
  .raster.zwei, .raster.vier, .reihe, .site-footer .raster { grid-template-columns: 1fr; }
  .reihe.plz { grid-template-columns: 110px 1fr; }
  .logo, .logo img { width: 110px; }
  .cta-top .btn { padding: 9px 12px; font-size: 14px; }
  .fortschritt li { font-size: 0; }
  .fortschritt li::before { font-size: .88rem; }
  .fortschritt li.aktiv { font-size: .88rem; }
  .abschnitt { padding: 36px 0; }
  .kontaktkarte { flex-direction: column; }
}
@media print { .site-header, .cta-band, .site-footer { display: none; } }

/* Links im Inhalt und Fußbereich: ohne Unterstreichung, beim Hover weich einblenden */
main a, .site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: transparent;
  transition: text-decoration-color .3s ease, color .3s ease;
}
main a:hover, main a:focus-visible, .site-footer a:hover, .site-footer a:focus-visible { text-decoration-color: currentColor; }
main a.btn, main .zielgruppen a, main .btn:hover { text-decoration: none; }
.btn { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }

/* Für wen: nur Bezeichnung */
.zielgruppen a { display: flex; align-items: center; min-height: 76px; transition: border-color .25s ease, box-shadow .25s ease; }
.zielgruppen a:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.zielgruppen strong { font-weight: 500; }

/* Ansprechpartner-Block (blau) */
.ap-band { background: var(--blau); color: #fff; padding: 80px 0; }
.ap { display: flex; align-items: center; gap: 40px; }
.ap-foto { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid rgba(255,255,255,.85); }
.ap-text { flex: 1; }
.ap-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 500; opacity: .85; margin: 0 0 4px; }
.ap-name { font-size: 2.2rem; font-weight: 300; line-height: 1.15; margin: 0 0 2px; }
.ap-rolle { font-size: 1.05rem; opacity: .9; margin: 0 0 18px; }
.ap-kontakt { margin: 0; display: grid; gap: 6px; }
.ap-kontakt div { display: grid; grid-template-columns: 90px auto; align-items: baseline; }
.ap-kontakt dt { font-size: .9rem; opacity: .8; }
.ap-kontakt dd { margin: 0; font-size: 1.3rem; font-weight: 400; }
.ap-band a { color: #fff; }
.ap-band .btn { background: #fff; color: var(--blau); border-color: #fff; font-size: 17px; padding: 14px 26px; }
.ap-band .btn:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.ap-aktion { flex: none; }

/* Produktkarten */
.kachel .bild img { aspect-ratio: 3 / 2; }
.zwischentitel { margin-top: 0; }
.prospekt { display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 2px solid var(--blau); border-radius: 8px; padding: 32px 36px; background: #fff; }
.prospekt h2 { margin-bottom: .3em; }
.prospekt p { margin: 0; color: var(--text-2); max-width: 640px; }
.prospekt .btn { flex: none; font-size: 17px; padding: 14px 26px; }

/* Großer Handlungsaufruf */
.cta-gross { background: var(--blau-dunkel); color: #fff; padding: 64px 0; text-align: center; }
.cta-gross h2 { font-size: 2rem; font-weight: 300; margin-bottom: .4em; }
.cta-gross p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 26px; opacity: .92; }
.cta-gross .btn { background: #fff; color: var(--blau-dunkel); border-color: #fff; font-size: 18px; padding: 16px 32px; }
.cta-gross .btn:hover { background: var(--blau-hell); }

/* Formulare: volle Breite, keine eckigen Fokusrahmen an Auswahlfeldern */
.formular { max-width: none; }
.formular .meldung { max-width: none; }
.optionen input:focus, .einzeln input:focus { outline: none; }
.optionen input:focus-visible, .einzeln input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,111,185,.25); border-radius: 50%; }
.einzeln input:focus-visible, .optionen input[type=checkbox]:focus-visible { border-radius: 3px; }
.feld.gruppe + .feld.gruppe { border-top: 1px solid var(--linie); padding-top: 22px; margin-top: 22px; }
.feld.gruppe { margin-bottom: 22px; }
.feld.gruppe > .label { margin-bottom: 10px; }
.formular legend { margin-bottom: 20px; }
.formular-hinweis { font-size: .9rem; color: var(--text-2); border-top: 1px solid var(--linie); margin-top: 28px; padding-top: 16px; }

/* Upload als Drag-and-drop-Fläche */
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  border: 2px dashed #b9c0c5; border-radius: 8px; background: #fafbfc; padding: 30px 20px; min-height: 150px; cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease; }
.dropzone:hover, .dropzone.aktiv { border-color: var(--blau); background: var(--blau-hell); }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone .dz-icon { width: 40px; height: 40px; color: var(--blau); }
.dropzone .dz-titel { font-weight: 400; font-size: 1.05rem; color: var(--text); }
.dropzone .dz-titel span { color: var(--blau); }
.dropzone .dz-info { font-size: .88rem; color: var(--text-2); }
.feld.fehlerhaft .dropzone { border-color: var(--fehler); }
.dateiliste li { display: inline-block; background: var(--blau-hell); border-radius: 14px; padding: 3px 12px; margin: 4px 6px 0 0; }

/* AGB */
.rechtstext h3 { font-size: 1.05rem; font-weight: 500; margin-top: 1.4em; }
.rechtstext .muster { border: 1px solid var(--linie); border-radius: 6px; padding: 18px 22px; background: var(--grau-bg); }

@media (max-width: 991px) {
  .ap { flex-wrap: wrap; }
  .ap-aktion { flex-basis: 100%; }
  .prospekt { flex-direction: column; align-items: flex-start; }
 .ap-band {padding-top: 60px; padding-bottom: 60px;} 
}
@media (max-width: 640px) {
  .ap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ap-foto { width: 140px; height: 140px; }
  .ap-name { font-size: 1.8rem; }
  .ap-kontakt div { grid-template-columns: 1fr; }
  .ap-kontakt dd { font-size: 1.15rem; }
  .cta-gross h2 { font-size: 1.6rem; }
}



/* Startseite: Warum bluMartin | Für wen */
.raster.start-split { grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.raster.zielgruppen { grid-template-columns: 1fr; gap: 10px; }
.zielgruppen a { min-height: 0; padding: 12px 18px; }

@media (max-width: 991px) {
  .raster.start-split { grid-template-columns: 1fr; }
  .raster.zielgruppen { grid-template-columns: 1fr 1fr; }
  .zielgruppen a { padding: 14px 18px; }
}
@media (max-width: 640px) {
  .raster.zielgruppen { grid-template-columns: 1fr; }
}

/* Ansprechpartner-Block: < 992 px zentriert (Bild links), < 641 px Bild über den Daten */
@media (max-width: 991px) {
  .ap { flex-wrap: wrap; justify-content: center; gap: 24px 36px; }
  .ap-text { flex: 0 1 auto; }
  .ap-aktion { flex-basis: 100%; text-align: center; }
}
@media (max-width: 640px) {
  .ap { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .ap-kontakt div { grid-template-columns: 1fr; justify-items: center; }
  .ap-kontakt div + div { margin-top: 6px; }
}

/* Produkte: großer Handlungsaufruf im selben Blau wie der Ansprechpartner-Block */
.cta-gross { background: var(--blau); }
.cta-gross .btn { color: var(--blau); }

/* Anfrageformular: Zurück links, Anfrage senden rechts */
.schritt-nav.letzte { margin-top: 28px; }
.schritt-nav.letzte button[type=submit] { margin-left: auto; }
.no-js .js-only { display: none; }

/* Dateien als Badges mit Entfernen-Kreuz */
.dateiliste li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; }
.dateiliste .dz-entfernen { border: 0; background: transparent; color: var(--blau-dunkel); font-size: 18px; line-height: 1; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; padding: 0; transition: background-color .2s ease; }
.dateiliste .dz-entfernen:hover, .dateiliste .dz-entfernen:focus-visible { background: rgba(0,84,140,.15); outline: none; }

/* Externe Links: Icon „in neuem Fenster öffnen“ (färbt sich mit der Linkfarbe) */
.extern::after, .extern-icon {
  content: ""; display: inline-block; width:17px; height: 17px; margin-left: .4em; vertical-align: -.05em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.btn .extern-icon { margin-left: .45em; }

/* Startseite: „Kontakt aufnehmen“ unter 420 px kürzen */
.hero .btn-reihe { flex-wrap: nowrap; }
@media (max-width: 419px) { .nur-breit { display: none; } }

/* Für wen: Check-Icon vor dem Text */
.zielgruppen a { gap: 12px; }
.zielgruppen .ic-check { width: 22px; height: 22px; flex: none; color: var(--blau); }

/* Ansprechpartner: zwischen 641 und 991 px Button linksbündig unter den Kontaktdaten */
@media (min-width: 641px) and (max-width: 991px) {
  .ap { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 36px; row-gap: 22px; }
  .ap-foto { grid-row: 1 / span 2; }
  .ap-text, .ap-aktion { grid-column: 2; }
  .ap-aktion { text-align: left; }
}

/* Mobiles Menü */
.menu-btn { padding: 10px 9px; line-height: 0; }
.menu-btn .bar { display: block; width: 22px; height: 2px; margin: 4px 0; background: #494949; border-radius: 1px; transition: transform .3s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991px) {
  /* feste Kopfzeile: öffnet sich das Menü, verschiebt sich nichts */
  .site-header .wrap { min-height: 0; padding-top: 12px; padding-bottom: 12px; row-gap: 0; }
  /* sanft aufklappen */
  .nav, .nav.offen { display: grid; grid-template-rows: 0fr; visibility: hidden; padding: 0;
    transition: grid-template-rows .35s ease, visibility 0s linear .35s; }
  .nav.offen { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease, visibility 0s; }
  .nav ul { overflow: hidden; min-height: 0; padding-top: 8px; }
  /* Trennlinie an der Zeile, Unterstreichung nur unter dem Text */
  .nav li { position: relative; border-bottom: 1px solid var(--linie); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: inline-block; padding: 12px 4px 6px; margin-bottom: 6px; border-bottom: 2px solid transparent; }
  .nav a::before { content: ""; position: absolute; inset: 0; } /* ganze Zeile antippbar */
}
@media (prefers-reduced-motion: reduce) {
  .nav, .nav.offen, .menu-btn .bar { transition: none !important; }
}

/* Anfrageformular: Fortschritt unter 641 px – aktiver Schritt 70 %, übrige teilen sich 30 % */
@media (max-width: 640px) {
  .fortschritt { display: flex; gap: 6px; }
  .fortschritt li { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; transition: flex-grow .3s ease; }
  .fortschritt li.aktiv { flex-grow: 7; }
}

/* Extern-Icon so hoch wie ein Großbuchstabe (Versalhöhe Fira Sans ≈ 0,69 em), auf der Grundlinie */
.extern::after, .extern-icon { width: 15px; height: 15px; vertical-align:center; margin-left: .3em;  }

/* Navigation etwas höher, mehr Luft ums Logo */
.site-header .wrap { min-height: 92px; }
/* Button „Angebot anfragen“ und Hamburger gleich hoch */
.cta-top .btn { display: inline-flex; align-items: center; height: 40px; padding-top: 0; padding-bottom: 0; }
.menu-btn { height: 40px; width: 44px; padding: 0; flex-direction: column; align-items: center; justify-content: center; }
.menu-btn .bar { margin: 2px 0; }
.menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 991px) {
  .menu-btn { display: flex; }
  .site-header .wrap { min-height: 0; padding-top: 18px; padding-bottom: 18px; }
  /* keine Trennlinien im mobilen Menü */
  .nav li, .nav li:last-child { border-bottom: 0; }
  .nav a { padding: 10px 4px 4px; margin-bottom: 4px; }
}
@media (max-width: 640px) {
  .cta-top .btn { height: 40px; padding-top: 0; padding-bottom: 0; }
}

/* FAQ: sanftes Auf- und Zuklappen (Skript), Inhalt im Wrapper */
.faq .faq-inhalt { overflow: hidden; }

/* Kontakt: Werte linksbündig, kleiner Abstand zum Label */
.kontaktliste { display: grid; grid-template-columns: max-content 1fr; column-gap: 16px; row-gap: 2px; margin: 0 0 1em; }
.kontaktliste dt { color: var(--text); }
.kontaktliste dd { margin: 0; }

/* Download-Kasten (AGB, Widerrufsformular) */
.download { border-top: 1px solid var(--linie); margin-top: 2.4em; padding-top: 1.6em; }
.abschnitt > .wrap > .download:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.download h2 { font-size: 1.25rem; font-weight: 500; margin-top: 0; }

/* Widerrufsformular: drei Felder nebeneinander */
.reihe.drei-spalten { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 640px) { .reihe.drei-spalten { grid-template-columns: 1fr; } }

/* Datumsfelder wie die übrigen Eingabefelder */
.feld input[type=date] { width: 100%; font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid #b9c0c5; border-radius: 4px; background: #fff; color: var(--text); min-height: 46px; }
.feld input[type=date]:focus { outline: 2px solid var(--blau); outline-offset: 0; border-color: var(--blau); }

/* Rechtstexte bündig mit dem übrigen Inhalt (nicht eingerückt), Zeilenlänge begrenzt */
.wrap.rechtstext { max-width: var(--max); }
.rechtstext > * { max-width: 820px; }

/* Rechtstexte: erste Zwischenüberschrift ohne zusätzlichen Abstand */
.rechtstext > :first-child { margin-top: 0; }
