/* Birgit Himmelsbach Immobilien – Gestaltung nach dem freigegebenen Entwurf.
   Leitmotiv: Ein goldener Haus-Umriss wie im Logo steht auf einer langen Grundlinie, die nach rechts ausläuft.
   Ruhig, weiß, linksbündig; Neckargrün nur dort, wo es vertraulich wird (Off-Market). */
:root {
  --paper: #FFFFFF;
  --mist: #F4F3F0;
  --neckar: #2E3338;
  --neckar-deep: #1E2226;
  --anthrazit: #2E3338;
  --ink: #1D2125;
  --gold: #E1B547;
  --bronze: #73560F;
  --muted: #575D63;
  --line: #DAD8D3;
  --field: #7E8388;
  --gold-wash: #FBF3DC;

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.75rem, 8vw, 7rem);
  --radius: 4px;
  color-scheme: light;
}

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/libre-caslon-display-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-var.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
}
@media (min-width: 48em) { body { font-size: 1.1875rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neckar); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--bronze); }
:focus-visible { outline: 3px solid var(--neckar); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.35rem, 1.55rem + 3.3vw, 4.1rem); }
h2 { font-size: clamp(1.95rem, 1.45rem + 2vw, 3rem); }
h3 {
  font-family: var(--font-text);
  font-weight: 650;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), 75rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); max-width: 40rem; }
