/* Florian Fuhrmann Immobilienverwaltung – Stylesheet
   Schriften werden lokal ausgeliefert (kein Google-Fonts-Aufruf, DSGVO-konform). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #11457e;
  --navy-deep: #0a2e56;
  --navy-ink: #071f3b;
  --red: #d7141a;
  --red-dark: #b50f14;
  --white: #ffffff;
  --paper: #f3f6fa;
  --ink: #14263d;
  --muted: #4a5d76;
  --line: #d8e0eb;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", Calibri, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 72;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.22; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 56px; height: auto; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 650; font-size: 1.18rem; line-height: 1.05; letter-spacing: -0.005em; }
.brand__sub { display: block; font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--red); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }
.nav .nav__portal {
  border: 1.5px solid var(--navy); border-radius: var(--radius);
  padding: 8px 16px; color: var(--navy); font-weight: 600;
}
.nav .nav__portal:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav .nav__portal[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; }
.nav .nav__tel { font-weight: 650; color: var(--navy); white-space: nowrap; }
.nav .nav__tel::before { content: "Tel. "; font-weight: 500; color: var(--muted); }
.header-call { display: none; }

@media (max-width: 1260px) {
  .header-call {
    display: inline-flex; align-items: center; margin-left: auto; margin-right: 10px;
    background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
    border-radius: var(--radius); padding: 10px 14px;
  }
  .header-call:hover { background: var(--red-dark); color: #fff; }
}
@media (max-width: 1260px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 1.5px solid var(--navy); color: var(--navy);
    border-radius: var(--radius); padding: 9px 14px; font: 600 .95rem var(--sans); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__portal { margin-top: 14px; text-align: center; border-bottom: 1.5px solid var(--navy); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 1rem var(--sans); line-height: 1.2;
  padding: 15px 26px; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Hero (Startseite) ---------- */
.hero-wrap { position: relative; background: #fff; }
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
}
.hero {
  position: relative; color: #fff;
  background: var(--navy-deep);
  background-image: linear-gradient(115deg, var(--navy-ink) 0%, var(--navy-deep) 46%, var(--navy) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 calc(100% - 9px));
  padding: clamp(56px, 8vw, 100px) 0 clamp(100px, 10vw, 140px);
}
.hero .wrap { display: block; }
.hero h1 { color: #fff; margin-bottom: .45em; max-width: 18ch; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hero .lead { color: #d3dff0; max-width: 52ch; }
.hero .region { margin-top: 28px; color: #aebfd8; font-size: .95rem; }

.report {
  background: #fff; color: var(--ink); border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.55);
  padding: 26px 28px 24px; position: relative;
}
.report__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 6px; }
.report__title { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.report__tag { font-size: .8rem; color: var(--muted); }
.report ul { list-style: none; margin: 0; padding: 0; }
.report li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.4; }
.report li:last-child { border-bottom: 0; padding-bottom: 4px; }
.report .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin-top: 1px; }
.report .tick svg { width: 12px; height: 12px; }
.report li strong { display: block; font-weight: 600; }
.report li span.sub { color: var(--muted); font-size: .88rem; }
.report li.decide .tick { background: var(--red); }
.report li.decide strong { color: var(--red-dark); }

@media (prefers-reduced-motion: no-preference) {
  .report li { opacity: 0; transform: translateY(8px); animation: rise .5s ease forwards; }
  .report li:nth-child(1) { animation-delay: .25s; }
  .report li:nth-child(2) { animation-delay: .55s; }
  .report li:nth-child(3) { animation-delay: .85s; }
  .report li:nth-child(4) { animation-delay: 1.25s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-deep); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: #c7d5e9; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Ergebnisse: große Aussagen statt Karten */
.outcomes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 100px); }
.outcomes .section-head { position: sticky; top: 110px; align-self: start; margin-bottom: 0; }
.outcome { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.outcome:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.outcome h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; gap: 16px; align-items: baseline; }
.outcome h3::before { content: ""; flex: none; width: 28px; height: 4px; background: var(--red); transform: translateY(-.28em); }
.outcome p { margin-left: 44px; color: var(--muted); }
@media (max-width: 900px) {
  .outcomes { grid-template-columns: 1fr; }
  .outcomes .section-head { position: static; margin-bottom: 20px; }
  .outcome p { margin-left: 0; }
}

/* Leistungen für Sie: zwei Spalten mit Trennlinie */
.gives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); }
.give { padding: 30px 30px 8px 0; }
.give + .give { padding-left: 30px; border-left: 1px solid var(--line); }
.give h3 { margin-bottom: .4em; }
.give p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .gives { grid-template-columns: 1fr; }
  .give, .give + .give { padding: 26px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Vorteile (dunkel) */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 88px); }
