/* KFZ-Handel Dennis König — Seitenstil
   CI aus der alten Seite: Blau #09478E, Anthrazit #2B2A29, Montserrat. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Montserrat";
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blau: #09478e;
  --blau-dunkel: #063568;
  --blau-hell: #e8f0fa;
  --nacht: #0c1624;
  --anthrazit: #2b2a29;
  --text: #2b2a29;
  --text-leise: #5f6670;
  --linie: #e2e6ec;
  --flaeche: #f4f6f9;
  --weiss: #fff;
  --gruen: #1f8a4c;
  --rot: #c0392b;
  --radius: 14px;
  --radius-klein: 9px;
  --schatten: 0 1px 2px rgba(12, 22, 36, .06), 0 8px 24px rgba(12, 22, 36, .07);
  --schatten-hoch: 0 2px 4px rgba(12, 22, 36, .08), 0 18px 40px rgba(12, 22, 36, .14);
  --kopf-hoehe: 72px;
  --breite: 1240px;
  --rand: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font: 400 16px/1.6 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--nacht); }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blau) 55%, transparent); outline-offset: 2px; border-radius: 4px; }

.breite { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nur-bots { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.springmarke { position: absolute; left: 12px; top: -60px; background: var(--blau); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.springmarke:focus { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.krone { width: 44px; height: auto; color: currentColor; }
.krone--klein { width: 22px; display: inline-block; vertical-align: -.1em; }
.krone--gross { width: 88px; color: var(--blau); margin: 0 auto 18px; display: block; }

/* ------------------------------------------------------------ Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; white-space: nowrap;
}
.knopf:active { transform: translateY(1px); }
.knopf--primaer { background: var(--blau); color: #fff; box-shadow: 0 6px 16px rgba(9, 71, 142, .28); }
.knopf--primaer:hover { background: var(--blau-dunkel); color: #fff; }
.knopf--rand { border-color: var(--linie); background: #fff; color: var(--nacht); }
.knopf--rand:hover { border-color: var(--blau); color: var(--blau); }
.knopf--hell { background: var(--blau-hell); color: var(--blau); }
.knopf--hell:hover { background: var(--blau); color: #fff; }
.knopf--text, .knopf--text:hover { background: none; border: 0; padding: .4em .2em; min-height: 0; color: var(--text-leise); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; }
.knopf--text:hover { color: var(--blau); }
.knopf--breit { width: 100%; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.seitenkopf--mittig .knopfreihe { justify-content: center; }

/* ------------------------------------------------------------ Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 4px 20px rgba(12, 22, 36, .06); }
.kopf__innen { height: var(--kopf-hoehe); display: flex; align-items: center; gap: 24px; }
.marke { display: inline-flex; align-items: center; gap: 12px; color: var(--nacht); text-decoration: none; }
.marke:hover { color: var(--nacht); }
.marke__krone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blau); color: #fff; flex: none; }
.marke__krone .krone { width: 26px; margin-top: 2px; }
.marke__text { font-size: 1.02rem; line-height: 1.1; font-weight: 500; letter-spacing: .01em; }
.marke__text strong { display: block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }
.marke--hell, .marke--hell:hover { color: #fff; }
.marke--hell .marke__text strong { color: #9ec3ef; }
.marke--hell .marke__krone { background: #fff; color: var(--blau); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--nacht); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--flaeche); color: var(--blau); }
.kopf__menue { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--linie); background: #fff; place-items: center; cursor: pointer; }
.kopf__menue .ic { width: 22px; height: 22px; }
.mobilnav { border-top: 1px solid var(--linie); background: #fff; padding: 8px var(--rand) 16px; display: grid; }
.mobilnav a { padding: 14px 4px; border-bottom: 1px solid var(--linie); color: var(--nacht); font-weight: 600; text-decoration: none; }
@media (max-width: 960px) {
  .nav, .kopf__tel span { display: none; }
  .kopf__tel { padding: 0; width: 46px; margin-left: auto; }
  .kopf__menue { display: grid; margin-left: 0; }
}
@media (min-width: 961px) { .mobilnav { display: none !important; } }

/* ------------------------------------------------------------ Bausteine */
.dachzeile { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }
.abschnitt { padding-block: clamp(48px, 8vw, 96px); }
.abschnitt--eng { padding-block: clamp(32px, 5vw, 56px); }
.abschnitt--grau { background: var(--flaeche); }
.abschnitt__kopf { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.abschnitt__titel { margin-bottom: .4em; }
.hinweis { padding: 18px 20px; border-radius: var(--radius); background: var(--flaeche); }
.kleingedruckt { font-size: .8rem; color: var(--text-leise); }
.abzeichen { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--blau); color: #fff; font-size: .75rem; font-weight: 700; }

/* ------------------------------------------------------------ Held */
.held { position: relative; isolation: isolate; color: #fff; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--nacht); }
.held__bild, .held__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; z-index: -2; }
.held::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 18, 32, .92) 0%, rgba(8, 18, 32, .7) 42%, rgba(8, 18, 32, .1) 75%), linear-gradient(0deg, rgba(8, 18, 32, .75) 0%, transparent 45%); }
.held__innen { padding-block: clamp(64px, 12vh, 120px) clamp(40px, 7vh, 72px); }
.held .dachzeile { color: #9ec3ef; }
.held__titel { color: #fff; font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; max-width: 12ch; margin-bottom: .35em; letter-spacing: -.02em; }
.held__text { max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .88); margin-bottom: 32px; }
.schnellsuche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; padding: 12px; max-width: 980px; background: #fff; border-radius: 20px; box-shadow: var(--schatten-hoch); color: var(--text); }
.schnellsuche .feld span { padding-left: 4px; }
.schnellsuche__los { align-self: end; min-height: 50px; padding-inline: 1.5em; }
@media (max-width: 860px) {
  .held { min-height: 0; }
  .held::after { background: linear-gradient(0deg, rgba(8, 18, 32, .96) 0%, rgba(8, 18, 32, .75) 55%, rgba(8, 18, 32, .25) 100%); }
  .held__innen { padding-top: 220px; }
  .schnellsuche { grid-template-columns: 1fr 1fr; }
  .schnellsuche__los { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ Startseite: erste Szene
   Kopfleiste (weiß-transparent wie überall) liegt fest über dem Hero-Bild; Hero + die drei
   Vorteile füllen zusammen genau den Bildschirm, damit beim Einstieg nichts abgeschnitten ist. */
.seite-start .kopf { position: fixed; left: 0; right: 0; background: rgba(255, 255, 255, .86); }
.erste-szene { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.erste-szene .held { flex: 1 0 auto; min-height: 0; }
.seite-start .held__innen { padding-top: calc(var(--kopf-hoehe) + clamp(24px, 6vh, 80px)); padding-bottom: clamp(24px, 4vh, 56px); }
.erste-szene .vorteile__raster { padding-block: clamp(18px, 3.2vh, 36px); }
@media (max-height: 820px) and (min-width: 861px) {
  /* niedrige Laptop-Bildschirme: Hero kompakter, damit Suche und Vorteile ins Bild passen */
  .seite-start .held__titel { font-size: clamp(2rem, 6.4vh, 3.4rem); margin-bottom: .25em; }
  .seite-start .held__text { margin-bottom: 18px; line-height: 1.5; }
}
@media (max-width: 860px) {
  .seite-start .held__innen { padding-top: calc(var(--kopf-hoehe) + 24px); padding-bottom: 20px; }
  .seite-start .held__titel { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .seite-start .held__text { font-size: .92rem; margin-bottom: 18px; }
  /* Vorteile kompakt nebeneinander: Symbol + Titel, Beschreibung erst ab Tablet-Breite */
  .erste-szene .vorteile__raster { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-block: 16px; }
  .erste-szene .vorteil { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .erste-szene .vorteil__icon { width: 38px; height: 38px; border-radius: 11px; }
  .erste-szene .vorteil__icon .ic { width: 20px; height: 20px; }
  .erste-szene .vorteil h2 { font-size: .72rem; line-height: 1.3; margin: 0; }
  .erste-szene .vorteil p { display: none; }
}
@media (max-width: 760px) {
  /* erste Szene endet über der festen Schnellkontakt-Leiste unten */
  .erste-szene { min-height: calc(100svh - 62px - env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) and (max-height: 720px) {
  /* sehr kleine Handys (z. B. iPhone SE): Einleitungstext und Dachzeile weglassen */
  .seite-start .held .dachzeile, .seite-start .held__text { display: none; }
  .seite-start .held__titel { font-size: 1.75rem; }
  .seite-start .held__innen { padding-top: calc(var(--kopf-hoehe) + 16px); padding-bottom: 14px; }
  .schnellsuche { gap: 8px; padding: 10px; }
  .schnellsuche .feld select { min-height: 42px; padding-block: 8px; }
  .erste-szene .vorteile__raster { padding-block: 12px; }
}

/* ------------------------------------------------------------ Formularfelder */
.feld { display: grid; gap: 6px; min-width: 0; }
.feld > span { font-size: .78rem; font-weight: 600; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--linie); border-radius: var(--radius-klein);
  background: #fff; font-size: .95rem; transition: border-color .15s, box-shadow .15s; appearance: none;
}
.feld select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6670' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; text-overflow: ellipsis; }
.feld select:disabled { background-color: var(--flaeche); color: var(--text-leise); }
.feld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(9, 71, 142, .12); }
.feld.ist-fehler input, .feld.ist-fehler textarea { border-color: var(--rot); }
.feld__fehler { color: var(--rot); font-size: .8rem; font-weight: 600; }
.feld--voll { grid-column: 1 / -1; }
.feld--suche { position: relative; }
.feld--suche .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-leise); }
.feld--suche input { padding-left: 42px; }
.feld--inline { display: flex; align-items: center; gap: 10px; }
.feld--inline select { min-height: 42px; width: auto; }

/* ------------------------------------------------------------ Vorteile */
.vorteile { background: var(--nacht); color: #fff; }
.vorteile__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); padding-block: 36px; }
.vorteil { display: flex; gap: 16px; align-items: flex-start; }
.vorteil__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(158, 195, 239, .14); color: #9ec3ef; }
.vorteil__icon .ic { width: 24px; height: 24px; }
.vorteil h2 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.vorteil p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; }
@media (max-width: 860px) { .vorteile__raster { grid-template-columns: 1fr; gap: 22px; } }

/* ------------------------------------------------------------ Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.karte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); border-color: transparent; }
.karte__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.karte__bild { position: relative; aspect-ratio: 4 / 3; background: var(--flaeche); overflow: hidden; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.karte:hover .karte__bild img { transform: scale(1.04); }
.karte__ohnebild { display: grid; place-items: center; height: 100%; color: #b7c0cc; }
.karte__ohnebild .ic { width: 64px; height: 64px; }
.karte__anzahl, .karte__neu { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.karte__anzahl { right: 10px; bottom: 10px; background: rgba(12, 22, 36, .72); color: #fff; backdrop-filter: blur(4px); }
.karte__neu { left: 10px; top: 10px; background: var(--blau); color: #fff; }
.karte__text { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.karte__titel { font-size: .92rem; font-weight: 500; color: var(--text-leise); line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karte__titel span { display: block; font-size: 1.1rem; font-weight: 700; color: var(--nacht); margin-bottom: 2px; }
.karte__daten { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--text); }
.karte__daten li { display: inline-flex; align-items: center; gap: 5px; }
.karte__daten .ic { color: var(--blau); width: 15px; height: 15px; }
.karte__merkmale { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.karte__merkmale li { padding: 3px 9px; border-radius: 6px; background: var(--blau-hell); color: var(--blau); font-size: .72rem; font-weight: 600; }
.karte__preis { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--linie); }
.karte__preis strong { font-size: 1.35rem; font-weight: 800; color: var(--nacht); letter-spacing: -.01em; }
.karte__preis span { font-size: .72rem; color: var(--text-leise); }

/* ------------------------------------------------------------ Über mich */
.ueber { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
/* Freigestelltes Bild ohne Rahmen/Schatten, steht unten bündig auf der Abschnittskante */
.ueber-abschnitt { padding-bottom: 0; overflow: hidden; }
.ueber__text { align-self: center; padding-bottom: clamp(48px, 8vw, 96px); }
.ueber__bild { display: block; width: 100%; max-width: 460px; height: auto; justify-self: start; margin-bottom: 0; }
.ueber__text p { color: #3d3c3b; font-size: 1.02rem; }
.unterschrift { font-weight: 700; color: var(--blau) !important; font-size: 1.1rem !important; }
.partner { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.partner a { display: grid; place-items: center; height: 72px; padding: 0 22px; border-radius: 14px; background: var(--nacht); transition: background .2s; }
.partner a:hover { background: var(--blau); }
.partner img { max-height: 38px; width: auto; }
@media (max-width: 860px) {
  .ueber { grid-template-columns: 1fr; gap: 8px; }
  .ueber__text { padding-bottom: 8px; }
  .ueber__bild { max-width: min(340px, 86%); justify-self: end; }
}

/* ------------------------------------------------------------ Band */
.band { position: relative; isolation: isolate; color: #fff; padding-block: clamp(56px, 9vw, 110px); overflow: hidden; background: var(--blau-dunkel); }
.band__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 53, 104, .97) 0%, rgba(6, 53, 104, .85) 50%, rgba(6, 53, 104, .35) 100%); }
.band h2 { color: #fff; max-width: 20ch; }
.band p { max-width: 52ch; color: rgba(255, 255, 255, .86); margin-bottom: 24px; }
.band .knopf--primaer { background: #fff; color: var(--blau); box-shadow: none; }
.band .knopf--primaer:hover { background: var(--blau-hell); }

/* ------------------------------------------------------------ Stimmen */
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.stimme { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--flaeche); }
.stimme footer { font-weight: 700; color: var(--blau); }

/* ------------------------------------------------------------ Kontakt + Formular */
.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } }
.kontaktdaten { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.kontaktdaten li { display: flex; gap: 14px; align-items: flex-start; }
.kontaktdaten__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau-hell); color: var(--blau); flex: none; }
.kontaktdaten small { display: block; font-size: .75rem; color: var(--text-leise); font-weight: 600; }
.kontaktdaten a { color: var(--nacht); font-weight: 600; text-decoration: none; word-break: break-word; }
.kontaktdaten a:hover { color: var(--blau); }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; }
.zeiten dt { font-weight: 600; } .zeiten dd { margin: 0; }
.anfrage { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten); }
.anfrage__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .anfrage__raster { grid-template-columns: 1fr; } }
.anfrage__hinweis { margin: -6px 0 0; font-size: .78rem; color: var(--text-leise); }
.segment { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin: 0; border: 0; border-radius: 999px; background: var(--flaeche); width: fit-content; max-width: 100%; }
.segment label { position: relative; }
.segment input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segment span { display: block; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text-leise); }
.segment input:checked + span { background: #fff; color: var(--blau); box-shadow: 0 1px 4px rgba(12, 22, 36, .12); }
.segment input:focus-visible + span { outline: 3px solid rgba(9, 71, 142, .4); }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--text-leise); line-height: 1.5; cursor: pointer; }
.haken input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blau); flex: none; }
.haken.ist-fehler span { color: var(--rot); }
.anfrage__status:empty { display: none; }
.anfrage__status { padding: 14px 16px; border-radius: var(--radius-klein); font-size: .9rem; font-weight: 600; }
.anfrage__status.ist-ok { background: #e7f6ee; color: var(--gruen); }
.anfrage__status.ist-fehler { background: #fbeaea; color: var(--rot); }
.anfrage.ist-gesendet .anfrage__raster, .anfrage.ist-gesendet .haken, .anfrage.ist-gesendet button, .anfrage.ist-gesendet .segment, .anfrage.ist-gesendet .anfrage__hinweis { display: none; }
.anfrage button[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ------------------------------------------------------------ Seitenkopf */
.seitenkopf { position: relative; isolation: isolate; padding-block: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 40px); background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { margin-bottom: .3em; }
.seitenkopf p { max-width: 62ch; color: var(--text-leise); }
.seitenkopf__stand { font-size: .82rem; margin: 0; }
.seitenkopf--bild { background: var(--nacht); color: #fff; overflow: hidden; padding-block: clamp(64px, 10vw, 120px); }
.seitenkopf--bild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -1; }
.seitenkopf--bild h1 { color: #fff; } .seitenkopf--bild p { color: rgba(255, 255, 255, .85); } .seitenkopf--bild .dachzeile { color: #9ec3ef; }
.seitenkopf--mittig { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.seitenkopf--mittig p { margin-inline: auto; }

/* ------------------------------------------------------------ Liste + Filter */
.liste { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding-block: 32px 64px; align-items: start; }
.liste__filter { position: sticky; top: calc(var(--kopf-hoehe) + 16px); max-height: calc(100vh - var(--kopf-hoehe) - 32px); overflow: auto; overscroll-behavior: contain; border-radius: var(--radius); border: 1px solid var(--linie); background: #fff; scrollbar-width: thin; }
.filter__kopf { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.filter__kopf h2 { font-size: 1.1rem; margin: 0; }
.filter__schliessen { display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--flaeche); place-items: center; cursor: pointer; }
.filter__inhalt { display: grid; gap: 20px; padding: 16px 20px 20px; }
.filter__gruppe { display: grid; gap: 12px; }
.filter__gruppe--paar { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.filter__gruppe--paar .feld select { font-size: .85rem; padding-inline: 10px 30px; background-position: right 8px center; }
.filter__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filter__chips legend { font-size: .78rem; font-weight: 700; color: var(--text-leise); margin-bottom: 8px; padding: 0; text-transform: uppercase; letter-spacing: .08em; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--linie); font-size: .82rem; font-weight: 600; cursor: pointer; user-select: none; transition: border-color .15s, background .15s, color .15s, opacity .15s; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip small { font-size: .72rem; color: var(--text-leise); font-weight: 600; }
.chip:hover { border-color: var(--blau); }
.chip:has(input:checked) { background: var(--blau); border-color: var(--blau); color: #fff; }
.chip:has(input:checked) small { color: rgba(255, 255, 255, .8); }
.chip:has(input:focus-visible) { outline: 3px solid rgba(9, 71, 142, .4); outline-offset: 1px; }
.chip.ist-leer { opacity: .42; }
.chip__farbe { --farbe: #b0b6be; width: 14px; height: 14px; border-radius: 50%; background: var(--farbe); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
/* Farbwerte der mobile.de-Farben (Katalog::FARBE) — als Klassen wegen CSP ohne Inline-Styles */
.chip__farbe--beige { --farbe: #d9c9a8; } .chip__farbe--black { --farbe: #1b1c1e; } .chip__farbe--blue { --farbe: #1f4fa8; } .chip__farbe--brown { --farbe: #6b4423; } .chip__farbe--gold { --farbe: #c9a64a; } .chip__farbe--green { --farbe: #2e7d32; } .chip__farbe--grey { --farbe: #868c94; } .chip__farbe--orange { --farbe: #ef7d1a; } .chip__farbe--purple { --farbe: #6a3d9a; } .chip__farbe--red { --farbe: #c62828; } .chip__farbe--silver { --farbe: #c5cad1; } .chip__farbe--white { --farbe: #ffffff; } .chip__farbe--yellow { --farbe: #f2c500; }
.filter__chips--liste { display: grid; gap: 2px; }
.filter__chips--liste .chip { border: 0; border-radius: 8px; padding: 8px 10px 8px 36px; justify-content: space-between; }
.filter__chips--liste .chip::before { content: ""; position: absolute; left: 10px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b9c2cd; background: #fff; }
.filter__chips--liste .chip:has(input:checked) { background: var(--blau-hell); color: var(--blau); }
.filter__chips--liste .chip:has(input:checked)::before { background: var(--blau) 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--blau); }
.filter__chips--liste .chip:has(input:checked) small { color: var(--blau); }
.filter__fuss { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; border-top: 1px solid var(--linie); }
.filter__fuss [data-filter-anwenden] { display: none; }
.werkzeugleiste { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.werkzeugleiste__anzahl { margin: 0 auto 0 0; font-size: 1.05rem; }
.werkzeugleiste__anzahl strong { font-size: 1.4rem; color: var(--nacht); }
.werkzeugleiste__filter { display: none; }
.aktiv { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.aktiv a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--blau-hell); color: var(--blau); font-size: .82rem; font-weight: 600; text-decoration: none; }
.aktiv a .ic { width: 14px; height: 14px; }
.aktiv a:hover { background: var(--blau); color: #fff; }
.aktiv .aktiv__alle { background: none; color: var(--text-leise); text-decoration: underline; }
.karten--liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); transition: opacity .2s; }
.ist-laedt .karten--liste { opacity: .45; }
.leer { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border-radius: var(--radius); background: var(--flaeche); }
.leer .ic { width: 42px; height: 42px; color: var(--blau); margin: 0 auto 12px; display: block; }
.leer p { max-width: 46ch; margin-inline: auto; color: var(--text-leise); }
.mehr { display: flex; justify-content: center; margin-top: 32px; }
.wunsch { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wunsch h2 { margin-bottom: .2em; } .wunsch p { margin: 0; color: var(--text-leise); max-width: 60ch; }
.filter-schleier { display: none; }

@media (max-width: 1000px) {
  .liste { grid-template-columns: 1fr; padding-top: 20px; }
  .werkzeugleiste__filter { display: inline-flex; }
  .werkzeugleiste .feld--inline > span { display: none; }
  .liste__filter {
    position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(420px, 100%); max-height: none; height: 100dvh; border-radius: 0;
    transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); visibility: hidden; border: 0;
  }
  .liste.filter-offen .liste__filter { transform: none; visibility: visible; box-shadow: var(--schatten-hoch); }
  .filter-schleier { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(12, 22, 36, .45); }
  .filter-schleier[hidden] { display: none; }
  .filter { min-height: 100%; display: flex; flex-direction: column; }
  .filter__inhalt { flex: 1; }
  .filter__schliessen { display: grid; }
  .filter__fuss [data-filter-anwenden] { display: inline-flex; flex: 1; }
  .filter__kopf { position: sticky; top: 0; background: #fff; z-index: 1; padding-bottom: 12px; border-bottom: 1px solid var(--linie); }
}
body.ohne-scroll { overflow: hidden; }

/* ------------------------------------------------------------ Detail */
.detail { padding-block: 20px 40px; }
.pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: var(--text-leise); }
.pfad a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-leise); text-decoration: none; font-weight: 600; }
.pfad a:hover { color: var(--blau); }
.detail__oben { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.galerie__buehne { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--flaeche); }
.galerie__buehne--leer { display: grid; place-items: center; align-content: center; gap: 8px; color: #9aa6b4; }
.galerie__buehne--leer .ic { width: 72px; height: 72px; }
.galerie__bild { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .3s; }
.galerie__bild.ist-aktiv { opacity: 1; }
.galerie__bild img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.galerie__pfeil, .lichtbox__pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--nacht); display: grid; place-items: center; cursor: pointer; box-shadow: var(--schatten); z-index: 2; }
.galerie__pfeil:hover, .lichtbox__pfeil:hover { background: #fff; color: var(--blau); }
.galerie__pfeil .ic, .lichtbox__pfeil .ic { width: 24px; height: 24px; }
.galerie__pfeil--zurueck { left: 14px; } .galerie__pfeil--vor { right: 14px; }
.galerie__zaehler { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(12, 22, 36, .7); color: #fff; font-size: .8rem; font-weight: 700; z-index: 2; }
.galerie__voll { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .94); font-size: .8rem; font-weight: 700; cursor: pointer; z-index: 2; }
.galerie__leiste { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.galerie__daumen { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--flaeche); opacity: .7; scroll-snap-align: start; }
.galerie__daumen img { width: 100%; height: 100%; object-fit: cover; }
.galerie__daumen.ist-aktiv, .galerie__daumen:hover { border-color: var(--blau); opacity: 1; }
.angebot { position: sticky; top: calc(var(--kopf-hoehe) + 16px); padding: 24px; border-radius: 18px; border: 1px solid var(--linie); background: #fff; box-shadow: var(--schatten); }
.angebot__marke { margin: 0 0 4px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blau); }
.angebot__titel { font-size: 1.35rem; line-height: 1.3; margin-bottom: 16px; }
.angebot__preis { display: grid; gap: 2px; padding: 14px 0 16px; border-block: 1px solid var(--linie); margin-bottom: 16px; }
.angebot__preis strong { font-size: 2rem; font-weight: 800; color: var(--nacht); letter-spacing: -.02em; }
.angebot__preis span { font-size: .78rem; color: var(--text-leise); }
.eckdaten { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eckdaten li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--flaeche); }
.eckdaten .ic { grid-row: span 2; color: var(--blau); width: 20px; height: 20px; }
.eckdaten small { font-size: .7rem; color: var(--text-leise); font-weight: 600; }
.eckdaten strong { font-size: .88rem; line-height: 1.3; }
.angebot__aktionen { display: grid; gap: 10px; }
.angebot__standort { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; font-size: .82rem; color: var(--text-leise); }
.angebot__fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: .82rem; }
.angebot__fuss a { display: inline-flex; gap: 6px; align-items: center; color: var(--text-leise); font-weight: 600; text-decoration: none; }
.angebot__fuss a:hover { color: var(--blau); }
.detail__unten { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 40px; align-items: start; }
.detail__haupt { display: grid; gap: 24px; }
.block { padding: clamp(20px, 3vw, 28px); border-radius: 18px; border: 1px solid var(--linie); background: #fff; }
.block h2 { font-size: 1.2rem; margin-bottom: 16px; }
.block--anfrage { position: sticky; top: calc(var(--kopf-hoehe) + 16px); background: var(--flaeche); border: 0; }
.block--anfrage > p { color: var(--text-leise); font-size: .92rem; }
.block--anfrage .anfrage { box-shadow: none; padding: 0; border: 0; background: none; }
.block--anfrage .anfrage__raster { grid-template-columns: 1fr; }
.datentabelle { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.datentabelle div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: .9rem; }
.datentabelle dt { color: var(--text-leise); } .datentabelle dd { margin: 0; font-weight: 600; text-align: right; }
.ausstattung { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.ausstattung li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .9rem; break-inside: avoid; }
.ausstattung .ic { color: var(--gruen); margin-top: 3px; width: 16px; height: 16px; }
.beschreibung { font-size: .92rem; line-height: 1.7; color: #3d3c3b; overflow-wrap: anywhere; }
.co2 { display: flex; gap: 4px; margin: 16px 0 8px; }
.co2__stufe { flex: 1; text-align: center; padding: 6px 0; border-radius: 6px; color: #fff; font-weight: 800; font-size: .85rem; opacity: .35; }
.co2__stufe.ist-aktiv { opacity: 1; transform: scaleY(1.2); box-shadow: 0 0 0 2px var(--nacht); }
.co2__stufe--a { background: #0e8a3e; } .co2__stufe--b { background: #3fa535; } .co2__stufe--c { background: #9bc31f; } .co2__stufe--d { background: #f2c500; color: var(--nacht); } .co2__stufe--e { background: #f39200; } .co2__stufe--f { background: #e3501c; } .co2__stufe--g { background: #c4161c; }
@media (max-width: 1000px) {
  .detail__oben, .detail__unten { grid-template-columns: 1fr; }
  .angebot, .block--anfrage { position: static; }
}
@media (max-width: 640px) { .datentabelle { grid-template-columns: 1fr; } .ausstattung { columns: 1; } .galerie__pfeil { display: none; } }

.lichtbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 12, 20, .96); }
.lichtbox[open] { display: grid; place-items: center; }
.lichtbox::backdrop { background: rgba(6, 12, 20, .9); }
.lichtbox img { max-width: 94vw; max-height: 86dvh; object-fit: contain; border-radius: 8px; }
.lichtbox__zu { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lichtbox__pfeil--zurueck { left: 16px; } .lichtbox__pfeil--vor { right: 16px; }
.lichtbox__zaehler { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: .9rem; }

/* ------------------------------------------------------------ Textseiten */
.text { max-width: 820px; }
.text h2 { font-size: 1.2rem; margin-top: 1.8em; }
.text h2:first-child { margin-top: 0; }
.text p { color: #3d3c3b; }
.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 0 0 8px; display: grid; gap: 18px; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.schritte li::before { content: counter(schritt); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blau); color: #fff; font-weight: 800; }
.schritte span { color: var(--text-leise); font-size: .92rem; }

/* ------------------------------------------------------------ Fuß */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, .78); padding-top: 56px; font-size: .9rem; }
.fuss a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 40px; }
.fuss__marke p { margin-top: 16px; max-width: 30ch; }
.fuss__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fuss__liste a { display: flex; gap: 10px; align-items: flex-start; }
.fuss__liste .ic { margin-top: 3px; color: #9ec3ef; }
.fuss__liste--schlicht { gap: 8px; }
.fuss__marken { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fuss__marken a { display: inline-block; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: .82rem; }
.fuss__marken a:hover { background: var(--blau); text-decoration: none; }
.fuss__marken span { color: rgba(255, 255, 255, .5); }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 960px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss__raster { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Aktionsleiste mobil */
.aktionsleiste { display: none; }
@media (max-width: 760px) {
  .aktionsleiste { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -6px 24px rgba(12, 22, 36, .08); padding-bottom: env(safe-area-inset-bottom); }
  .aktionsleiste a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 8px; font-size: .7rem; font-weight: 700; color: var(--nacht); text-decoration: none; }
  .aktionsleiste a .ic { width: 22px; height: 22px; color: var(--blau); }
  .aktionsleiste a:first-child { background: var(--blau); color: #fff; }
  .aktionsleiste a:first-child .ic { color: #fff; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .kopf, .aktionsleiste, .fuss, .liste__filter, .galerie__leiste, .block--anfrage, .angebot__aktionen { display: none !important; }
}

/* ------------------------------------------------------------ Bild nicht verfügbar */
.bild-fehlt, .karte__ohnebild, .galerie__buehne--leer {
  background: #e9eef4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b6c6' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9L18 10l-2.7-3.6A2 2 0 0 0 13.7 6H8.3a2 2 0 0 0-1.6.8L4 10.4l-1.5.4C1.7 11.1 1 11.9 1 12.8V16c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E") center 42% / 34% auto no-repeat;
}
.bild-fehlt img { visibility: hidden; }
.karte__ohnebild .ic, .galerie__buehne--leer .ic { display: none; }
.karte__bild.bild-fehlt::after, .galerie__bild.bild-fehlt::after, .karte__ohnebild::after {
  content: "Foto folgt"; position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-size: .78rem; font-weight: 600; color: #8796a8; letter-spacing: .04em;
}
.karte__ohnebild { position: relative; display: block; height: 100%; }
.galerie__daumen.bild-fehlt { background-size: 60% auto; }
