/* Ullrich Immobilien & Invest – Stylesheet (ohne Abhängigkeiten)
   Farben: Dunkelblau #14374d, Gold #d1b47f, hell #f7f1e6 (wie die Landingpages) */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --blau: #14374d;
  --blau-tief: #0e2838;
  --gold: #d1b47f;
  --gold-dunkel: #b8995f;
  --hell: #f7f1e6;
  --text: #1f2933;
  --gedaempft: #52606d;
  --linie: #e3e8ee;
  --weiss: #ffffff;
  --fehler: #a3302a;
  --fehler-hell: rgba(163, 48, 42, 0.08);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(48px, 6vw, 88px);
  --radius: 14px;
  --header-h: 76px;
  --schatten: 0 2px 8px rgba(16, 24, 40, 0.05);
  --schatten-hoch: 0 18px 40px -20px rgba(16, 24, 40, 0.35);
  color-scheme: light;
}

/* Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--blau); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
a:not([class]) { color: var(--blau); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:not([class]):hover { text-decoration-color: var(--blau); }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--blau); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--blau); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--schmal { max-width: 860px; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 18px; height: 18px; }

/* Knöpfe ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: 700 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, background-color .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--blau); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.btn--primary:hover { background: #dcc293; }
.btn--ghost { background: #fff; color: var(--blau); border-color: var(--blau); }
.btn--ghost:hover { background: var(--hell); }
.btn--ghost-hell { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-hell:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link-pfeil { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blau); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-pfeil:hover { border-bottom-color: var(--blau); }

/* Kopf --------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--linie); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; font-weight: 600; font-size: 0.96875rem; color: var(--blau); text-decoration: none; border-radius: 8px; }
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--hell); }
.nav__sub-toggle { display: none; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--linie); border-radius: 12px; box-shadow: var(--schatten-hoch);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.9375rem; }
.nav__sub a:hover { background: var(--hell); color: var(--blau); }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }
@media (max-width: 1099px) {
  .logo img { height: 44px; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; color: var(--blau); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 18px; padding: 8px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten-hoch); display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--linie); }
  .nav__link { flex: 1; padding: 14px 0; font-size: 1.0625rem; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; }
  .nav__sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--blau); cursor: pointer; }
  .nav__sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .nav__sub.is-open { display: block; }
  .nav__item--sub:hover .nav__sub { transform: none; }
  .no-js .nav { display: flex; position: static; box-shadow: none; }
  .no-js .nav__sub { display: block; }
  .nav__tel { align-self: flex-start; }
}

/* Kopfbereich der Seite (Hero) -------------------------------------------- */
.hero { position: relative; background: linear-gradient(120deg, var(--blau-tief), var(--blau)); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero__inner { position: relative; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); display: grid; gap: 18px; justify-items: start; }
.hero__titel { color: #fff; font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 22ch; }
.hero__lead { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.5; max-width: 60ch; color: rgba(255, 255, 255, .92); }
.hero__meta { color: var(--gold); font-weight: 600; font-size: 0.9375rem; }
.hero .btn-row { margin-top: 6px; }
.krumen ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; color: rgba(255, 255, 255, .8); }
.krumen li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.krumen a { color: #fff; text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.vertrauen-band { background: #fff; border-bottom: 1px solid var(--linie); }
.vertrauen { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 0; padding: 18px 0; list-style: none; }
.vertrauen li { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--blau); font-size: 0.9375rem; }
.vertrauen .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--blau); stroke-width: 3; }

/* Abschnitte --------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section + .section:not(.section--hell):not(.section--abschluss) { padding-top: 0; }
.section--hell { background: var(--hell); }
.section--hell + .section:not(.section--hell):not(.section--abschluss),
.section--abschluss + .section:not(.section--hell):not(.section--abschluss) { padding-top: var(--section-y); }
.h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin-bottom: 20px; }
.h3 { font-size: 1.25rem; margin: 10px 0 2px; }
.prose { display: grid; gap: 16px; }
.prose > * { max-width: 78ch; }
.prose > .karten, .prose > .galerie, .prose > .kacheln, .prose > .schritte, .prose > .zahlen, .prose > .unterpunkte, .prose > .form, .prose > .faq, .prose > .kontaktliste, .prose > .bild { max-width: none; }
.prose ul:not([class]), .prose ol:not([class]) { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.prose ul:not([class]) li::marker { color: var(--gold-dunkel); }
.liste-punkte { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 8px 0; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--links .split__bild { order: -1; }
.split--links { grid-template-columns: 0.85fr 1.15fr; }
.split__bild { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.split__bild img, .bild img, .bild video { border-radius: var(--radius); box-shadow: var(--schatten-hoch); width: 100%; }
.bild video { display: block; height: auto; background: #000; }
@media (max-width: 899px) {
  .split, .split--links { grid-template-columns: 1fr; }
  .split--links .split__bild { order: 0; }
  .split__bild { position: static; }
}
.bild { margin: 8px 0; }
.bild figcaption { font-size: 0.875rem; color: var(--gedaempft); margin-top: 8px; }

/* Kurz beantwortet --------------------------------------------------------- */
.kurz p { font-size: 1.1875rem; line-height: 1.6; color: var(--blau); max-width: 68ch; }
.kurz__titel { font-size: 0.8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--blau); margin-bottom: 6px; }

