/* DOS Hotel Consulting – Schriften lokal (keine Verbindung zu Google Fonts) */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }

:root {
  --paper: #f0f0f0; --navy: #0a1c3d; --navy-2: #12295a; --creme: #e7dcc7; --champ: #c9a86a;
  --ink: #0a1c3d; --ink-soft: rgba(10,28,61,.74); --rule: rgba(10,28,61,.16);
  --on-navy: #f0f0f0; --on-navy-soft: rgba(240,240,240,.76);
  --display: "Playfair Display", "Times New Roman", Georgia, serif;
  --text: "Times New Roman", Times, Georgia, serif;
  --wrap: 1180px; --gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.1875rem; line-height: 1.62; -webkit-font-smoothing: antialiased; position: relative; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 .11 0 0 0 0 .24 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--creme); color: var(--navy); }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.05rem; font-weight: 500; padding: 1em 1.6em; border-radius: 2px; text-decoration: none; border: 1px solid var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--paper); }
.btn-champ { background: var(--champ); border-color: var(--champ); color: var(--navy); }
.btn-champ:hover { background: #d7ba82; }

.logo img { height: 46px; width: auto; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(240,240,240,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 1.05rem; color: var(--ink-soft); }
.nav ul a:hover { color: var(--ink); }
.nav .btn { padding: .7em 1.2em; font-size: .98rem; }
.nav-toggle { display: none; background: none; border: 0; font: inherit; color: var(--ink); padding: 8px; cursor: pointer; }
@media (max-width: 960px) {
  .nav ul { display: none; }
  .nav.open ul { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); padding: 20px var(--gutter) 28px; gap: 18px; border-bottom: 1px solid var(--rule); }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
}

/* Hero */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 2em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.proof { list-style: none; padding: 0; margin: 2.6em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.proof li { padding: 1em 1.1em 0 0; font-size: 1rem; color: var(--ink-soft); line-height: 1.4; }
.proof li + li { border-left: 1px solid var(--rule); padding-left: 1.1em; }
.proof strong { display: block; font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1.08rem; margin-bottom: .15em; }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } .proof li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 1em; } }

.key-stage { position: relative; display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; justify-items: center; min-height: 520px; }
.key-stage::before { content: ""; position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--creme), rgba(231,220,199,0) 70%); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.key-half { position: relative; grid-row: 1; height: clamp(380px, 46vw, 500px); width: auto; transition: transform 1.3s cubic-bezier(.22,.8,.2,1); }
.key-half.l { grid-column: 2; transform: translateX(-34px); }
.key-half.r { grid-column: 3; transform: translateX(34px); }
.key-stage.joined .key-half { transform: none; }
.key-label { position: relative; grid-row: 1; font-family: var(--display); font-size: 1.15rem; line-height: 1.3; }
.key-label span { display: block; font-family: var(--text); font-size: .95rem; color: var(--ink-soft); }
.key-label.l { grid-column: 1; justify-self: end; text-align: right; padding-right: 18px; }
.key-label.r { grid-column: 4; justify-self: start; padding-left: 18px; }
.key-label::after { content: ""; display: block; width: 40px; height: 1px; background: var(--champ); margin-top: 10px; }
.key-label.l::after { margin-left: auto; }
.key-seam { position: absolute; left: 50%; top: 50%; width: 1px; height: 0; background: var(--champ); transform: translate(-50%, -50%); transition: height 1s 1.2s ease; }
.key-stage.joined .key-seam { height: 112%; }
@media (prefers-reduced-motion: reduce) { .key-half { transition: none; transform: none !important; } .key-seam { transition: none; height: 112%; } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .key-stage { min-height: 0; order: -1; }
  .key-half { height: 280px; }
  .key-label { font-size: 1rem; } .key-label span { font-size: .85rem; }
}

/* Sektionen */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-head { max-width: 42rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 1em; font-size: 1.22rem; }
.navy { background: var(--navy); color: var(--on-navy); }
.navy .section-head p, .navy .muted, .navy p { color: var(--on-navy-soft); }
.navy h2, .navy h3 { color: var(--on-navy); }
.creme { background: var(--creme); }