.tint { background: var(--mist); }
[id] { scroll-margin-top: 6rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--neckar); color: #fff; padding: .75rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* Draft markers */
.draft-note {
  background: var(--gold-wash);
  border-bottom: 1px solid #EBD9A6;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--ink);
}
.draft-note .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding-block: .6rem; }
.draft-note p { flex: 1 1 18rem; }
.draft-note button {
  font: inherit; font-weight: 600; color: var(--neckar); background: transparent;
  border: 1.5px solid var(--neckar); border-radius: var(--radius); padding: .25rem .7rem; min-height: 2.25rem; cursor: pointer;
}
.ph-sample { border: 2px dashed var(--gold); padding: 0 .3rem; border-radius: 3px; }
mark.check {
  background: transparent;
  color: inherit;
  border-bottom: 2px dotted var(--gold);
  padding-bottom: 1px;
}
mark.check::after {
  content: "prüfen";
  display: inline-block;
  margin-left: .35em;
  padding: 0 .4em;
  font-size: .68em;
  font-weight: 650;
  line-height: 1.6;
  vertical-align: .12em;
  color: var(--bronze);
  background: var(--gold-wash);
  border-radius: 3px;
}
.dark mark.check::after { color: var(--ink); background: var(--gold); }
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(225, 181, 71, .10) 0 10px, transparent 10px 22px),
    var(--mist);
  color: var(--bronze);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.45;
}
.ph-inline {
  border: 2px dashed var(--gold);
  border-radius: 3px;
  padding: 0 .35rem;
  color: var(--bronze);
  font-weight: 600;
  background: var(--gold-wash);
}
.dark .ph-inline { color: var(--ink); background: var(--gold-wash); }
.ph-note {
  border-left: 3px solid var(--gold);
  background: var(--gold-wash);
  padding: .75rem 1rem;
  font-size: .9375rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.25rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
}
.btn-lg { min-height: 3.4rem; padding-inline: 1.5rem; font-size: 1.0625rem; }
.btn-primary { background: var(--neckar); color: #fff; }
.btn-primary:hover { background: var(--neckar-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--neckar); border-color: var(--neckar); }
.btn-secondary:hover { background: var(--mist); color: var(--neckar); }
.btn.btn-gold, .dark a.btn-gold { background: var(--gold); color: var(--ink); }
.btn.btn-gold:hover, .dark a.btn-gold:hover { background: #ECC665; color: var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: block; flex: none; }
.brand img { width: 10.5rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn { min-height: 2.75rem; padding: .5rem .85rem; font-size: .9375rem; }
.header-actions .cta-desktop { display: none; }
.menu-toggle { background: var(--paper); color: var(--neckar); border-color: var(--neckar); }
.menu-toggle[aria-expanded="true"] { background: var(--neckar); color: #fff; }
.main-nav { display: none; }
.main-nav.open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -24px rgba(29, 33, 37, .45);
}
.main-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.25rem; display: grid; }
.main-nav a {
  display: block; padding: .8rem 0; font-size: 1.125rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.main-nav a:hover { color: var(--bronze); }
.call-mobile span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 24em) { .brand img { width: 11.75rem; } }
@media (min-width: 30em) { .call-mobile span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; } .brand img { width: 12.5rem; } }
@media (min-width: 70em) {
  .menu-toggle, .call-mobile { display: none; }
  .header-actions .cta-desktop { display: inline-flex; }
  .main-nav, .main-nav.open { display: block; position: static; box-shadow: none; border: 0; background: transparent; }
  .main-nav ul { display: flex; gap: clamp(.9rem, 1.6vw, 1.6rem); padding: 0; }
  .main-nav a { border: 0; padding: .4rem 0; font-size: 1rem; }
  .brand img { width: 14rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: end; }
.hero-text { display: grid; gap: 1.5rem; max-width: 42rem; padding-bottom: clamp(0rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3rem); line-height: 1.6; color: var(--ink); max-width: 38rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-cta .btn { flex: 1 1 16rem; }
@media (min-width: 40em) { .hero-cta .btn { flex: 0 0 auto; } }
/* Porträt: klares Foto mit Namenskarte, dahinter eine ruhige Fläche (ohne Haus-Rahmen) */
.hero-portrait { position: relative; margin: 0 0 1.25rem; width: min(100%, 22rem); }
.hero-portrait::before {
  content: ""; position: absolute; z-index: 0; inset: 1.25rem -.75rem -.75rem 1.25rem;
  background: var(--mist); border-radius: var(--radius);
}
.portrait-foto {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); background: var(--mist);
  box-shadow: 0 28px 50px -30px rgba(20, 23, 26, .6);
}
.portrait-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.portrait-foto .ph { width: 100%; height: 100%; border-style: dashed; }
.portrait-karte {
  position: absolute; z-index: 2; left: .75rem; bottom: 1.25rem;
  display: grid; gap: .1rem; padding: .7rem 1.1rem .8rem;
  background: var(--paper); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 30px -18px rgba(29, 33, 37, .55);
  font-size: .9375rem; line-height: 1.35; color: var(--muted);
}
.portrait-karte strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--ink); }
.trust-row { padding-block: 3.75rem 3rem; }
.trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem 2.5rem;
  color: var(--muted); font-size: .9375rem;
}
.trust li { display: flex; gap: .6rem; align-items: baseline; }
.trust li::before {
  content: ""; flex: none; width: .55rem; height: .55rem; transform: translateY(-.05rem) rotate(45deg);
  border: 2px solid var(--gold);
}
@media (min-width: 48em) {
  .trust { grid-template-columns: repeat(3, auto); justify-content: start; }
}
@media (min-width: 62em) {
  .hero-grid { grid-template-columns: 7fr minmax(19rem, 5fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
  .hero-portrait { width: 100%; max-width: 25rem; justify-self: end; margin-bottom: 0; }
  .hero-portrait::before { inset: 1.75rem -1.5rem -1.5rem 1.75rem; }
  .portrait-karte { left: -1.75rem; bottom: 2rem; }
  .hero-text { padding-bottom: 0; }
  .trust-row { padding-top: 4.25rem; }
}

/* Paths */
.path-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 2.5rem; }
.path-list li { border-top: 2px solid var(--gold); padding-top: 1.25rem; display: grid; gap: .75rem; align-content: start; }
.path-list p { color: var(--muted); }
.path-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-weight: 650; }
@media (min-width: 40em) { .path-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .path-list { grid-template-columns: repeat(4, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: .25rem 1rem; align-content: start; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--bronze);
}
.steps p { color: var(--muted); }
@media (min-width: 62em) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .steps li { grid-template-columns: 1fr; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
  .steps li::before { grid-row: auto; }
}

/* Forms */
.form-panel {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid; gap: 1.5rem;
}
.form-panel > header { display: grid; gap: .5rem; max-width: 40rem; }
.form-panel > header p { color: var(--muted); }
form { display: grid; gap: 1.25rem; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
legend { font-weight: 650; font-size: 1.0625rem; padding: 0; margin-bottom: .25rem; }
.fields { display: grid; gap: 1rem; }
@media (min-width: 40em) { .fields.two { grid-template-columns: 1fr 1fr; } .fields.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62em) { .form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.field { display: grid; gap: .35rem; }
.field label, .group-label { font-weight: 600; font-size: 1rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .8rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--field);
  border-radius: var(--radius);
}
textarea { min-height: 7rem; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 1.3rem, calc(100% - .8rem) 1.3rem; background-size: .38rem .38rem; background-repeat: no-repeat; padding-right: 2.25rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--neckar); outline-offset: 1px; border-color: var(--neckar); }
[aria-invalid="true"] { border-color: #A3261B; border-width: 2px; }
.error { color: #A3261B; font-size: .9375rem; font-weight: 600; }
.error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choice { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-size: 1.0625rem; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--neckar); margin: 0; flex: none; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.privacy { font-size: .9375rem; color: var(--muted); max-width: 36rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-result { padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--gold-wash); border-radius: 0 var(--radius) var(--radius) 0; }
.form-result:empty { display: none; }

/* Listings */
.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
@media (min-width: 44em) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .listing-grid { grid-template-columns: repeat(3, 1fr); } }
.listing {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.listing .ph { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 2px 0; }
.listing-body { display: grid; gap: .8rem; padding: 1.25rem 1.25rem 1.4rem; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .8125rem; font-weight: 650; padding: .15rem .55rem; border-radius: 999px; background: var(--mist); color: var(--neckar); border: 1px solid #D3D1CB; }
.chip.gold { background: var(--gold-wash); color: var(--bronze); border-color: #EBD9A6; }
.listing h3 a { color: var(--ink); text-decoration: none; }
.listing h3 a:hover { color: var(--bronze); text-decoration: underline; }
.place { color: var(--muted); font-size: .9375rem; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .2rem 1.5rem; margin: 0; }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.facts div { display: grid; }
.legal-lines { display: grid; gap: .35rem; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .8rem; }
.legal-lines strong { color: var(--ink); font-weight: 600; }
.after-grid { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.after-grid p { color: var(--muted); flex: 1 1 22rem; }

/* Investment */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 62em) { .split { grid-template-columns: 5fr 6fr; } .split.even { grid-template-columns: 1fr 1fr; } }
.prose { display: grid; gap: 1.1rem; max-width: 38rem; }
.prose .small { font-size: .9375rem; color: var(--muted); }
.event {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem;
}
.event-meta { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin: 0; }
.event-meta dt { color: var(--muted); }
.event-meta dd { margin: 0; font-weight: 600; }

/* Off-market (dark) */
.dark { background: var(--neckar); color: #F3F4F5; }
.dark a { color: #F3F4F5; }
.dark a:hover { color: var(--gold); }
.dark .section-head p, .dark .muted { color: #C9CDD1; }
.dark h2 { color: #fff; }
.dark .steps li::before { color: var(--gold); }
.dark .steps p { color: #C9CDD1; }
@media (min-width: 62em) {
  .dark .steps { grid-template-columns: repeat(3, 1fr); }
  .dark .steps li { border-top-color: rgba(225, 181, 71, .45); }
}
.offmarket-foot { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.5rem; }
@media (min-width: 62em) { .offmarket-foot { grid-template-columns: auto 1fr; align-items: center; gap: 2.5rem; } }
.peer { color: #C9CDD1; border-left: 2px solid rgba(225, 181, 71, .6); padding-left: 1rem; max-width: 34rem; }

/* About */
.about-photo { aspect-ratio: 4 / 5; width: min(100%, 26rem); }
@media (min-width: 62em) { .about-photo { order: -1; } }
.facts-list { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; font-weight: 600; }
@media (max-width: 30em) { .facts-list { grid-template-columns: 1fr; gap: .1rem; } .facts-list dd { margin-bottom: .6rem; } }
.video-slot { aspect-ratio: 16 / 9; }

/* Reviews */
.reviews-slot { min-height: 11rem; max-width: 52rem; }

/* Articles */
.articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 2.5rem; }
@media (min-width: 62em) { .articles { grid-template-columns: repeat(3, 1fr); } }
.articles li { display: grid; gap: .65rem; align-content: start; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.articles p { color: var(--muted); }
.articles .chip { justify-self: start; }

/* Newsletter */
.newsletter-band { background: var(--mist); }
.newsletter-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: end; }
@media (min-width: 62em) { .newsletter-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.inline-form { display: grid; gap: 1rem; }
@media (min-width: 40em) { .inline-form .fields { grid-template-columns: 1fr 1fr auto; align-items: end; } }

/* Contact */
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.5rem; margin: 0; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 30em) { .contact-list { grid-template-columns: 1fr; gap: .1rem; } .contact-list dd { margin-bottom: .7rem; } }
.social { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--anthrazit); color: #E4E7E9; font-size: .9375rem; }
.site-footer .muted { color: #BAC1C6; }
.site-footer a { color: #F3F4F5; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 70em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 650; color: #fff; margin-bottom: .75rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-brand img { width: 13rem; margin-bottom: 1.25rem; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1.25rem 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; color: #BAC1C6; }
.withdraw-link { font-weight: 650; }

/* =====================================================================
   Ergänzungen für alle Seiten (über den Startseiten-Entwurf hinaus)
   ===================================================================== */

/* Hilfsklassen */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: .9375rem; }
.muted { color: var(--muted); }
.btn-block { width: 100%; }
.form-panel-flush { margin-top: 0; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.section-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.section-actions p { color: var(--muted); flex: 1 1 22rem; }
.dark .section-actions p { color: #C9CDD1; }
.main-nav .nav-cta a { color: var(--neckar); }
@media (min-width: 70em) { .main-nav .nav-cta { display: none; } }
.main-nav a[aria-current="page"] { color: var(--bronze); }
@media (min-width: 70em) { .main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); } }

/* Kopf der Unterseiten: Überschrift auf einer goldenen Grundlinie, die nach rechts ausläuft */
.page-hero { position: relative; padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.75rem); }
.page-hero .wrap { display: grid; gap: 1.25rem; }
.page-hero h1 { max-width: 54rem; }
.page-hero .lead { max-width: 44rem; }
.page-hero::after {
  content: ""; position: absolute; bottom: 0; right: 0; height: 3px; background: var(--gold);
  left: max(var(--gutter), calc((100% - 75rem) / 2));
}
.page-hero.dark { background: var(--neckar); }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lead { color: #DADDE0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9375rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--field); }
.breadcrumb a { color: var(--muted); }
.dark .breadcrumb ol, .dark .breadcrumb a { color: #C9CDD1; }

/* Fließtext (Rechtstexte, Ratgeber) */
.text { max-width: 46rem; }
.text > * + * { margin-top: 1rem; }
.text h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 2.75rem; }
.text h3 { margin-top: 2rem; }
.text h4 { font-size: 1.0625rem; margin-top: 1.5rem; }
.text ul, .text ol { padding-left: 1.3rem; margin-bottom: 0; }
.text li + li { margin-top: .4rem; }
.text address { font-style: normal; }
.note { border-left: 3px solid var(--gold); background: var(--gold-wash); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note > * + * { margin-top: .6rem; }
.legal-meta { font-size: .9375rem; color: var(--muted); }

/* Zweispaltig mit Seitenleiste */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 62em) {
  .content-grid { grid-template-columns: minmax(0, 7fr) minmax(19rem, 4fr); }
  .content-grid > aside { position: sticky; top: 6.25rem; }
}

/* Kacheln, Listen */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 2.5rem; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.cards > li { border-top: 2px solid var(--gold); padding-top: 1.25rem; display: grid; gap: .65rem; align-content: start; }
.cards p { color: var(--muted); }
.dark .cards p { color: #C9CDD1; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .5rem; }
.checklist li::before {
  content: ""; width: .85rem; height: .45rem; border-left: 2.5px solid var(--bronze); border-bottom: 2.5px solid var(--bronze);
  transform: translateY(.5rem) rotate(-45deg);
}
@media (min-width: 48em) { .checklist.two { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.steps.three { counter-reset: step; }
@media (min-width: 62em) { .steps.three { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(4, 1fr); } }

/* Häufige Fragen */
.faq { border-top: 1px solid var(--line); max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.75rem 1.15rem 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 1.45rem; width: .6rem; height: .6rem;
  border-right: 2px solid var(--neckar); border-bottom: 2px solid var(--neckar); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] > summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq summary:hover { color: var(--bronze); }
.faq-answer { padding: 0 0 1.4rem; max-width: 46rem; }
.faq-answer > * + * { margin-top: .75rem; }
.faq-answer ul { padding-left: 1.25rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Objektkarten */
.listing-media { display: block; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.listing-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing:hover .listing-img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .listing-img { transition: none; } .listing:hover .listing-img { transform: none; } }
.foto-folgt { display: grid; place-items: center; align-content: center; gap: .6rem; height: 100%; color: var(--muted); font-size: .9375rem; }
.foto-folgt-haus { width: 3rem; height: auto; overflow: visible; }
.foto-folgt-haus path { fill: none; stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.chip.demo { background: #FBEDEB; color: #8A2A1F; border-color: #F0C5BF; }
.empty-state { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; max-width: 46rem; background: var(--paper); }

/* Filter */
.filter { display: grid; gap: 1rem; padding: 1.25rem; background: var(--mist); border-radius: var(--radius); margin-bottom: 1.5rem; }
.filter .field label { font-size: .9375rem; }
@media (min-width: 48em) { .filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70em) { .filter { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; } }
.result-count { color: var(--muted); margin-bottom: 1.5rem; }
.js .filter .js-hide { display: none; }

/* Exposé-Seite */
.objekt-kopf { padding-block: clamp(1.5rem, 4vw, 2.5rem) 0; }
.objekt-kopf .wrap { display: grid; gap: 1rem; }
.objekt-kopf h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); max-width: 56rem; }
.gallery { display: grid; gap: .75rem; }
.gallery-main { position: relative; margin: 0; aspect-ratio: 3 / 2; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .foto-folgt { aspect-ratio: 3 / 2; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 10px rgba(29, 33, 37, .2);
}
.gallery-nav svg { width: 1.25rem; height: 1.25rem; }
.gallery-nav:hover { background: #fff; color: var(--bronze); }
.gallery-prev { left: .75rem; }
.gallery-next { right: .75rem; }
.gallery-count { position: absolute; right: .75rem; bottom: .75rem; background: rgba(29, 33, 37, .82); color: #fff; font-size: .875rem; padding: .15rem .65rem; border-radius: 999px; }
.gallery-caption { font-size: .9375rem; color: var(--muted); }
.gallery-thumbs { list-style: none; margin: 0; padding: 0 0 .35rem; display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; }
.gallery-thumbs li { flex: none; }
.gallery-thumbs a { display: block; padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; width: 6.25rem; aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.key-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1rem 1.5rem; margin: 0; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.key-facts div { display: grid; gap: .1rem; }
.key-facts dt { font-size: .875rem; color: var(--muted); }
.key-facts dd { margin: 0; font-weight: 650; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.objekt-section { margin-top: 2.75rem; }
.objekt-section > h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem); margin-bottom: 1rem; }
.objekt-section .text-block > * + * { margin-top: 1rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-weight: 400; color: var(--muted); width: 46%; padding-right: 1rem; }
.data-table td { font-variant-numeric: tabular-nums; }
/* Technik-Check (nur auf der Test-Adresse) */
.check-stufe { display: inline-block; min-width: 1.1em; font-weight: 700; }
.check-hinweis .check-stufe { color: var(--bronze); }
.check-fehler .check-stufe, .check-fehler td { color: #A3261B; }
.check-tun { display: block; margin-top: .2rem; color: var(--muted); font-size: .9375rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.feature-list li { background: var(--mist); border: 1px solid #D3D1CB; border-radius: 999px; padding: .2rem .8rem; font-size: .9375rem; }
.box { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.5rem); display: grid; gap: .9rem; background: var(--paper); }
.box h2, .box h3 { font-family: var(--font-text); font-size: 1.15rem; font-weight: 650; line-height: 1.3; }
.price-line { font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); line-height: 1.1; }
.price-label { font-size: .9375rem; color: var(--muted); }
.aside-stack { display: grid; gap: 1.5rem; }
.objekt-cta-mobile {
  position: sticky; bottom: 0; z-index: 40; display: flex; gap: .75rem; padding: .75rem var(--gutter);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(29, 33, 37, .5);
}
.objekt-cta-mobile .btn { flex: 1 1 0; min-height: 2.9rem; padding-inline: .75rem; }
@media (min-width: 62em) { .objekt-cta-mobile { display: none; } }
.status-banner { padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--gold-wash); border-radius: 0 var(--radius) var(--radius) 0; }

/* Referenzen */
.references { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem 2.25rem; }
@media (min-width: 44em) { .references { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .references { grid-template-columns: repeat(3, 1fr); } }
.reference { border-top: 1px solid var(--line); padding-top: 1.15rem; display: grid; gap: .5rem; align-content: start; }
.reference-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius); }
.reference .place { color: var(--muted); }

/* Info-Abende */
.event-list { display: grid; gap: 2rem; }
@media (min-width: 62em) { .event-list.two { grid-template-columns: 1fr 1fr; } }
.cal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9375rem; font-weight: 600; }
.cal-links a { display: inline-flex; gap: .35rem; align-items: center; }
.cal-links svg { width: 1.1em; height: 1.1em; }
.form-result.is-visible { display: block; }

/* Bewertungen */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 62em) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews figure { margin: 0; height: 100%; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1rem; align-content: space-between; }
.reviews blockquote { margin: 0; font-size: 1.0625rem; }
.reviews figcaption { display: grid; gap: .15rem; font-size: .9375rem; }
.reviews-note { margin-top: 1.25rem; max-width: 46rem; }

/* Partner-Leiste */
.partners .section-head { margin-bottom: 1.25rem; }
.marquee { display: grid; gap: .9rem; }
.marquee-toggle {
  justify-self: start; display: inline-flex; gap: .45rem; align-items: center; min-height: 2.75rem; padding: .4rem .9rem;
  font: inherit; font-size: .9375rem; font-weight: 600; color: var(--neckar); background: var(--paper);
  border: 1.5px solid var(--neckar); border-radius: var(--radius); cursor: pointer;
}
.marquee-toggle svg { width: 1rem; height: 1rem; }
.marquee-toggle[aria-pressed="true"] { background: var(--neckar); color: #fff; }
.marquee-viewport {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: .75rem 0; display: flex; align-items: center; flex: none; min-width: max-content;
  gap: clamp(2.5rem, 5vw, 4rem); padding-right: clamp(2.5rem, 5vw, 4rem);
}
.js .marquee:not(.is-static) .marquee-track { animation: marquee var(--marquee-dauer, 50s) linear infinite; }
.marquee.is-paused .marquee-track, .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee.is-static .marquee-viewport, html:not(.js) .marquee-viewport { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .marquee-track, html:not(.js) .marquee-track { flex-wrap: wrap; min-width: 0; flex: 1 1 auto; row-gap: 1.5rem; padding-right: 0; }
html:not(.js) .marquee-copy, html:not(.js) .marquee-toggle { display: none; }
.partner-logo { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; color: var(--ink); }
.partner-logo img { height: 44px; width: auto; max-width: 11rem; object-fit: contain; }
.partner-logo .tag { font-size: .75rem; font-weight: 650; color: var(--bronze); letter-spacing: .02em; }
.partner-ph { display: grid; place-items: center; height: 44px; min-width: 8.5rem; padding: 0 1rem; border: 2px dashed var(--gold); border-radius: var(--radius); color: var(--bronze); font-weight: 600; font-size: .9375rem; background: var(--gold-wash); }
.partner-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); max-width: 46rem; }
@media (prefers-reduced-motion: reduce) {
  .marquee .marquee-track { animation: none !important; flex-wrap: wrap; min-width: 0; flex: 1 1 auto; row-gap: 1.5rem; padding-right: 0; }
  .marquee .marquee-copy, .marquee .marquee-toggle { display: none; }
  .marquee .marquee-viewport { -webkit-mask-image: none; mask-image: none; }
}

/* Formulare: Fehlerübersicht, Erfolg, Gruppen */
.form-errors { border-left: 3px solid #A3261B; background: #FBEDEB; padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.form-errors ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.form-errors a { color: #A3261B; font-weight: 600; }
.form-errors:focus { outline: 3px solid #A3261B; outline-offset: 2px; }
.form-success { border-left: 3px solid var(--gold); background: var(--gold-wash); color: var(--ink); padding: 1.1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: .6rem; }
.form-success:focus { outline: 3px solid var(--neckar); outline-offset: 2px; }
.form-success a { color: var(--neckar); }
fieldset.group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .35rem; }
fieldset.group > legend { font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: .35rem; }
.more-fields { display: grid; gap: 1rem; }
.more-fields > summary { cursor: pointer; font-weight: 600; color: var(--neckar); min-height: 2.75rem; display: flex; align-items: center; gap: .4rem; }
.form-panel-dark { background: var(--neckar-deep); border-color: rgba(225, 181, 71, .45); color: #F3F4F5; }
.form-panel-dark > header p, .form-panel-dark .privacy, .form-panel-dark .opt { color: #C9CDD1; }
.form-panel-dark a { color: #F3F4F5; }
.form-panel-dark .error { color: #FFC2B8; }
.form-panel-dark :focus-visible { outline-color: var(--gold); }
.form-panel-dark input:focus-visible, .form-panel-dark select:focus-visible, .form-panel-dark textarea:focus-visible { outline-color: var(--gold); border-color: var(--gold); }
.form-panel-dark .choice input { accent-color: var(--gold); }
.form-panel-dark .form-errors { background: #3A211D; color: #F3F4F5; }
.form-panel-dark .form-errors a { color: #FFC2B8; }
.form-panel-dark .form-success { background: #3A3F44; color: #F3F4F5; }
.form-panel-dark .form-success a { color: #fff; }
.dark .form-result { color: var(--ink); }

/* Video und Bilder */
.video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--neckar-deep); border-radius: var(--radius); }
.portrait-leer { width: 100%; height: 100%; background: linear-gradient(180deg, var(--mist), #fff); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
figure.about-photo { margin: 0; }

/* Anzeige-Kennzeichnung und Zwei-Klick-Lösung */
.ad-label { display: inline-block; font-size: .8125rem; font-weight: 650; letter-spacing: .02em; color: var(--bronze); background: var(--gold-wash); border: 1px solid #EBD9A6; border-radius: 3px; padding: .05rem .45rem; vertical-align: .1em; }
.zwei-klick { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.5rem); background: var(--mist); display: grid; gap: .9rem; }
.zwei-klick iframe { width: 100%; min-height: 42rem; border: 0; background: #fff; border-radius: var(--radius); }

/* Kontakt */
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Fehlerseite */
.error-page { padding-block: clamp(3rem, 8vw, 6rem); }
.error-page .wrap { display: grid; gap: 1.25rem; max-width: 46rem; margin-left: max(var(--gutter), calc((100% - 75rem) / 2)); }
.error-links { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .5rem; font-weight: 600; }

/* Druck */
@media print {
  .site-header, .site-footer, .draft-note, .hero-cta, form, .marquee, .objekt-cta-mobile, .gallery-nav, .gallery-thumbs, .skip { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
  .section { padding-block: 1.5rem; }
}

/* Weitere Bausteine der Unterseiten */
.category-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.category-nav a { padding: .35rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9375rem; min-height: 2.5rem; display: inline-flex; align-items: center; }
.category-nav a:hover { border-color: var(--neckar); color: var(--neckar); }
.category-nav a[aria-current="page"] { background: var(--neckar); border-color: var(--neckar); color: #fff; }
.dark .btn-on-dark, .dark a.btn-on-dark { color: #fff; border-color: #fff; background: transparent; }
.dark .btn-on-dark:hover, .dark a.btn-on-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dark.dark-deep { background: var(--neckar-deep); }
.dark .section-head h2, .dark .cards h3, .dark .steps h3 { color: #fff; }
.dark .cards > li { border-top-color: rgba(225, 181, 71, .6); }
.partner-box { max-width: 46rem; }
.artikel-bild { margin: 0 0 2rem; max-width: 46rem; }
.artikel-bild img { border-radius: var(--radius); }
.ph-note-block { display: block; text-align: left; place-items: start; }
.event-list .event { align-content: start; }
.data-table th, .data-table td { overflow-wrap: anywhere; }
@media (max-width: 30em) {
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: auto; }
  .data-table tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .data-table th, .data-table td { border: 0; padding: 0; }
  .data-table th { font-size: .9375rem; }
}
/* Fotos: Ausschnitt so wählen, dass das Gesicht sichtbar bleibt */
.about-photo img { object-position: 36% 50%; }
.about-photo.about-photo-quer { aspect-ratio: 3 / 2; width: 100%; }
.about-photo-quer img { object-position: 45% 40%; }

/* Mit dem Attribut „hidden“ ausgeblendete Elemente bleiben immer unsichtbar (auch bei Flex- oder Grid-Layout) */
[hidden] { display: none !important; }

/* Wertermittlungs-Assistent: Fragen in Schritten */
.assistent-fortschritt { display: grid; gap: .5rem; max-width: 40rem; scroll-margin-top: 6rem; }
.assistent-status { font-size: .9375rem; font-weight: 650; color: var(--muted); }
.assistent-balken { height: .375rem; border-radius: 999px; background: var(--mist); overflow: hidden; }
.assistent-balken span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gold); transition: width .3s ease; }
.assistent-schritt { display: grid; gap: 1.25rem; max-width: 52rem; }
.assistent .assistent-frage { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); font-weight: 400; line-height: 1.25; color: var(--ink); margin-bottom: .9rem; }
.assistent .assistent-frage .opt { font-family: var(--font-text); font-size: 1rem; }
.assistent-frage:focus { outline: none; }
.assistent-hilfe { color: var(--muted); }
.assistent-nav { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 40em) {
  .assistent-nav .btn, .assistent .form-foot .btn { flex: 1 1 8rem; }
}
.choices.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.karten .choice { display: flex; min-height: 3.5rem; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); font-weight: 400; line-height: 1.3; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.karten .choice:hover { border-color: var(--neckar); }
.karten .choice:has(input:checked) { border-color: var(--neckar); background: var(--mist); box-shadow: inset 0 0 0 1px var(--neckar); font-weight: 600; }
@supports selector(:has(*)) {
  .karten .choice:has(input:focus-visible) { outline: 3px solid var(--neckar); outline-offset: 2px; }
  .karten .choice input:focus-visible { outline: none; }
}
@media (prefers-reduced-motion: reduce) { .assistent-balken span, .karten .choice { transition: none; } }
.field-kurz { max-width: 16rem; }
.field-quelle { max-width: 26rem; }

/* DeinImmoTresor-Kasten (Anzeige) */
.dit-box { max-width: 46rem; }
.dit-box .btn svg { width: 1em; height: 1em; }
.dit-kompakt { padding: 1rem 1.1rem; gap: .6rem; margin-top: .4rem; }
.dit-kompakt h3 { font-size: 1.05rem; }

/* Knopf zur Online-Terminbuchung mit kurzem Hinweis */
.termin-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--gold-wash); border-radius: 0 var(--radius) var(--radius) 0; }
.termin-hinweis p { margin: 0; flex: 1 1 18rem; }

/* Leitsatz auf „Über mich“ */
.claim { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); color: var(--bronze); }

/* Vertrauenszeile unter dem Porträt: vier kurze Fakten (2 × 2, auf breiten Bildschirmen in einer Reihe) */
@media (min-width: 48em) { .trust { grid-template-columns: repeat(2, auto); } }
@media (min-width: 75em) { .trust { grid-template-columns: repeat(4, auto); gap: .75rem 2rem; } }

/* ===== Startseite: ruhiger Aufbau mit Einstiegen zu den Unterseiten (29.11.2026) ===== */
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--bronze); }
.link-pfeil { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--neckar); text-decoration: none; }
.link-pfeil svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s ease; }
a.link-pfeil:hover, .leistung:hover .link-pfeil { color: var(--bronze); }
a.link-pfeil:hover svg, .leistung:hover .link-pfeil svg { transform: translateX(4px); }
.dark a.link-pfeil { color: #fff; }
.aktionen { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: .5rem; }
.section-head-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; max-width: none; }
.section-head-zeile > div { display: grid; gap: .75rem; max-width: 40rem; }

.leistungen { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70em) { .leistungen { grid-template-columns: repeat(4, 1fr); } }
.leistungen > li { display: flex; }
.leistung {
  position: relative; display: flex; flex-direction: column; gap: .8rem; width: 100%;
  padding: 1.9rem 1.5rem 1.6rem; background: var(--paper); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line), 0 18px 36px -32px rgba(29, 33, 37, .5);
  transition: transform .3s ease, box-shadow .3s ease;
}
.leistung::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 2.75rem; background: var(--gold); border-radius: var(--radius) 0 0 0; transition: width .35s ease; }
.leistung:hover, .leistung:focus-visible { transform: translateY(-5px); box-shadow: 0 1px 0 var(--line), 0 26px 44px -26px rgba(29, 33, 37, .45); color: var(--ink); }
.leistung:hover::before, .leistung:focus-visible::before { width: 100%; }
.leistung-nr { font-family: var(--font-display); font-size: 1.15rem; color: var(--bronze); }
.leistung p { color: var(--muted); }
.leistung .link-pfeil { margin-top: auto; padding-top: .4rem; }

.steps-kompakt { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.steps-kompakt li { counter-increment: schritt; display: grid; grid-template-columns: 3rem 1fr; gap: .15rem 1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.steps-kompakt li:last-child { border-bottom: 1px solid var(--line); }
.steps-kompakt li::before { content: counter(schritt, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; color: var(--bronze); }
.steps-kompakt strong { font-weight: 650; }
.steps-kompakt span { color: var(--muted); }

.about-split { align-items: center; }
.about-split .about-photo { max-width: 32rem; }

.band-schmal { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.band-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.band-zeile .prose { max-width: 46rem; }
.band-zeile h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.4rem); }
.dark .band-zeile p { color: #C9CDD1; }

.newsletter-kasten { display: grid; gap: 1rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.newsletter-kasten .h3-gross { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.newsletter-kasten p { color: var(--muted); }

/* Angebotskarten: leichtes Anheben beim Darüberfahren */
.listing { transition: transform .3s ease, box-shadow .3s ease; }
.listing:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(29, 33, 37, .5); }

/* Sanftes Einblenden beim Scrollen (nur mit JavaScript; bei „weniger Bewegung“ und im Druck ohne Effekt) */
.animiert .einblenden { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--verz, 0ms); }
.animiert .einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .animiert .einblenden { opacity: 1; transform: none; transition: none; }
  .leistung, .listing, .link-pfeil svg { transition: none; }
}
@media print { .einblenden { opacity: 1 !important; transform: none !important; } }