/* Kacheln mit Haken -------------------------------------------------------- */
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.kacheln li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.kachel__haken { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--gold); color: var(--blau); stroke-width: 3; }

/* Nummerierte Schritte ----------------------------------------------------- */
.schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.schritte li { counter-increment: schritt; position: relative; padding: 60px 20px 22px; background: var(--blau); color: #fff; border-radius: 16px; display: grid; gap: 4px; align-content: start; }
.schritte li::before { content: counter(schritt, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font-size: 1.625rem; font-weight: 800; color: var(--gold); }
.schritt__titel { font-size: 1.125rem; color: #fff; }
.schritte a { color: #fff; }

/* Karten --------------------------------------------------------------------- */
.karten { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karten--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karten--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 999px) { .karten--4, .karten--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .karten, .karten--2, .karten--3, .karten--4 { grid-template-columns: 1fr; } }
.karte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; }
.karte__bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hell); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.karte:hover .karte__bild img { transform: scale(1.03); }
.karte__text { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.karte:not(.karte--bild) .karte__text { border-top: 4px solid var(--gold); }
.karte__titel { font-size: 1.1875rem; }
.karte__titel a { text-decoration: none; }
.karte__titel a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.karte__meta { font-size: 0.875rem; color: var(--gedaempft); }
.karte__knopf { margin-top: auto; padding-top: 4px; }
.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.haken li { display: flex; gap: 8px; align-items: flex-start; }
.haken .i { color: var(--gold-dunkel); stroke-width: 3; margin-top: 3px; }

/* Zahlen --------------------------------------------------------------------- */
.zahlen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.zahlen li { display: grid; gap: 4px; padding: 22px; background: var(--blau); color: #fff; border-radius: var(--radius); }
.zahl__wert { font-size: 2.25rem; font-weight: 800; color: var(--gold); line-height: 1.1; }

/* Galerie ---------------------------------------------------------------------- */
.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.galerie__link { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--hell); }
.galerie__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galerie__link:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(14, 40, 56, .88); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox__text { color: #fff; text-align: center; font-size: 0.9375rem; margin-top: 10px; }
.lightbox__zu { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--blau); font-size: 1.75rem; line-height: 1; cursor: pointer; }

/* Unterpunkte (frühere Reiter/Akkordeons mit Fließtext) -------------------- */
.unterpunkte { display: grid; gap: 16px; }
.unterpunkte--reiter { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.unterpunkt { display: grid; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); align-content: start; }
.unterpunkt .h3 { margin-top: 0; }
.unterpunkt ul:not([class]) { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--linie); border-radius: 12px; }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 650; color: var(--blau); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { transition: transform .2s; color: var(--gold-dunkel); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__antwort { display: grid; gap: 12px; padding: 0 18px 18px; }
.faq__antwort ul:not([class]) { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Inhaltsverzeichnis ------------------------------------------------------- */
.inhalt { background: var(--hell); border-radius: var(--radius); padding: 18px 22px; }
.inhalt summary { cursor: pointer; font-weight: 700; color: var(--blau); }
.inhalt ol { margin: 10px 0 0; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.inhalt ol ol { padding-left: 1.4em; }
.nr { color: var(--gold-dunkel, #a8874b); font-variant-numeric: tabular-nums; margin-right: .15em; }
:where(h2, h3)[id] { scroll-margin-top: calc(var(--header-h, 80px) + 16px); }
.inhalt ol ol { margin-top: 4px; }

/* Dunkler Abschlussblock --------------------------------------------------- */
.section--abschluss { padding: var(--section-y) 0; }
.abschluss { background: var(--blau); color: #fff; border-radius: 18px; padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.abschluss__text { display: grid; gap: 14px; }
.abschluss__kontakt { list-style: none; margin: 0; padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.abschluss__kontakt li { display: flex; align-items: center; gap: 12px; }
.abschluss__kontakt .i { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--gold); color: var(--blau); }
.abschluss__kontakt a { color: #fff; font-weight: 650; text-decoration: none; }
.abschluss__person { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); line-height: 1.35; }
.abschluss__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gold); }
.abschluss__person strong { color: #fff; }
@media (max-width: 799px) { .abschluss { grid-template-columns: 1fr; } }
.abschluss .h2 { color: #fff; margin-bottom: 4px; }
.abschluss .prose > * { max-width: 70ch; }
.abschluss a:not([class]) { color: #fff; }
.abschluss .h3 { color: #fff; }

/* Formular ----------------------------------------------------------------- */
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); box-shadow: var(--schatten-hoch); }
.form__felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--voll { grid-column: 1 / -1; }
@media (max-width: 599px) { .form__felder { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: 0.9375rem; color: var(--blau); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fbfaf7; border: 1.5px solid #d5dbe2; border-radius: 10px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--gedaempft); }
.consent input { accent-color: var(--blau); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; background: var(--fehler-hell); color: var(--fehler); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.form-error.is-visible { display: block; }
.note { font-size: 0.875rem; color: var(--gedaempft); }

/* Kontaktliste ------------------------------------------------------------- */
.kontaktliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.kontaktliste li { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.kontaktliste .i { color: var(--gold-dunkel); margin-top: 3px; }

/* Rechtstexte -------------------------------------------------------------- */
.recht { gap: 12px; }
.recht h2 { font-size: 1.375rem; margin-top: 18px; }
.recht h3 { font-size: 1.125rem; margin-top: 10px; }
.recht h4 { margin: 6px 0 0; font-size: 1rem; color: var(--blau); }
.recht address { font-style: normal; }
.recht ul { margin: 0; padding-left: 1.3em; }
.recht p, .recht li { overflow-wrap: anywhere; }

/* Fuß ---------------------------------------------------------------------- */
.site-footer { background: var(--blau-tief); color: #dfe6ec; padding: clamp(48px, 6vw, 72px) 0 calc(24px + env(safe-area-inset-bottom)); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h2 { color: var(--gold); font-size: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer-brand .logo img { height: 56px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 0.875rem; color: #b8c4ce; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 499px) { .footer-grid { grid-template-columns: 1fr; } }

/* Feste Anruftaste auf dem Handy ------------------------------------------ */
.anruf-mobil { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .btn-row .btn { width: 100%; }
  .anruf-mobil {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    background: var(--gold); color: var(--blau); font-weight: 700; text-decoration: none;
    padding: 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  }
  .vertrauen { gap: 8px 20px; }
}

@media print {
  .site-header, .anruf-mobil, .site-footer, .hero__bg { display: none; }
  .hero { background: none; color: var(--text); }
  .hero__titel { color: var(--blau); }
}

/* Zeilen innerhalb eines Abschnitts */
.zeile + .zeile { margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--linie); }
.section--hell .zeile + .zeile { border-top-color: rgba(20, 55, 77, .12); }
.karten--2 .karte__bild { aspect-ratio: 16 / 7; }

/* Checkliste: Voraussetzungen kompakt in zwei Spalten */
.checkliste { list-style: none; margin: 0; padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.checkliste li { display: flex; gap: 12px; align-items: flex-start; }
.checkliste .kachel__haken { flex: none; width: 26px; height: 26px; }
@media (max-width: 699px) { .checkliste { grid-template-columns: 1fr; } }
.prose > .checkliste { max-width: none; }
/* Breitbild statt Bild neben breiten Bausteinen */
.bild--breit { margin: 0 0 clamp(20px, 3vw, 32px); }
.bild--breit img { aspect-ratio: 21 / 8; object-fit: cover; }

/* Exposé */
.expose { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; margin-bottom: 8px; }
.expose__bild { margin: 0; }
.expose__bild img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten-hoch); aspect-ratio: 4 / 3; object-fit: cover; }
.expose__daten { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 16px; }
.expose__preis { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--linie); margin: 0; }
.expose__preis span { font-size: .875rem; color: var(--gedaempft); }
.expose__preis strong { font-size: 1.6rem; color: var(--blau); }
.expose__fakten { margin: 0; display: grid; gap: 0; }
.expose__fakten div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--linie); }
.expose__fakten dt { color: var(--gedaempft); }
.expose__fakten dd { margin: 0; font-weight: 650; color: var(--blau); text-align: right; }
.expose__ausstattung { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .9375rem; }
.expose__ausstattung li { display: flex; gap: 8px; align-items: center; }
.expose__ausstattung .i { color: var(--gold); flex: none; }
@media (min-width: 900px) { .expose { align-items: stretch; } .expose__bild { display: flex; } .expose__bild img { height: 100%; aspect-ratio: auto; min-height: 420px; } }
@media (max-width: 899px) { .expose { grid-template-columns: 1fr; } }
.section--mitte .split { grid-template-columns: 1fr 1fr; align-items: center; }
.section--mitte .split__bild { position: static; }
.section--mitte .split__bild img { aspect-ratio: 4 / 3; object-fit: cover; }
.einheiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.einheit { background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.einheit__titel { font-weight: 700; color: var(--blau); }
.prose > .expose, .prose > .einheiten, .prose > .merkmale, .prose > .gewerke, .prose > .sprung { max-width: none; }
/* Merkmale: kompakte Zeile statt Kacheln */
.merkmale { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.merkmale li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--linie); border-radius: 999px; font-size: .9375rem; }
.section--hell .merkmale li { background: #fff; }
.merkmale .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--blau); stroke-width: 3; flex: none; }
/* Gewerke: alles sichtbar statt aufklappen */
.gewerke { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.gewerk { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.gewerk__titel { font-weight: 700; color: var(--blau); }
.gewerk ul { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: .9375rem; }
/* Sprungmarken */
.sprung { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--schatten); }
.sprung__titel { font-weight: 700; color: var(--blau); margin: 0 0 10px; }
.sprung ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px 28px; }
.sprung a { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--linie); color: var(--blau); text-decoration: none; font-weight: 600; }
.sprung a:hover { color: var(--gold-dunkel, #a8874b); }
.sprung .nr { min-width: 1.4em; }
.person { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; line-height: 1.35; }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: none; }
.person strong { color: var(--blau); }
.projekt { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--schatten); }
.h4 { font-size: 1.125rem; color: var(--blau); margin-top: 10px; }
/* Steuerrechner Kapitalanlage (assets/js/steuerrechner.js) ----------------- */
.sr-wrap, .sr-wrap *, .sr-wrap *::before, .sr-wrap *::after { box-sizing: border-box; }
.sr-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.sr-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(18px, 3vw, 28px); }
.sr-feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sr-feld label { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; color: var(--blau); }
.sr-feld input, .sr-feld select { width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: inherit; background: #fbfaf7; border: 1.5px solid #d5dbe2; border-radius: 10px; padding: 10px 12px; }
.sr-feld input:focus, .sr-feld select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); background: #fff; }
.sr-feld--breit { grid-column: 1 / -1; }
.sr-hilfe { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--gedaempft); }
.sr-ergebnisse { position: sticky; top: calc(var(--header-h, 76px) + 16px); background: var(--hell); border: 1px solid var(--linie); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(18px, 3vw, 28px); }
.sr-titel { margin: 0; font-size: 1.25rem; margin-bottom: 12px; }
.sr-liste { margin: 0; padding: 0; }
.sr-zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linie); }
.sr-zeile dt { color: var(--gedaempft); font-size: 0.9375rem; }
.sr-zeile dd { margin: 0; font-weight: 700; color: var(--blau); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-ergebnis--gold { box-shadow: inset 4px 0 0 var(--gold-dunkel); padding-left: 12px; }
.sr-ergebnis--gold dt { color: var(--blau); font-weight: 600; }
.sr-ergebnis--haupt { border-bottom: 0; margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--blau); }
.sr-ergebnis--haupt dt { color: var(--blau); font-weight: 700; }
.sr-ergebnis--haupt dd { font-size: 1.375rem; }
.sr-info { margin: 12px 0 0; font-size: 0.875rem; color: var(--gedaempft); }
.sr-hinweis { margin: 8px 0 0; font-size: 0.8125rem; font-style: italic; color: var(--gedaempft); }
@media (max-width: 799px) {
  .sr-wrap { grid-template-columns: 1fr; }
  .sr-ergebnisse { position: static; }
}
@media (max-width: 480px) {
  .sr-form { grid-template-columns: 1fr; }
}
.prose > .steuerrechner { max-width: none; }
.section:not(.section--hell) + .section--abschluss { padding-top: 0; }