/* Zahlenband */
.stats { padding: clamp(56px, 7vw, 88px) 0; }
.stats h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1.2em; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(201,168,106,.55); }
.stat { padding: 26px 24px 4px 0; }
.stat + .stat { border-left: 1px solid rgba(240,240,240,.14); padding-left: 24px; }
.stat strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; color: var(--on-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat strong .tick { color: var(--champ); transition: color .6s; }
.stat span { color: var(--on-navy-soft); font-size: 1.02rem; }
.stat-note { margin: 28px 0 0; font-size: .95rem; color: var(--on-navy-soft); max-width: 48em; }
.career { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(240,240,240,.14); color: var(--on-navy-soft); font-size: 1.05rem; max-width: 52em; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(240,240,240,.14); } }

/* Problem & Rechner */
.problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.problem h2 { margin-bottom: .8em; }
.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { counter-increment: f; padding: 18px 0 18px 48px; border-top: 1px solid rgba(240,240,240,.14); position: relative; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 14px; font-family: var(--display); font-size: 1.7rem; color: var(--champ); }
.flow h3 { font-size: 1.2rem; margin-bottom: .3em; }
.flow p { margin: 0; font-size: 1.05rem; }
.calc { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); border-top: 3px solid var(--champ); }
.calc h3 { color: var(--ink); margin-bottom: .3em; }
.calc > p { color: var(--ink-soft); font-size: 1rem; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; margin-bottom: 18px; font-size: 1.02rem; }
.calc output { font-family: var(--display); font-variant-numeric: tabular-nums; }
.calc input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--navy); }
.calc .result { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; gap: 14px; }
.calc .result div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc .result strong { font-family: var(--display); font-weight: 500; font-size: 1.7rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .result .keep strong { border-bottom: 2px solid var(--champ); }
.calc small { display: block; margin-top: 16px; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
@media (max-width: 900px) { .problem .wrap { grid-template-columns: 1fr; } }

/* Leistungen */
.halves { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0 clamp(28px, 5vw, 72px); }
.halves .seam { background: var(--champ); position: relative; }
.halves .seam::before { content: ""; position: absolute; left: 50%; top: -6px; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--champ); transform: translateX(-50%) rotate(45deg); }
.half-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.half-head img { height: 170px; width: auto; }
.half.left .half-head { flex-direction: row-reverse; }
.half.right .half-head { text-align: right; }
.half-head h3 { font-size: 1.9rem; }
.half-head p { margin: .2em 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.svc { list-style: none; padding: 0; margin: 0; }
.svc li { padding: 22px 0; border-top: 1px solid var(--rule); }
.svc li:last-child { border-bottom: 1px solid var(--rule); }
.svc h4 { font-family: var(--display); font-weight: 500; font-size: 1.22rem; margin: 0 0 .3em; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.55; }
@media (max-width: 900px) {
  .halves { grid-template-columns: 1fr; }
  .halves .seam { height: 1px; margin: 48px 0; }
  .halves .seam::before { top: -5px; }
  .half-head img { height: 110px; }
}

/* Zusammenspiel */
.together { text-align: center; }
.together .key-h { width: min(560px, 86%); margin: 0 auto clamp(40px, 5vw, 56px); }
.together h2 { max-width: 16em; margin: 0 auto .6em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(201,168,106,.45); max-width: 860px; margin: 40px auto 0; text-align: left; }
.pair div { background: var(--navy); padding: 26px 28px; }
.pair h3 { font-size: 1.18rem; margin-bottom: .4em; color: var(--champ) !important; }
.pair p { margin: 0; font-size: 1.06rem; }
.pair .both { grid-column: 1 / -1; background: var(--navy-2); }
.pair .both h3 { color: var(--on-navy) !important; }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--navy); }
.steps li { counter-increment: s; padding: 28px 28px 0 0; position: relative; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--champ); display: block; margin-bottom: 18px; }
.steps li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--navy); border-radius: 50%; }
.steps .when { font-size: .95rem; color: var(--ink-soft); display: block; margin-bottom: .4em; }
.steps h3 { margin-bottom: .45em; }
.steps p { color: var(--ink-soft); font-size: 1.06rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Modell */
.model .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.promises { list-style: none; padding: 0; margin: 2em 0 0; }
.promises li { padding-left: 34px; position: relative; margin-bottom: 1.3em; }
.promises li::before { content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 1px; background: var(--champ); }
.promises strong { font-family: var(--display); font-weight: 500; display: block; font-size: 1.15rem; }
.promises span { color: var(--ink-soft); font-size: 1.05rem; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--rule); }
.compare { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 1.04rem; min-width: 520px; }
.compare caption { text-align: left; font-family: var(--display); font-size: 1.15rem; padding: 0 0 12px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--display); font-weight: 500; }
.compare thead th:last-child { background: var(--navy); color: var(--on-navy); }
.compare tbody th { font-weight: normal; color: var(--ink-soft); width: 28%; }
.compare td:last-child { background: rgba(201,168,106,.12); }
.compare tr:last-child > * { border-bottom: 0; }
.more { margin-top: 24px; font-size: 1.05rem; }
.more a { border-bottom: 1px solid var(--champ); text-decoration: none; }
@media (max-width: 900px) { .model .wrap { grid-template-columns: 1fr; } }