.reason { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.22); }
.reason h3 { margin-bottom: .35em; }
.reason p { color: #c7d5e9; margin: 0; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* Ablauf: echte Reihenfolge */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font: 600 1.15rem var(--serif);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 54px; right: -12px; height: 2px; background: var(--line); }
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps li { padding: 0 0 26px 62px; min-height: 50px; }
  .steps li:not(:last-child)::after { top: 46px; bottom: 4px; left: 20px; right: auto; width: 2px; height: auto; }
}

/* Zielgruppen */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audience { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 34px 34px 30px; }
.audience:nth-child(2) { border-top-color: var(--red); }
.audience p { color: var(--muted); }
.audience a.more { font-weight: 600; }
@media (max-width: 760px) { .audiences { grid-template-columns: 1fr; } }

/* CTA-Band */
.cta { text-align: left; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0 0 .25em; }
.cta p { margin: 0; color: #c7d5e9; }

/* ---------- Unterseiten ---------- */
.page-head { background: var(--navy-deep); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); border-bottom: 6px solid var(--red); }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 20ch; margin-bottom: .35em; }
.page-head .lead { color: #c7d5e9; margin: 0; }

.jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.jump a { color: #fff; border: 1.5px solid rgba(255,255,255,.55); border-radius: var(--radius); padding: 9px 16px; text-decoration: none; font-weight: 500; }
.jump a:hover { background: #fff; color: var(--navy-deep); }

.service-block { padding: clamp(56px, 7vw, 90px) 0; }
.service-block + .service-block { border-top: 1px solid var(--line); background: var(--paper); }
.service-intro { max-width: 760px; margin-bottom: 40px; }
.service-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); background: transparent; }
.service-col { padding: 28px 28px 10px 0; }
.service-col + .service-col { padding-left: 28px; border-left: 1px solid var(--line); }
.service-col h3 { padding-bottom: 10px; margin-bottom: 14px; position: relative; }
.service-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--red); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 26px; font-size: 1rem; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px;
  background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media (max-width: 960px) {
  .service-cols { grid-template-columns: 1fr; }
  .service-col, .service-col + .service-col { padding: 26px 0 8px; border-left: 0; border-bottom: 1px solid var(--line); }
}

