/* Rimer Immobilienberatung – Startseite. Schriften lokal (DSGVO): Fraunces (Überschriften), Inter (Text). */
@font-face { font-family: "Fraunces"; src: url("/static/startseite/fonts/Fraunces-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/startseite/fonts/Inter-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #0e1a2b;
  --navy-2: #15273f;
  --navy-3: #1d3454;
  --brass: #c4a461;        /* Akzent auf dunklem Grund */
  --brass-light: #dcc58d;
  --brass-dark: #7d6428;   /* Akzent auf hellem Grund (Kontrast >= 4.5:1) */
  --paper: #f7f5f0;
  --white: #ffffff;
  --ink: #17202e;
  --muted: #54606f;
  --line: #e3ded2;
  --ok: #2f6b4a;
  --err: #a63a2b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 26, 43, .10);
  --shadow-lg: 0 22px 50px rgba(14, 26, 43, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { border: 1px dashed currentColor; border-radius: 6px; padding: 0 6px; font-weight: 600; opacity: .85; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brass); color: var(--navy); box-shadow: 0 8px 22px rgba(196, 164, 97, .35); }
.btn-primary:hover { background: var(--brass-light); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease; }
.header-in { width: min(1120px, 100% - 32px); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: height .3s ease; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 64px; width: auto; transition: height .3s ease; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .92; padding: 6px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { display: none; }
.burger { width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 12px; }
.burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease, background .3s ease; content: ""; position: relative; }
.burger span::before { position: absolute; top: -8px; }
.burger span::after { position: absolute; top: 8px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }
.site-header.scrolled { background: rgba(14, 26, 43, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.site-header.scrolled .header-in { height: 62px; }
.site-header.scrolled .logo img { height: 42px; }
.mobile-nav { position: fixed; inset: 0 0 0 0; background: rgba(14, 26, 43, .97); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 28px 40px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; z-index: 90; }
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav .btn { margin-top: 22px; font-family: var(--sans); font-size: 1rem; border: 0; }
@media (min-width: 960px) {
  .nav, .header-cta { display: flex; }
  .burger, .mobile-nav { display: none; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: -6%; z-index: -2; will-change: transform;
  background:
    radial-gradient(900px 500px at 78% 20%, rgba(196,164,97,.28), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(29,52,84,.9), transparent 60%),
    linear-gradient(160deg, #1d3454 0%, #0e1a2b 70%);
  /* Eigenes Foto später hier eintragen, z. B.:  background-image: url("/static/startseite/assets/hero.webp"), linear-gradient(...);  */
  animation: kenburns 28s ease-in-out infinite alternate; }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23dcc58d' stroke-width='1'><path d='M10 60 60 18l50 42M24 54v48h72V54M52 102V72h16v30'/></svg>"); background-size: 120px 120px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
@keyframes kenburns { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-in { padding: calc(var(--header-h) + 40px) 0 90px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 4.6rem); font-weight: 400; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--brass-light); }
.hero .line { display: block; overflow: hidden; }
.hero .line > span { display: block; }
.js .hero .line > span { transform: translateY(105%); opacity: 0; animation: lineIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero .line:nth-child(2) > span { animation-delay: .15s; }
.js .hero .line:nth-child(3) > span { animation-delay: .3s; }
@keyframes lineIn { to { transform: none; opacity: 1; } }
.hero .lead { margin-top: 24px; max-width: 46ch; font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: rgba(255,255,255,.88); }
.js .hero .lead, .js .hero .hero-btns { opacity: 0; animation: fadeUp .8s ease .55s forwards; }
.js .hero .hero-btns { animation-delay: .75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--brass); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Vertrauensleiste */
.trust { background: var(--navy); color: #fff; padding: 0; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 20px 4px; border-top: 1px solid rgba(255,255,255,.1); }
.trust-item:first-child { border-top: 0; }
.trust-item svg { width: 30px; height: 30px; color: var(--brass); flex: none; }
.trust-item b { display: block; font-size: 1rem; }
.trust-item span { font-size: .88rem; color: rgba(255,255,255,.72); }
@media (min-width: 560px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } .trust-item { border-top: 0; padding: 18px 4px; } }
@media (min-width: 980px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .trust-item { border-left: 1px solid rgba(255,255,255,.12); padding: 26px 20px; } .trust-item:first-child { border-left: 0; } }

/* Sektionen */
.section { padding: clamp(64px, 11vw, 120px) 0; }
.section.dark { background: var(--navy); color: #fff; }
.section.white { background: var(--white); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 6vw, 56px); }
.sec-head .eyebrow { color: var(--brass-dark); }
.dark .sec-head .eyebrow { color: var(--brass); }
.sec-head h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 400; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.dark .sec-head p { color: rgba(255,255,255,.78); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }

/* Bildplatzhalter */
.img-ph { position: relative; display: grid; place-items: center; text-align: center; padding: 24px; color: #6c7787; font-size: .85rem; background: repeating-linear-gradient(45deg, #e9e6df, #e9e6df 12px, #f1efe9 12px, #f1efe9 24px); border-radius: var(--radius); border: 1px dashed #b5b0a2; }
.img-ph b { display: block; color: #4a5565; margin-bottom: 4px; }

/* Leistungen */
.cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brass); }
.card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--brass); margin-bottom: 20px; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* Region */
.region { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.region-visual { min-height: 260px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 9px 16px; border-radius: 999px; background: rgba(196,164,97,.15); border: 1px solid rgba(196,164,97,.5); font-weight: 500; font-size: .95rem; }
@media (min-width: 860px) { .region { grid-template-columns: 1fr 1fr; gap: 56px; } .region-visual { min-height: 360px; } }

/* Ablauf */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: rgba(255,255,255,.18); }
.timeline .progress { position: absolute; left: 11px; top: 6px; width: 2px; height: 0; background: var(--brass); transition: height 1.4s cubic-bezier(.2,.7,.2,1); }
.timeline li { position: relative; padding: 0 0 34px 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: attr(data-n); position: absolute; left: -30px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-3); border: 2px solid rgba(255,255,255,.35); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; transition: background .4s ease, border-color .4s ease, color .4s ease; }
.timeline li.on::before { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.timeline h3 { font-size: 1.3rem; margin-bottom: 4px; }
.timeline p { color: rgba(255,255,255,.76); max-width: 56ch; }
@media (min-width: 900px) {
  .timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 36px 0 0; }
  .timeline::before { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 2px; }
  .timeline .progress { left: 0; top: 11px; height: 2px; width: 0; transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
  .timeline li { padding: 14px 0 0 0; }
  .timeline li::before { left: 0; top: -36px; }
}

/* Tools (Tabs, Rechner) */
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font: 600 .98rem var(--sans); cursor: pointer; min-height: 48px; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(22px, 5vw, 44px); }
.panel[hidden] { display: none; }
.notice { border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 18px; }
.notice.warn { background: #fdf1d9; color: #6b4a07; border: 1px solid #e6c981; }
.notice.err { background: #fbe9e6; color: var(--err); border: 1px solid #e8b8b0; }
.notice.okk { background: #e8f3ec; color: var(--ok); border: 1px solid #b7d6c2; }
.progressbar { height: 8px; background: #ece8dd; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.progressbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brass-dark), var(--brass)); transition: width .4s ease; }
.step-label { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.step h3 { font-size: 1.5rem; margin-bottom: 16px; }
.step[hidden] { display: none; }
.opts { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .opts { grid-template-columns: repeat(2, 1fr); } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: block; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 500; background: #fff; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.opt input:checked + span { border-color: var(--brass-dark); background: #fbf6ea; box-shadow: 0 0 0 3px rgba(196,164,97,.3); }
.opt input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfc9ba; border-radius: 12px; font: 400 1rem var(--sans); color: var(--ink); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass-dark); outline: 3px solid rgba(196,164,97,.4); outline-offset: 0; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .error { color: var(--err); font-size: .88rem; font-weight: 500; min-height: 1em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.row2 { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; margin: 6px 0 16px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--brass-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.result { text-align: center; }
.result .range { font-family: var(--serif); font-size: clamp(2rem, 7vw, 3.2rem); color: var(--navy); margin: 10px 0 6px; }
.result small { color: var(--muted); display: block; max-width: 52ch; margin: 0 auto 8px; }
.sum { display: grid; gap: 10px; margin: 20px 0; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum div:last-child { border: 0; font-weight: 700; font-size: 1.2rem; }

/* Über mich */
.about { display: grid; gap: 36px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.about-photo { width: min(320px, 70%); aspect-ratio: 1; border-radius: 50% 50% 24px 24px; overflow: hidden; background: var(--navy); border: 6px solid var(--brass); justify-self: center; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 400; margin-bottom: 16px; }
.about p + p { margin-top: 14px; }
.about p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.stat { text-align: center; padding: 18px 8px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.stat b { display: block; overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2.3rem); color: var(--navy); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); }
@media (min-width: 860px) { .about { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; } }

/* Slider */
.slider { position: relative; }
.slides { overflow: hidden; }
.track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slide { flex: 0 0 100%; padding: 4px; }
.quote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: clamp(24px, 5vw, 44px); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 3.2vw, 1.7rem); line-height: 1.4; }
.quote .who { margin-top: 18px; color: var(--brass); font-weight: 600; }
.slider-ctl { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.slider-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem; }
.slider-ctl button:hover { background: rgba(255,255,255,.12); }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; min-width: 12px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); }
.dots button[aria-current="true"] { background: var(--brass); }

/* FAQ */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: left; background: none; border: 0; padding: 22px 0; font: 600 1.1rem/1.35 var(--sans); color: var(--ink); cursor: pointer; }
.faq-q .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--brass-dark); position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brass-dark); transform: translate(-50%, -50%); transition: transform .3s ease; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 44px 22px 0; color: var(--muted); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* Kontakt */
.contact { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.contact-info { display: grid; gap: 16px; align-content: start; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci svg { width: 24px; height: 24px; color: var(--brass-dark); flex: none; margin-top: 2px; }
.ci a { text-decoration: none; font-weight: 600; }
.ci a:hover { text-decoration: underline; }
.embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.consent-ph { padding: 28px 22px; text-align: center; background: var(--paper); }
.consent-ph p { font-size: .92rem; color: var(--muted); margin: 8px auto 16px; max-width: 46ch; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 56px 0 120px; font-size: .94rem; }
.footer-grid { display: grid; gap: 28px; }
.footer img { height: 70px; width: auto; margin-bottom: 14px; }
.footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer .linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer .linkbtn:hover { text-decoration: underline; color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } .footer { padding-bottom: 56px; } }

/* Schwebender Kontakt */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-main { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--brass); color: var(--navy); cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.3); display: grid; place-items: center; transition: transform .25s ease; }
.fab-main:hover { transform: scale(1.06); }
.fab-main svg { width: 28px; height: 28px; }
.fab-actions { display: grid; gap: 10px; justify-items: end; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.fab.open .fab-actions { opacity: 1; visibility: visible; transform: none; }
.fab-actions a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.fab-actions svg { width: 20px; height: 20px; }
.fab-call { background: var(--navy); color: #fff; }
.fab-wa { background: #1f8f4e; color: #fff; }

/* Consent-Banner */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.consent[hidden] { display: none; }
.consent h2 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 8px; }
.consent p { font-size: .9rem; color: rgba(255,255,255,.82); }
.consent p a { color: var(--brass-light); }
.consent .opts-c { display: grid; gap: 8px; margin: 14px 0; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 20px; height: 20px; accent-color: var(--brass); margin-top: 2px; }
.consent .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 44px; padding: 10px 18px; font-size: .92rem; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-bg { animation: none; }
  .js .reveal, .js .hero .line > span, .js .hero .lead, .js .hero .hero-btns { opacity: 1; transform: none; }
}

/* Korrekturen: Ablauf auf hellem Grund, kompakter Banner */
.timeline::before { background: rgba(14, 26, 43, .16); }
.timeline li::before { background: #fff; border-color: rgba(14, 26, 43, .3); color: var(--navy); }
.timeline li.on::before { background: var(--brass); border-color: var(--brass-dark); color: var(--navy); }
.timeline .progress { background: var(--brass-dark); }
.timeline h3 { color: var(--ink); }
.timeline p { color: var(--muted); }
@media (max-width: 559px) {
  .consent { padding: 14px 16px; left: 8px; right: 8px; bottom: 8px; }
  .consent h2 { font-size: 1rem; margin-bottom: 4px; }
  .consent p { font-size: .84rem; line-height: 1.45; }
  .consent .opts-c { margin: 10px 0; gap: 6px; }
  .consent label { font-size: .86rem; }
  .consent .btns { gap: 8px; }
  .consent .btns .btn { flex: 1 1 auto; min-height: 42px; padding: 8px 12px; font-size: .88rem; }
  .consent #c-all { flex-basis: 100%; }
}

/* Inhaltsumbau: Beratung im Fokus */
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aud { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
.aud-card { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.aud-card svg { color: var(--brass); flex: none; margin-top: 4px; }
.aud-card h3 { font-size: 1.5rem; margin-bottom: 6px; font-weight: 400; }
.aud-card p { color: rgba(255,255,255,.82); }
@media (min-width: 760px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Logo: groß und lesbar; beim Scrollen kompakt mit Schriftzug als echter Text */
:root { --header-h: 124px; }
.header-in { height: auto; min-height: var(--header-h); padding: 8px 0; transition: min-height .3s ease; }
.logo { gap: 14px; color: #fff; }
.logo img { height: 96px; width: auto; }
.word { display: none; flex-direction: column; line-height: 1.1; border-left: 1px solid rgba(255,255,255,.45); padding-left: 14px; }
.word b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: .14em; }
.word i { font-style: normal; font-size: .62rem; letter-spacing: .22em; opacity: .9; margin-top: 4px; }
.site-header.scrolled .header-in { min-height: 66px; padding: 4px 0; }
.site-header.scrolled .logo img { height: 50px; }
.site-header.scrolled .word { display: flex; }
@media (max-width: 479px) {
  :root { --header-h: 112px; }
  .logo img { height: 88px; }
  .site-header.scrolled .logo img { height: 44px; }
  .site-header.scrolled .word b { font-size: 1.2rem; }
  .site-header.scrolled .word i { font-size: .52rem; letter-spacing: .17em; }
}
@media (min-width: 960px) { .logo img { height: 112px; } :root { --header-h: 140px; } }
.footer img { height: 120px; }
.mobile-nav { padding-top: 130px; }

/* Hero-Grafik (moderne Architektur) + Investor-Karte */
.hero-art { position: absolute; right: 0; bottom: 0; width: min(860px, 100%); height: auto; z-index: -1; pointer-events: none; opacity: .96; }
.hero-pattern { opacity: .07; }
.hero-in { position: relative; }
@media (max-width: 719px) { .hero-in { padding-bottom: 230px; } .scroll-hint { display: none; } .hero-art { width: 100%; right: 0; } }
@media (min-width: 720px) { .hero-art { width: 62%; } .hero-in { padding-bottom: 110px; } }
@media (min-width: 1100px) { .hero-art { width: 56%; } }
.aud { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .aud { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.aud-card { flex-direction: column; gap: 12px; }
.aud-head { display: flex; gap: 16px; align-items: center; }
.aud-head svg { color: var(--brass); flex: none; margin: 0; }
.aud-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 2px; }
.aud-main h3 { font-size: 1.9rem; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checks li { position: relative; padding-left: 28px; color: #fff; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg) scale(.9); }

/* Logo neu: goldenes Symbol, großer weißer Schriftzug als Text */
.logo { gap: 14px; }
.logo-icon { height: 76px; width: auto; }
.logo img.logo-icon { height: 76px; }
.word { display: flex; flex-direction: column; line-height: 1.05; border-left: 0; padding-left: 0; color: #fff; }
.word b { font-family: var(--serif); font-weight: 400; font-size: 2.15rem; letter-spacing: .13em; color: #fff; }
.word i { font-style: normal; font-weight: 500; font-size: .8rem; letter-spacing: .2em; margin-top: 6px; color: #fff; opacity: 1; }
.site-header.scrolled .logo img.logo-icon { height: 44px; }
.site-header.scrolled .word b { font-size: 1.45rem; }
.site-header.scrolled .word i { font-size: .64rem; letter-spacing: .17em; margin-top: 3px; }
@media (max-width: 479px) {
  .logo { gap: 10px; }
  .logo img.logo-icon { height: 58px; }
  .word b { font-size: 1.7rem; }
  .word i { font-size: .66rem; letter-spacing: .16em; margin-top: 5px; }
  .site-header.scrolled .logo img.logo-icon { height: 38px; }
  .site-header.scrolled .word b { font-size: 1.2rem; }
  .site-header.scrolled .word i { font-size: .56rem; letter-spacing: .13em; }
  :root { --header-h: 96px; }
}
@media (min-width: 960px) { .logo img.logo-icon { height: 88px; } .word b { font-size: 2.5rem; } .word i { font-size: .92rem; } :root { --header-h: 124px; } }
.footer-logo { margin-bottom: 14px; }
.footer-logo img.logo-icon { height: 70px; }
.footer-logo .word b { font-size: 1.9rem; }
.footer-logo .word i { font-size: .74rem; }
.footer img.logo-icon { margin: 0; }
.scroll-hint { display: none; }

/* Logo-Lockup: Schriftzug ragt in das Symbol (wie das Original), Symbol dafür größer */
.logo { display: block; }
.lockup { position: relative; display: block; width: var(--lw, 190px); aspect-ratio: 517 / 429; container-type: inline-size; }
.lockup img.logo-icon { position: absolute; inset: 0; width: 100%; height: 100%; }
.lk-word { position: absolute; left: 22%; top: 43%; width: 78%; display: flex; flex-direction: column; color: #fff; }
.lk-word b { font-family: var(--serif); font-weight: 400; font-size: 14.5cqw; letter-spacing: .12em; line-height: 1; }
.lk-word i { font-style: normal; font-family: var(--serif); font-weight: 400; font-size: 7.7cqw; line-height: 1.15; margin-top: 3cqw; white-space: nowrap; letter-spacing: 0; }
.logo-compact { display: none; align-items: center; gap: 10px; }
.site-header.scrolled .logo-full { display: none; }
.site-header.scrolled .logo-compact { display: flex; }
.header-in { align-items: center; }
:root { --lw: 190px; --header-h: 172px; }
@media (min-width: 960px) { :root { --lw: 250px; --header-h: 214px; } }
.footer-lockup { --lw: 210px; margin-bottom: 14px; }
.mobile-nav { padding-top: 200px; }
/* Über mich ohne Bild: eine Spalte */
.about, .about { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
@media (min-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Kontakt-Karte im Stil der E-Mail-Signatur */
.sig { display: flex; gap: 20px; padding: 6px 0 10px; }
.sig-bar { width: 3px; flex: none; border-radius: 2px; background: linear-gradient(180deg, var(--brass), var(--brass-dark)); }
.sig-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 5.5vw, 2.5rem); line-height: 1.05; color: var(--navy); letter-spacing: -.01em; }
.sig-title { margin: 8px 0 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.sig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sig-list li { display: flex; gap: 12px; align-items: flex-start; }
.sig-list svg { flex: none; color: var(--brass-dark); margin-top: 3px; }
.sig-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.sig-list a:hover { text-decoration: underline; }

/* Zielgruppen gleichwertig */
@media (min-width: 900px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aud-card h3 { font-size: 1.7rem; }
.aud .checks { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) and (max-width: 899px), (min-width: 1180px) { .aud .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Variante "mehr Navy": Leistungen, Ablauf, FAQ dunkel ===== */
#leistungen, #ablauf, #faq { background: var(--navy); color: #fff; }
#leistungen .sec-head h2, #ablauf .sec-head h2, #faq .sec-head h2 { color: #fff; }
#leistungen .sec-head p, #ablauf .sec-head p, #faq .sec-head p { color: rgba(255,255,255,.78); }
#leistungen .sec-head .eyebrow, #ablauf .sec-head .eyebrow, #faq .sec-head .eyebrow { color: var(--brass); }
#ablauf .timeline h3 { color: #fff; }
#ablauf .timeline p { color: rgba(255,255,255,.78); }
.timeline::before { background: rgba(255,255,255,.2); }
.timeline li::before { background: var(--navy-3); border-color: rgba(255,255,255,.4); color: #fff; }
.timeline li.on::before { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.timeline .progress { background: var(--brass); }
#faq .faq-q { color: #fff; }
#faq .faq-a p { color: rgba(255,255,255,.78); }
#faq .faq-item { border-color: rgba(255,255,255,.15); }
#faq .faq-q .pm { border-color: var(--brass); }
#faq .faq-q .pm::before, #faq .faq-q .pm::after { background: var(--brass); }
#leistungen .aud-card { background: linear-gradient(160deg, #24426b, #172c49); border: 1px solid rgba(255,255,255,.12); }

/* ===== Dezente Gold-/Braun-Akzente in den Logo-Farben (hell #dcc58d, kräftig #c4a461) ===== */
.section { position: relative; }
.section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(196,164,97,.55), transparent); }
.sec-head h2::after, .about h2::after { content: ""; display: block; width: 56px; height: 8px; margin-top: 16px; background: linear-gradient(180deg, #dcc58d 0 3px, transparent 3px 5px, #c4a461 5px 8px); }
.card { border-top: 2px solid rgba(196,164,97,.6); }
.panel { box-shadow: inset 0 3px 0 rgba(196,164,97,.65), var(--shadow); }
.stat { box-shadow: inset 0 2px 0 rgba(196,164,97,.6); }
.trust { border-bottom: 1px solid rgba(196,164,97,.35); }
.footer { border-top: 1px solid rgba(196,164,97,.4); }
.quote { border-top: 2px solid rgba(196,164,97,.55); }

/* Überschriften der weißen Karten auf dunklem Grund wieder dunkel */
.card h3 { color: var(--ink); }
.card p { color: var(--muted); }

/* Weiche statt weiße Flächen: warmer Sandton (weniger hell) */
:root { --paper: #e3dfd5; --white: #e9e5db; --line: #d0cabc; --bg: #e3dfd5; }
body { background: #e3dfd5; }
.section.white { background: #e9e5db; }
.card, .panel, .stat, .embed, .s-card { background: #f0ede5; }
.opt span { background: #f5f2ea; }
.field input, .field select, .field textarea { background: #f6f4ee; border-color: #c4bdad; }
.consent-ph { background: #e3dfd5; }
.mobile-nav { background: rgba(14, 26, 43, .97); }
.faq-item { border-color: #cfc9ba; }
#faq .faq-item { border-color: rgba(255,255,255,.15); }
.notice.warn { background: #f1e4c4; }
.progressbar { background: #d6d0c1; }
#h-region::after { content: ""; display: block; width: 56px; height: 8px; margin-top: 16px; background: linear-gradient(180deg, #dcc58d 0 3px, transparent 3px 5px, #c4a461 5px 8px); }

/* Entlastungs-Block in den Leistungen */
.relief { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: linear-gradient(135deg, rgba(196,164,97,.16), rgba(255,255,255,.04)); border: 1px solid rgba(196,164,97,.35); border-left: 4px solid var(--brass); }
.relief h3 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 400; line-height: 1.2; margin-bottom: 14px; }
.relief p { color: rgba(255,255,255,.82); }
.relief p + p { margin-top: 12px; }
.relief .relief-strong { color: var(--brass-light); font-weight: 600; font-size: 1.1rem; margin-bottom: 18px; }
.relief .btn { margin-top: 6px; }
.relief-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.relief .checks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 900px) { .relief { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; } }

/* Karte Rheinland-Pfalz im Seitenstil */
.map-card { margin: 0; padding: 16px 16px 12px; border-radius: var(--radius); background: linear-gradient(160deg, #14263f, #0e1a2b); border: 1px solid rgba(196,164,97,.35); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.rlp-map { width: 100%; height: auto; max-height: 560px; display: block; }
.rlp-map .lbl { font: 600 20px var(--sans); fill: #fff; paint-order: stroke; stroke: #0e1a2b; stroke-width: 4.5px; stroke-linejoin: round; }
.map-card figcaption { margin-top: 8px; font-size: .78rem; color: rgba(255,255,255,.55); text-align: center; }
@media (max-width: 559px) { .rlp-map .lbl { font-size: 24px; stroke-width: 5px; } }

/* ===== Dezente Effekte ===== */
/* Fensterlichter im Kopfbild gehen langsam nacheinander an (einmalig) */
@keyframes winOn { from { opacity: 0; } }
.hero-art .lit rect, .hero-art .litbg rect, .hero-art .lw { animation: winOn 1.9s ease-in-out both; }
.lit rect:nth-child(1) { animation-delay: 2.56s; }
.lit rect:nth-child(2) { animation-delay: 6.24s; }
.lit rect:nth-child(3) { animation-delay: 2.24s; }
.lit rect:nth-child(4) { animation-delay: 7.20s; }
.lit rect:nth-child(5) { animation-delay: 4.96s; }
.lit rect:nth-child(6) { animation-delay: 5.92s; }
.lit rect:nth-child(7) { animation-delay: 7.68s; }
.lit rect:nth-child(8) { animation-delay: 4.16s; }
.lit rect:nth-child(9) { animation-delay: 8.00s; }
.lit rect:nth-child(10) { animation-delay: 6.72s; }
.lit rect:nth-child(11) { animation-delay: 4.00s; }
.lit rect:nth-child(12) { animation-delay: 7.84s; }
.lit rect:nth-child(13) { animation-delay: 6.88s; }
.lit rect:nth-child(14) { animation-delay: 7.52s; }
.lit rect:nth-child(15) { animation-delay: 4.80s; }
.lit rect:nth-child(16) { animation-delay: 5.28s; }
.lit rect:nth-child(17) { animation-delay: 3.52s; }
.lit rect:nth-child(18) { animation-delay: 3.84s; }
.lit rect:nth-child(19) { animation-delay: 3.04s; }
.lit rect:nth-child(20) { animation-delay: 1.44s; }
.lit rect:nth-child(21) { animation-delay: 1.12s; }
.lit rect:nth-child(22) { animation-delay: 5.12s; }
.lit rect:nth-child(23) { animation-delay: 2.72s; }
.lit rect:nth-child(24) { animation-delay: 1.60s; }
.lit rect:nth-child(25) { animation-delay: 2.08s; }
.lit rect:nth-child(26) { animation-delay: 2.88s; }
.lit rect:nth-child(27) { animation-delay: 5.76s; }
.lit rect:nth-child(28) { animation-delay: 6.40s; }
.lit rect:nth-child(29) { animation-delay: 0.80s; }
.lit rect:nth-child(30) { animation-delay: 6.56s; }
.lit rect:nth-child(31) { animation-delay: 3.68s; }
.lit rect:nth-child(32) { animation-delay: 1.76s; }
.lit rect:nth-child(33) { animation-delay: 4.64s; }
.lit rect:nth-child(34) { animation-delay: 8.16s; }
.lit rect:nth-child(35) { animation-delay: 5.60s; }
.lit rect:nth-child(36) { animation-delay: 4.48s; }
.lit rect:nth-child(37) { animation-delay: 1.92s; }
.lit rect:nth-child(38) { animation-delay: 2.40s; }
.lit rect:nth-child(39) { animation-delay: 1.28s; }
.lit rect:nth-child(40) { animation-delay: 3.20s; }
.lit rect:nth-child(41) { animation-delay: 5.44s; }
.lit rect:nth-child(42) { animation-delay: 0.96s; }
.lit rect:nth-child(43) { animation-delay: 6.08s; }
.lit rect:nth-child(44) { animation-delay: 7.36s; }
.lit rect:nth-child(45) { animation-delay: 4.32s; }
.lit rect:nth-child(46) { animation-delay: 3.36s; }
.lit rect:nth-child(47) { animation-delay: 7.04s; }
.litbg rect:nth-child(1) { animation-delay: 10.50s; }
.litbg rect:nth-child(2) { animation-delay: 4.20s; }
.litbg rect:nth-child(3) { animation-delay: 12.30s; }
.litbg rect:nth-child(4) { animation-delay: 8.70s; }
.litbg rect:nth-child(5) { animation-delay: 7.80s; }
.litbg rect:nth-child(6) { animation-delay: 9.15s; }
.litbg rect:nth-child(7) { animation-delay: 2.85s; }
.litbg rect:nth-child(8) { animation-delay: 8.25s; }
.litbg rect:nth-child(9) { animation-delay: 10.05s; }
.litbg rect:nth-child(10) { animation-delay: 13.65s; }
.litbg rect:nth-child(11) { animation-delay: 4.65s; }
.litbg rect:nth-child(12) { animation-delay: 11.85s; }
.litbg rect:nth-child(13) { animation-delay: 11.40s; }
.litbg rect:nth-child(14) { animation-delay: 10.95s; }
.litbg rect:nth-child(15) { animation-delay: 1.95s; }
.litbg rect:nth-child(16) { animation-delay: 9.60s; }
.litbg rect:nth-child(17) { animation-delay: 12.75s; }
.litbg rect:nth-child(18) { animation-delay: 13.20s; }
.litbg rect:nth-child(19) { animation-delay: 6.00s; }
.litbg rect:nth-child(20) { animation-delay: 2.40s; }
.litbg rect:nth-child(21) { animation-delay: 5.10s; }
.litbg rect:nth-child(22) { animation-delay: 3.30s; }
.litbg rect:nth-child(23) { animation-delay: 3.75s; }
.litbg rect:nth-child(24) { animation-delay: 7.35s; }
.litbg rect:nth-child(25) { animation-delay: 6.45s; }
.litbg rect:nth-child(26) { animation-delay: 1.50s; }
.litbg rect:nth-child(27) { animation-delay: 5.55s; }
.litbg rect:nth-child(28) { animation-delay: 6.90s; }
.litbg rect:nth-child(29) { animation-delay: 14.10s; }
/* Standort-Punkte auf der Karte pulsieren sanft nacheinander */
.rlp-map .pulse { transform-box: fill-box; transform-origin: center; opacity: 0; animation: mapPing 4s ease-out infinite; }
@keyframes mapPing { 0% { transform: scale(1); opacity: .85; } 60%, 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .lit rect, .hero-art .litbg rect, .hero-art .lw, .rlp-map .pulse { animation: none !important; }
}

/* Unterstützungs-Block: Text oben, Liste in Spalten, verbundener Button */
.relief, .relief-text { max-width: none; }
@media (min-width: 900px) { .relief { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; } }
.relief-text { max-width: 760px; }
.relief .relief-strong { margin-bottom: 0; }
.relief .checks { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px 28px; }
.relief-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.relief-cta .btn { margin-top: 0; }
.relief-link { color: var(--brass-light); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(220,197,141,.5); padding-bottom: 2px; }
.relief-link:hover { color: #fff; border-color: #fff; }
/* Goldene Kennzeichen an Kapitalanlage / Eigenheim */
.aud-head { align-items: center; }
.aud-head svg { box-sizing: border-box; width: 56px; height: 56px; padding: 13px; flex: none; border-radius: 50%; border: 1px solid rgba(196,164,97,.6); background: rgba(196,164,97,.14); color: var(--brass-light); margin: 0; }
.aud-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-light); border: 1px solid rgba(196,164,97,.55); background: rgba(196,164,97,.1); border-radius: 999px; padding: 4px 11px; margin-bottom: 8px; }

.relief-note { margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.72); max-width: 62ch; }

/* Einzelleistungen */
.einzel { margin-top: 18px; display: grid; gap: 18px 36px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); border: 1px dashed rgba(196,164,97,.55); background: rgba(196,164,97,.07); }
.einzel-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.einzel h3 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 400; margin-bottom: 8px; }
.einzel p { color: rgba(255,255,255,.8); max-width: 52ch; }
.einzel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.einzel-list li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.einzel-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(196,164,97,.6); background: rgba(196,164,97,.14); color: var(--brass-light); }
.einzel-list .einzel-more { color: rgba(255,255,255,.7); font-weight: 400; padding-left: 52px; }
.einzel-link { justify-self: start; }
@media (min-width: 900px) { .einzel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .einzel-link { grid-column: 1 / -1; } }

.rlp-map .rivlbl { font: italic 500 15px var(--sans); fill: #b9d0f0; opacity: .75; letter-spacing: .04em; paint-order: stroke; stroke: #1a3358; stroke-width: 3px; stroke-linejoin: round; }
@media (max-width: 559px) { .rlp-map .rivlbl { font-size: 19px; } }

/* Slideshow Kundenstimmen */
.track { align-items: stretch; }
.slide { display: flex; }
.slide .quote { margin: 0; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.q-mark { display: block; font-family: var(--serif); font-size: 4.2rem; line-height: .55; height: 30px; color: var(--brass); opacity: .85; }
.quote blockquote { font-size: clamp(1.05rem, 2.5vw, 1.4rem); line-height: 1.55; }
.who { display: grid; gap: 2px; margin-top: 0; }
.who-name { color: #fff; font-weight: 650; font-family: var(--sans); font-size: 1rem; }
.who-meta { color: var(--brass-light); font-size: .92rem; font-weight: 500; }
.slider-progress { height: 3px; margin-top: 20px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.16); }
.slider-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #dcc58d, #c4a461); }
.slider.playing .slider-progress i { animation: sliderbar 7s linear forwards; }
@keyframes sliderbar { from { width: 0; } to { width: 100%; } }
.slider.no-auto .slider-progress { visibility: hidden; }
.slider-ctl { flex-wrap: wrap; }
.slider-ctl .slider-play { width: auto; height: 48px; padding: 0 18px; border-radius: 999px; font: 600 .9rem var(--sans); margin-left: auto; }
.slider-ctl .slider-play[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .slider.playing .slider-progress i { animation: none; } }

/* Ruhigere Karte: ein Ring nach dem anderen, langsam (12 s Zyklus, 8 Standorte à 1,5 s) */
.rlp-map .pulse { animation: mapPingCalm 12s ease-in-out infinite; opacity: 0; }
@keyframes mapPingCalm { 0% { transform: scale(1); opacity: 0; } 7% { opacity: .5; } 22% { transform: scale(2.7); opacity: 0; } 100% { transform: scale(2.7); opacity: 0; } }
/* Hochhaus: einzelne Fenster gehen gelegentlich ganz langsam an oder aus */
@keyframes ambOn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ambOff { from { opacity: 1; } to { opacity: 0; } }
.hero-art .amb-lit rect, .hero-art .amb-halo rect { animation: ambOn 4s ease-in-out both; }
@media (prefers-reduced-motion: reduce) { .rlp-map .pulse, .hero-art .amb-lit rect, .hero-art .amb-halo rect { animation: none !important; } }

/* Ablauf: goldene Symbole je Schritt + Button */
.tl-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(196,164,97,.6); background: rgba(196,164,97,.14); color: var(--brass-light); margin-bottom: 12px; opacity: .35; transform: scale(.9); transition: opacity .6s ease, transform .6s ease; }
.timeline li.on .tl-ico { opacity: 1; transform: none; }
.tl-cta { margin-top: 44px; }
@media (min-width: 900px) { .timeline li { padding-top: 18px; } }

/* ===== Renditerechner ===== */
.rc { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .rc { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: start; } }
.rc-inputs { display: grid; gap: 24px; padding: clamp(22px, 4vw, 36px); background: #f0ede5; border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: 22px; box-shadow: var(--shadow); }
.rc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.rc-field label { font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.rc-field output { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.rc-sub { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.rc input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 6px 0; border-radius: 8px; cursor: pointer; background: linear-gradient(90deg, var(--brass) var(--p, 50%), #cdc6b5 var(--p, 50%)); outline-offset: 8px; }
.rc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 3px solid var(--brass); box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: grab; }
.rc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 3px solid var(--brass); box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: grab; }
.rc input[type=range]::-moz-range-track { background: transparent; height: 8px; }
.rc input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.08); }
.rc-results { padding: clamp(22px, 4vw, 34px); color: #fff; background: linear-gradient(160deg, #1d3454, #0e1a2b); border: 1px solid rgba(196,164,97,.4); border-radius: 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .rc-results { position: sticky; top: 92px; } }
.rc-main { display: grid; gap: 2px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.rc-main-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brass); }
.rc-main b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 8vw, 3.8rem); line-height: 1.05; color: var(--brass-light); }
.rc-main small { font-size: .85rem; color: rgba(255,255,255,.66); }
.rc-kpis { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.rc-kpis dt { font-size: .8rem; color: rgba(255,255,255,.68); }
.rc-kpis dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.rc-kpis .rc-cf { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); }
.rc-kpis .rc-cf dd { font-family: var(--serif); font-size: 1.7rem; }
#r-cf.pos { color: #9fe0b4; } #r-cf.neg { color: #f2b3a6; }
.rc-bar-wrap { margin-top: 20px; }
.rc-bar-title { margin-bottom: 8px; font-size: .8rem; color: rgba(255,255,255,.68); }
.rc-bar { display: flex; height: 14px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.1); }
.rc-bar i { display: block; height: 100%; transition: width .25s ease; }
.b-kosten { background: #6f7f96; } .b-rate { background: #3f6aa6; } .b-cf { background: var(--brass); } .b-cf.neg { background: #d98c7c; }
.rc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .8rem; color: rgba(255,255,255,.76); }
.rc-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; }
.rc-legend em { font-style: normal; }
.rc-cta { width: 100%; margin-top: 22px; }
.rc-note { max-width: 92ch; margin-top: 22px; font-size: .82rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rc-bar i { transition: none; } }

/* Handy: mitlaufendes Kurzergebnis beim Schieben */
.rc-sticky { display: none; }
@media (max-width: 959px) {
  .rc-sticky { display: flex; position: fixed; left: 12px; right: 88px; bottom: 14px; z-index: 70; justify-content: space-between; gap: 10px; padding: 10px 16px; border-radius: 999px; color: #fff; font-size: .82rem; line-height: 1.25; background: rgba(14,26,43,.94); border: 1px solid rgba(196,164,97,.55); box-shadow: 0 10px 28px rgba(0,0,0,.3); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .rc-sticky.show { opacity: 1; visibility: visible; transform: none; }
  .rc-sticky span { display: grid; }
  .rc-sticky b { font-size: 1.05rem; font-family: var(--serif); color: var(--brass-light); }
  .rc-sticky b.neg { color: #f2b3a6; } .rc-sticky b.pos { color: #9fe0b4; }
}
@media (prefers-reduced-motion: reduce) { .rc-sticky { transition: none; } }

/* Renditerechner: Eingabefelder statt Regler */
.rc-inputs { grid-template-columns: minmax(0, 1fr); gap: 20px 18px; }
@media (min-width: 560px) { .rc-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc-field > label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.rc-input { display: flex; align-items: stretch; overflow: hidden; border: 1.5px solid #c4bdad; border-radius: 12px; background: #f8f6f0; transition: border-color .2s ease, box-shadow .2s ease; }
.rc-input:focus-within { border-color: var(--brass-dark); box-shadow: 0 0 0 3px rgba(196,164,97,.4); }
.rc-input input { flex: 1; min-width: 0; padding: 14px 4px 14px 16px; border: 0; background: transparent; font: 600 1.2rem var(--sans); color: var(--navy); outline: none; font-variant-numeric: tabular-nums; }
.rc-suffix { display: grid; place-items: center; padding: 0 16px 0 6px; font-weight: 600; color: var(--muted); }
.rc-field.invalid .rc-input { border-color: var(--err); }
.rc-err { min-height: 1.1em; margin-top: 6px; font-size: .84rem; font-weight: 500; color: var(--err); }
.rc-sub { margin-top: 6px; }

/* Über mich: Text links, Qualifikationskarten rechts */
.about2 { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .about2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.about-text h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 400; margin-bottom: 16px; }
.about-text p { color: var(--muted); }
.about-text p + p { margin-top: 14px; }
.about-cards { display: grid; gap: 14px; }
.about-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #f0ede5; border: 1px solid var(--line); border-top: 2px solid rgba(196,164,97,.6); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.about-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.about-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--brass-light); border: 1px solid rgba(196,164,97,.6); }
.about-card h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.about-card p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .about-card { transition: none; } }

/* ===== Moderne Bewegung (dezent) ===== */
/* Einblenden: Animation statt Übergang, damit Hover-Effekte danach normal funktionieren */
.js .reveal { opacity: 0; transform: none; transition: none; }
.js .reveal.in { opacity: 1; animation: revealUp .85s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--rd, 0s); }
.js .reveal.d1 { --rd: .1s; } .js .reveal.d2 { --rd: .2s; } .js .reveal.d3 { --rd: .3s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
.js .card.reveal, .js .aud-card.reveal, .js .about-card.reveal, .js .trust-item.reveal { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.js .einzel-list li.reveal { transition: transform .25s ease; }
/* Lichtfleck */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .35s ease; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(196,164,97,.2), transparent 62%); }
.spot > * { position: relative; z-index: 1; }
/* Aktive Rubrik */
.section::before { transition: height .6s ease, background .6s ease; }
.section.in-focus::before { height: 2px; background: linear-gradient(90deg, transparent, rgba(220,197,141,1), transparent); }
.sec-head h2::after, .about-text h2::after, #h-region::after { transition: width .7s cubic-bezier(.2,.7,.2,1); }
.section.in-focus .sec-head h2::after, .section.in-focus .about-text h2::after, .section.in-focus #h-region::after { width: 112px; }
.section .eyebrow { transition: letter-spacing .7s ease; }
.section.in-focus .eyebrow { letter-spacing: .22em; }
.nav a.active { color: var(--brass-light); opacity: 1; }
.nav a.active::after { transform: scaleX(1); }
/* Hover nur mit Maus */
@media (hover: hover) and (pointer: fine) {
  .spot:hover::after { opacity: 1; }
  .js .aud-card.reveal:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(220,197,141,.55); }
  .js .card.reveal:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brass); }
  .js .about-card.reveal:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brass); }
  .einzel:hover { border-color: rgba(220,197,141,.95); }
  .relief:hover { border-color: rgba(220,197,141,.7); }
  .card .ico, .about-ico, .tl-ico, .einzel-ico, .aud-head svg { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s ease; }
  .card:hover .ico { transform: rotate(-7deg) scale(1.1); }
  .about-card:hover .about-ico { transform: scale(1.1); border-color: var(--brass); }
  .aud-card:hover .aud-head svg { transform: scale(1.08); }
  .einzel-list li:hover .einzel-ico { transform: scale(1.12); }
  .checks li { transition: transform .2s ease, color .2s ease; }
  .checks li:hover { transform: translateX(5px); color: var(--brass-light); }
  .timeline li:hover .tl-ico { transform: scale(1.12); border-color: var(--brass); }
  .timeline li h3 { transition: color .25s ease; } .timeline li:hover h3 { color: var(--brass-light); }
  .chip { transition: transform .2s ease, background .2s ease, border-color .2s ease; }
  .chip:hover { transform: translateY(-2px); background: rgba(196,164,97,.28); border-color: var(--brass); }
  .faq-item { transition: background .25s ease; } .faq-item:hover { background: rgba(255,255,255,.04); }
  #faq .faq-q { transition: color .25s ease; } #faq .faq-q:hover { color: var(--brass-light); }
  .rc-input:hover { border-color: var(--brass-dark); }
  .trust-item { transition: background .3s ease; } .trust-item:hover { background: rgba(255,255,255,.05); }
}
@media (prefers-reduced-motion: reduce) { .js .reveal.in { animation: none; } .spot::after { transition: none; } }

/* FAQ mit Kontakt-Box */
.faq-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: 56px; } }
.faq-layout .faq { max-width: none; }
.faq-box { padding: clamp(22px, 4vw, 32px); border-radius: var(--radius); color: #fff; background: linear-gradient(160deg, #24426b, #172c49); border: 1px solid rgba(196,164,97,.45); border-top: 3px solid var(--brass); box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .faq-box { position: sticky; top: 96px; } }
.faq-box h3 { color: #fff; font-size: 1.5rem; font-weight: 400; margin-bottom: 10px; }
.faq-box p { color: rgba(255,255,255,.82); margin-bottom: 18px; }
.faq-box .btn { width: 100%; }
.faq-box-links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.faq-box-links a { color: var(--brass-light); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.faq-box-links a:hover { text-decoration: underline; color: #fff; }

/* Hintergrundstruktur im Kopfbereich: geometrisches Netz (Sechsecke/Würfelkanten) statt Häuser, ganz dezent */
.hero-pattern { inset: -10% 0; opacity: .2; background-image: url("/static/startseite/assets/hero-struktur.svg"); background-size: cover; background-position: center; background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 68% 38%, #000 0%, rgba(0,0,0,.65) 48%, transparent 92%); mask-image: radial-gradient(ellipse 85% 75% at 68% 38%, #000 0%, rgba(0,0,0,.65) 48%, transparent 92%); }
@media (max-width: 719px) { .hero-pattern { opacity: .16; background-position: 60% center; } }

.hero .lead2 { margin-top: 12px; }

/* Terminhinweis statt Kalender/Karte */
.termin-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); border: 1px dashed rgba(125,100,40,.55); background: rgba(196,164,97,.12); }
.termin-note svg { flex: none; color: var(--brass-dark); margin-top: 2px; }
.termin-note b { display: block; color: var(--navy); }
.termin-note span { display: block; color: var(--muted); font-size: .93rem; margin-top: 2px; }

/* Fußzeile: vier Spalten */
.footer .f-note { color: rgba(255,255,255,.62); font-size: .88rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.25fr 1.1fr .8fr .9fr; gap: 36px; } }
@media (min-width: 560px) and (max-width: 799px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 900px) { .einzel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; } .einzel-list .einzel-more { grid-column: 1 / -1; } }

/* Renditerechner: Laufzeit-Auswahl */
.rc-laufzeit { grid-column: 1 / -1; }
.rc-lbl { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.rc-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rc-seg label { position: relative; display: block; }
.rc-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.rc-seg span { display: block; text-align: center; padding: 13px 8px; border: 1.5px solid #c4bdad; border-radius: 12px; background: #f8f6f0; font-weight: 600; color: var(--ink); transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.rc-seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 3px rgba(196,164,97,.45); }
.rc-seg input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rc-seg label:hover span { border-color: var(--brass-dark); } }

.rc-calc { grid-column: 1 / -1; }
.rc-calc .btn { width: 100%; justify-content: center; }
.rc-results { transition: opacity .2s; }
.rc-results.stale { opacity: .4; }
.fab-mail { background: var(--brass); color: var(--navy); }