/* Über */
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; background: var(--navy); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait img.key { width: 30%; opacity: .9; }
.portrait img.photo { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,168,106,.55); pointer-events: none; }
.about .role { font-family: var(--display); font-size: 1.15rem; color: var(--ink-soft); margin: .2em 0 1.4em; }
.edu { list-style: none; padding: 0; margin: 1.6em 0 0; color: var(--ink-soft); font-size: 1.02rem; }
.edu li { padding: 10px 0; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-family: var(--display); font-size: 1.25rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding-bottom: 22px; color: var(--ink-soft); max-width: 40em; }
.faq details > div p:last-child { margin: 0; }

/* Kontakt */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.contact h2 { margin-bottom: .5em; }
.direct { margin-top: 2em; font-size: 1.15rem; line-height: 1.9; }
.direct a { text-decoration: none; border-bottom: 1px solid var(--champ); color: var(--on-navy); }
form.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .98rem; color: var(--on-navy-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.05rem; color: var(--on-navy); background: rgba(240,240,240,.06); border: 1px solid rgba(240,240,240,.28); border-radius: 2px; padding: 12px 14px; }
.field select option { color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--champ); }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note, .form-status { grid-column: 1 / -1; font-size: .92rem; margin: 0; }
.form-note a { color: var(--on-navy); }
.form-status { color: var(--champ); font-size: 1rem; min-height: 1.4em; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.inquiry { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #071530; color: var(--on-navy-soft); padding: 56px 0 40px; font-size: 1rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.footer .brand { font-family: var(--display); color: var(--on-navy); font-size: 1.6rem; text-decoration: none; letter-spacing: .03em; }
.footer .brand small { display: block; font-size: .6rem; letter-spacing: .24em; color: var(--on-navy-soft); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a, .footer button { color: var(--on-navy-soft); text-decoration: none; background: none; border: 0; font: inherit; padding: 0; cursor: pointer; }
.footer a:hover, .footer button:hover { color: var(--on-navy); }

/* Consent */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-top: 3px solid var(--navy); padding: 22px 24px; box-shadow: 0 18px 40px rgba(10,28,61,.18); display: none; }
.consent.show { display: block; }
.consent h2 { font-size: 1.25rem; margin-bottom: .4em; }
.consent p { font-size: .98rem; line-height: 1.5; color: var(--ink-soft); }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { flex: 1 1 180px; padding: .8em 1em; font-size: .98rem; }

/* Unterseiten (Ratgeber) */
.article { padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 110px); }
.article .wrap { max-width: 760px; }
.crumbs { font-size: .95rem; color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.article h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: .5em; }
.article .answer { font-size: 1.3rem; line-height: 1.55; border-left: 2px solid var(--champ); padding-left: 22px; margin: 0 0 2.2em; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2em 0 .6em; }
.article p, .article li { color: var(--ink-soft); }
.article strong { color: var(--ink); font-weight: normal; font-family: var(--display); }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.article table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 1.02rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article thead th { font-family: var(--display); font-weight: 500; border-bottom: 1px solid var(--navy); }
.article .table-wrap { overflow-x: auto; }
.article .meta { font-size: .95rem; color: var(--ink-soft); }
.article .cta-box { margin-top: 3em; padding: 32px; background: var(--navy); color: var(--on-navy); }
.article .cta-box h2 { margin: 0 0 .4em; color: var(--on-navy); }
.article .cta-box p { color: var(--on-navy-soft); }
.related { margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--rule); }
.related ul { list-style: none; padding: 0; }
.related a { text-decoration: none; border-bottom: 1px solid var(--champ); }

