/* =============================================================================
   HomepageNeu – Gestaltung der öffentlichen Website (Bootstrap 5.3 als Grundlage)
   Schriften: Fraunces (Überschriften), Inter (Text) – lokal
   ============================================================================= */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
/* Inter als variable Schrift (eine Datei für 400–700, 48 KB statt 4 × 24 KB); Fraunces statisch, weil nur 400/500 genutzt werden */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
    --bs-focus-ring-color: transparent;           /* kein blauer Bootstrap-Fokusschatten, Rahmen siehe :focus-visible */
    --tinte: #0f1c2a;
    --tinte-2: #3c4b5c;
    --tinte-3: #5f6a79;
    --papier: #f7f5f0;
    --papier-2: #efebe3;
    --weiss: #ffffff;
    --linie: #e3ded3;
    --akzent: #137266;
    --akzent-dunkel: #0d564d;
    --akzent-hell: #e1efea;
    --sand: #e9c891;
    --sand-hell: #f8eedd;
    --koralle: #d9694a;
    --radius: 18px;
    --radius-gross: 28px;
    --schatten: 0 1px 2px rgba(15, 28, 42, .04), 0 8px 24px rgba(15, 28, 42, .06);
    --schatten-gross: 0 2px 4px rgba(15, 28, 42, .04), 0 24px 60px rgba(15, 28, 42, .12);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --bs-body-font-family: var(--sans);
    --bs-body-color: var(--tinte);
    --bs-body-bg: var(--papier);
    --bs-link-color: var(--akzent);
    --bs-link-color-rgb: 19, 114, 102;
    --bs-link-hover-color: var(--akzent-dunkel);
    --bs-link-hover-color-rgb: 13, 86, 77;
    --bs-border-color: var(--linie);
    --bs-emphasis-color: var(--tinte);
    --bs-secondary-color: var(--tinte-2);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, .display-titel { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; color: var(--tinte); }
