:root {
  --black: #080808;
  --black-2: #131313;
  --ink: #2a2d32;
  --paper: #f6f4ee;
  --white: #ffffff;
  --gold: #c9a961;
  --gold-light: #e6d3a0;
  --gold-dark: #8f7434;
  --line: #e2ddd0;
  --muted: #6b6f76;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
h1, h2, .big, .brand { font-family: var(--serif); font-weight: 400; }
a { color: inherit; }

/* Hinweisbanner (Terminfrist) als Laufband */
.banner { display: block; overflow: hidden; background: var(--black); color: #f6f4ee; text-decoration: none; white-space: nowrap; padding: 13px 0; font-size: .82rem; border-bottom: 1px solid var(--gold); position: sticky; top: 0; z-index: 20; }
.banner::before, .banner::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.banner::before { left: 0; background: linear-gradient(90deg, var(--black), rgba(8,8,8,0)); }
.banner::after { right: 0; background: linear-gradient(270deg, var(--black), rgba(8,8,8,0)); }
.banner[hidden] { display: none; }
.track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.grp { display: flex; flex: none; }
.item { display: inline-flex; align-items: center; gap: 14px; padding-right: 46px; }
.item .dia { font-style: normal; color: var(--gold); font-size: .7rem; }
.item b { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.item em { font-style: normal; color: #d9d5c9; letter-spacing: .02em; }
.item u { text-decoration: none; color: var(--black); background: var(--gold); padding: 4px 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .74rem; }
.banner:hover .track, .banner:focus-visible .track { animation-play-state: paused; }
.banner:hover .item u { background: #e6d3a0; }
/* Lauf von rechts nach links, endlos */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .banner { font-size: .78rem; padding: 11px 0; } .track { animation-duration: 42s; } .item { gap: 10px; padding-right: 34px; } }
/* Wer Bewegung reduziert hat, sieht den Text statisch */
@media (prefers-reduced-motion: reduce) {
  .banner { white-space: normal; text-align: center; padding: 12px 16px;  }
  .banner::before, .banner::after { display: none; }
  .track { animation: none; width: auto; display: block; }
  .grp + .grp, .grp .item:not(:first-child) { display: none; }
  .grp { display: block; }
  .item { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 8px; }
}

/* Kopf (Hero) */
.top { background: var(--black); text-align: center; padding: 56px 16px 120px; color: #f6f4ee; }
.brand { display: inline-flex; align-items: center; gap: .6em; color: #f6f4ee; font-size: clamp(2rem, 8vw, 3.4rem); letter-spacing: .16em; line-height: 1; }
.brand i { width: 1px; height: 1.6em; background: var(--gold); margin: 0 .35em; }
.claim { margin: 18px 0 0; font-family: var(--serif); color: var(--gold); letter-spacing: .06em; font-size: clamp(1rem, 3.2vw, 1.2rem); }
.top h1 { font-size: clamp(1.8rem, 5.5vw, 2.8rem); margin: 44px 0 10px; color: #f6f4ee; letter-spacing: .01em; }
.lead { margin: 0 auto; max-width: 520px; color: #bdb9ad; }

/* Rechner (überlappt den Kopf) */
.rechner { max-width: 1040px; margin: -76px auto 0; padding: 0 16px 64px; position: relative; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 28px 26px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.45); }

.field { margin-bottom: 24px; }
label, .label { display: block; font-weight: 600; font-size: .78rem; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); }
.check { text-transform: none; letter-spacing: 0; }
small { display: block; margin-top: 6px; color: var(--muted); font-size: .82rem; }
input[type=number], select { font: inherit; color: inherit; padding: 12px; border: 1px solid #c8c3b5; background: var(--white); border-radius: 0; width: 100%; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.beitrag-row { display: flex; gap: 16px; align-items: center; }
input[type=range] { flex: 1; accent-color: var(--gold-dark); min-width: 0; height: 32px; }
.euro { position: relative; width: 110px; flex: none; }
.euro input { padding-right: 28px; text-align: right; }
.euro span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #c8c3b5; }
.stepper button { width: 48px; height: 48px; font-size: 1.4rem; border: 0; background: var(--paper); cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #ece7d9; }
.stepper output { min-width: 56px; text-align: center; font-size: 1.15rem; font-weight: 600; }

.mehr { border-top: 1px solid var(--line); padding-top: 14px; }
.mehr summary { cursor: pointer; font-weight: 600; color: var(--gold-dark); margin-bottom: 16px; }
.mehr .euro { width: 160px; }
.check { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: 4px; accent-color: var(--gold-dark); }

/* Ergebnis: dunkle Markenkarte */
.result { background: var(--black); color: #f6f4ee; border-color: #2a2a2a; border-top-color: var(--gold); }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--gold); font-weight: 600; }
.big { margin: 6px 0 0; font-size: clamp(3rem, 10vw, 4.2rem); line-height: 1.05; color: var(--gold); }
.sub { margin: 6px 0 24px; color: #bdb9ad; font-size: .95rem; min-height: 1.4em; }
.bar { display: flex; height: 14px; background: #1e1e1e; overflow: hidden; }
.bar span { display: block; height: 100%; transition: width .25s ease; }
.seg-eigen { background: #6c6f75; }
.seg-grund { background: var(--gold); }
.seg-kinder { background: #e0c27c; }
.seg-bonus { background: var(--gold-light); }
.legend { list-style: none; margin: 14px 0 20px; padding: 0; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #262626; font-size: .95rem; color: #d9d5c9; }
.legend li:last-child { border: 0; }
.legend .dot { width: 10px; height: 10px; flex: none; }
.legend .v { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; color: #f6f4ee; }
.satz { margin: 0 0 10px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; }
.steuer { margin: 18px 0 10px; padding: 16px 18px; background: var(--black-2); border: 1px solid #2a2a2a; border-left: 2px solid var(--gold); font-size: .92rem; }
.steuer strong { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--gold); }
.steuer dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 12px 0; }
.steuer dt { color: #bdb9ad; }
.steuer dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.steuer .gesamt { margin: 12px 0 6px; padding-top: 12px; border-top: 1px solid #2a2a2a; font-family: var(--serif); font-size: 1.1rem; }
.steuer .gesamt b { color: var(--gold); font-weight: 400; }
.steuer .klein { margin: 0; font-size: .82rem; color: #9b978c; }
.hinweise { margin: 12px 0 0; padding: 0; list-style: none; font-size: .88rem; color: #bdb9ad; }
.hinweise li { padding: 8px 0 8px 14px; border-left: 2px solid #3a3a3a; margin-bottom: 6px; }

/* Beratung */
.beratung { background: var(--black); color: #f6f4ee; padding: 72px 16px; border-top: 1px solid #2a2a2a; }
.beratung-inner { max-width: 880px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .beratung-inner { grid-template-columns: 300px 1fr; gap: 64px; } }
.beratung img { width: 100%; max-width: 320px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; display: block; margin: 0 auto; outline: 1px solid var(--gold); outline-offset: 10px; }
.beratung h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.25; margin: 10px 0 14px; }
.beratung p { margin: 0 0 22px; color: #d9d5c9; }
.beratung .eyebrow { color: var(--gold); margin: 0; }
.cta { display: inline-block; text-decoration: none; font: inherit; line-height: 1.4; font-weight: 600; background: var(--gold); color: var(--black); border: 0; padding: 16px 26px; cursor: pointer; text-align: center; width: 100%; max-width: 440px; letter-spacing: .01em; }
.cta:hover { background: #d8bb77; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 440px; margin-top: 12px; padding: 15px 26px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-weight: 600; }
.wa-btn:hover { background: var(--gold); color: var(--black); }
.beratung .name { display: inline-block; margin: 22px 0 0; padding: 0 0 2px; background: none; border: 0; border-bottom: 1px dotted var(--gold); cursor: pointer; font-family: var(--serif); color: var(--gold); font-size: 1.1rem; letter-spacing: .04em; }
.beratung .name:hover { color: #e6d3a0; }

.beratung .bundesweit { display: inline-block; margin: 0 0 22px; padding: 6px 12px; border: 1px solid var(--gold); color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
@media (max-width: 600px) { .beratung .bundesweit { font-size: .72rem; } }

/* Kontakt-Fenster */
.kontakt .k-bundesweit { margin: 0 0 18px; color: var(--gold); font-size: .85rem; font-weight: 600; }
.kontakt { border: 1px solid var(--gold); background: var(--black); color: #f6f4ee; padding: 32px 30px 28px; width: min(420px, calc(100vw - 32px)); margin: auto; }
.kontakt::backdrop { background: rgba(0,0,0,.7); }
.kontakt .eyebrow { margin: 0 0 6px; }
.kontakt h2 { margin: 0 0 8px; font-size: 1.8rem; color: #f6f4ee; }
.kontakt .k-rolle { margin: 0 0 16px; color: #bdb9ad; }
.kontakt address { font-style: normal; margin: 0 0 18px; color: #d9d5c9; }
.kontakt dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; }
.kontakt dt { color: #9b978c; }
.kontakt dd { margin: 0; }
.kontakt dd a { color: var(--gold); font-weight: 600; text-decoration: none; }
.kontakt dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kontakt-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; background: none; border: 0; color: var(--gold); font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Handy: Ergebnis immer sichtbar */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--black); color: #f6f4ee; border-top: 2px solid var(--gold); font-size: .9rem; }
.sticky strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--gold); }
.sticky.aus { display: none; }
@media (min-width: 860px) { .sticky { display: none; } }
@media (max-width: 859px) { body footer { padding-bottom: 100px; } }

/* Schwebender WhatsApp-Button, immer sichtbar */
.wa-float { position: fixed; left: 16px; bottom: 20px; z-index: 10; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .15s ease, background .15s ease; }
.wa-float:hover { background: #d8bb77; transform: scale(1.06); }
@media (max-width: 859px) {
  .wa-float { bottom: calc(78px + env(safe-area-inset-bottom)); left: 14px; width: 52px; height: 52px; }
  body.sticky-aus .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* Fuß */
footer { background: var(--black); color: #9b978c; padding: 44px 16px 48px; text-align: center; font-size: .82rem; border-top: 1px solid #2a2a2a; }
.brand-klein { font-size: 1.1rem; margin-bottom: 18px; opacity: .9; }
.disclaimer { max-width: 720px; margin: 0 auto 16px; }
footer nav { display: flex; gap: 24px; justify-content: center; }
footer a { color: var(--gold); text-underline-offset: 3px; }

/* Handyansicht */
@media (max-width: 600px) {
  .top { padding: 36px 16px 88px; }
  .brand { font-size: clamp(1.5rem, 7.2vw, 2rem); letter-spacing: .12em; }
  .claim { margin-top: 12px; font-size: 1rem; }
  .top h1 { margin: 28px 0 8px; font-size: 1.7rem; line-height: 1.2; }
  .lead { font-size: .95rem; }

  .rechner { margin-top: -56px; padding: 0 12px 40px; }
  .card { padding: 22px 18px; }
  .field { margin-bottom: 22px; }
  .beitrag-row { gap: 12px; }
  .euro { width: 96px; }
  input[type=range] { height: 40px; }
  input[type=number], select { padding: 14px 12px; }
  .euro input { padding-right: 32px; }
  .stepper button { width: 56px; height: 52px; }

  .big { font-size: 3rem; }
  .legend li { flex-wrap: wrap; row-gap: 0; }
  .legend .v { white-space: nowrap; }
  .steuer { padding: 14px; }
  .steuer dl { grid-template-columns: 1fr auto; font-size: .88rem; }

  .beratung { padding: 48px 16px; }
  .beratung img { max-width: 260px; outline-offset: 8px; }
  .beratung-text { text-align: center; }
  .cta, .wa-btn { max-width: none; }
  .wa-btn { font-size: .95rem; padding: 15px 14px; }
  .beratung .name { margin-top: 24px; }

  .sticky { padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
  footer { padding: 36px 16px 40px; }
}

@media (prefers-reduced-motion: reduce) { .bar span { transition: none; } }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
.preview-note { background: #080808; border-bottom: 1px solid #51462d; color: #c9a961; text-align: center; padding: 12px 16px; font-size: .875rem; letter-spacing: .18em; }
label, .label, .eyebrow { font-size: .875rem; }
small, footer, .model-note { font-size: .875rem; }
.model-note { color: #c3bba8; margin: 12px 0 18px; line-height: 1.5; }
select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%238f7434' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.brand-art { height: 360px; width: 100%; max-width: 300px; margin: auto; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; border: 1px solid #51462d; background:radial-gradient(ellipse at center,#262217,#10100e 70%); overflow:hidden; }
.art-ring { position:absolute; width:220px; height:220px; border:1px solid #6c5b35; border-radius:50%; }
.art-ring::before { content:''; position:absolute; inset:12px; border:1px solid #3a3222; border-radius:50%; }
.art-monogram { font-family:Georgia,serif; color:#d6b977; font-size:100px; font-weight:400; z-index:1; letter-spacing:-10px; padding-right:10px; }
.art-caption { position:absolute; bottom:30px; color:#c9a961; font-size:.875rem; letter-spacing:.22em; }
.signature { margin-top:24px !important; font-family:Georgia,serif; font-size:1.25rem; color:#c9a961 !important; }
.signature span { font-family:system-ui,sans-serif; font-size:.875rem; color:#bdb9ad; }
@media(max-width:600px){ .brand-art{height:300px;max-width:260px;} .sticky span{max-width:65%;} }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

.beratung img.portrait { aspect-ratio:3/4; width:100%; max-width:320px; height:auto; object-fit:cover; object-position:52% 35%; }
.phone-link { display:block; width:fit-content; color:var(--gold); margin-top:16px; font-size:1.2rem; text-decoration:none; font-variant-numeric:tabular-nums; }
.phone-link:hover { text-decoration:underline; text-underline-offset:4px; }
.legal-header { background:var(--black); padding:38px 20px; text-align:center; }
.legal-header a { text-decoration:none; }
.legal { max-width:900px; margin:0 auto; padding:48px 24px 72px; overflow-wrap:anywhere; }
.legal h1 { font-size:2.5rem; margin-top:12px; }
.legal h2 { font-size:1.5rem; margin-top:32px; }
.legal h3 { font-family:var(--sans); font-size:1rem; margin-top:24px; }
.legal p, .legal address { line-height:1.75; font-style:normal; }
.legal a { color:#715719; text-underline-offset:3px; }
.legal li { margin:8px 0; }
.legal-source { border-top:1px solid var(--line); margin-top:36px; padding-top:16px; font-size:.875rem; color:var(--muted); }
@media(max-width:600px){ .phone-link { margin:16px auto 0; } }