/* Rechtsseiten & 404 */
.legal { padding: clamp(56px, 8vw, 100px) 0 clamp(72px, 9vw, 120px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: .6em; }
.legal h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.legal p, .legal dd { color: var(--ink-soft); }
.legal dl { display: grid; grid-template-columns: minmax(160px, 34%) 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-family: var(--display); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 10px; } }
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .keys { display: flex; justify-content: center; gap: 70px; margin-bottom: 36px; }
.notfound .keys img { height: 240px; width: auto; }
.notfound h1 { margin-bottom: .4em; }
.notfound p { color: var(--ink-soft); margin-bottom: 2em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stats:not([hidden]) + .problem { padding-top: 0; }
.logo img { height: 58px; }
.stat strong, .calc output, .calc .result strong, .steps li::before, .flow li::before { font-variant-numeric: lining-nums tabular-nums; }
.exp { margin-top: 0; }
#zahlen:not([hidden]) + .exp { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(240,240,240,.14); }
.exp h2 { margin-bottom: .3em; }
.exp-lead { color: var(--on-navy-soft); margin-bottom: 1.4em; }
.exp .stat strong { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* ===== Ergebnisse (Funnel + Monatsverlauf) ===== */
.funnel { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(201,168,106,.55); }
.funnel li { padding: 24px 18px 6px 0; position: relative; }
.funnel li + li { padding-left: 18px; border-left: 1px solid rgba(240,240,240,.14); }
.funnel li + li::before { content: ""; position: absolute; left: -6px; top: 34px; width: 10px; height: 10px; border-top: 1px solid var(--champ); border-right: 1px solid var(--champ); transform: rotate(45deg); background: var(--navy); }
.funnel strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.1; color: var(--on-navy); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.funnel .hl strong { color: var(--champ); }
.funnel span { display: block; margin-top: 6px; color: var(--on-navy-soft); font-size: .98rem; line-height: 1.4; }
.funnel em { font-style: normal; white-space: nowrap; }
@media (max-width: 960px) { .funnel { grid-template-columns: repeat(2, 1fr); } .funnel li, .funnel li + li { padding: 20px 14px 14px 0; border-left: 0; border-bottom: 1px solid rgba(240,240,240,.14); } .funnel li + li::before { display: none; } .funnel li:last-child { grid-column: 1 / -1; } }
.month-wrap { margin-top: 36px; overflow-x: auto; }
.months { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 1.02rem; color: var(--on-navy); }
.months caption { text-align: left; font-family: var(--display); font-size: 1.1rem; padding-bottom: 10px; color: var(--on-navy); }
.months th, .months td { padding: 11px 14px; text-align: right; border-bottom: 1px solid rgba(240,240,240,.12); font-variant-numeric: lining-nums tabular-nums; }
.months th:first-child { text-align: left; font-weight: normal; color: var(--on-navy-soft); }
.months thead th { font-family: var(--display); font-weight: 500; color: var(--on-navy-soft); font-size: .95rem; }
.months tfoot th, .months tfoot td { border-top: 1px solid var(--champ); border-bottom: 0; font-family: var(--display); color: var(--on-navy); }
.months tfoot td:last-child { color: var(--champ); }

/* ===== Rechner ===== */
.seg { border: 0; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seg legend { float: left; width: 100%; font-size: 1.02rem; margin-bottom: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; font-size: 1rem; grid-template-columns: none; }
.seg label:has(input:checked) { border-color: var(--navy); background: rgba(10,28,61,.06); }
.seg input { accent-color: var(--navy); margin: 0; }
.calc .hint { font-size: .9rem; color: var(--ink-soft); margin: -10px 0 18px; }
.result-table { border-top: 1px solid var(--rule); padding-top: 6px; overflow-x: auto; }
.result-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.result-table th, .result-table td { padding: 8px 0 8px 10px; text-align: right; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.result-table th:first-child, .result-table tbody th { text-align: left; padding-left: 0; font-weight: normal; white-space: normal; }
.result-table thead th { font-family: var(--display); font-weight: 500; font-size: 1rem; vertical-align: bottom; }
.result-table thead small { display: block; font-family: var(--text); font-size: .82rem; color: var(--ink-soft); }
.result-table thead th:last-child, .result-table td:last-child { background: rgba(201,168,106,.14); padding-right: 10px; }
.result-table .minus th, .result-table .minus td { color: var(--ink-soft); }
.result-table .sum th, .result-table .sum td { border-top: 1px solid var(--navy); font-family: var(--display); font-size: 1.25rem; padding-top: 12px; }
.result-table .sum td.neg { color: #9b2c2c; }
.result-table .share th, .result-table .share td { font-size: .9rem; color: var(--ink-soft); }
.calc-cta { width: 100%; margin-top: 20px; }

/* ===== Beispiel-Report ===== */
.report { margin-top: clamp(48px, 6vw, 72px); padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--champ); }
.report h3 { margin-bottom: .6em; }
.report .table-wrap { overflow-x: auto; }
.report table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 1rem; }
.report caption { text-align: left; font-size: .92rem; color: var(--ink-soft); padding-bottom: 10px; }
.report th, .report td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: lining-nums tabular-nums; }
.report thead th { font-family: var(--display); font-weight: 500; border-bottom: 1px solid var(--navy); }
.report td:nth-child(5), .report td:nth-child(6), .report th:nth-child(5), .report th:nth-child(6) { text-align: right; }

/* ===== Modell ===== */
.model-lead { color: var(--ink-soft); margin-top: 1em; }
.model .fine { font-size: .95rem; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 14px; }
.compare tbody th { width: 34%; }
.months { min-width: 0; }
@media (max-width: 560px) { .months th, .months td { padding: 10px 6px; font-size: .95rem; } .months thead th { font-size: .82rem; } }
.result-table td { padding-left: 16px; }

/* ===== Zusammenspiel (neu) ===== */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 22px; max-width: 820px; margin: 44px auto 0; }
.duo-card { border: 1px solid rgba(240,240,240,.18); padding: 24px 26px; text-align: left; }
.duo-k { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--champ); margin-bottom: .35em; }
.duo-card p { margin: 0; font-size: 1.06rem; }
.duo-plus { font-family: var(--display); font-size: 2.4rem; color: var(--champ); line-height: 1; }
.duo-result { max-width: 640px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--champ); font-size: 1.15rem; color: var(--on-navy) !important; }
.duo-result span { display: block; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .3em; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; gap: 12px; } .duo-plus { text-align: center; } }