h1 em, h2 em, .display-titel em { font-style: italic; font-weight: 400; color: var(--akzent); }
h4, h5, h6 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
p { color: var(--tinte-2); }
strong { font-weight: 600; color: var(--tinte); }
::selection { background: var(--akzent-hell); color: var(--tinte); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
/* Bootstrap setzt bei Buttons, Menüpunkten, FAQ und Formularfeldern outline: 0 und nur einen blassen Schatten (unter 3:1, WCAG 2.2).
   Deshalb dort derselbe Rahmen mit höherer Spezifität. */
.nav-link:focus-visible, .btn:focus-visible, .btn-close:focus-visible, .navbar-toggler:focus-visible, .accordion-button:focus-visible,
.form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; box-shadow: none; }
.form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible { outline-offset: 1px; }
.accordion-button:focus { box-shadow: none; }
/* Auf dunklen Flächen ist der grüne Fokusrahmen zu schwach (muss nach den Regeln oben stehen) */
.fuss :focus-visible, .abschnitt-dunkel :focus-visible, .cta-band :focus-visible, .preis-karte.empfohlen :focus-visible { outline-color: var(--sand); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--tinte); color: #fff; padding: .6rem 1rem; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* --- Logo ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--tinte); }
.logo-marke { width: 36px; height: 36px; flex: none; color: var(--tinte); }
.logo-funke { fill: var(--sand); }
.logo-wort { font-family: var(--sans); font-weight: 700; font-size: 1.28rem; letter-spacing: -.035em; line-height: 1; }
.logo-wort em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--akzent); letter-spacing: -.01em; margin-left: .05em; font-size: 1.12em; }
.logo-hell, .logo-hell .logo-marke { color: #fff; }
.logo-hell .logo-marke rect { fill: var(--akzent); }
.logo-hell .logo-wort em { color: var(--sand); }

/* --- Symbole (SVG-Sprite /assets/img/icons.svg, Größe über font-size) ---------- */
.bi { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; overflow: visible; }
.ib .bi { vertical-align: 0; }

/* --- Kopf (sticky) ----------------------------------------------------------- */
/* Weichzeichner auf ::before: backdrop-filter am Kopf selbst würde das Offcanvas-Menü (position: fixed) an den Kopf binden */
.kopf { position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 245, 240, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: background .25s ease; }
.kopf .navbar { padding: 1.05rem 0; transition: padding .25s ease; }
.kopf.gescrollt { border-bottom-color: var(--linie); box-shadow: 0 6px 24px rgba(15, 28, 42, .06); }
.kopf.gescrollt::before { background: rgba(255, 255, 255, .9); }
.kopf.gescrollt .navbar { padding: .55rem 0; }
.kopf .navbar-brand { padding: 0; margin-right: 1.5rem; }
.kopf .nav-link { color: var(--tinte-2); font-weight: 500; font-size: .97rem; padding: .5rem .85rem !important; border-radius: 10px; transition: color .15s, background .15s; }
.kopf .nav-link:hover, .kopf .nav-link.active { color: var(--tinte); background: rgba(15, 28, 42, .05); }
.kopf-aktionen { display: flex; align-items: center; gap: .5rem; }
.kopf-aktionen .btn { white-space: nowrap; }
.kopf-konto, .kopf-telefon { white-space: nowrap; }
.kopf-konto .bi, .kopf-telefon .bi { margin-right: .3rem; }
.kopf-telefon { font-variant-numeric: tabular-nums; }
@media (min-width: 992px) {
    /* Desktop: Kundenbereich nur als Symbol (Text nur für Screenreader), Telefon erst ab 1200 px */
    .kopf-konto { font-size: 1.35rem !important; line-height: 1; padding: .45rem .55rem !important; }
    .kopf-konto .bi { margin: 0; }
    .kopf-konto-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .kopf-telefon { font-size: .93rem !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .kopf-telefon { display: none; } }
@media (min-width: 992px) { .kopf .offcanvas-body { align-items: center; } }
.navbar-toggler { border: 0; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 12px; }
.navbar-toggler:focus { box-shadow: none; }
/* Anruf-Knopf im Handy-Kopf (bis 991 px, daneben der Menü-Knopf) */
.kopf-anruf { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: .35rem; border-radius: 50%; color: var(--akzent); background: var(--akzent-hell); }
.kopf-anruf:hover { color: var(--akzent-dunkel); }
.kopf-anruf .bi { width: 20px; height: 20px; }
.toggler-strich { display: block; width: 22px; height: 2px; background: var(--tinte); border-radius: 2px; }
@media (max-width: 991.98px) {
    .offcanvas { background: var(--papier); width: min(360px, 88vw) !important; }
    .offcanvas .navbar-nav .nav-link { font-size: 1.15rem; padding: .8rem 1rem !important; }
    .kopf-aktionen { flex-direction: column; align-items: stretch; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
    .kopf-aktionen .btn { padding: .9rem 1rem; }
}

/* --- Knöpfe ------------------------------------------------------------------ */
.btn { --bs-btn-font-weight: 600; --bs-btn-border-radius: 999px; --bs-btn-padding-x: 1.35rem; --bs-btn-padding-y: .7rem; --bs-btn-font-size: .98rem; letter-spacing: -.005em; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s; }
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .95rem; --bs-btn-font-size: 1.04rem; }
.btn-akzent { --bs-btn-color: #fff; --bs-btn-bg: var(--akzent); --bs-btn-border-color: var(--akzent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--akzent-dunkel); --bs-btn-hover-border-color: var(--akzent-dunkel); --bs-btn-active-bg: var(--akzent-dunkel); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--akzent); --bs-btn-disabled-border-color: var(--akzent); box-shadow: 0 6px 18px rgba(19, 114, 102, .25); }
.btn-akzent:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(19, 114, 102, .3); }
.btn-tinte { --bs-btn-color: #fff; --bs-btn-bg: var(--tinte); --bs-btn-border-color: var(--tinte); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #1d3044; --bs-btn-hover-border-color: #1d3044; --bs-btn-active-bg: #1d3044; --bs-btn-active-color: #fff; }
.btn-rahmen { --bs-btn-color: var(--tinte); --bs-btn-bg: transparent; --bs-btn-border-color: rgba(15, 28, 42, .2); --bs-btn-hover-color: var(--tinte); --bs-btn-hover-bg: var(--weiss); --bs-btn-hover-border-color: var(--tinte); --bs-btn-active-bg: var(--weiss); --bs-btn-active-color: var(--tinte); }
.btn-hell { --bs-btn-color: var(--tinte); --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-color: var(--tinte); --bs-btn-hover-bg: var(--sand-hell); --bs-btn-hover-border-color: var(--sand-hell); --bs-btn-active-bg: var(--sand-hell); --bs-btn-active-color: var(--tinte); }
.btn .bi { margin-left: .35rem; transition: transform .2s; }
.btn:hover .bi-arrow-right { transform: translateX(3px); }

/* --- Abschnitte -------------------------------------------------------------- */
.abschnitt { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.abschnitt-weiss { background: var(--weiss); }
.abschnitt-sand { background: var(--papier-2); }
.abschnitt-dunkel { background: var(--tinte); color: #d6dde6; }
.abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: #fff; }
.abschnitt-dunkel h2 em { color: var(--sand); }
.abschnitt-dunkel p { color: #b7c2cf; }
.ueberzeile { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); margin-bottom: 1.1rem; }
.ueberzeile::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.abschnitt-dunkel .ueberzeile { color: var(--sand); }
.abschnitt-titel { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1.1rem; }
.abschnitt-einleitung { font-size: 1.15rem; max-width: 640px; }
.kopfzeile-mitte { text-align: center; margin: 0 auto 3.5rem; max-width: 760px; }
.kopfzeile-mitte .abschnitt-einleitung { margin: 0 auto; }

/* --- Hero -------------------------------------------------------------------- */
.hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(19, 114, 102, .11), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -15%; bottom: -35%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; background: radial-gradient(closest-side, rgba(233, 200, 145, .22), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-titel { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.hero-text { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 560px; margin-bottom: 2.2rem; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-punkte { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem; padding: 0; list-style: none; font-size: .93rem; color: var(--tinte-2); }
.hero-punkte li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-punkte .bi { color: var(--akzent); }
.hero-nebenweg { margin: 1rem 0 0; font-size: .95rem; color: var(--tinte-2); }
.hero-nebenweg a { font-weight: 600; white-space: nowrap; }
.hero-ansprechpartner { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; padding: .35rem 1rem .35rem .35rem; border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie); font-size: .9rem; color: var(--tinte-2); text-decoration: none; box-shadow: var(--schatten); transition: border-color .2s; }
.hero-ansprechpartner:hover { border-color: var(--akzent); color: var(--tinte-2); }
.hero-ansprechpartner .portraet-platzhalter { font-size: .8rem; }
/* Am Handy steht die Zeile am unteren Rand des ersten Bildschirms und würde erst nach dem Scrollen einblenden: sofort zeigen */
@media (max-width: 991.98px) { .hero-ansprechpartner.einblenden { opacity: 1; transform: none; transition: border-color .2s; } }
.etikett { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie); font-size: .86rem; font-weight: 500; color: var(--tinte-2); margin-bottom: 1.6rem; box-shadow: var(--schatten); }
.etikett b { background: var(--akzent-hell); color: var(--akzent-dunkel); border-radius: 999px; padding: .12rem .55rem; font-size: .76rem; font-weight: 600; }

/* Hero-Grafik: Analyse-Karte vorher/nachher */
.hero-grafik { position: relative; max-width: 520px; margin: 0 auto; }
.analyse-karte { background: var(--weiss); border-radius: var(--radius-gross); box-shadow: var(--schatten-gross); padding: 1.6rem 1.6rem 2.8rem; border: 1px solid rgba(15, 28, 42, .05); position: relative; }
.analyse-kopf { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--linie); margin-bottom: 1.2rem; }
.analyse-kopf .punkte { display: inline-flex; gap: 5px; }
.analyse-kopf .punkte span { width: 9px; height: 9px; border-radius: 50%; background: var(--linie); }
.analyse-kopf .adresse { flex: 1; background: var(--papier); border-radius: 999px; padding: .35rem .9rem; font-size: .82rem; color: var(--tinte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.analyse-inhalt { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; }
.ring { --wert: 0; --farbe: var(--akzent); width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--farbe) calc(var(--wert) * 1%), var(--papier-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--weiss); }
.ring span { position: relative; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; line-height: 1; }
.ring small { position: absolute; bottom: 26px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-3); }
.balken-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.balken-liste li { display: grid; grid-template-columns: 1fr auto; gap: .25rem .8rem; font-size: .86rem; font-weight: 500; color: var(--tinte-2); }
.balken-liste .wert { font-variant-numeric: tabular-nums; color: var(--tinte); font-weight: 600; }
.balken { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: var(--papier-2); overflow: hidden; }
.balken i { display: block; height: 100%; border-radius: inherit; background: var(--akzent); width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.balken i.schwach { background: var(--koralle); }
.balken i.mittel { background: var(--sand); }
.hero-plakette { position: absolute; background: var(--weiss); border-radius: 16px; box-shadow: var(--schatten-gross); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; font-size: .86rem; font-weight: 500; line-height: 1.3; }
.hero-plakette .ib { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; flex: none; }
.hero-plakette small { display: block; color: var(--tinte-3); font-weight: 400; }
.plakette-oben { top: -26px; right: -18px; }
.plakette-oben .ib { background: var(--akzent-hell); color: var(--akzent); }
.plakette-unten { bottom: -30px; left: -26px; }
.plakette-unten .ib { background: var(--sand-hell); color: #a3712a; }
@media (max-width: 575.98px) {
    .analyse-inhalt { grid-template-columns: 1fr; justify-items: center; }
    .balken-liste { width: 100%; }
    .plakette-oben { right: -4px; top: -30px; }
    .plakette-unten { left: -4px; }
}

/* --- Leiste mit Versprechen ---------------------------------------------------- */
.leiste { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--weiss); padding: 1.6rem 0; }
.leiste ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 2rem; }
.leiste li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; font-size: .95rem; color: var(--tinte-2); }
.leiste .bi { color: var(--akzent); font-size: 1.15rem; }

/* --- Karten ---------------------------------------------------------------------- */
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 2rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; position: relative; }
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-gross); border-color: transparent; }
.karte h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.karte p { margin-bottom: 0; font-size: 1rem; }
.symbol { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; background: var(--akzent-hell); color: var(--akzent); margin-bottom: 1.4rem; }
.symbol.sand { background: var(--sand-hell); color: #a3712a; }
.symbol.tinte { background: var(--tinte); color: #fff; }
.karte-liste { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .45rem; font-size: .95rem; color: var(--tinte-2); }
.karte-liste li { display: flex; gap: .55rem; }
.karte-liste .bi { color: var(--akzent); margin-top: .1rem; }

/* Kriterien der Analyse */
.kriterium { display: flex; gap: 1.2rem; padding: 1.6rem 0; border-top: 1px solid var(--linie); }
.kriterium:first-child { border-top: 0; }
.kriterium .nummer { font-family: var(--serif); font-size: 1rem; color: var(--akzent); min-width: 2.2rem; padding-top: .2rem; }
.kriterium h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.kriterium p { margin: 0; font-size: 1rem; }
.kriterium .gewicht { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--tinte-3); white-space: nowrap; padding-top: .35rem; }

/* --- Ablauf ------------------------------------------------------------------------ */
.schritte { counter-reset: schritt; display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); position: relative; }
.schritte::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 8px, transparent 8px 16px); }
.schritt { position: relative; text-align: center; padding: 0 .5rem; }
.schritt .kreis { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.4rem; background: var(--tinte); border: 2px solid var(--sand); color: var(--sand); font-family: var(--serif); font-size: 1.35rem; position: relative; z-index: 1; }
.schritt h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.schritt p { font-size: .98rem; margin: 0; }
.schritt .marke { display: inline-block; margin-bottom: .7rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte); background: var(--sand); padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 991.98px) {
    .schritte { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
    .schritte::before { display: none; }
}
@media (max-width: 575.98px) {
    .schritte { grid-template-columns: 1fr; text-align: left; }
    .schritt { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; text-align: left; padding: 0; }
    .schritt .kreis { margin: 0; grid-row: span 3; }
}

/* --- Beispiele ------------------------------------------------------------------------ */
.beispiel { display: block; text-decoration: none; color: inherit; border-radius: var(--radius-gross); background: var(--weiss); border: 1px solid var(--linie); overflow: hidden; height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.beispiel:hover { transform: translateY(-4px); box-shadow: var(--schatten-gross); color: inherit; }
.beispiel-bild { position: relative; aspect-ratio: 16 / 10; background: var(--papier-2); overflow: hidden; padding: 1.4rem 1.4rem 0; }
.beispiel-bild .geraet { position: relative; height: 100%; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -2px 30px rgba(15, 28, 42, .15); background: #fff; }
.beispiel-bild .geraet::before { content: ""; display: block; height: 22px; background: #f1efe9 radial-gradient(circle at 14px 11px, #e0dcd2 4px, transparent 4.5px) , #f1efe9; }
.beispiel-bild img { width: 100%; height: calc(100% - 22px); object-fit: cover; object-position: top; transition: transform 6s ease; }
.beispiel:hover .beispiel-bild img { transform: translateY(-4%); }
.beispiel-text { padding: 1.7rem 1.8rem 1.9rem; }
.beispiel-text h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.beispiel-text p { margin-bottom: 1rem; font-size: 1rem; }
.mehr-link { font-weight: 600; color: var(--akzent); display: inline-flex; align-items: center; gap: .4rem; }
.mehr-link .bi { transition: transform .2s; }
.beispiel:hover .mehr-link .bi, .mehr-link:hover .bi { transform: translateX(4px); }
.marken { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.marken span { font-size: .76rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--papier); color: var(--tinte-2); }

/* --- Preise -------------------------------------------------------------------------------- */
.preis-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 2.4rem 2rem 2rem; height: 100%; display: flex; flex-direction: column; position: relative; }
.preis-karte.empfohlen { background: var(--tinte); border-color: var(--tinte); color: #d6dde6; box-shadow: var(--schatten-gross); }
.preis-karte.empfohlen h3, .preis-karte.empfohlen .preis { color: #fff; }
.preis-karte.empfohlen p, .preis-karte.empfohlen .karte-liste { color: #b7c2cf; }
.preis-karte.empfohlen .karte-liste .bi { color: var(--sand); }
.preis-karte.empfohlen .preis-monat { color: #b7c2cf; border-color: rgba(255, 255, 255, .14); }
.preis-karte.empfohlen .preis-monat strong { color: #fff; }
.preis-band { position: absolute; top: -13px; left: 2rem; background: var(--sand); color: var(--tinte); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .32rem .8rem; border-radius: 999px; }
.preis-karte h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.preis-karte > p { font-size: .97rem; min-height: 3.2em; }
.preis { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; margin: 1rem 0 .3rem; color: var(--tinte); letter-spacing: -.02em; }
.preis small { font-family: var(--sans); font-size: .92rem; font-weight: 500; letter-spacing: 0; color: inherit; opacity: .7; margin-left: .2rem; }
.preis-hinweis { font-size: .85rem; color: var(--tinte-3); }
.preis-monat { margin: 1.2rem 0 .4rem; padding: .9rem 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font-size: .93rem; color: var(--tinte-2); }
.preis-karte .karte-liste { flex: 1; align-content: start; margin-bottom: 1.8rem; }
.preis-fussnote { font-size: .88rem; color: var(--tinte-3); text-align: center; margin-top: 2rem; }

/* --- Zitat / Technik ------------------------------------------------------------------------ */
.technik-punkt { display: flex; gap: 1rem; }
.technik-punkt .bi { font-size: 1.35rem; color: var(--sand); margin-top: .1rem; }
.technik-punkt h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; margin-bottom: .3rem; }
.technik-punkt p { font-size: .97rem; margin: 0; }
.zahl-kachel { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.6rem; height: 100%; }
.zahl-kachel strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: #fff; line-height: 1.05; }
.zahl-kachel span { font-size: .93rem; color: #b7c2cf; }

/* --- FAQ ---------------------------------------------------------------------------------------- */
.faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--linie); }
.faq .accordion-button { background: transparent; box-shadow: none; padding: 1.4rem 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--tinte); }
.faq .accordion-button:not(.collapsed) { color: var(--akzent); }
.faq .accordion-button::after { background-image: none; content: "+"; font-family: var(--sans); font-size: 1.6rem; font-weight: 300; width: auto; height: auto; transform: none; transition: transform .25s; color: var(--akzent); }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq .accordion-body { padding: 0 0 1.5rem; color: var(--tinte-2); }

/* --- CTA-Band ---------------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--akzent) 0%, #0b4c44 100%); border-radius: var(--radius-gross); padding: clamp(2.5rem, 6vw, 4.5rem); color: #d7ece7; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.cta-band h2 em { color: var(--sand); }
.cta-band p { color: #cfe6e0; font-size: 1.1rem; }

/* --- Ansprechpartner und Über uns ------------------------------------------------------------- */
/* Platzhalter, bis /assets/img/jens-menzenbach.jpg vorliegt (siehe web_portraet()) */
.portraet { border-radius: 50%; object-fit: cover; flex: none; background: var(--akzent-hell); }
.portraet-platzhalter { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--akzent) 0%, #0b4c44 100%); color: var(--sand); font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: .02em; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5); }
.ansprechpartner { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--papier); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.ansprechpartner strong { display: block; font-size: 1.05rem; }
.ansprechpartner .rolle { display: block; font-size: .88rem; color: var(--tinte-3); margin-bottom: .5rem; }
.ansprechpartner p { margin: 0; font-size: .97rem; font-style: italic; }
/* Samstags-Erreichbarkeit als besonderer Service (Kontaktbereich der Startseite) */
.samstag-service { display: flex; gap: 1rem; align-items: flex-start; background: var(--sand-hell); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.samstag-service .ib { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--weiss); color: #a3712a; flex: none; }
.samstag-service strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.samstag-service p { margin: 0; font-size: .95rem; color: var(--tinte-2); }
.fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fakt { background: var(--weiss); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--linie); }
.fakt strong { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--akzent); margin-bottom: .5rem; }
.fakt span { font-size: .95rem; color: var(--tinte-2); }
.fakt-breit { grid-column: 1 / -1; display: flex; align-items: center; gap: .7rem; }
.fakt-breit .bi { color: var(--akzent); font-size: 1.2rem; }

/* --- Formulare ---------------------------------------------------------------------------------- */
.formular-karte { background: var(--weiss); border-radius: var(--radius-gross); box-shadow: var(--schatten-gross); padding: clamp(1.6rem, 4vw, 2.8rem); border: 1px solid rgba(15, 28, 42, .04); }
.form-label { font-weight: 500; font-size: .93rem; color: var(--tinte); margin-bottom: .4rem; }
.form-label .optional { font-weight: 400; color: var(--tinte-3); }
.form-control, .form-select { border-radius: 12px; border-color: #d8d2c6; padding: .8rem 1rem; font-size: 1rem; background-color: #fff; transition: border-color .15s, box-shadow .15s; }
.form-control:focus, .form-select:focus { border-color: var(--akzent); box-shadow: 0 0 0 4px rgba(19, 114, 102, .14); }
.form-control-lg { padding: 1rem 1.2rem; font-size: 1.08rem; border-radius: 14px; }
.form-text { color: var(--tinte-3); font-size: .86rem; }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .2em; border-color: #c9c2b4; }
.form-check-input:checked { background-color: var(--akzent); border-color: var(--akzent); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(19, 114, 102, .14); border-color: var(--akzent); }
.form-check-label { font-size: .93rem; color: var(--tinte-2); }
.feld-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feld-fehler { display: none; color: #b42318; font-size: .86rem; margin-top: .35rem; }
.ist-fehler .form-control, .ist-fehler .form-select { border-color: #d92d20; }
.ist-fehler .feld-fehler { display: block; }
.formular-meldung { display: none; border-radius: 14px; padding: 1rem 1.2rem; font-size: .95rem; margin-bottom: 1.2rem; }
.formular-meldung.fehler { display: block; background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.erfolg { text-align: center; padding: 1.5rem .5rem; }
.erfolg .meldung-symbol { margin-bottom: 1.2rem; }
.erfolg h2, .erfolg h3 { font-size: 1.8rem; }
.btn .lade { display: none; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: drehen .7s linear infinite; margin-right: .5rem; vertical-align: -.15em; }
.btn.laedt .lade { display: inline-block; }
@keyframes drehen { to { transform: rotate(360deg); } }
.vorteil-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.vorteil-liste li { display: flex; gap: .85rem; }
.vorteil-liste .ib { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--akzent-hell); color: var(--akzent); flex: none; }
.vorteil-liste strong { display: block; }
.vorteil-liste span { color: var(--tinte-2); font-size: .97rem; }
.hinweis-box { display: flex; gap: .8rem; background: var(--sand-hell); border-radius: 14px; padding: 1rem 1.2rem; font-size: .92rem; color: #6b4e1f; }
.hinweis-box .bi { font-size: 1.1rem; margin-top: .05rem; }

/* --- Seitenkopf der Unterseiten ------------------------------------------------------------------ */
.seitenkopf { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.seitenkopf::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(19, 114, 102, .1), transparent 70%); pointer-events: none; }
.seitenkopf .container { position: relative; }
.seitenkopf h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.02em; margin-bottom: 1.1rem; }
.seitenkopf p.lead { font-size: 1.2rem; max-width: 640px; color: var(--tinte-2); }

/* --- Ergebnis der Analyse --------------------------------------------------------------------- */
.fortschritt-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.fortschritt-liste li { display: flex; align-items: center; gap: .9rem; padding: .7rem .4rem; color: var(--tinte-3); font-weight: 500; transition: color .2s; }
.fortschritt-liste .zustand { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--linie); display: grid; place-items: center; flex: none; font-size: .85rem; }
.fortschritt-liste li.laeuft { color: var(--tinte); }
.fortschritt-liste li.laeuft .zustand { border-color: var(--akzent); border-right-color: transparent; animation: drehen .9s linear infinite; }
.fortschritt-liste li.fertig { color: var(--tinte-2); }
.fortschritt-liste li.fertig .zustand { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.fortschritt-liste li.fehler .zustand { background: #d92d20; border-color: #d92d20; color: #fff; }
.ergebnis-kopf { display: grid; grid-template-columns: auto 1fr; gap: 2.2rem; align-items: center; }
.ergebnis-kopf .ring { width: 168px; height: 168px; }
.ergebnis-kopf .ring::before { inset: 14px; }
.ergebnis-kopf .ring span { font-size: 3.3rem; }
.ergebnis-kopf .ring small { bottom: 34px; }
@media (max-width: 575.98px) { .ergebnis-kopf { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.teilnoten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.teilnote { background: var(--papier); border-radius: var(--radius); padding: 1.2rem; }
.teilnote strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.teilnote span { font-size: .86rem; color: var(--tinte-2); font-weight: 500; }
.teilnote .balken { display: block; margin-top: .7rem; }
@media (max-width: 575.98px) { .teilnoten { grid-template-columns: 1fr 1fr; } }
.befund { display: flex; gap: .9rem; padding: 1.1rem 0; border-top: 1px solid var(--linie); }
.befund:first-child { border-top: 0; }
.befund .ib { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 1rem; }
.befund .gut { background: var(--akzent-hell); color: var(--akzent); }
.befund .mittel { background: var(--sand-hell); color: #a3712a; }
.befund .schlecht { background: #fdebe6; color: #b5462a; }
.befund p { margin: 0; color: var(--tinte); font-size: 1rem; }
.befund small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-3); margin-bottom: .15rem; }
.screens { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.screens figure { margin: 0; }
.screens img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--linie); box-shadow: var(--schatten); background: #fff; }
.screens figure + figure { width: 58%; margin: 0 auto; }
.screens figure + figure img { aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid var(--tinte); }
.screens figcaption { font-size: .82rem; color: var(--tinte-3); margin-top: .5rem; text-align: center; }
@media (min-width: 576px) and (max-width: 991.98px) { .screens { grid-template-columns: 1fr 200px; align-items: start; } .screens figure + figure { width: auto; } }

/* --- Meldungen ------------------------------------------------------------------------------------ */
.abschnitt-meldung { min-height: 60vh; display: flex; align-items: center; }
.meldung-karte { max-width: 620px; margin: 0 auto; text-align: center; background: var(--weiss); border-radius: var(--radius-gross); box-shadow: var(--schatten-gross); padding: clamp(2rem, 5vw, 3.5rem); }
.meldung-karte h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.meldung-karte p { font-size: 1.08rem; margin-bottom: 1.8rem; }
.meldung-symbol { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 1.6rem; background: var(--akzent-hell); color: var(--akzent); font-size: 2rem; }

/* --- Rechtstexte ---------------------------------------------------------------------------------- */
.rechtstext { max-width: 780px; }
.rechtstext h2 { font-size: 1.6rem; margin: 2.8rem 0 .9rem; }
.rechtstext h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; margin: 1.8rem 0 .5rem; letter-spacing: -.005em; }
.rechtstext p, .rechtstext li { color: var(--tinte-2); }
.rechtstext address { font-style: normal; line-height: 1.7; }
.rechtstext .karte { padding: 1.6rem 1.8rem; }

/* --- Fuß ---------------------------------------------------------------------------------------- */
.fuss { background: var(--tinte); color: #b7c2cf; padding: 4.5rem 0 2rem; font-size: .95rem; }
.fuss-logo { display: inline-block; margin-bottom: 1.2rem; text-decoration: none; }
.fuss-text { color: #9aa7b6; max-width: 360px; }
.fuss-titel { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.fuss-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fuss a { color: #c9d2dc; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #8b98a8; }
.fuss-rechtliches { display: flex; gap: 1.4rem; }
.fuss-zeiten { display: block; font-size: .85rem; color: #8b98a8; }
/* Handy: Tippflächen mind. 44 px hoch (WCAG 2.2 verlangt 24 px) */
@media (max-width: 767.98px) {
    .fuss-liste { gap: 0; }
    .fuss a, .kontakt-link { display: inline-flex; align-items: center; min-height: 44px; }
    .fuss-zeiten { margin-top: -.5rem; margin-bottom: .4rem; }
    .form-check-label a { display: inline-block; padding: .35rem 0; }
}

/* --- Einblenden beim Scrollen ----------------------------------------------------------------------- */
.einblenden { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.einblenden.sichtbar { opacity: 1; transform: none; }
.verzoegert-1 { transition-delay: .08s; }
.verzoegert-2 { transition-delay: .16s; }
.verzoegert-3 { transition-delay: .24s; }
/* Ohne JavaScript blendet niemand ein: Inhalte sofort zeigen (vorher blieben sie unsichtbar) */
@media (scripting: none) { .einblenden { opacity: 1; transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .einblenden { opacity: 1; transform: none; transition: none; }
    .btn, .karte, .beispiel, .balken i, .beispiel-bild img { transition: none; }
}

/* --- Preismodell: Umschalter Kaufen / Mieten (seit 30.10.2026) ----------------- */
.modell-wahl { display: flex; width: fit-content; margin: 0 auto 2rem; padding: .3rem; gap: .25rem; background: var(--papier-2); border: 1px solid var(--linie); border-radius: 999px; }
.modell-wahl[hidden] { display: none; }
.modell-knopf { min-width: 8rem; min-height: 44px; padding: .55rem 1.4rem; border: 0; border-radius: 999px; background: transparent; color: var(--tinte-2); font-weight: 600; cursor: pointer; }
.modell-knopf[aria-pressed="true"] { background: var(--weiss); color: var(--tinte); box-shadow: var(--schatten); }
.modell-knopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

/* --- Preisblöcke in den Karten ------------------------------------------------- */
.preis-block[hidden] { display: none; }
.preis-brutto { margin-top: .15rem; font-size: .85rem; color: var(--tinte-3); }
.preis-brutto-inline { color: var(--tinte-3); font-size: .85em; white-space: nowrap; }
.preis-karte.empfohlen .preis-brutto, .preis-karte.empfohlen .preis-brutto-inline { color: rgba(255, 255, 255, .78); }

/* --- Infobox Mietkauf ------------------------------------------------------------ */
.mietkauf-box { max-width: 820px; margin: 2.5rem auto 0; padding: 1.5rem 1.75rem; background: var(--akzent-hell); border-radius: var(--radius); }
.mietkauf-box h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.mietkauf-box p { margin-bottom: .6rem; }
.mietkauf-box p:last-child { margin-bottom: 0; }
.accordion-body p:last-child, .accordion-body ul:last-child { margin-bottom: 0; }
