/* Schriften lokal (keine Verbindung zu Google beim Seitenaufruf) – SIL Open Font License */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/Figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/Figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/Manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/Manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* AMG Gebäudedienste – Grundstil
   Farben aus Logo und Arbeitskleidung: Blau, Rot als Akzent, Schwarz für Text */
:root {
  --blau: #0069A8;
  --blau-dunkel: #00507F;
  --blau-hell: #E3F1FA;
  --blau-logo: #0088C6;
  --rot: #D62839;
  --text: #121417;
  --text-2: #3D4B56;
  --text-3: #55646F;
  --rand: #E2E8E5;
  --grund: #F5F7F6;
  --weiss: #FFFFFF;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: Figtree, system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }
h1, h2, h3 { font-family: Manrope, sans-serif; margin: 0; line-height: 1.2; }
h1 { font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-weight: 800; font-size: clamp(25px, 2.5vw, 32px); }
h3 { font-weight: 800; font-size: 22px; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-weiss { background: var(--weiss); }
.bg-hell { background: var(--blau-hell); }
.eyebrow { color: var(--blau); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.muted { color: var(--text-2); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.pill { align-self: flex-start; background: var(--blau-hell); color: #00578C; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.pill-rot { background: var(--rot); color: #fff; font-weight: 700; }
.streifen { display: flex; flex-direction: column; }
.streifen span:first-child { height: 2px; background: var(--rot); }
.streifen span:last-child { height: 3px; background: var(--blau-logo); }

/* Knöpfe */
.btn { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-blau { background: var(--blau); color: #fff; }
.btn-blau:hover { background: var(--blau-dunkel); color: #fff; }
.btn-rand { background: #fff; color: var(--blau); border-color: var(--blau); }
.btn-weiss { background: #fff; color: var(--blau); }
.btn-klein { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--blau); font-weight: 700; cursor: pointer; min-height: 44px; text-align: left; }

/* Kopf */
.kopf { background: #fff; position: sticky; top: 0; z-index: 20; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.kopf .logo img { height: 46px; width: auto; }
.kopf nav { display: flex; gap: 32px; font-weight: 500; font-size: 15px; }
.kopf nav a { color: var(--text-2); text-decoration: none; }
.kopf nav a:hover { color: var(--text); }
.kopf .aktionen { display: flex; gap: 8px; align-items: center; }
.tel-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; padding: 0 8px; }
@media (max-width: 900px) { .kopf nav { display: none; } }
@media (max-width: 520px) { .tel-text { display: none; } .kopf .logo img { height: 38px; } }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero .text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero .bild { flex: 1 1 420px; min-width: 0; height: 460px; border-radius: 20px; object-fit: cover; object-position: 50% 58%; width: 100%; }
.slogan { font-family: Manrope, sans-serif; font-weight: 700; font-size: 17px; color: var(--blau); display: flex; align-items: center; gap: 10px; }
.slogan::before { content: ""; width: 28px; height: 3px; background: var(--rot); border-radius: 2px; }

/* Vertrauensleiste */
.vertrauen .wrap { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding-top: 32px; padding-bottom: 32px; }
.vertrauen .item { display: flex; gap: 14px; align-items: center; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--blau); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vertrauen strong { font-family: Manrope, sans-serif; font-size: 18px; display: block; line-height: 1.3; }
.vertrauen small { color: var(--text-2); font-size: 14px; }

/* Karten */
.karte { background: #fff; border: 1px solid var(--rand); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.karte .inhalt { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.karte .inhalt.klein { padding: 22px; gap: 6px; }
.karte ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.karte .mehr { margin-top: auto; }
.karte { position: relative; }
.karte-link { color: inherit; text-decoration: none; }
.karte:has(.karte-link) .inhalt { position: relative; }
.karte-link::after { content: ""; position: absolute; inset: 0; } /* Textbereich der Karte klickbar, Foto vergrößert sich */
.karte:has(.karte-link):hover { border-color: var(--blau, #0069A8); box-shadow: 0 6px 22px rgba(0,0,0,.08); }
.karte:has(.karte-link) .inhalt h3::after { content: " →"; color: var(--blau, #0069A8); }
.gross { flex: 1 1 460px; min-width: 0; }
.bildbox { position: relative; height: 240px; overflow: hidden; }
.bildbox img { width: 100%; height: 100%; object-fit: cover; }
.vn { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 240px; background: #fff; }
.vn.klein { height: 190px; }
.vn > div { position: relative; overflow: hidden; }
.vn img { width: 100%; height: 100%; object-fit: cover; }
.label { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--text); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.label.blau { background: var(--blau); color: #fff; }
.label.rechts { left: auto; right: 10px; }
.label.unten { top: auto; bottom: 10px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
figure .vn { border-radius: 14px; overflow: hidden; height: 180px; }
figcaption { font-weight: 600; font-size: 15px; }

/* Ablauf */
.schritt { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.nummer { width: 44px; height: 44px; border-radius: 999px; background: var(--blau); color: #fff; font-family: Manrope, sans-serif; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.nummer.rot { background: var(--rot); }

/* Haken-Listen */
.haken { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.haken li { display: flex; gap: 10px; }
.haken li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230069A8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain; }
.haken.zeile { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; font-weight: 500; }

/* Jobs */
.jobs-box { background: var(--blau); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.jobs-box .text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jobs-box p { color: var(--blau-hell); }
.jobs-box .vorteile { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.jobs-box .vorteile div { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 14px 16px; }
.jobs-box .vorteile span { color: var(--blau-hell); font-size: 15px; }
.jobs-box img { flex: 1 1 320px; min-width: 0; height: 340px; width: 100%; object-fit: cover; object-position: 50% 62%; border-radius: 16px; }
.btn-rand-weiss { color: #fff; border-color: rgba(255,255,255,0.7); background: transparent; }

/* Kontakt */
.kontakt-box { background: var(--grund); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 340px; min-width: 0; }
.kontakt-zeile { display: flex; gap: 12px; align-items: center; color: var(--text); text-decoration: none; font-weight: 600; min-height: 44px; }
.kontakt-zeile .icon-box { width: 42px; height: 42px; background: var(--blau-hell); }

/* Fuß */
.fuss { background: var(--blau); color: var(--blau-hell); font-size: 15px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .spalten { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; padding-top: 48px; }
.fuss .spalte { display: flex; flex-direction: column; gap: 8px; }
.fuss strong { color: #fff; font-family: Manrope, sans-serif; }
.fuss .logo-pill { align-self: flex-start; background: #fff; border-radius: 12px; padding: 10px 14px; }
.fuss .logo-pill img { height: 40px; width: auto; }
.fuss .social { display: flex; gap: 10px; }
.fuss .social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; }
.fuss .unten { border-top: 1px solid rgba(255,255,255,0.25); margin-top: 32px; padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: #CFE6F5; }

/* Dialog / Formular-Ablauf */
.dialog-hg { position: fixed; inset: 0; z-index: 50; background: rgba(18,20,23,0.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.dialog-hg.offen { display: flex; }
.dialog { width: 100%; max-width: 560px; max-height: 100%; background: #fff; border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; }
.dialog-kopf { padding: 16px 16px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-kopf .titel { font-family: Manrope, sans-serif; font-weight: 800; font-size: 17px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: #F2F5F7; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.icon-btn.leer { background: transparent; }
.fortschritt { margin: 14px 20px 0; height: 4px; background: #E3E8EC; border-radius: 4px; overflow: hidden; }
.fortschritt div { height: 4px; background: var(--blau); width: 25%; transition: width .3s ease; }
.dialog-inhalt { padding: 22px 20px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.dialog-fuss { padding: 12px 20px 18px; border-top: 1px solid #E3E8EC; display: flex; flex-direction: column; gap: 8px; }
.schritt-panel { display: none; flex-direction: column; gap: 18px; }
.schritt-panel.aktiv { display: flex; }
.frage { display: flex; flex-direction: column; gap: 8px; }
.frage > span { font-weight: 700; font-size: 15px; }
.frage > span small { font-weight: 500; color: var(--text-3); font-size: 14px; }
.chips { display: grid; gap: 8px; }
.chips.s2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.chips.s3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.chips.s4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.chips.s6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.chips.s7 { grid-template-columns: repeat(7, minmax(0,1fr)); }
.chip { font: inherit; font-weight: 700; font-size: 14px; line-height: 1.15; height: 50px; padding: 0 6px; border-radius: 12px; border: 1.5px solid #CBD3DA; background: #fff; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; text-align: center; }
.chip[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: #fff; }
.chip.check { justify-content: flex-start; gap: 10px; padding: 0 12px; text-align: left; font-size: 15px; font-weight: 600; }
.chip.check::before { content: ""; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #CBD3DA; flex-shrink: 0; box-sizing: border-box; }
.chip.check[aria-pressed="true"] { background: var(--blau-hell); color: var(--text); border-color: var(--blau); }
.chip.check[aria-pressed="true"]::before { border-color: var(--blau); background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px; }
.chip.gross { height: 120px; flex-direction: column; gap: 4px; }
.chip.gross small { font-weight: 500; color: var(--text-3); font-size: 13px; }
.chip.gross[aria-pressed="true"] small { color: #E3F1FA; }
.feld { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.feld input, .feld textarea, .eingabe { font: inherit; font-size: 16px; font-weight: 400; height: 50px; padding: 0 14px; border: 1.5px solid #CBD3DA; border-radius: 12px; width: 100%; background: #fff; }
.feld textarea { height: auto; padding: 12px 14px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .eingabe:focus, .chip:focus-visible, .btn:focus-visible { outline: 3px solid #8CC8EC; outline-offset: 1px; }
.einheit { position: relative; }
.einheit input { padding-right: 48px; }
.einheit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 600; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #DCE2E7; border-radius: 12px; padding: 12px; cursor: pointer; font-size: 13px; color: #2E3E49; font-weight: 400; }
.zustimmung.fehler { border-color: var(--rot); }
.zustimmung input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blau); }
.fehlertext { color: #B3192C; font-size: 14px; font-weight: 600; min-height: 0; }
.fehlertext:empty { display: none; }
.danke { padding: 28px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.danke .kreis { width: 80px; height: 80px; border-radius: 999px; background: var(--blau); color: #fff; display: flex; align-items: center; justify-content: center; }
.versteckt { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Handy-Feinschliff */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; gap: 28px; }
  .hero .bild { height: 300px; }
  .kopf .btn-klein { padding: 0 14px; white-space: nowrap; }
  .kopf .btn-klein .lang { display: none; }
  .jobs-box { padding: 26px 20px; }
  .jobs-box img { height: 240px; }
  .bildbox, .vn { height: 200px; }
}
@media (min-width: 641px) { .kopf .btn-klein .kurz { display: none; } }
.feld small { display: inline; }

/* Fix Handy: Kaestchen duerfen nie ueberlaufen */
.chip { min-width: 0; height: auto; min-height: 50px; padding-top: 8px; padding-bottom: 8px; overflow-wrap: anywhere; hyphens: auto; }
.chip.gross { min-height: 120px; }
@media (max-width: 480px) { .chips.s2:has(.chip.check) { grid-template-columns: 1fr; } .chip.check { min-height: 48px; } }/* Formulare: Zeilen, Gruppen, Fehler am Feld */
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feld-reihe.plz-reihe { grid-template-columns: 7.5em 1fr; }
.gruppe-titel { font-weight: 800; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--blau); margin: 6px 0 -4px; }
.feld input.falsch, .eingabe.falsch { border-color: var(--rot); background: #FFF6F7; box-shadow: 0 0 0 3px #FBD5DA; }
@media (max-width: 380px) { .feld-reihe:not(.plz-reihe) { grid-template-columns: 1fr; } }

/* ---------- Angebots-Ablauf (Premium) ---------- */
.angebot-dialog { max-width: 620px; height: min(820px, 100%); }
.dialog-kopf .titel { display: block; line-height: 1.2; }
.schritt-name { display: block; font-size: 13px; font-weight: 600; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fortschritt-schritte { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 14px 20px 0; padding: 0; counter-reset: s; }
.fortschritt-schritte li { font-size: 11px; font-weight: 700; color: #9AA6AF; text-align: center; padding-top: 9px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.fortschritt-schritte li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: #E3E8EC; transition: background .35s ease; }
.fortschritt-schritte li.fertig::before { background: var(--blau); }
.fortschritt-schritte li.jetzt::before { background: linear-gradient(90deg, var(--blau) 0 50%, #BFDDF0 50%); }
.fortschritt-schritte li.jetzt { color: var(--blau); }
.fortschritt-schritte li.fertig { color: var(--text-2); }
@media (max-width: 420px) { .fortschritt-schritte li { font-size: 0; padding-top: 5px; } }
.unterzeile { font-size: 15px; margin-top: 4px; }
.schritt-panel.rein-vor { animation: reinVor .32s cubic-bezier(.2, .8, .2, 1); }
.schritt-panel.rein-zurueck { animation: reinZurueck .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes reinVor { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes reinZurueck { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.chip { transition: background .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s; }
.chip:active { transform: scale(.97); }
.chip small.mini { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.chip { flex-direction: column; }
.chip.check { flex-direction: row; }
.ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blau-hell); color: var(--blau); flex: none; transition: background .18s, color .18s; }
.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.klein { width: 30px; height: 30px; border-radius: 9px; }
.ic.klein svg { width: 18px; height: 18px; }
.chip.karte { min-height: 150px; gap: 6px; font-size: 18px; font-weight: 800; border-radius: 18px; }
.chip.karte small { font-weight: 500; color: var(--text-3); font-size: 13px; }
.chip.karte .ic { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 4px; }
.chip.karte[aria-pressed="true"] small { color: #DCEEFA; }
.chip.karte[aria-pressed="true"] .ic, .chip.lk[aria-pressed="true"] .ic { background: rgba(255,255,255,.18); color: #fff; }
.chip:not([aria-pressed="true"]):hover { border-color: var(--blau); box-shadow: 0 4px 14px rgba(0, 105, 168, .10); }
.leistung-karten { gap: 10px; }
.chip.lk { min-height: 92px; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-content: center; text-align: left; padding: 12px; border-radius: 16px; position: relative; }
.chip.lk .ic { grid-row: 1 / 3; }
.chip.lk b { font-size: 15px; line-height: 1.2; align-self: end; }
.chip.lk small { font-size: 12.5px; font-weight: 500; color: var(--text-3); line-height: 1.3; align-self: start; }
.chip.lk[aria-pressed="true"] small { color: #DCEEFA; }
.chip.lk[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 8px; right: 10px; font-size: 14px; font-weight: 900; }
@media (max-width: 480px) { .leistung-karten { grid-template-columns: 1fr !important; } .chip.lk { min-height: 74px; } }
.vorteile-mini { list-style: none; margin: 4px 0 0; padding: 14px 16px; background: var(--grund); border-radius: 14px; display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.detail-block { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1.5px solid #E3E8EC; border-radius: 16px; background: #FBFCFD; }
.block-titel { display: flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 16px; }
.hinweis-text { font-size: 15px; color: var(--text-2); background: var(--blau-hell); padding: 14px 16px; border-radius: 14px; }
.zaehler { display: grid; grid-template-columns: 50px 1fr 50px; gap: 8px; max-width: 260px; }
.zaehler .icon-btn { width: 50px; height: 50px; font-size: 24px; font-weight: 700; color: var(--blau); background: var(--blau-hell); }
.zaehler input { font: inherit; font-size: 18px; font-weight: 700; text-align: center; height: 50px; border: 1.5px solid #CBD3DA; border-radius: 12px; width: 100%; -moz-appearance: textfield; }
.zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; }
.foto-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #E3E8EC; animation: reinVor .25s ease; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto button { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(18, 20, 23, .7); color: #fff; font-size: 13px; cursor: pointer; }
.foto-neu { aspect-ratio: 1; border: 2px dashed #B9C5CE; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--blau); font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: center; padding: 6px; transition: background .18s, border-color .18s; }
.foto-neu:hover { background: var(--blau-hell); border-color: var(--blau); }
.foto-neu input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.foto-neu:focus-within { outline: 3px solid #8CC8EC; }
.foto-neu.laedt { opacity: .6; pointer-events: none; }
.foto-neu.laedt span::after { content: " …"; }
.uebersicht { display: flex; flex-direction: column; gap: 10px; }
.u-block { border: 1.5px solid #E3E8EC; border-radius: 16px; padding: 4px 16px 12px; }
.u-kopf { display: flex; justify-content: space-between; align-items: center; }
.u-kopf h4 { margin: 0; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; }
.u-kopf .link-btn { font-size: 14px; }
.u-zeile { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; font-size: 14.5px; padding: 3px 0; }
.u-zeile span { color: var(--text-3); }
.u-zeile b { font-weight: 700; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 400px) { .u-zeile { grid-template-columns: 1fr; gap: 0; padding: 4px 0; } }
.u-leer { font-size: 14px; }
.u-fotos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.u-fotos img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.zustimmung.kopie { background: var(--grund); border-color: transparent; font-size: 14px; }
#a-weiter.absenden { background: var(--rot); }
#a-weiter:disabled { opacity: .7; }
.danke-nummer { background: var(--blau-hell); padding: 10px 18px; border-radius: 12px; font-size: 15px; }
.danke-nummer b { color: var(--blau); font-size: 17px; }
.danke-schritte { text-align: left; margin: 4px 0; padding-left: 22px; display: grid; gap: 4px; font-size: 15px; color: var(--text-2); }
.danke .kreis { animation: plopp .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes plopp { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .dialog-hg { padding: 0; align-items: stretch; }
  .angebot-dialog { max-width: none; height: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .schritt-panel, .foto, .danke .kreis { animation: none !important; } }
@media (max-width: 480px) { .chips.s2-handy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Jobs ---------- */
.stelle-hinweis { background: var(--blau-hell); color: var(--blau-dunkel); font-weight: 700; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.job-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 32px; }
.job-karte { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--rand); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--text); transition: border-color .18s, box-shadow .18s, transform .18s; }
.job-karte:hover { border-color: var(--blau); box-shadow: 0 10px 30px rgba(0, 105, 168, .12); transform: translateY(-2px); color: var(--text); }
.job-karte h3 { font-size: 20px; }
.job-karte.initiativ { background: var(--grund); border-style: dashed; }
.job-meta { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.job-anzeige { max-width: 780px; }
.job-fakten { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.job-fakten span { background: var(--grund); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.job-text { margin-top: 20px; font-size: 17px; }
.job-text p { margin-bottom: 12px; }
.job-text h2 { font-size: 22px; margin: 26px 0 10px; }
.job-text ul { padding-left: 22px; display: grid; gap: 6px; }
.job-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 24px; background: var(--blau-hell); border-radius: 20px; }
.btn-rot { background: var(--rot); color: #fff; } .btn-rot:hover { background: #B81F2F; color: #fff; }

/* ---------- Leistungsseiten ---------- */
.brotkrumen { font-size: 14px; color: var(--text-3); }
.brotkrumen a { color: var(--text-3); }
.seite-bild { flex: 1 1 420px; min-width: 0; height: 420px; border-radius: 20px; overflow: hidden; }
.seite-bild img { width: 100%; height: 100%; object-fit: cover; }
.vn.seite-bild { height: 420px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--grund); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blau); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 16px; color: var(--text-2); }
.cta-box { background: var(--blau); color: #fff; border-radius: 24px; padding: 44px 24px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #DCEEFA; font-size: 17px; }
.cta-box .btn-blau { background: #fff; color: var(--blau); }
@media (max-width: 640px) { .seite-bild, .vn.seite-bild { height: 260px; } }
figure .galerie-bild, .galerie-bild { height: 300px; border-radius: 16px; overflow: hidden; } .galerie-bild img { width: 100%; height: 100%; object-fit: cover; }

/* Fotos vergrößern: mit der Maus wächst das Bild an Ort und Stelle (bilder.js) */
.zoombar { position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; will-change: transform; }
.lupe-knopf { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--blau); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.25); cursor: zoom-in; transition: transform .2s, opacity .2s; }
.lupe-knopf:hover { transform: scale(1.1); }
.zoombar.vergroessert .lupe-knopf { opacity: 0; }
.zoombar.vergroessert { z-index: 60; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.35); border-radius: 12px; }
.karte:has(.zoombar.vergroessert), figure:has(.zoombar.vergroessert) { overflow: visible; z-index: 60; }
.karte:has(.zoombar.vergroessert) { position: relative; }

.lupe { position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,20,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 20px; cursor: zoom-out; }
.lupe[hidden] { display: none; }
.lupe-bilder { display: flex; gap: 10px; width: 100%; max-width: 1400px; justify-content: center; align-items: center; min-height: 0; flex: 1; }
.lupe-bilder figure { margin: 0; position: relative; display: block; flex: 0 1 auto; max-height: 100%; cursor: default; line-height: 0; }
.lupe-bilder img { display: block; max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 10px; }
.lupe-bilder.paar figure { max-width: calc(50% - 6px); }
.lupe-bilder .label { line-height: normal; }
.lupe-bilder .label { position: absolute; top: 12px; left: 12px; }
.lupe-text { color: #fff; margin: 12px 0 0; font-size: 16px; text-align: center; }
html.lupe-offen { overflow: hidden; }
@media (max-width: 700px) { .lupe-bilder.paar { flex-direction: column; } .lupe-bilder.paar figure { max-width: 100%; } .lupe-bilder.paar img { max-height: calc(50vh - 70px); } }

/* Unterlagen im Angebotsformular */
.datei-knopf { position: relative; align-self: flex-start; gap: 8px; color: var(--blau); border: 2px dashed #B9C5CE; background: transparent; min-height: 48px; }
.datei-knopf:hover { background: var(--blau-hell); border-color: var(--blau); }
.datei-knopf input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.datei-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.datei-liste:empty { display: none; }
.datei-liste li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.datei-liste .datei-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

/* Stichwort-Zeile im H1 der Startseite (für Google), sieht aus wie die Pill */
h1 .h1-zeile { display: table; font-family: Figtree, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-bottom: 20px; }
.vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vorteil { background: #fff; border: 1px solid var(--rand); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.vorteil h3 { font-size: 18px; }
.vorteil p { font-size: 15.5px; margin: 0; }
.vorteil .icon-box { width: 48px; height: 48px; }

/* Hauptmenü: Leistungen mit Untermenü (beim Drüberfahren) */
.kopf nav { align-items: center; }
.menue-punkt { position: relative; }
.menue-punkt > a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 0; }
.menue-punkt .pfeil { transition: transform .2s; }
.untermenue { position: absolute; top: 100%; left: -24px; z-index: 100; width: 580px; background: #fff; border: 1px solid var(--rand); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.14); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.untermenue::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* Brücke, damit das Menü beim Runterfahren nicht zugeht */
.menue-punkt:not(.zu):hover .untermenue, .menue-punkt.offen .untermenue { opacity: 1; visibility: visible; transform: none; }
.menue-punkt:not(.zu):hover .pfeil, .menue-punkt.offen .pfeil { transform: rotate(180deg); }
.untermenue-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.kopf nav .untermenue a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.kopf nav .untermenue a:hover { background: var(--blau-hell); }
.untermenue a b { font-weight: 700; font-size: 15px; }
.untermenue a small { color: var(--text-3); font-size: 13px; font-weight: 500; }
.kopf nav .untermenue a.untermenue-cta { margin-top: 8px; border-top: 1px solid var(--rand); border-radius: 0 0 10px 10px; padding-top: 12px; color: var(--blau); font-weight: 700; font-size: 15px; }
.alle-leistungen-box { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.leistung-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.leistung-kachel { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--rand); border-radius: 16px; padding: 16px 18px; color: var(--text); text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.leistung-kachel:hover { border-color: var(--blau); box-shadow: 0 8px 24px rgba(0,105,168,.12); transform: translateY(-2px); }
.leistung-kachel .icon-box { flex: 0 0 46px; width: 46px; height: 46px; background: var(--blau-hell); color: var(--blau); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: background .18s, color .18s; }
.leistung-kachel:hover .icon-box { background: var(--blau); color: #fff; }
.lk-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lk-text b { font-family: Manrope, sans-serif; font-size: 16.5px; font-weight: 800; }
.lk-text small { color: var(--text-3); font-size: 13.5px; line-height: 1.4; }
.lk-pfeil { color: var(--blau); font-size: 20px; font-weight: 700; transition: transform .18s; }
.leistung-kachel:hover .lk-pfeil { transform: translateX(4px); }
@media (max-width: 980px) { .leistung-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .leistung-raster { grid-template-columns: 1fr; } }

/* Handy: Menü-Symbol oben links + Seitenleiste von links */
.sl-knopf, .sl { display: none; }
@media (max-width: 900px) {
  .kopf .wrap { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; }
  .kopf .logo { justify-self: center; }
  .kopf .logo img { height: 40px; }
  .kopf .tel-link { display: none; }
  .sl-knopf { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #F2F5F8; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .sl-knopf:active { background: var(--blau-hell); }
  .sl { display: block; position: fixed; inset: 0; z-index: 40; }
  .sl[hidden] { display: none; }
  .sl-schleier { position: absolute; inset: 0; background: rgba(12,28,42,.32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
  .sl-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: #fff; display: flex; flex-direction: column;
    border-radius: 0 24px 24px 0; box-shadow: 12px 0 40px rgba(12,28,42,.18); transform: translateX(-102%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
    padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .sl.sichtbar .sl-schleier { opacity: 1; }
  .sl.sichtbar .sl-panel { transform: none; }
  .sl-kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 20px; }
  .sl-kopf img { height: 38px; width: auto; }
  .sl-zu { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #F2F5F8; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .sl-inhalt { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 10px 12px; }
  .sl-titel { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 18px 12px 6px; }
  .sl-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: 15.5px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
  .sl-zeile:active { background: #F2F5F8; }
  .sl-zeile.aktiv { background: var(--blau-hell); color: var(--blau); }
  .sl-ic { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: #F2F5F8; color: var(--text-2); display: flex; align-items: center; justify-content: center; }
  .sl-ic svg { width: 17px; height: 17px; }
  .sl-zeile.aktiv .sl-ic { background: var(--blau); color: #fff; }
  .sl-fuss { padding: 12px 16px 16px; border-top: 1px solid var(--rand); display: flex; flex-direction: column; gap: 8px; }
  .sl-cta { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px; background: var(--blau); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
  .sl-tel { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 14px; color: var(--blau); font-weight: 700; font-size: 15px; text-decoration: none; }
  html.menue-offen { overflow: hidden; }
}

/* hero-knoepfe-handy: am Handy kompaktere Buttons, Besichtigung + Telefon nebeneinander */
@media (max-width: 600px) {
  .hero .row { gap: 8px !important; }
  .hero .row .btn { min-height: 46px !important; height: auto !important; padding: 0 14px !important; font-size: 15px !important; border-radius: 12px !important; }
  .hero .row .btn-blau { flex: 1 1 100%; justify-content: center; }
  .hero .row .btn-rand { flex: 1 1 0; justify-content: center; padding: 0 8px !important; font-size: 14px !important; gap: 6px; white-space: nowrap; }
  .hero .row .btn svg { width: 16px; height: 16px; }
}

/* Besichtigung buchen oben in der Kopfzeile (am Handy nur Kalender-Symbol) */
.kopf-termin { gap: 8px; white-space: nowrap; }
@media (max-width: 640px) { .kopf .kopf-termin { padding: 0 11px !important; } .kopf .kopf-termin svg { width: 20px; height: 20px; } }
/* kopf-platz: Kopfzeile bleibt einzeilig, auch mit „Besichtigung buchen“ */
.kopf nav a, .kopf .aktionen .btn, .kopf .tel-link { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 901px) { .kopf .tel-text { display: none; } .kopf nav { gap: 22px; } }
@media (max-width: 1100px) and (min-width: 901px) { .kopf .kopf-termin .lang { display: none; } .kopf .kopf-termin { padding: 0 11px; } }

/* Verifizierte Kundenstimmen (Startseite) */
.ks-schnitt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 22px; color: var(--text-2); }
.ks-schnitt b { color: var(--text); }
.ks-raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ks-karte { margin: 0; background: #fff; border: 1px solid #E2E8E5; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ks-sterne { display: inline-flex; gap: 2px; }
.ks-karte blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.ks-karte figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.ks-verifiziert { color: #1E6B3A; font-size: 13px; font-weight: 600; }
.ks-hinweis { font-size: 12.5px; color: var(--text-3); margin-top: 18px; max-width: 820px; }