/* ===== Nachweis (neu) ===== */
.report-sub { color: var(--ink-soft); margin-top: -.2em; }
.report table { min-width: 680px; }
.report td:nth-child(5), .report th:nth-child(5) { text-align: left; }
.report td:nth-child(6), .report th:nth-child(6), .report td:last-child, .report thead th:last-child { text-align: right; }
.report tfoot th { text-align: right !important; font-weight: normal; padding-right: 16px; }
.report tfoot tr:first-child th, .report tfoot tr:first-child td { border-top: 1px solid var(--navy); font-family: var(--display); }
.report tfoot .calcrow th, .report tfoot .calcrow td { color: var(--ink-soft); font-size: .95rem; border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }
.report tfoot .calcrow:last-child td { color: var(--ink); font-family: var(--display); }

/* ===== Konditionen (neu) ===== */
.term-tiles { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; margin-bottom: 24px; }
.tile { background: var(--paper); border: 1px solid var(--rule); padding: 22px 18px; }
.tile strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: 8px; font-variant-numeric: lining-nums; }
.tile span { font-size: 1rem; color: var(--ink-soft); line-height: 1.35; display: block; }
.tile.gold { background: var(--navy); border-color: var(--navy); }
.tile.gold strong { color: var(--champ); }
.tile.gold span { color: var(--on-navy-soft); }
.term-list { margin: 0; display: grid; grid-template-columns: minmax(130px, 34%) 1fr; border-top: 1px solid var(--rule); }
.term-list dt, .term-list dd { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; font-size: 1rem; }
.term-list dt { font-family: var(--display); padding-right: 16px; }
.term-list dd { color: var(--ink-soft); }
@media (max-width: 560px) { .term-tiles { grid-template-columns: 1fr 1fr; } .tile.gold { grid-column: 1 / -1; } .term-list { grid-template-columns: 1fr; } .term-list dt { border-bottom: 0; padding-bottom: 0; } }