.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul { padding-left: 1.2em; max-width: 64ch; }
.prose li { margin-bottom: .4em; }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.portrait {
  position: sticky; top: 110px; overflow: hidden;
  aspect-ratio: 4/5; background: var(--paper); border-bottom: 10px solid var(--red);
  display: grid; place-items: center; padding: 8%;
}
.portrait img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.about__caption { font-size: .92rem; color: var(--muted); margin-top: 14px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); margin-top: 8px; }
.principle { padding: 22px 0; border-top: 1px solid var(--line); }
.principle h3 { margin-bottom: .3em; font-size: 1.15rem; }
.principle p { margin: 0; color: var(--muted); font-size: 1rem; }
.facts { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--ink); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 340px; }
  .principles { grid-template-columns: 1fr; }
}

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 3px solid var(--navy); }
.contact-list .k { color: var(--muted); font-size: .92rem; padding-top: 2px; }
.contact-list a { font-weight: 600; }
.bring { background: var(--paper); border-left: 4px solid var(--red); padding: 26px 28px; }
.bring ul { margin: 0; padding-left: 1.2em; }
.bring li { margin-bottom: .5em; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

/* Portal */
.portal-box { max-width: 640px; border: 1px solid var(--line); border-top: 5px solid var(--navy); padding: clamp(26px, 4vw, 44px); background: #fff; box-shadow: 0 24px 50px -34px rgba(10,46,86,.45); }
.portal-box h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.portal-help { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; max-width: 900px; }
.portal-help div { border-top: 1px solid var(--line); padding: 20px 0; }
.portal-help h3 { font-size: 1.1rem; }
.portal-help p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 760px) { .portal-help { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #c2d0e4; border-top: 6px solid var(--red); padding: 56px 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .8em; }
.footer-grid p { margin: 0 0 .5em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5em; }
.footer-brand { font-family: var(--serif); color: #fff; font-size: 1.25rem; font-weight: 600; margin-bottom: .5em; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .9rem; color: #93a8c6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.prose .facts { padding-left: 0; max-width: none; }
.prose .facts li { margin-bottom: 0; }

/* Startseite: Aufgabenteilung "Wir übernehmen / Sie entscheiden" */
.split {
  background: #fff; color: var(--ink); border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.55); padding: 26px 28px 12px;
}
.split__head { margin-bottom: 16px; }
.split__title { text-wrap: balance; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--navy); }
.split__tabs { display: flex; gap: 0; border-bottom: 2px solid var(--navy); }
.split__tabs button {
  font: 600 .92rem var(--sans); color: var(--navy); background: #fff; cursor: pointer;
  border: 1.5px solid var(--line); border-bottom: 0; border-radius: 4px 4px 0 0;
  padding: 10px 16px; margin-right: 6px; position: relative; top: 2px;
}
.split__tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.split__tabs button:not([aria-selected="true"]):hover { background: var(--paper); }
.split ul { list-style: none; margin: 0; padding: 0; }
.split li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.42; display: grid; gap: 7px; }
.split li:last-child { border-bottom: 0; }
.split .we { color: var(--ink); }
.split .you { font-weight: 700; color: var(--red-dark); padding-left: 12px; border-left: 3px solid var(--red); }
.split .you--none { color: var(--muted); font-weight: 600; border-left-color: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .split [role="tabpanel"]:not([hidden]) li { opacity: 0; transform: translateY(8px); animation: rise .5s ease forwards; }
  .split [role="tabpanel"]:not([hidden]) li:nth-child(1) { animation-delay: .1s; }
  .split [role="tabpanel"]:not([hidden]) li:nth-child(2) { animation-delay: .25s; }
  .split [role="tabpanel"]:not([hidden]) li:nth-child(3) { animation-delay: .4s; }
  .split [role="tabpanel"]:not([hidden]) li:nth-child(4) { animation-delay: .55s; }
  .split [role="tabpanel"]:not([hidden]) li:nth-child(5) { animation-delay: .7s; }
  .split [role="tabpanel"]:not([hidden]) li:nth-child(n+6) { animation-delay: .85s; }
}
@media (max-width: 520px) { .split__tabs button { padding: 10px 12px; font-size: .86rem; } }

/* Zweispalter mit Monatsbericht */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.duo .report { box-shadow: 0 24px 50px -34px rgba(10,46,86,.45); border: 1px solid var(--line); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* Breite Variante der Aufgabenteilung (eigener Abschnitt) */
.split--wide { box-shadow: 0 24px 50px -34px rgba(10,46,86,.45); border: 1px solid var(--line); padding: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) 10px; border-radius: 6px; }
.split--wide .split__tabs button { font-size: 1rem; padding: 12px 22px; }
.split__cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 clamp(20px, 4vw, 56px); padding: 14px 0 8px; font: 700 .9rem var(--sans); color: var(--muted); border-bottom: 1px solid var(--line); }
.split__cols span:first-child { color: var(--navy); }
.split__cols span:last-child { color: var(--red-dark); padding-left: 15px; }
.split--wide li { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 8px clamp(20px, 4vw, 56px); align-items: center; padding: 18px 0; font-size: 1.02rem; }
.split--wide .you { padding-top: 2px; padding-bottom: 2px; }
@media (max-width: 760px) {
  .split__cols { display: none; }
  .split--wide li { grid-template-columns: 1fr; gap: 8px; }
}
.section-head h2 { text-wrap: balance; }
@media (max-width: 520px) {
  .split__tabs button { flex: 1 1 0; min-width: 0; margin-right: 4px; padding: 10px 6px; font-size: .86rem; }
  .split__tabs button:last-child { margin-right: 0; }
}
.split .we__title { display: block; font-weight: 700; color: var(--navy); margin-bottom: 3px; }

/* Beitrag der Eigentümer durchgehend im Markenrot */
.split .you, .split .you--none { color: var(--red); border-left-color: var(--red); }
.split__cols span:last-child { color: var(--red); }

/* Trennstriche der Vorteile im Markenrot */
.reason { border-top: 2px solid var(--red); }

/* Einleitungstext: lang, daher etwas kleiner */
.section-head .lead.long { font-size: 1.1rem; line-height: 1.65; max-width: 70ch; }
.gives .give h3 { text-wrap: balance; }
.gives--red { border-top-color: var(--red); }

/* Philosophie auf "Über uns" */
.philosophy { margin: 28px 0 32px; }
.philosophy .outcome h3 { font-size: 1.3rem; }
.philosophy .outcome p { max-width: 58ch; }

.qb__cta { justify-content:center; }

/* ---------- Muster-Quartalsbericht im Briefformat (nach Immoware24-Vorlage) ---------- */
.ab-badge { max-width: 820px; margin: 0 auto 18px; font-size: .9rem; color: var(--muted); text-align: center; }
.ab { --ab-navy: #17457e; --ab-red: #e30613; --ab-tint: #e8eef6; --ab-line: #c9d4e3;
  max-width: 820px; margin: 0 auto; display: grid; gap: 28px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; color: #000; font-size: 13.5px; line-height: 1.42; }
.ab-page { background: #fff; min-height: 1160px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 168px; column-gap: 34px;
  padding: 44px 26px 44px 66px; box-shadow: 0 1px 2px rgba(10,46,86,.08), 0 24px 50px -28px rgba(10,46,86,.45); border: 1px solid #e3e8ef; }
.ab-main { min-width: 0; padding-top: 96px; }
.ab-page--2 .ab-main { padding-top: 0; }
.ab p { max-width: none; }
.ab-main p { margin: 0 0 9px; }
.ab-sender { font-size: 9.5px; color: var(--ab-navy); margin-bottom: 26px !important; }
.ab-recipient { margin-bottom: 40px !important; }
.ab-date { text-align: right; color: var(--ab-navy); margin-bottom: 14px !important; }
.ab-head { border-bottom: 2px solid var(--ab-red); padding-bottom: 6px; margin-bottom: 16px; }
.ab-title { font-family: inherit; font-size: 19px; font-weight: 700; color: var(--ab-navy); letter-spacing: 0; margin: 0 0 4px; font-variation-settings: normal; line-height: 1.25; }
.ab-obj { margin: 0 0 2px !important; color: #555; }
.ab-obj strong { color: #000; }
.ab-period { color: #666; margin: 0 !important; }
.ab-h { font-family: inherit; font-weight: 700; font-size: 16.5px; color: var(--ab-navy); letter-spacing: 0; font-variation-settings: normal; line-height: 1.3;
  border-bottom: 1.5px solid var(--ab-navy); padding-bottom: 4px; margin: 22px 0 10px; display: flex; gap: 12px; }
.ab-page--2 .ab-main > .ab-h:first-child { margin-top: 0; }
.ab-h span { color: var(--ab-red); }
.ab-sub { font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ab-navy); letter-spacing: 0; font-variation-settings: normal; margin: 14px 0 6px; }
.ab-label { font-weight: 700; margin: 12px 0 3px !important; }
.ab-note { font-size: 11.5px; font-style: italic; color: #555; }
.ab ul { margin: 0 0 6px; padding-left: 18px; }
.ab li { margin: 0 0 2px; }
.ab-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 13.5px; }
.ab-table th, .ab-table td { border: 1px solid var(--ab-line); padding: 6px 8px; vertical-align: middle; }
.ab-table thead th { background: var(--ab-navy); color: #fff; font-weight: 700; text-align: left; border-color: var(--ab-navy); }
.ab-table thead th:last-child { text-align: right; }
.ab-table tbody td { background: var(--ab-tint); }
.ab-table tbody td:last-child { background: #fff; text-align: right; white-space: nowrap; width: 34%; }
.ab-table small { display: block; color: #666; font-size: 11px; }
.ab-table--stats thead th, .ab-table--stats thead th:last-child { text-align: center; }
.ab-table--stats tbody td, .ab-table--stats tbody td:last-child { background: #fff; text-align: center; width: auto; font-weight: 700; font-size: 15px; }
.ab-table--kv th { background: var(--ab-tint); font-weight: 700; text-align: left; width: 34%; }
.ab-table--kv td, .ab-table--kv tbody td:last-child { background: #fff; text-align: left; width: auto; white-space: normal; }
.ab-sign { color: var(--ab-navy); font-weight: 700; margin-top: 22px !important; }
.ab-side { display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.35; color: var(--ab-navy); min-width: 0; }
.ab-logo { width: 100px; height: auto; margin: -14px 0 0 8px; }
.ab-logo-space { height: 86px; }
.ab-side__block { margin-top: 30px; }
.ab-side__block p { margin: 0 0 6px; overflow-wrap: anywhere; }
.ab-side__k { color: var(--ab-red); font-weight: 700; font-size: 12.5px; margin: 0 !important; }
.ab-side__k + p { margin-bottom: 4px; }
.ab-side__foot { margin-top: auto; font-size: 10.5px; }
.ab-side__foot .ab-side__k { font-size: 10.5px; margin-top: 9px !important; }
.ab-side__foot .ab-side__k:first-child { margin-top: 0 !important; }
.ab-side__foot strong { font-weight: 700; }
@media (max-width: 760px) {
  .ab { font-size: 15px; gap: 18px; }
  .ab-page { min-height: 0; grid-template-columns: 1fr; padding: 24px 18px 26px; }
  .ab-main { padding-top: 0; order: 2; }
  .ab-side { order: 1; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: start; margin-bottom: 18px; font-size: 12.5px; }
  .ab-logo { width: 84px; margin: 0; grid-row: span 2; }
  .ab-side__block { margin-top: 0; }
  .ab-side__foot { display: none; }
  .ab-page--2 .ab-side { order: 3; display: block; margin: 18px 0 0; }
  .ab-page--2 .ab-logo-space, .ab-page--2 .ab-side__block:not(.ab-side__foot) { display: none; }
  .ab-page--2 .ab-side__foot { display: block; padding-top: 12px; border-top: 1px solid var(--ab-line); }
  .ab-sender { margin-bottom: 14px !important; }
  .ab-recipient { margin-bottom: 18px !important; }
  .ab-table { font-size: 13.5px; }
  .ab-table tbody td:last-child { white-space: normal; }
}

/* ---------- Ergänzungen Oktober 2026 ---------- */
/* Dachzeile über der Hauptüberschrift */
.eyebrow { display: inline-block; font-family: var(--sans); font-weight: 650; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #ffb3b5; margin: 0 0 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }

/* Vertrauensleiste unter dem Hero */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.trust li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 3px solid var(--red); }
.trust strong { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.trust span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 1000px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; padding: 22px 0; } }

/* Häufige Fragen */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 3px solid var(--navy); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--navy); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.faq .answer { padding: 0 0 20px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-note { margin-top: 22px; font-size: .9rem; color: var(--muted); }

/* Kontakt: Hinweis unter den Buttons */
.hint { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* Kleine Bildschirme: Anruf-Button nur als Symbol */
@media (max-width: 520px) {
  .site-header .wrap { gap: 10px; }
  .header-call {
    width: 44px; height: 44px; padding: 0; margin-right: 6px; justify-content: center;
    font-size: 0; color: transparent;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 22px no-repeat;
  }
  .header-call:hover { background-color: var(--red-dark); }
}

/* Reiter auf dem Handy: vollständig lesbar */
@media (max-width: 520px) {
  .split--wide .split__tabs button { flex: 1 1 0; min-width: 0; padding: 10px 6px; font-size: .86rem; white-space: normal; line-height: 1.25; }
}

/* ---------- Zusammenführung: Prinzip, Aufgabenlisten, Infobox, Bereiche ---------- */
ol.principle { list-style: none; margin: 0 0 clamp(24px, 3vw, 36px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: pr; }
ol.principle li { counter-increment: pr; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; }
ol.principle li::before { content: counter(pr); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 1.05rem var(--sans); }
ol.principle li:nth-child(2)::before { background: var(--red); }
ol.principle strong { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
ol.principle li:nth-child(2) strong { color: var(--red-dark); }
ol.principle span { color: var(--muted); font-size: .95rem; line-height: 1.35; }
@media (max-width: 760px) { ol.principle { grid-template-columns: 1fr; gap: 10px; } }

.split .we__item { display: block; position: relative; padding-left: 18px; color: var(--ink); }
.split .we__item::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); opacity: .55; }
.split .you__note { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: 3px; }

.infobox { margin-top: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 6px; padding: 22px 26px; }
.infobox h3 { font-size: 1.25rem; margin-bottom: .35em; }
.infobox p { margin: 0; color: var(--muted); }

.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.area { border-top: 4px solid var(--navy); background: var(--paper); padding: 28px 28px 24px; }
.area:nth-child(2) { border-top-color: var(--red); }
.area h3 { font-size: 1.3rem; }
.area p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }

/* ---------- CTA-Signatur: Logo wandert, Schriftzug erscheint ---------- */
.cta-signature {
  --L: 58px; --gap: 18px; --dur: 2.1s; --ease: cubic-bezier(.65, 0, .25, 1);
  position: relative; display: inline-flex; align-items: center;
  min-height: var(--L); margin: 0 0 26px; padding-right: calc(var(--L) + var(--gap));
}
.cta-signature__text {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.1; letter-spacing: -.01em;
  color: #fff; white-space: nowrap;
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #c7d5e9 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-signature__dot { color: var(--red); -webkit-text-fill-color: var(--red); }
.cta-signature__trail {
  position: absolute; left: 0; right: calc(var(--L) + var(--gap)); bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(215,20,26,0) 0%, rgba(215,20,26,.55) 45%, var(--red) 100%);
  transform-origin: left center;
}
.cta-signature__logo {
  position: absolute; top: 50%; left: calc(100% - var(--L)); width: var(--L); height: var(--L); margin-top: calc(var(--L) / -2);
  border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.35), 0 0 0 7px rgba(255,255,255,.07);
}
.cta-signature__logo img { width: 66%; height: auto; }
.cta-signature__logo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55); opacity: 0; pointer-events: none;
}

/* Ausgangszustand (nur wenn JavaScript die Animation vorbereitet) */
.cta-signature.is-armed .cta-signature__text { clip-path: inset(-10% 100% -20% 0); }
.cta-signature.is-armed .cta-signature__trail { transform: scaleX(0); }
.cta-signature.is-armed .cta-signature__logo { transform: translateX(calc(-1 * var(--travel, 300px))) rotate(-14deg); opacity: 0; }

/* Ablauf */
.cta-signature.is-playing .cta-signature__text {
  animation: sigReveal var(--dur) var(--ease) forwards, sigSheen 1.4s ease-out calc(var(--dur) + .1s) forwards;
}
.cta-signature.is-playing .cta-signature__trail { animation: sigTrail var(--dur) var(--ease) forwards; }
.cta-signature.is-playing .cta-signature__logo {
  animation: sigTravel var(--dur) var(--ease) forwards, sigFade .45s ease-out forwards, sigSettle .6s cubic-bezier(.3,1.6,.5,1) var(--dur) both;
}
.cta-signature.is-playing .cta-signature__logo::after { animation: sigRing 1.1s ease-out calc(var(--dur) + .05s) forwards; }

@keyframes sigReveal { from { clip-path: inset(-10% 100% -20% 0); } to { clip-path: inset(-10% 0 -20% 0); } }
@keyframes sigTrail  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sigTravel { from { transform: translateX(calc(-1 * var(--travel, 300px))) rotate(-14deg); } to { transform: translateX(0) rotate(0); } }
@keyframes sigFade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes sigSettle { 0% { scale: 1; } 40% { scale: 1.1; } 100% { scale: 1; } }
@keyframes sigRing   { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
@keyframes sigSheen  { from { background-position: 100% 0; } to { background-position: 0 0; } }

@media (max-width: 520px) { .cta-signature { --L: 48px; --gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .cta-signature .cta-signature__text, .cta-signature .cta-signature__trail, .cta-signature .cta-signature__logo { animation: none !important; clip-path: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------- Ausklappbare Aufgaben im Bereich „So kümmern wir uns“ ---------- */
.acc-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 0; font-size: .9rem; color: var(--muted); }
.acc-toggle { background: none; border: 1.5px solid var(--navy); color: var(--navy); border-radius: var(--radius); padding: 7px 14px; font: 600 .88rem var(--sans); cursor: pointer; white-space: nowrap; }
.acc-toggle:hover { background: var(--navy); color: #fff; }
.split--wide li.acc { display: block; padding: 0; }
.acc details { border-radius: 4px; }
.acc summary {
  list-style: none; cursor: pointer; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 30px; gap: 8px clamp(20px, 4vw, 56px);
  padding: 17px 0; transition: background-color .15s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .acc__title { color: var(--red-dark); }
.acc summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.acc__title { font-weight: 700; color: var(--navy); font-size: 1.04rem; transition: color .15s; }
.acc__you { font-weight: 700; color: var(--red-dark); padding-left: 12px; border-left: 3px solid var(--red); line-height: 1.35; }
.acc__icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; justify-self: end; transition: background-color .2s, border-color .2s, transform .3s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, background-color .2s; }
.acc__icon::after { transform: rotate(90deg); }
.acc summary:hover .acc__icon { border-color: var(--navy); }
.acc details[open] .acc__icon { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.acc details[open] .acc__icon::before { background: #fff; }
.acc details[open] .acc__icon::after { background: #fff; transform: rotate(0deg); }
.acc__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 30px; gap: 8px clamp(20px, 4vw, 56px); padding: 0 0 20px; }
.acc details[open] .acc__body { animation: accOpen .35s ease both; }
@keyframes accOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acc__we .we__item { display: block; position: relative; padding-left: 18px; color: var(--ink); margin-bottom: 3px; }
.acc__we .we__item::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); opacity: .55; }
.acc__side { padding-left: 15px; }
.acc__note { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .acc summary { grid-template-columns: minmax(0, 1fr) 30px; }
  .acc__title { grid-column: 1; }
  .acc__you { grid-column: 1; grid-row: 2; font-size: .95rem; }
  .acc__icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .acc__body { grid-template-columns: 1fr; }
  .acc__side { padding-left: 15px; border-left: 3px solid var(--line); }
  .acc__side:empty { display: none; }
  .acc-tools__hint { display: none; }
  .acc-tools { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .acc details[open] .acc__body { animation: none; } .acc__icon, .acc__icon::before, .acc__icon::after { transition: none; } }

/* ---------- Reihenfolge: WEG zuerst und links, Einzeleigentümer rechts (entspricht dem Seitenaufbau) ---------- */
.audiences .audience--weg { border-top-color: var(--navy); }
.audiences .audience--miet { border-top-color: var(--red); }

/* ---------- Gesamter Aufgabenbereich ein- und ausklappbar ---------- */
.split-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 6px;
  padding: 18px 22px; cursor: pointer; font-family: var(--sans); color: var(--ink);
  box-shadow: 0 14px 30px -24px rgba(10,46,86,.45); transition: border-color .2s, box-shadow .2s;
}
.split-toggle:hover { border-color: var(--navy); box-shadow: 0 18px 36px -22px rgba(10,46,86,.5); }
.split-toggle__text strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.2; }
.split-toggle__text span { display: block; color: var(--muted); font-size: .95rem; margin-top: 3px; }
.split-toggle__action { display: inline-flex; align-items: center; gap: 12px; flex: none; font-weight: 650; color: var(--navy); font-size: .95rem; }
.split-toggle__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); position: relative; transition: background-color .2s, transform .35s; }
.split-toggle__icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -4.5px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.split-toggle[aria-expanded="true"] .split-toggle__icon { transform: rotate(180deg); background: var(--red); }
.split-toggle:hover .split-toggle__icon { background: var(--red); }
.split-collapse { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1), opacity .35s; }
.split-collapse__inner { min-height: 0; overflow: hidden; padding: 20px 2px 34px; margin: 0 -2px -34px; }
.split-collapse:not(.is-open) { grid-template-rows: 0fr; opacity: 0; }
@media (max-width: 520px) {
  .split-toggle { padding: 16px; }
  .split-toggle__label { display: none; }
  .split-toggle__text strong { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) { .split-collapse, .split-toggle__icon { transition: none; } }


/* ---------- Über uns: „So arbeiten wir“ als dunkler, gegliederter Block ---------- */
.work { background: var(--navy-deep); background-image: linear-gradient(135deg, var(--navy-ink) 0%, var(--navy-deep) 55%, #0d3767 100%); color: #fff; }
.work .section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.work h2 { color: #fff; margin: 0; }
.work .section-head p { color: #c7d5e9; margin: 0; max-width: 46ch; }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: work; }
.work-card { counter-increment: work; position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--red); border-radius: 6px; padding: 26px 24px 26px; display: flex; flex-direction: column; gap: 10px; transition: background-color .2s, transform .2s; }
.work-card:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.work-card::before { content: counter(work, decimal-leading-zero); font: 600 .9rem var(--sans); letter-spacing: .14em; color: #ff8a8e; }
.work-card h3 { color: #fff; font-size: 1.25rem; margin: 0; }
.work-card p { color: #c7d5e9; margin: 0; font-size: .98rem; line-height: 1.55; max-width: none; }
.work .btn-row { margin-top: clamp(28px, 4vw, 40px); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Lutkis: dezente Hinweisgeber (Umrissfiguren) ---------- */
.lutki { display: block; height: auto; flex: none; }
.infobox--lutki { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; align-items: center; }
.infobox--lutki .lutki { grid-row: span 2; width: 76px; }
.infobox--lutki a { font-weight: 600; white-space: nowrap; }
.lutki-tip { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; max-width: 520px; }
.lutki-tip .lutki { width: 72px; }
.lutki-tip p { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: .95rem; color: var(--ink); }
.lutki-tip p::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--paper); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.portal-steps { margin-top: 40px; max-width: 900px; }
.portal-steps__title { font-size: 1.25rem; margin-bottom: 14px; }
.portal-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portal-steps li { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px 20px; background: #fff; }
.portal-steps img { height: 112px; width: auto; align-self: flex-start; }
.portal-steps strong { display: block; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.08rem; margin-bottom: 4px; }
.portal-steps span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 760px) {
  .portal-steps ol { grid-template-columns: 1fr; }
  .portal-steps li { flex-direction: row; align-items: flex-start; gap: 14px; }
  .portal-steps img { height: 80px; width: auto; }
  .infobox--lutki { grid-template-columns: 52px 1fr; column-gap: 14px; }
  .infobox--lutki .lutki { width: 52px; }
}

/* ---------- Tabellenkopf „Das erledigen wir für Sie | Ihr Beitrag“ ---------- */
.split .split__cols, .split--wide .split__cols {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 30px; gap: 0 clamp(20px, 4vw, 56px);
  margin-top: 14px; padding: 13px 14px; border: 0; border-radius: 4px 4px 0 0;
  background: var(--navy); font: 700 .95rem var(--sans); letter-spacing: .01em;
}
.split .split__cols span:first-child { color: #fff; }
.split .split__cols span:last-child { color: #fff; padding-left: 15px; border-left: 3px solid var(--red); }
.split .acc summary { padding-left: 14px; padding-right: 14px; }
.split .acc__body { padding-left: 14px; padding-right: 14px; }
.split .acc:nth-child(even) summary { background: var(--paper); }
.split .acc summary:hover { background: #e9eff7; }
@media (max-width: 760px) {
  .split .split__cols, .split--wide .split__cols { display: grid; grid-template-columns: 1fr 1fr; font-size: .82rem; padding: 10px 12px; gap: 0 10px; }
  .split .split__cols span:last-child { padding-left: 10px; }
  .split .acc summary, .split .acc__body { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Zusammengeführt: Für wen wir verwalten + Aufgabenbereiche ---------- */
.areas-title { font-size: 1.2rem; margin: clamp(34px, 4vw, 48px) 0 16px; display: flex; align-items: center; gap: 14px; }
.areas-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.areas--compact { list-style: none; margin: 0; padding: 0; counter-reset: area; }
.areas--compact .area { counter-increment: area; background: var(--paper); border-top: 3px solid var(--navy); padding: 22px 24px; }
.areas--compact .area:nth-child(2) { border-top-color: var(--red); }
.areas--compact .area h4 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy); margin: 0 0 .4em; display: flex; gap: 10px; align-items: baseline; }
.areas--compact .area h4::before { content: counter(area, decimal-leading-zero); font: 700 .8rem var(--sans); letter-spacing: .12em; color: var(--red); }
.areas--compact .area p { font-size: .97rem; }

/* Schlagworte: kein Überlappen bei mittleren Breiten */
.trust li { min-width: 0; }
.trust strong, .trust span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 1180px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } }

/* Lange deutsche Wörter sauber umbrechen statt überlaufen */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.work-card p, .area p, .audience p, .portal-steps span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- Fotos ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__house { margin: 0; max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .hero__house { display: none; } }

/* ---------- Hausanimation (Startseite) ---------- */
.house { display: block; width: 100%; height: auto; overflow: visible; }
.house__line { fill: none; stroke: #d6e4f5; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: houseDraw 1.1s cubic-bezier(.6,.05,.3,1) var(--d, 0s) forwards; }
.house__line--thin { stroke-width: 1.8; stroke: #9fb9d9; }
.house__win .house__line--win { stroke-width: 2; animation-delay: calc(1.4s + var(--i) * .09s); }
.house__win .house__line--sill { stroke-width: 2.4; animation-delay: calc(1.5s + var(--i) * .09s); }
.house__glow { fill: #ffd27a; opacity: 0; animation: houseLight .6s ease-out calc(2.7s + var(--i) * .22s) forwards; }
.house__win:nth-child(3n+2) .house__glow { animation: houseLight .6s ease-out calc(2.7s + var(--i) * .22s) forwards, houseFlicker 9s ease-in-out calc(6s + var(--i) * 1.3s) infinite; }
.house__badge { opacity: 0; transform-box: fill-box; transform-origin: center; animation: houseBadge .7s cubic-bezier(.3,1.5,.5,1) 2.3s forwards; }
.house__smoke circle { fill: #d6e4f5; opacity: 0; animation: houseSmoke 4.5s ease-out infinite; }
.house__smoke circle:nth-child(1) { animation-delay: 3s; }
.house__smoke circle:nth-child(2) { animation-delay: 4.5s; }
.house__smoke circle:nth-child(3) { animation-delay: 6s; }
@keyframes houseDraw { to { stroke-dashoffset: 0; } }
@keyframes houseLight { 0% { opacity: 0; } 60% { opacity: .95; } 100% { opacity: .82; } }
@keyframes houseFlicker { 0%, 40%, 100% { opacity: .82; } 50%, 85% { opacity: .12; } }
@keyframes houseBadge { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes houseSmoke { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: .35; } 100% { opacity: 0; transform: translate(14px, -46px) scale(1.6); } }
@media (prefers-reduced-motion: reduce) {
  .house__line { animation: none; stroke-dashoffset: 0; }
  .house__glow { animation: none; opacity: .82; }
  .house__badge { animation: none; opacity: 1; }
  .house__smoke { display: none; }
}

.contact-photo { margin: 0 0 22px; }
.contact-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border-bottom: 5px solid var(--navy); }

/* Lange Wörter im Fließtext auf schmalen Handys trennen */
@media (max-width: 420px) { main p, main li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* Datenschutz: Kurzüberblick */
.ds-summary { background: var(--paper); border-left: 4px solid var(--navy); border-radius: 6px; padding: 20px 24px; margin: 24px 0 32px; }
.ds-summary h2 { margin-top: 0; font-size: 1.3rem; }
.ds-summary ul { margin: 0; padding-left: 1.1em; }
.ds-summary li { margin-bottom: .5em; }

/* Menüeinträge nie umbrechen */
.nav a, .header-call { white-space: nowrap; }

/* Über uns ohne Bild: eine Textspalte */
.about--text { display: block; }
.about--text > .prose { max-width: 860px; }


/* ---------- Muster-Quartalsbericht: Wasserzeichen und Kopierschutz ---------- */
.ab { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ab img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.ab-page { position: relative; overflow: hidden; }
.ab-page::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22420%22%20height%3D%22260%22%20viewBox%3D%220%200%20420%20260%22%3E%3Cg%20transform%3D%22rotate%28-30%20210%20130%29%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20text-anchor%3D%22middle%22%20fill%3D%22%2311457e%22%20fill-opacity%3D%220.09%22%3E%3Ctext%20x%3D%22210%22%20y%3D%22122%22%20font-size%3D%2240%22%20font-weight%3D%22700%22%20letter-spacing%3D%226%22%3EMUSTER%3C/text%3E%3Ctext%20x%3D%22210%22%20y%3D%22152%22%20font-size%3D%2213%22%20font-weight%3D%22700%22%20letter-spacing%3D%221.5%22%3EFLORIAN%20FUHRMANN%20IMMOBILIENVERWALTUNG%3C/text%3E%3C/g%3E%3C/svg%3E"); background-repeat: repeat; background-size: 420px 260px; background-position: 0 40px;
}
@media print {
  .ab { display: none !important; }
  .ab-badge::after { content: " Der Musterbericht kann nicht gedruckt werden."; }
}

/* Startseite Handy: Kopfbereich einspaltig, Überschrift ohne Silbentrennung */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
}
.hero h1 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.hero h1, .hero p, .hero .eyebrow { hyphens: manual !important; -webkit-hyphens: manual !important; }

/* Sehr schmale Handys (z. B. iPhone SE): Kopfzeile passt vollständig */
.header-call { flex: none; }
.brand { min-width: 0; }
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: .7rem; }
  .header-call { width: 42px; height: 42px; margin-right: 2px; }
  .nav-toggle { padding: 8px 10px; font-size: .9rem; }
}
.duo > * { min-width: 0; }
@media (max-width: 380px) { .btn { white-space: normal; text-align: center; padding-left: 18px; padding-right: 18px; } }
