/* ==========================================================================
   Gebr. Fischer GmbH — Sanitär · Heizung · Elektro
   Design-System & Komponenten
   Design-Richtung "Vertrauen & Wasser": Tiefblau/Hellblau + Orange-CTA
   ========================================================================== */

:root {
  /* Farben */
  --blau-tief: #0d4f8b;
  --blau: #1a78c2;
  --blau-hell: #e8f1fa;
  --orange: #ef7d00;
  --orange-dark: #d96f00;
  --rot: #c0392b;
  --rot-dark: #a93226;
  --anthrazit: #1f2933;
  --grau: #5a6b7b;
  --grau-hell: #f7f9fb;
  --weiss: #ffffff;
  --border: #e2e8ef;

  /* Typografie */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Maße */
  --container: 1180px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 50, 90, 0.06);
  --shadow: 0 8px 30px rgba(15, 50, 90, 0.10);
  --shadow-lg: 0 18px 50px rgba(15, 50, 90, 0.16);
  --header-h: 84px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--anthrazit);
  background: var(--weiss);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blau); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blau-tief); }

/* Barrierefreiheit: sichtbarer Tastatur-Fokus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px;
}
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--anthrazit); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--grau); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--grau { background: var(--grau-hell); }
.section--blau { background: var(--blau-tief); color: #dce9f5; }
.section--blau h2, .section--blau h3 { color: #fff; }
.section--blau p { color: #b9d2ea; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(239,125,0,.28); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(239,125,0,.36); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--blau { background: var(--blau-tief); color: #fff; }
.btn--blau:hover { background: var(--blau); color: #fff; transform: translateY(-2px); }
.btn--notdienst { background: var(--rot); color: #fff; box-shadow: 0 8px 20px rgba(192,57,43,.28); }
.btn--notdienst:hover { background: var(--rot-dark); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 38px; font-size: 1.08rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
  height: var(--header-h); display: flex; align-items: center;
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo__img { height: 46px; width: auto; display: block; }
.footer .logo__img { height: 50px; }
/* Alt-Text-Logo (Fallback, falls SVG fehlt) */
.logo__mark {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blau-tief), var(--blau));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--anthrazit); }
.logo__claim { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--anthrazit);
  padding: 9px 14px; border-radius: 8px; transition: all .18s; white-space: nowrap;
}
.nav__links a:hover { background: var(--blau-hell); color: var(--blau-tief); }
.nav__links a.active { color: var(--blau-tief); }
.nav__cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav__phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 600; color: var(--rot); white-space: nowrap; }
.nav__phone span { font-size: .72rem; color: var(--grau); display: block; font-weight: 500; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--anthrazit); border-radius: 3px; transition: .25s; }
.nav__toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blau-tief); overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero__media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blau-tief) 0%, rgba(13,79,139,.55) 16%, rgba(13,79,139,0) 45%); }
.hero__content { max-width: 580px; min-height: 580px; padding: 90px 0;
  display: flex; flex-direction: column; justify-content: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: rgba(255,255,255,.12); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .06em; padding: 8px 16px; border-radius: 50px; margin-bottom: 24px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero__lead { color: #cfe0f0; font-size: 1.18rem; margin-bottom: 34px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Vertrauensleiste unter Hero */
.trustbar { background: var(--anthrazit); }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; padding: 22px 0; }
.trustbar__item { display: flex; align-items: center; gap: 12px; color: #e4ebf2; font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.trustbar__item svg { flex-shrink: 0; }

/* ---------- Leistungskarten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--blau-hell);
  display: grid; place-items: center; margin: -52px 0 16px; position: relative; z-index: 2;
  border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 18px; flex: 1; }
.card__link { font-family: var(--font-head); font-weight: 600; color: var(--orange);
  display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { color: var(--orange-dark); gap: 10px; }

/* ---------- USP / Features ---------- */
.usps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.usp { display: flex; gap: 18px; }
.usp__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  background: var(--blau-hell); display: grid; place-items: center; color: var(--blau-tief); }
.usp h3 { font-size: 1.15rem; margin-bottom: 6px; }
.usp p { font-size: .98rem; }

/* ---------- Notdienst-Band ---------- */
.notdienst {
  background: linear-gradient(120deg, var(--rot), var(--rot-dark)); color: #fff;
}
.notdienst__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px 0; }
.notdienst__text h2 { color: #fff; margin-bottom: 6px; }
.notdienst__text p { color: rgba(255,255,255,.9); margin: 0; }
.notdienst__phone { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem,3vw,2.2rem);
  color: #fff; display: flex; align-items: center; gap: 14px; white-space: nowrap; }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blau-tief), var(--blau)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cfe0f0; font-size: 1.12rem; max-width: 600px; margin: 0 auto 30px; }

/* ---------- Sub-Page Header ---------- */
.page-hero { background: var(--blau-tief); color: #fff; padding: 64px 0; position: relative; }
.page-hero__inner { max-width: 760px; }
.page-hero .breadcrumb { font-size: .9rem; color: #9fc2e2; margin-bottom: 14px; font-family: var(--font-head); }
.page-hero .breadcrumb a { color: #9fc2e2; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #cfe0f0; font-size: 1.15rem; }

/* ---------- Leistungs-Detailblock ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.detail--rev .detail__media { order: 2; }
.detail__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.detail__tag { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.detail h2 { margin-bottom: 16px; }
.detail .lead { margin-bottom: 22px; }
.detail__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 26px; }
.detail__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--anthrazit); font-size: .98rem; }
.detail__list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  background: var(--blau-hell); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d4f8b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
/* Hochformat-Foto: Höhe begrenzen statt volle Spaltenbreite */
.about-grid img.img--portrait { width: auto; max-width: 100%; max-height: 620px; display: block; margin: 0 auto; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.value { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow-sm); }
.value__icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--blau-hell); display: grid; place-items: center; color: var(--blau-tief); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,4vw,2.8rem); color: var(--orange); }
.stat__label { color: #b9d2ea; font-size: .95rem; }

/* ---------- Karriere ---------- */
.jobs { display: grid; gap: 18px; }
.job { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 26px 28px; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.job:hover { box-shadow: var(--shadow); }
.job h3 { margin-bottom: 4px; }
.job__meta { color: var(--grau); font-size: .92rem; display: flex; gap: 16px; flex-wrap: wrap; }
.perks { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; margin-bottom: 7px; }
.field label .req { color: var(--rot); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--anthrazit);
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--grau-hell); transition: all .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blau); background: #fff; box-shadow: 0 0 0 3px rgba(26,120,194,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--grau); margin-top: 4px; }
.form-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; display: none; }
.form-msg--ok { background: #e6f6ec; color: #1d7a3e; border: 1px solid #b7e3c5; }
.form-msg--err { background: #fdecea; color: var(--rot-dark); border: 1px solid #f4c4be; }

.info-card { background: var(--blau-hell); border-radius: var(--radius-lg); padding: 32px; }
.info-card h3 { margin-bottom: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(13,79,139,.1); }
.info-list li:last-child { border-bottom: none; }
.info-list .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--blau-tief); }
.info-list strong { font-family: var(--font-head); display: block; }
.info-list a, .info-list span { color: var(--grau); }
.notdienst-box { background: var(--rot); color: #fff; border-radius: var(--radius); padding: 24px; margin-top: 22px; text-align: center; }
.notdienst-box h3 { color: #fff; margin-bottom: 6px; }
.notdienst-box a { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }

/* DSGVO-konforme Karte (Klick-to-load) */
.map-consent { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-consent__placeholder { background: var(--grau-hell); padding: 40px 24px; text-align: center; }
.map-consent iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .placeholder { background: #fff7e6; border: 1px dashed var(--orange); padding: 2px 8px; border-radius: 4px; color: var(--orange-dark); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthrazit); color: #aeb9c4; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #aeb9c4; }
.footer__links a:hover { color: #fff; }
.footer .logo__name { color: #fff; }
.footer .logo__claim { color: #8c98a4; }
.footer__about p { font-size: .95rem; margin-top: 16px; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .95rem; }
.footer__contact a { color: #aeb9c4; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer__bottom a { color: #aeb9c4; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Ablauf-Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step__num { width: 50px; height: 50px; border-radius: 50%; background: var(--blau-tief); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .96rem; }

/* ---------- Förder-Karten (Info-Karten ohne Bild) ---------- */
.infocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.infocard { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--orange);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.infocard__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blau-hell);
  display: grid; place-items: center; color: var(--blau-tief); margin-bottom: 16px; }
.infocard h3 { font-size: 1.18rem; margin-bottom: 10px; }
.infocard p { font-size: .97rem; }
.notice { background: #fff7e6; border: 1px solid #ffd591; border-radius: var(--radius);
  padding: 18px 22px; font-size: .95rem; color: #8a5a00; display: flex; gap: 12px; align-items: flex-start; }

/* ---------- FAQ-Akkordeon ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--anthrazit);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q:hover { color: var(--blau-tief); }
.faq__icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform .25s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--orange); border-radius: 2px; }
.faq__icon::before { top: 50%; left: 4px; right: 4px; height: 3px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 4px; bottom: 4px; width: 3px; transform: translateX(-50%); transition: opacity .25s; }
.faq__item.open .faq__icon::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 22px; color: var(--grau); }

/* ---------- Schwebender Telefon-Button ---------- */
.fab-call { position: fixed; bottom: 22px; right: 22px; z-index: 95; width: 60px; height: 60px;
  border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(192,57,43,.42); transition: transform .2s, background .2s; }
.fab-call:hover { background: var(--rot-dark); color: #fff; transform: scale(1.08); }
.fab-call svg { width: 28px; height: 28px; }
.fab-call::after { content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(192,57,43,.5); animation: fabpulse 2.4s infinite; }
@keyframes fabpulse { 0% { box-shadow: 0 0 0 0 rgba(192,57,43,.5); } 70% { box-shadow: 0 0 0 16px rgba(192,57,43,0); } 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); } }
@media (prefers-reduced-motion: reduce) { .fab-call::after { animation: none; } }

/* ---------- Scroll-Animationen ---------- */
/* Ohne JS sind Inhalte immer sichtbar; nur mit .js (siehe Inline-Script im <head>)
   starten sie unsichtbar und werden beim Scrollen eingeblendet. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__media { position: relative; width: 100%; height: 300px; }
  .hero__media::after { background: linear-gradient(0deg, var(--blau-tief) 0%, rgba(13,79,139,0) 55%); }
  .hero__content { min-height: 0; padding: 50px 0; }
  .detail, .detail--rev .detail__media, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail--rev .detail__media { order: 0; }
  .cards, .values, .infocards { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
}
/* Kompaktere Navigation im mittleren Bereich (Tablet/kleiner Desktop) */
@media (max-width: 1040px) {
  .nav__links { gap: 2px; }
  .nav__links a { padding: 8px 9px; font-size: .9rem; }
  .nav__cta { gap: 8px; margin-left: 4px; }
  .nav__phone span span { display: none; }
}

@media (max-width: 760px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .logo__img { height: 38px; }
  .footer .logo__img { height: 46px; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    padding: 16px 24px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav.open .nav__links a { padding: 13px 16px; }
  .section { padding: 60px 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .cards, .values, .usps, .detail__list, .perks, .form-row, .infocards, .steps { grid-template-columns: 1fr; }
  .fab-call { bottom: 16px; right: 16px; width: 54px; height: 54px; }
  .notdienst__inner { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