/* ===== Rechner-Erklärung ===== */
.calc .hint.how { margin-top: -8px; padding: 10px 12px; background: rgba(10,28,61,.05); border-left: 2px solid var(--champ); }
.result-table thead small { white-space: nowrap; font-size: .76rem; }
.stats .stat-note { margin-top: 18px; }
.result-table tbody th { width: 44%; }
.result-table thead small { white-space: normal; line-height: 1.3; margin-top: 2px; }
.result-table .sum th { font-size: 1.1rem; }

/* ===== Rechner-Tabelle: klare Spalten (überschreibt frühere Regeln) ===== */
.result-table { border-top: 0; padding-top: 0; margin-top: 8px; }
.result-table table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.result-table col.c-label { width: 44%; }
.result-table col.c-low, .result-table col.c-plan { width: 28%; }
.result-table th, .result-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.result-table tbody th { padding-left: 0; width: auto; }
.result-table td:nth-child(2), .result-table thead th:nth-child(2) { background: rgba(10,28,61,.04); border-left: 4px solid var(--paper); }
.result-table td:last-child, .result-table thead th:last-child { background: rgba(201,168,106,.16); border-left: 4px solid var(--paper); padding-right: 12px; }
.result-table thead th { text-align: right; vertical-align: bottom; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--navy); font-size: 1.05rem; line-height: 1.2; }
.result-table thead th:first-child { border-bottom: 1px solid var(--navy); background: none; }
.result-table thead small { display: block; margin-top: 4px; font-size: .78rem; line-height: 1.3; white-space: normal; color: var(--ink-soft); }
.result-table .sum th, .result-table .sum td { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); padding-top: 14px; padding-bottom: 14px; font-size: 1.2rem; }
.result-table .sum td:last-child { color: var(--navy); }
.result-table .share th, .result-table .share td { border-bottom: 0; font-size: .88rem; }
@media (max-width: 560px) {
  .result-table col.c-label { width: 40%; } .result-table col.c-low, .result-table col.c-plan { width: 30%; }
  .result-table th, .result-table td { padding: 9px 8px; font-size: .92rem; }
  .result-table .sum th, .result-table .sum td { font-size: 1.05rem; }
}
.result-table tbody th { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 560px) {
  .result-table .long { display: none; }
  .result-table thead th { font-size: .95rem; }
  .result-table tbody th { font-size: .88rem; }
}
