:root {
  --navy-950: #071e2b;
  --navy-900: #0c2b3b;
  --navy-800: #174254;
  --navy-700: #24586a;
  --teal: #4f8582;
  --teal-pale: #dfecea;
  --gold: #c89a52;
  --gold-dark: #91652f;
  --gold-pale: #f0d8aa;
  --cream: #fbfaf6;
  --paper: #f2eee5;
  --white: #fff;
  --ink: #132d39;
  --muted: #60737c;
  --border: rgba(12, 43, 59, .14);
  --shadow: 0 22px 60px rgba(7, 30, 43, .11);
  --radius: 24px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: -80px; left: 16px; padding: 10px 16px; color: white; background: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 9px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 246, .93);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-portrait { width: 48px; height: 48px; object-fit: cover; object-position: 50% 35%; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 7px 20px rgba(7, 30, 43, .18); }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: .93rem; letter-spacing: .01em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.print-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 14px; color: var(--navy-900); background: transparent; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; font-weight: 750; }
.print-button svg { width: 17px; height: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 23px; color: white; background: var(--navy-900); border: 0; border-radius: 999px; box-shadow: 0 12px 30px rgba(7, 30, 43, .18); cursor: pointer; font-weight: 800; text-align: center; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--navy-800); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: .82rem; }
.button-large { min-height: 58px; padding: 15px 27px; }

.page-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.conversation-rail { position: relative; background: var(--navy-950); }
.rail-inner { position: sticky; top: 76px; display: flex; flex-direction: column; min-height: calc(100vh - 76px); padding: 44px 28px 30px; color: white; }
.rail-eyebrow { margin: 0 0 8px; color: var(--gold-pale); font-size: .65rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.rail-inner h2 { max-width: 200px; margin: 0 0 34px; color: white; font-family: var(--serif); font-size: 1.85rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.step-nav { display: grid; gap: 2px; }
.step-link { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; padding: 10px 7px; color: rgba(255,255,255,.54); border-left: 2px solid transparent; font-size: .73rem; line-height: 1.35; text-decoration: none; transition: .2s ease; }
.step-link > span:first-child { color: var(--gold-pale); font-size: .62rem; font-weight: 850; letter-spacing: .08em; }
.step-link:hover, .step-link.active { color: white; border-left-color: var(--gold); background: rgba(255,255,255,.05); }
.rail-progress { height: 2px; margin-top: auto; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 2px; }
.rail-progress span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .15s linear; }
.rail-note { margin: 15px 0 0; color: rgba(255,255,255,.5); font-size: .66rem; line-height: 1.45; }

main { min-width: 0; overflow: hidden; }
.section-block { position: relative; padding: clamp(72px, 8vw, 118px) clamp(24px, 6vw, 94px); }
.section-tint { background: var(--paper); }
.section-dark { color: white; background: var(--navy-950); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 40px; align-items: end; max-width: 1160px; margin: 0 auto 44px; }
.section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); }
.section-heading-light > p { color: rgba(255,255,255,.65); }
.eyebrow, .mini-label { margin: 0 0 10px; color: var(--gold-dark); font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-dark .eyebrow, .section-dark .mini-label { color: var(--gold-pale); }
h1, h2 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(3rem, 5.7vw, 6.3rem); }
h1 em { color: var(--gold-dark); font-weight: inherit; }
h2 { font-size: clamp(2.45rem, 4.4vw, 4.65rem); }
h3 { line-height: 1.25; }
.section-dark h2 { color: white; }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(350px, .96fr); gap: clamp(36px, 6vw, 80px); align-items: center; min-height: calc(100vh - 76px); padding-top: clamp(56px, 7vw, 90px); padding-bottom: 90px; background: radial-gradient(circle at 8% 10%, rgba(200,154,82,.17), transparent 24%), linear-gradient(128deg, #fbfaf6 0%, #f5f2eb 55%, #e5eeec 100%); }
.hero::before { position: absolute; right: -24vw; bottom: -38vw; width: 70vw; height: 70vw; border: 1px solid rgba(79,133,130,.15); border-radius: 50%; content: ""; pointer-events: none; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.lead { max-width: 760px; margin: 25px 0 15px; color: #4f636c; font-size: clamp(1.04rem, 1.5vw, 1.24rem); }
.scope-note { max-width: 720px; margin: 0 0 28px; color: var(--muted); font-size: .77rem; }
.situation-scope { margin: 13px 2px 0; color: var(--muted); font-size: .69rem; line-height: 1.45; }
.mobile-jump-nav { display: none; }
.situation-card { padding: 20px; background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 18px 48px rgba(7,30,43,.08); }
.situation-card > div:first-child { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; }
.situation-card .mini-label { margin: 0; }
.situation-card h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.situation-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 15px 0; }
.situation-buttons button, .mode-switch button, .faq-filter button { padding: 10px 12px; color: var(--navy-800); background: white; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: .73rem; font-weight: 800; }
.situation-buttons button.selected, .mode-switch button[aria-selected="true"], .faq-filter button.active { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.situation-response { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; padding: 13px; background: var(--teal-pale); border-radius: 13px; }
.situation-response > span { display: grid; width: 32px; height: 32px; place-items: center; color: white; background: var(--teal); border-radius: 50%; font-weight: 900; }
.situation-response p { margin: 0; font-size: .78rem; line-height: 1.5; }
.knowledge-scale { margin-top: 24px; }
.scale-heading { display: flex; gap: 20px; align-items: end; justify-content: space-between; }
.scale-heading label { font-weight: 800; line-height: 1.35; }
.scale-heading output { display: flex; align-items: baseline; gap: 2px; color: var(--gold-dark); white-space: nowrap; }
.scale-heading output strong { font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.scale-heading output span { font-size: .76rem; }
input[type="range"] {
  --fill: 33.33%;
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 38px;
  margin: 7px 0 0;
  appearance: none;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
}
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track { height: 9px; background: linear-gradient(90deg, var(--gold) 0 var(--fill), rgba(12,43,59,.13) var(--fill) 100%); border-radius: 999px; }
input[type="range"]::-webkit-slider-thumb { width: 25px; height: 25px; margin-top: -8px; appearance: none; background: white; border: 6px solid var(--navy-900); border-radius: 50%; box-shadow: 0 2px 9px rgba(7,30,43,.28); }
input[type="range"]::-moz-range-track { height: 9px; background: rgba(12,43,59,.13); border-radius: 999px; }
input[type="range"]::-moz-range-progress { height: 9px; background: var(--gold); border-radius: 999px; }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; background: white; border: 6px solid var(--navy-900); border-radius: 50%; box-shadow: 0 2px 9px rgba(7,30,43,.28); }
input[type="range"]:focus-visible { outline: 3px solid rgba(200,154,82,.38); outline-offset: 2px; border-radius: 999px; }
.scale-numbers, .scale-labels { display: grid; grid-template-columns: repeat(10, 1fr); color: var(--muted); font-size: .62rem; }
.scale-numbers span { text-align: center; }
.scale-numbers span:first-child { text-align: left; }
.scale-numbers span:last-child { text-align: right; }
.scale-labels { grid-template-columns: repeat(3, 1fr); margin-top: 5px; font-size: .66rem; }
.scale-labels span:nth-child(2) { text-align: center; }
.scale-labels span:last-child { text-align: right; }
.hero-visual { margin: 0; overflow: hidden; background: var(--navy-950); border-radius: 30px; box-shadow: 0 34px 80px rgba(7,30,43,.23); }
.hero-visual img { width: 100%; min-height: 560px; object-fit: cover; }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(7,30,43,.82)); content: ""; pointer-events: none; }
.hero-visual figcaption { position: absolute; z-index: 2; right: 22px; bottom: 22px; left: 22px; display: flex; gap: 12px; align-items: center; padding: 16px; color: white; background: rgba(7,30,43,.78); border: 1px solid rgba(255,255,255,.17); border-radius: 16px; backdrop-filter: blur(12px); }
.hero-visual figcaption strong, .hero-visual figcaption small { display: block; }
.hero-visual figcaption small { color: rgba(255,255,255,.67); }
.caption-mark { display: grid; flex: 0 0 45px; width: 45px; height: 45px; place-items: center; color: var(--navy-950); background: var(--gold-pale); border-radius: 50%; font-family: var(--serif); font-size: 1.7rem; }
.scroll-cue { position: absolute; z-index: 3; bottom: 24px; left: 50%; color: var(--muted); font-size: .75rem; font-weight: 750; text-decoration: none; transform: translateX(-50%); }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; max-width: 1160px; margin: 0 auto; }
.fact-card { display: flex; flex-direction: column; min-height: 270px; padding: 25px; text-align: left; background: white; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 10px 35px rgba(7,30,43,.06); cursor: pointer; transition: .2s ease; }
.fact-card:hover, .fact-card:focus-visible { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.fact-featured { color: white; background: var(--navy-900); }
.fact-kicker { color: var(--gold-dark); font-size: .63rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.fact-featured .fact-kicker { color: var(--gold-pale); }
.fact-number, .fact-symbol { display: block; margin: 15px 0 5px; color: var(--gold-dark); font-family: var(--serif); font-size: 4.5rem; line-height: .95; }
.fact-featured .fact-symbol { color: var(--gold-pale); }
.fact-symbol i { color: white; font-style: normal; }
.fact-number-small { font-size: 3.35rem; }
.fact-number.fact-word { font-size: 2.65rem; }
.fact-title { display: block; margin: 15px 0 22px; font-size: 1rem; font-weight: 760; line-height: 1.35; }
.card-link { margin-top: auto; color: var(--teal); font-size: .72rem; font-weight: 850; }
.fact-featured .card-link { color: var(--gold-pale); }
.key-sentence { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; max-width: 920px; margin: 30px auto 0; padding: 18px 22px; background: var(--gold-pale); border-radius: 16px; }
.key-sentence > span { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--gold-dark); border-radius: 50%; font-family: var(--serif); font-size: 1.2rem; font-weight: 800; }
.key-sentence p { margin: 0; font-size: .86rem; }
.glossary { max-width: 920px; margin: 12px auto 0; background: white; border: 1px solid var(--border); border-radius: 14px; }
.glossary summary { padding: 14px 18px; cursor: pointer; color: var(--navy-800); font-size: .73rem; font-weight: 850; list-style: none; }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::after { float: right; content: "+"; font-size: 1rem; }
.glossary[open] summary::after { content: "−"; }
.glossary > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; padding: 0 15px 15px; }
.glossary p { margin: 0; padding: 10px; background: var(--paper); border-radius: 9px; }
.glossary strong, .glossary span { display: block; }
.glossary strong { color: var(--gold-dark); font-size: .68rem; }
.glossary span { color: var(--muted); font-size: .61rem; line-height: 1.35; }

.event-layout { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr); gap: 18px; max-width: 1070px; margin: 0 auto; }
.event-buttons { display: grid; gap: 7px; }
.event-buttons button { display: grid; grid-template-columns: 35px 1fr; gap: 9px; align-items: center; min-height: 58px; padding: 10px 15px; text-align: left; background: rgba(255,255,255,.62); border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-size: .8rem; font-weight: 780; }
.event-buttons button span { color: var(--gold-dark); font-size: .65rem; letter-spacing: .08em; }
.event-buttons button[aria-selected="true"] { color: white; background: var(--navy-900); box-shadow: 0 13px 28px rgba(7,30,43,.16); }
.event-buttons button[aria-selected="true"] span { color: var(--gold-pale); }
.event-result { position: relative; min-height: 420px; padding: clamp(28px, 4vw, 52px); background: white; border-radius: 24px; box-shadow: var(--shadow); }
.event-country { position: absolute; top: 26px; right: 26px; text-align: center; }
.event-country span { display: grid; width: 54px; height: 54px; place-items: center; margin-left: auto; color: white; background: var(--teal); border-radius: 50%; font-weight: 900; letter-spacing: .05em; }
.event-country small { display: block; margin-top: 5px; color: var(--muted); font-size: .61rem; }
.event-overline { margin: 0 80px 10px 0; color: var(--gold-dark); font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.event-result h3 { max-width: 650px; margin: 0 80px 16px 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.event-result > p:not(.event-overline) { max-width: 730px; color: var(--muted); }
.event-result dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 25px 0; }
.event-result dl div { padding: 14px; background: var(--paper); border-radius: 11px; }
.event-result dt { color: var(--gold-dark); font-size: .62rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.event-result dd { margin: 4px 0 0; font-size: .77rem; font-weight: 720; line-height: 1.4; }
.event-result > a { color: var(--navy-800); font-size: .76rem; font-weight: 850; text-underline-offset: 5px; }

.calculator-shell { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(350px,.92fr); max-width: 1180px; margin: 0 auto; overflow: hidden; color: var(--ink); background: white; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; box-shadow: 0 35px 90px rgba(0,0,0,.25); }
.calculator-inputs { padding: clamp(24px,4vw,48px); }
.calculator-results { display: flex; min-width: 0; flex-direction: column; padding: clamp(24px,4vw,48px); color: white; background: linear-gradient(155deg, var(--navy-800), var(--navy-950)); }
.calculator-intro, .results-heading { display: flex; gap: 18px; align-items: start; justify-content: space-between; }
.calculator-intro h3, .results-heading h3 { margin: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.example-values-note { margin: 5px 0 0; color: var(--muted); font-size: .66rem; }
.results-heading > div { min-width: 0; }
.results-heading h3 { max-width: 330px; line-height: 1.08; }
.mode-switch { display: flex; padding: 3px; background: var(--paper); border-radius: 12px; }
.mode-switch button { border: 0; }
.mode-help { margin: 17px 0; padding: 12px 14px; color: var(--muted); background: var(--paper); border-radius: 11px; font-size: .73rem; }
.input-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.shared-input-grid { margin: 17px 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.field-card { padding: 15px; background: #faf9f5; border: 1px solid var(--border); border-radius: 14px; }
.projection-field { grid-column: 1 / -1; background: var(--teal-pale); }
.projection-field select { min-width: 190px; max-width: 55%; height: 38px; padding: 5px 30px 5px 9px; color: var(--navy-950); background: white; border: 1px solid var(--border); border-radius: 8px; font-size: .72rem; font-weight: 800; }
.country-field { border-top-width: 3px; }
.de-field { border-top-color: var(--navy-700); }
.lu-field { border-top-color: var(--gold); }
#rentenrechner[data-career-scope="de"] .de-gross-field { grid-column: 1 / -1; }
.field-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.field-heading label { font-size: .77rem; font-weight: 830; line-height: 1.25; }
.field-heading input[type="number"], .official-grid input { width: 90px; height: 37px; padding: 5px 8px; color: var(--navy-950); background: white; border: 1px solid var(--border); border-radius: 8px; font-weight: 800; text-align: right; }
.field-heading input[type="number"], .official-grid input, .projection-field select { position: relative; z-index: 2; cursor: text; }
.projection-field select { cursor: pointer; }
.projection-field.scope-locked { background: #edf4f3; }
.projection-field select:disabled { cursor: default; opacity: .82; }
.field-heading input[type="number"]:focus-visible, .official-grid input:focus-visible, .projection-field select:focus-visible, .faq-search input:focus-visible { outline: 3px solid rgba(200,154,82,.38); outline-offset: 2px; }
.number-unit { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.number-unit span { color: var(--muted); font-size: .66rem; }
.field-card input[type="range"] { margin: 4px 0 0; }
.field-card p { margin: 0; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.assumption-list { display: grid; gap: 8px; margin-top: 13px; }
.assumption-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 13px; background: var(--teal-pale); border-radius: 12px; font-size: .69rem; line-height: 1.45; }
.assumption-check.overlap-check { background: var(--gold-pale); }
.assumption-check input { width: 17px; height: 17px; accent-color: var(--navy-900); }
.official-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.official-grid .field-card { display: grid; gap: 13px; padding: 17px; background: var(--paper); }
.official-grid .field-heading label { padding: 0; background: none; font-size: .72rem; font-weight: 800; }
.official-grid .field-heading input { width: 92px; height: 40px; font-size: .9rem; }
.official-grid .compact-official-age { padding-top: 11px; border-top: 1px solid var(--border); }
.statement-input-grid fieldset { min-width: 0; margin: 0; }
.statement-input-grid legend { padding: 0 6px; color: var(--gold-dark); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.statement-date { display: grid; gap: 7px; padding-top: 11px; color: var(--navy-900); border-top: 1px solid var(--border); font-size: .7rem; font-weight: 800; }
.statement-date input[type="month"] { width: 100%; height: 40px; padding: 6px 9px; color: var(--navy-950); background: white; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.statement-results .pension-result { min-height: 150px; }
.statement-phases { margin-top: 13px; padding: 16px 18px; color: var(--navy-950); background: var(--teal-pale); border-radius: 13px; }
.statement-phases .mini-label { margin-bottom: 7px; }
.statement-phases ol { display: grid; gap: 5px; margin: 0; padding-left: 20px; font-size: .72rem; }
.statement-phases li::marker { color: var(--gold-dark); font-weight: 900; }
.official-age-note { padding: 12px 14px; color: var(--muted); border: 1px solid var(--border); border-radius: 12px; font-size: .69rem; }
.official-link { color: var(--navy-800); font-size: .72rem; font-weight: 800; text-underline-offset: 4px; }
.quality-badge { flex: 0 0 auto; max-width: 150px; padding: 7px 10px; color: var(--gold-pale); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .6rem; font-weight: 850; letter-spacing: .05em; line-height: 1.25; text-align: center; text-transform: uppercase; }
.result-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 24px 0 10px; }
.result-cards.single-country { grid-template-columns: 1fr; }
.result-cards.single-country .phase-grid { grid-template-columns: 1fr; }
.result-cards.single-country .phase-grid > div:first-child { display: none; }
.scope-hidden, [hidden].scope-hidden { display: none !important; }
.pension-result { position: relative; display: flex; min-width: 0; min-height: 192px; flex-direction: column; padding: 18px; overflow: hidden; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.pension-result::after { position: absolute; right: -24px; bottom: -42px; width: 95px; height: 95px; background: rgba(255,255,255,.035); border-radius: 50%; content: ""; pointer-events: none; }
.result-country { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.62); font-size: .67rem; font-weight: 800; }
.result-country > span { display: inline-grid; min-width: 31px; height: 24px; padding-inline: 6px; place-items: center; color: var(--navy-950); background: var(--gold-pale); border-radius: 999px; font-size: .59rem; font-weight: 900; }
.result-country small { margin: 0; color: inherit; font-size: inherit; line-height: 1.2; }
.pension-result:not(.combined-result) > div:last-child { position: relative; z-index: 1; display: flex; min-width: 0; flex: 1; flex-direction: column; }
.pension-result p { margin: 16px 0 0; color: rgba(255,255,255,.76); font-size: .73rem; line-height: 1.35; }
.country-pill { display: inline-grid; min-width: 34px; height: 25px; padding: 0 7px; place-items: center; color: var(--navy-950); background: var(--gold-pale); border-radius: 999px; font-size: .62rem; }
.pension-result strong { display: block; margin: 8px 0 10px; color: white; font-family: var(--serif); font-size: clamp(1.6rem,2.25vw,2.25rem); font-weight: 500; line-height: 1.05; overflow-wrap: anywhere; }
.pension-result:not(.combined-result) > div:last-child > small { display: block; margin-top: auto; color: rgba(255,255,255,.66); font-size: .67rem; line-height: 1.4; overflow-wrap: anywhere; }
.de-result .points-result { margin-top: 9px !important; padding-top: 8px; color: var(--gold-pale) !important; border-top: 1px solid rgba(255,255,255,.12); }
.combined-result { padding: 22px; color: var(--navy-950); background: var(--gold-pale); border-radius: 16px; }
.result-cards .combined-result { grid-column: 1 / -1; }
.combined-result .result-country { color: rgba(7,30,43,.62); }
.combined-result .result-country > span { color: white; background: var(--navy-900); }
.combined-result small, .combined-result strong { display: block; }
.combined-result > span { color: var(--gold-dark); font-size: .64rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.combined-result strong { margin: 4px 0; font-family: var(--serif); font-size: clamp(2rem,3vw,3.15rem); font-weight: 600; line-height: 1.02; overflow-wrap: anywhere; }
.combined-result small { font-size: .69rem; }
.phase-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 12px; }
.phase-grid > div { display: flex; min-width: 0; flex-direction: column; padding: 14px; background: rgba(255,255,255,.42); border: 1px solid rgba(7,30,43,.1); border-radius: 11px; }
.phase-grid p { min-height: 2.6em; margin: 0; color: var(--gold-dark); font-size: .64rem; font-weight: 850; line-height: 1.3; }
.phase-grid strong { margin: 8px 0; font-size: clamp(1.7rem,2.7vw,2.35rem); white-space: nowrap; }
.phase-grid small { margin-top: auto; color: #655436; line-height: 1.35; }
.net-orientation { display: grid; grid-template-columns: minmax(170px,.72fr) minmax(230px,1.28fr); gap: 18px; align-items: center; margin-top: 13px; padding: 17px; color: white; background: var(--navy-900); border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.net-summary > span { display: block; color: var(--gold-pale); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.net-summary > strong { margin: 7px 0 5px; color: white; font-size: clamp(1.9rem,3vw,2.6rem); white-space: nowrap; }
.net-summary > small { color: rgba(255,255,255,.65); font-size: .64rem; line-height: 1.3; }
.net-summary #net-range-result { display: block; margin-top: 6px; color: var(--gold-pale); font-weight: 750; }
.net-control > div { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.net-control label { color: white; font-size: .68rem; font-weight: 800; }
.net-control output { color: var(--gold-pale); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.net-control input[type="range"] { height: 31px; margin-top: 2px; }
.net-control input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--gold) 0 var(--fill), rgba(255,255,255,.22) var(--fill) 100%); }
.net-control input[type="range"]::-webkit-slider-thumb { border-color: white; }
.net-control input[type="range"]::-moz-range-track { background: rgba(255,255,255,.22); }
.net-control > small { display: block; color: rgba(255,255,255,.58); font-size: .59rem; line-height: 1.35; }
.calculation-notes { margin: 11px 0 0; color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); border-radius: 11px; }
.calculation-notes summary { padding: 12px 14px; cursor: pointer; font-size: .69rem; font-weight: 850; list-style: none; }
.calculation-notes summary::-webkit-details-marker { display: none; }
.calculation-notes summary::after { float: right; content: "+"; }
.calculation-notes[open] summary::after { content: "−"; }
.calculation-notes > div { padding: 0 14px 12px; }
.calculation-notes p { margin: 0 0 9px; font-size: .64rem; }
.calculation-notes strong { color: white; }
.pension-timeline { position: relative; height: 136px; margin: 25px 0 8px; }
.timeline-line { position: absolute; top: 49px; right: 4%; left: 4%; height: 2px; background: rgba(255,255,255,.23); }
.timeline-step { --position: 50%; position: absolute; top: 25px; left: var(--position); width: 102px; text-align: center; transform: translateX(-50%); }
.timeline-step > span { display: grid; width: 48px; height: 48px; margin: 0 auto 8px; place-items: center; color: var(--navy-950); background: white; border: 5px solid var(--navy-800); border-radius: 50%; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.timeline-step.lu-step > span { background: var(--gold-pale); }
.timeline-step.de-step > span { background: var(--teal-pale); }
.timeline-step small { display: block; color: rgba(255,255,255,.61); font-size: .59rem; line-height: 1.25; }
.timeline-step strong { display: block; color: white; font-size: .61rem; line-height: 1.25; }
.result-message { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 9px; margin-top: 12px; padding: 16px; color: rgba(255,255,255,.84); background: rgba(255,255,255,.07); border-left: 3px solid var(--gold); border-radius: 4px 12px 12px 4px; font-size: .75rem; line-height: 1.5; }
.result-message > span { display: grid; width: 24px; height: 24px; place-items: center; color: var(--navy-950); background: var(--gold-pale); border-radius: 50%; font-weight: 900; }
.result-message p { margin: 0; }
.result-message strong { color: white; }
.calculator-conclusion { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; max-width: 1180px; margin: 19px auto 0; color: rgba(255,255,255,.63); font-size: .68rem; }
.calculator-conclusion > div { padding: 14px 18px; background: rgba(255,255,255,.055); border-radius: 12px; }
.calculator-conclusion p { margin: 0; }
.calculator-soft-cta { margin: 22px auto 0; text-align: center; }
.calculator-soft-cta a { display: inline-flex; gap: 8px; align-items: center; padding: 11px 18px; color: var(--gold-pale); border: 1px solid rgba(240,216,170,.35); border-radius: 999px; font-size: .72rem; font-weight: 850; text-decoration: none; }
.calculator-soft-cta a:hover { color: var(--navy-950); background: var(--gold-pale); }

.rule-table-wrap { max-width: 1160px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 40px rgba(7,30,43,.06); }
.rule-table { width: 100%; border-collapse: collapse; background: white; }
.rule-table th, .rule-table td { padding: 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.rule-table th { color: var(--gold-dark); background: #f8f5ee; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.rule-table td { font-size: .79rem; }
.rule-table td strong { display: block; color: var(--navy-900); font-size: 1rem; }
.minimum-story, .illness-story, .closing-visual { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 1080px; margin: 55px auto 0; overflow: hidden; background: white; border-radius: 25px; box-shadow: var(--shadow); }
.minimum-story figure, .illness-story figure, .closing-visual figure { margin: 0; min-height: 450px; }
.minimum-story figure, .illness-story figure { position: relative; overflow: hidden; }
.minimum-story img, .illness-story img, .closing-visual img { width: 100%; height: 100%; object-fit: cover; }
.minimum-story figcaption, .illness-story figcaption { position: absolute; right: 15px; bottom: 15px; left: 15px; padding: 11px 13px; color: white; background: rgba(7,30,43,.76); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; font-size: .64rem; backdrop-filter: blur(8px); }
.minimum-copy, .illness-copy { align-self: center; padding: clamp(27px,5vw,62px); }
.minimum-copy h3, .illness-copy h3 { margin: 0 0 17px; color: var(--navy-950); font-family: var(--serif); font-size: clamp(2rem,3.6vw,3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.minimum-copy > p:not(.mini-label), .illness-copy > p:not(.mini-label) { color: var(--muted); }
.data-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.data-strip > span { padding: 7px 10px; color: var(--muted); background: var(--paper); border-radius: 999px; font-size: .61rem; font-weight: 800; letter-spacing: .04em; }
.minimum-scale { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin: 22px 0 8px; }
.minimum-scale > div { position: relative; padding: 14px 7px; text-align: center; background: var(--paper); border-top: 5px solid var(--teal); border-radius: 9px; }
.minimum-scale > div.full { background: var(--gold-pale); border-top-color: var(--gold-dark); }
.minimum-scale span, .minimum-scale strong, .minimum-scale small { display: block; }
.minimum-scale span { color: var(--muted); font-size: .6rem; font-weight: 800; }
.minimum-scale strong { margin: 4px 0; color: var(--navy-900); font-family: var(--serif); font-size: 1rem; line-height: 1; }
.minimum-scale small { color: var(--muted); font-size: .52rem; line-height: 1.25; }
.application-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; max-width: 1080px; margin: 45px auto 0; }
.application-steps > div, .application-steps article { padding: 22px; background: var(--paper); border-radius: 16px; }
.application-steps > div > span, .application-steps article > span { color: var(--gold-dark); font-family: var(--serif); font-size: 2rem; }
.application-steps h3 { margin: 8px 0; font-size: .88rem; }
.application-steps p { margin: 0; color: var(--muted); font-size: .7rem; }
.topic-example { max-width: 1080px; margin: 18px auto 0; background: var(--teal-pale); border-radius: 14px; }
.topic-example summary { padding: 15px 18px; cursor: pointer; color: var(--navy-800); font-size: .75rem; font-weight: 850; list-style: none; }
.topic-example summary::-webkit-details-marker { display: none; }
.topic-example summary::after { float: right; content: "+"; }
.topic-example[open] summary::after { content: "−"; }
.topic-example > div { padding: 0 18px 16px; color: var(--muted); font-size: .72rem; }
.topic-example p { margin: 0 0 7px; }
.context-link { max-width: 1080px; margin: 17px auto 0; }
.context-link > a { color: var(--navy-800); font-size: .72rem; font-weight: 850; text-underline-offset: 4px; }
.context-link-group { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.protection { background: var(--cream); }
.protection.section-tint { background: linear-gradient(180deg, var(--paper), #edf2f0); }
.benefit-answer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; max-width: 1080px; margin: 0 auto 38px; }
.benefit-answer-card { min-height: 220px; padding: 25px; background: white; border: 1px solid var(--border); border-top: 5px solid var(--teal); border-radius: 18px; box-shadow: 0 12px 36px rgba(7,30,43,.06); }
.benefit-answer-card.featured { color: white; background: var(--navy-900); border-color: var(--gold); }
.benefit-answer-card > span { display: block; color: var(--gold-dark); font-size: .63rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.benefit-answer-card.featured > span { color: var(--gold-pale); }
.benefit-answer-card > strong { display: block; margin: 15px 0 11px; color: var(--navy-950); font-family: var(--serif); font-size: clamp(1.55rem,2.5vw,2.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.benefit-answer-card.featured > strong { color: white; }
.benefit-answer-card p { margin: 0; color: var(--muted); font-size: .73rem; }
.benefit-answer-card.featured p { color: rgba(255,255,255,.72); }
.sickness-example { display: grid; grid-template-columns: minmax(210px,.72fr) minmax(0,1.28fr); gap: 24px 34px; max-width: 1080px; margin: 0 auto 22px; padding: 26px; color: white; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); border-radius: 20px; box-shadow: var(--shadow); }
.sickness-example h3 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.35rem); font-weight: 500; line-height: 1; }
.sickness-example p { margin: 0; color: rgba(255,255,255,.7); font-size: .72rem; line-height: 1.5; }
.sickness-example-flow { display: grid; grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr); gap: 8px; align-items: stretch; }
.sickness-example-flow > div { display: flex; min-width: 0; flex-direction: column; align-items: center; padding: 15px 12px; color: var(--navy-950); background: var(--gold-pale); border-radius: 13px; text-align: center; }
.sickness-example-flow span:not(.flow-arrow) { color: var(--gold-dark); font-size: .61rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sickness-example-flow strong { display: grid; width: 100%; min-height: 2.15em; margin: 7px 0; place-items: center; font-family: var(--serif); font-size: clamp(1.35rem,2.15vw,1.78rem); font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.sickness-example-flow small { width: 100%; margin-top: auto; color: #655436; font-size: .61rem; line-height: 1.35; }
.sickness-example-flow small b { display: block; margin-bottom: 3px; color: var(--navy-900); font-size: .58rem; letter-spacing: .045em; text-transform: uppercase; }
.flow-arrow { display: grid; place-items: center; color: var(--gold-pale); font-size: 1.5rem; }
.sickness-example .example-note { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14); }
.sickness-example .example-note strong { color: white; }
.illness-story { margin-top: 0; }
.illness-timeline { position: relative; display: grid; gap: 14px; margin-top: 22px; padding-left: 34px; }
.illness-timeline::before { position: absolute; top: 12px; bottom: 12px; left: 10px; width: 2px; background: var(--gold-pale); content: ""; }
.illness-timeline div { position: relative; }
.illness-timeline div::before { position: absolute; top: 5px; left: -30px; width: 12px; height: 12px; background: var(--gold); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold); content: ""; }
.illness-timeline strong, .illness-timeline span { display: block; }
.illness-timeline strong { font-size: .77rem; }
.illness-timeline span { color: var(--muted); font-size: .67rem; }
.illness-timeline p { margin: 1px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.action-box { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); gap: 25px; max-width: 1080px; margin: 22px auto 0; padding: 25px; background: var(--gold-pale); border-radius: 18px; }
.action-box h3 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1.05; }
.action-box ol { margin: 0; padding-left: 22px; }
.action-box li { margin: 7px 0; color: #655436; font-size: .72rem; }
.invalidity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; max-width: 1080px; margin: 45px auto 0; }
.comparison-card { padding: 26px; background: white; border: 1px solid var(--border); border-radius: 18px; }
.comparison-card.accent-card { color: white; background: var(--navy-900); }
.comparison-kicker { color: var(--gold-dark); font-size: .63rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.accent-card .comparison-kicker { color: var(--gold-pale); }
.comparison-card h3 { margin: 13px 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.comparison-card p { margin: 0; color: var(--muted); font-size: .74rem; }
.accent-card p { color: rgba(255,255,255,.68); }
.comparison-card .comparison-amount { margin: 0 0 16px; color: var(--navy-900); font-size: .86rem; font-weight: 850; line-height: 1.45; }
.comparison-card.dark-card .comparison-amount, .comparison-card.accent-card .comparison-amount { color: white; }
.comparison-card .comparison-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.example-panels { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; max-width: 1080px; margin: 17px auto 0; }
.example-panels > div { padding: 21px; background: white; border: 1px solid var(--border); border-radius: 15px; }
.example-panels h3 { margin: 0 0 8px; color: var(--navy-950); font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.example-panels p:last-child { margin: 0; color: var(--muted); font-size: .71rem; }
.comparison-card ul, .work-card ul { margin: 14px 0 0; padding-left: 18px; }
.comparison-card li, .work-card li { margin: 6px 0; color: var(--muted); font-size: .7rem; }
.dark-card li { color: rgba(255,255,255,.72); }
.gross-warning { max-width: 1080px; margin: 13px auto 0; padding: 15px 18px; background: var(--gold-pale); border-radius: 12px; font-size: .75rem; }

.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; max-width: 1080px; margin: 0 auto; }
.work-card { min-height: 265px; padding: 29px; background: white; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.work-card-featured { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.light-card { background: white; box-shadow: var(--shadow); }
.dark-card { color: white; background: var(--navy-900); }
.country-stamp { display: inline-grid; height: 28px; padding: 0 11px; place-items: center; color: var(--navy-950); background: var(--gold-pale); border-radius: 999px; font-size: .62rem; font-weight: 900; }
.work-card h3 { margin: 16px 0 10px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.work-card p { color: var(--muted); font-size: .76rem; }
.work-card-featured p, .work-card-featured li { color: rgba(255,255,255,.74); }
.dark-card p { color: rgba(255,255,255,.68); }
.work-card strong { font-weight: 850; }
.work-card .work-amount { margin: 16px 0; padding: 15px 17px; color: var(--navy-950); background: var(--gold-pale); border-radius: 12px; font-size: .82rem; }
.work-card .work-amount strong { color: var(--navy-950); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.unemployment-guide { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; max-width: 1080px; margin: 17px auto 0; }
.unemployment-guide > div { padding: 23px; background: white; border: 1px solid var(--border); border-radius: 16px; }
.unemployment-guide h3 { margin: 0 0 10px; color: var(--navy-950); font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.1; }
.unemployment-guide p, .unemployment-guide li { color: var(--muted); font-size: .71rem; }
.unemployment-guide ol { margin: 8px 0; padding-left: 21px; }
.homeoffice-rules { max-width: 1080px; margin: 40px auto 0; padding: clamp(24px,4vw,38px); background: var(--paper); border-radius: 22px; }
.homeoffice-intro { display: grid; grid-template-columns: minmax(0,.8fr) minmax(280px,1.2fr); gap: 20px 45px; align-items: end; margin-bottom: 24px; }
.homeoffice-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -10px; }
.homeoffice-intro h3 { margin: 0; color: var(--navy-950); font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.homeoffice-intro > p:last-child { margin: 0; color: var(--muted); font-size: .76rem; }
.homeoffice-rule-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.homeoffice-rule { display: flex; min-height: 390px; flex-direction: column; padding: 25px; background: white; border: 1px solid var(--border); border-top: 5px solid var(--teal); border-radius: 17px; }
.homeoffice-rule.tax-rule { border-top-color: var(--gold); }
.rule-kicker { color: var(--teal); font-size: .61rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tax-rule .rule-kicker { color: var(--gold-dark); }
.homeoffice-rule h4 { margin: 13px 0 15px; color: var(--navy-950); font-family: var(--serif); font-size: clamp(1.45rem,2.3vw,2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
.homeoffice-rule ul { margin: 0 0 14px; padding-left: 20px; }
.homeoffice-rule li { margin-bottom: 9px; color: var(--muted); font-size: .7rem; line-height: 1.48; }
.homeoffice-rule li strong { color: var(--navy-950); }
.homeoffice-rule .rule-note { margin: 0 0 16px; padding: 13px; color: #5f5a4e; background: var(--gold-pale); border-radius: 10px; font-size: .64rem; line-height: 1.45; }
.homeoffice-rule .official-link { margin-top: auto; }
.homeoffice-example { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; align-items: start; margin-top: 14px; padding: 18px 20px; color: white; background: var(--navy-900); border-radius: 14px; }
.homeoffice-example > span { color: var(--gold-pale); font-size: .62rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.homeoffice-example p { margin: 0; color: rgba(255,255,255,.75); font-size: .7rem; line-height: 1.5; }
.homeoffice-example strong { color: white; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; max-width: 1080px; margin: 40px auto 0; }
.benefit-grid details { background: white; border: 1px solid var(--border); border-radius: 14px; }
.benefit-grid summary { padding: 16px; cursor: pointer; font-size: .76rem; font-weight: 800; list-style: none; }
.benefit-grid summary::-webkit-details-marker { display: none; }
.benefit-grid summary span { display: inline-block; margin-right: 7px; color: var(--gold-dark); font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.benefit-grid details p { margin: 0; padding: 0 16px 17px; color: var(--muted); font-size: .7rem; }
.mid-booking-cta { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); gap: clamp(26px,5vw,58px); align-items: center; max-width: 1080px; margin: 42px auto 0; padding: clamp(28px,4.5vw,48px); overflow: hidden; color: white; background: radial-gradient(circle at 92% 18%, rgba(200,154,82,.18), transparent 30%), linear-gradient(135deg, var(--navy-900), var(--navy-950)); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; box-shadow: var(--shadow); }
.mid-booking-cta .eyebrow { color: var(--gold-pale); }
.mid-booking-cta h3 { margin: 7px 0 13px; color: white; font-family: var(--serif); font-size: clamp(1.75rem,3.2vw,2.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; }
.mid-booking-cta p:last-child { max-width: 700px; margin: 0; color: rgba(255,255,255,.7); font-size: .74rem; line-height: 1.55; }
.mid-booking-action { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 15px; }
.mid-booking-action .button { width: 100%; color: var(--navy-950); background: var(--gold-pale); text-align: center; }
.mid-booking-action .button span { margin-left: 7px; font-size: 1.15em; }
.mid-booking-action small { display: block; margin-top: 9px; color: rgba(255,255,255,.58); font-size: .59rem; text-align: center; }

.faq-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto 25px; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.faq-search { display: flex; align-items: center; width: min(290px,100%); padding: 8px 12px; background: white; border: 1px solid var(--border); border-radius: 999px; }
.faq-search svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--muted); }
.faq-search input { width: 100%; padding: 2px 7px; color: var(--ink); background: transparent; border: 0; outline: 0; }
.faq-list { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 19px 47px 19px 4px; cursor: pointer; font-weight: 760; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 19px; right: 8px; width: 26px; height: 26px; color: var(--navy-900); content: "+"; font-size: 1.25rem; line-height: 23px; text-align: center; transition: .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 900px; margin: 0; padding: 0 45px 20px 4px; color: var(--muted); font-size: .82rem; }
.faq-empty { max-width: 1080px; margin: 20px auto; padding: 25px; color: var(--muted); background: var(--paper); border-radius: 14px; text-align: center; }

.documents { display: grid; grid-template-columns: repeat(2,minmax(0,540px)); justify-content: center; align-items: stretch; color: white; background: var(--navy-950); }
.documents > .section-heading { grid-column: 1 / -1; width: 100%; }
.document-layout { padding: clamp(26px,5vw,58px); }
.documents .document-layout { color: var(--ink); background: white; border-radius: 24px 0 0 24px; }
.document-layout h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem,3.7vw,3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.document-layout > p { color: var(--muted); }
.document-checklist { display: grid; gap: 8px; margin-top: 22px; }
.document-checklist label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 11px; background: var(--paper); border-radius: 10px; cursor: pointer; font-size: .73rem; line-height: 1.4; }
.document-checklist input { width: 17px; height: 17px; accent-color: var(--teal); }
.document-progress-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(30px,5vw,60px); color: white; background: var(--navy-900); text-align: center; }
.documents .document-progress-card { border: 1px solid rgba(255,255,255,.12); border-radius: 0 24px 24px 0; }
.progress-ring { --progress: 0deg; display: grid; width: 160px; height: 160px; place-items: center; margin-bottom: 20px; background: conic-gradient(var(--gold) var(--progress), rgba(255,255,255,.13) 0); border-radius: 50%; }
.progress-ring::before { grid-area: 1/1; width: 126px; height: 126px; background: var(--navy-900); border-radius: 50%; content: ""; }
.progress-ring strong { z-index: 1; grid-area: 1/1; font-family: var(--serif); font-size: 2.8rem; font-weight: 500; }
.document-progress-card h3 { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.document-progress-card p { max-width: 320px; color: rgba(255,255,255,.65); font-size: .75rem; }
.document-progress-card .secondary-button { margin-top: 10px; color: white; border-color: rgba(255,255,255,.2); }

.sources { background: var(--paper); }
.source-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; max-width: 1080px; margin: 0 auto; }
.source-grid a { padding: 16px; color: var(--navy-800); background: white; border: 1px solid var(--border); border-radius: 12px; font-size: .7rem; font-weight: 780; text-decoration: none; }
.source-grid a:hover { border-color: var(--gold); }
.source-grid span, .source-grid strong, .source-grid small { display: block; }
.source-grid span { color: var(--gold-dark); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.source-grid strong { margin: 4px 0; }
.source-grid small { color: var(--muted); }
.source-disclaimer { max-width: 950px; margin: 25px auto 0; color: var(--muted); font-size: .68rem; }

.next-step { background: linear-gradient(140deg, #f8f4eb, #e6efed); }
.knowledge-after { max-width: 820px; margin: 0 auto 42px; padding: 29px; background: white; border: 1px solid var(--border); border-radius: 21px; box-shadow: var(--shadow); }
.knowledge-after .after-response { margin: 11px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.closing-visual { max-width: 1160px; }
.closing-visual figure { min-height: 500px; }
.closing-visual > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,5vw,60px); color: white; background: var(--navy-900); }
.closing-visual blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.8rem); letter-spacing: -.035em; line-height: 1.08; }
.cta-panel { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 34px; align-items: center; max-width: 1160px; margin: 22px auto 0; padding: clamp(29px,5vw,58px); color: white; background: var(--navy-950); border-radius: 25px; box-shadow: var(--shadow); }
.cta-panel .eyebrow { color: var(--gold-pale); }
.cta-panel h2 { color: white; }
.cta-panel > p { color: rgba(255,255,255,.7); }
.advisor-profile { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; }
.advisor-profile img { width: 74px; height: 74px; object-fit: cover; object-position: 50% 35%; border: 2px solid var(--gold); border-radius: 50%; }
.advisor-profile strong, .advisor-profile span { display: block; }
.advisor-profile span { color: rgba(255,255,255,.58); font-size: .68rem; }
.advisor-profile h2 { font-size: clamp(2rem,3.5vw,3.4rem); }
.advisor-profile p { color: rgba(255,255,255,.67); font-size: .76rem; }
.cta-action { padding: 23px; color: var(--navy-950); background: var(--gold-pale); border-radius: 17px; }
.cta-action > p { margin-top: 0; font-size: .72rem; }
.cta-action .button { width: 100%; color: white; background: var(--navy-900); }
.cta-action .button svg { width: 19px; height: 19px; margin-left: 8px; }
.cta-action > small { display: block; margin-top: 8px; color: #70512a; font-size: .59rem; text-align: center; }
.fine-print { color: rgba(255,255,255,.48) !important; font-size: .64rem; }

footer { display: flex; gap: 20px; justify-content: space-between; padding: 25px clamp(20px,5vw,65px); color: rgba(255,255,255,.58); background: #051720; font-size: .65rem; }
footer p { margin: 0; }
footer a { color: var(--gold-pale); }

.info-dialog { width: min(620px, calc(100% - 30px)); padding: clamp(25px,5vw,48px); color: var(--ink); background: white; border: 0; border-radius: 23px; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
dialog:not([open]) { display: none; }
.info-dialog::backdrop { background: rgba(7,30,43,.72); backdrop-filter: blur(5px); }
.info-dialog > div { padding: 0; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.25rem; }
.info-dialog h2 { margin-right: 32px; font-size: clamp(2rem,4vw,3.2rem); }
#dialog-content { color: var(--muted); }
#dialog-content strong { color: var(--ink); }
.dialog-done { margin-top: 15px; }

button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(200,154,82,.6); outline-offset: 3px; }
@media (hover: hover) { button, a { transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; } }

@media (max-width: 1320px) {
  .calculator-shell { grid-template-columns: 1fr; }
  .calculator-results { min-height: 0; }
}
@media (max-width: 1120px) {
  .page-shell { grid-template-columns: 220px minmax(0,1fr); }
  .rail-inner { padding-inline: 20px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 760px; margin: 0 auto; }
  .hero-visual img { min-height: 480px; }
}
@media (max-width: 860px) {
  .page-shell { display: block; }
  .conversation-rail { display: none; }
  .mobile-jump-nav { display: flex; gap: 7px; margin-top: 20px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .mobile-jump-nav a { flex: 0 0 auto; padding: 8px 12px; color: var(--navy-800); background: white; border: 1px solid var(--border); border-radius: 999px; font-size: .67rem; font-weight: 800; text-decoration: none; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .fact-grid, .benefit-grid, .benefit-answer-grid { grid-template-columns: repeat(2,1fr); }
  .event-layout, .homeoffice-intro { grid-template-columns: 1fr; }
  .homeoffice-intro .eyebrow { grid-column: auto; margin-bottom: 0; }
  .event-buttons { grid-template-columns: repeat(2,1fr); }
  .minimum-story, .illness-story, .documents, .closing-visual, .cta-panel { grid-template-columns: 1fr; }
  .mid-booking-cta { grid-template-columns: 1fr; }
  .sickness-example { grid-template-columns: 1fr; }
  .documents .document-layout { border-radius: 24px 24px 0 0; }
  .documents .document-progress-card { border-radius: 0 0 24px 24px; }
  .minimum-story figure, .illness-story figure, .closing-visual figure { min-height: 370px; }
  .application-steps { grid-template-columns: repeat(2,1fr); }
  .invalidity-grid { grid-template-columns: 1fr; }
  .glossary > div { grid-template-columns: repeat(2,1fr); }
  .pension-timeline { display: grid; height: auto; gap: 12px; margin: 24px 0 8px; }
  .timeline-line { top: 8px; right: auto; bottom: 8px; left: 23px; width: 2px; height: auto; }
  .timeline-step { position: relative; top: auto; left: auto !important; display: grid; width: auto; grid-template-columns: 48px minmax(0,1fr); gap: 12px; align-items: center; text-align: left; transform: none; }
  .timeline-step > span { position: relative; z-index: 1; margin: 0; }
  .timeline-step small, .timeline-step strong { font-size: .68rem; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 70px; }
  .topbar { min-height: 68px; padding-inline: 13px; }
  .brand-portrait { width: 42px; height: 42px; }
  .brand small { display: none; }
  .top-actions .print-button span, .top-actions .button { display: none; }
  .top-actions .print-button { width: 42px; padding: 0; }
  .section-block { padding: 65px 18px; }
  .hero { min-height: 0; padding-top: 44px; padding-bottom: 75px; }
  h1 { font-size: clamp(2.75rem,14vw,4rem); }
  h2 { font-size: clamp(2.2rem,11vw,3.3rem); }
  .situation-card > div:first-child { display: block; }
  .situation-buttons, .fact-grid, .input-grid, .result-cards, .official-grid, .work-grid, .benefit-grid, .benefit-answer-grid, .event-result dl, .example-panels, .unemployment-guide, .action-box { grid-template-columns: 1fr; }
  .phase-grid { grid-template-columns: 1fr; }
  .net-orientation { grid-template-columns: 1fr; }
  .sickness-example { grid-template-columns: 1fr; }
  .sickness-example-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .homeoffice-rule-grid, .homeoffice-example { grid-template-columns: 1fr; }
  .homeoffice-rule { min-height: 0; }
  .projection-field { grid-column: auto; }
  .projection-field .field-heading { align-items: stretch; flex-direction: column; }
  .projection-field select { max-width: none; width: 100%; }
  .situation-buttons button { text-align: left; }
  .scale-labels { font-size: .56rem; }
  .hero-visual { border-radius: 20px; }
  .hero-visual img { min-height: 390px; }
  .fact-card { min-height: 220px; }
  .event-buttons { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .event-buttons button { flex: 0 0 210px; scroll-snap-align: start; }
  .event-result { min-height: 500px; }
  .event-result h3 { margin-right: 0; padding-top: 72px; }
  .event-country { left: 25px; right: auto; }
  .calculator-inputs, .calculator-results { padding: 22px 16px; }
  .calculator-intro, .results-heading { display: block; }
  .quality-badge { width: max-content; max-width: 100%; margin-top: 13px; }
  .mode-switch { margin-top: 14px; }
  .mode-switch button { flex: 1; }
  .calculation-notes { grid-template-columns: 1fr; }
  .calculator-conclusion { grid-template-columns: 1fr; }
  .pension-timeline { display: grid; height: auto; gap: 12px; margin: 24px 0 8px; }
  .timeline-line { top: 8px; right: auto; bottom: 8px; left: 23px; width: 2px; height: auto; }
  .timeline-step { position: relative; top: auto; left: auto !important; display: grid; width: auto; grid-template-columns: 48px minmax(0,1fr); gap: 12px; align-items: center; text-align: left; transform: none; }
  .timeline-step > span { position: relative; z-index: 1; margin: 0; }
  .timeline-step small, .timeline-step strong { font-size: .68rem; }
  .application-steps { grid-template-columns: 1fr; }
  .glossary > div { grid-template-columns: 1fr; }
  .faq-tools { align-items: stretch; flex-direction: column; }
  .faq-search { width: 100%; }
  .source-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 25px 18px; }
  .advisor-profile { grid-template-columns: 56px 1fr; }
  .advisor-profile img { width: 56px; height: 56px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}

@media print {
  @page { margin: 13mm; size: A4; }
  body { background: white; font-size: 10pt; }
  .topbar, .conversation-rail, .scroll-cue, .mobile-jump-nav, .faq-tools, .button, .print-button, .mode-switch, .dialog-close { display: none !important; }
  .page-shell { display: block; }
  .section-block { padding: 12mm 0; break-inside: auto; }
  .hero { display: block; min-height: 0; padding-top: 0; background: white; }
  .hero-visual { max-width: 100%; margin-top: 8mm; box-shadow: none; }
  .hero-visual img { min-height: 0; max-height: 110mm; }
  h1 { font-size: 34pt; }
  h2 { font-size: 25pt; }
  .fact-grid { grid-template-columns: repeat(3,1fr); }
  .fact-card { min-height: 0; box-shadow: none; break-inside: avoid; }
  .section-dark { color: var(--ink); background: white; }
  .section-dark h2 { color: var(--navy-950); }
  .calculator-shell { display: block; box-shadow: none; }
  .calculator-results { color: var(--ink); background: var(--paper); }
  .pension-result, .result-message, .calculation-notes, .fact-featured, .benefit-answer-card.featured, .comparison-card.dark-card, .comparison-card.accent-card, .work-card-featured, .document-progress-card, .mid-booking-cta, .cta-panel, .closing-visual > div { color: var(--ink) !important; background: white !important; border-color: var(--border) !important; box-shadow: none !important; }
  .pension-result strong, .result-message strong, .calculation-notes strong, .fact-featured .fact-title, .benefit-answer-card.featured > strong, .comparison-card.dark-card h3, .comparison-card.accent-card h3, .work-card-featured h3, .document-progress-card h3, .mid-booking-cta h3, .cta-panel h2, .closing-visual blockquote { color: var(--ink) !important; }
  .fact-featured span, .benefit-answer-card.featured p, .comparison-card.dark-card p, .comparison-card.accent-card p, .work-card-featured p, .work-card-featured li, .document-progress-card p, .mid-booking-cta p, .cta-panel p { color: var(--muted) !important; }
  .pension-result > span:last-child, .result-country, .timeline-step small { color: var(--muted); }
  .timeline-line { background: var(--border); }
  .info-dialog { display: none; }
  .faq-list details { break-inside: avoid; }
  .faq-list details > p, .benefit-grid details > p, .glossary > div, .topic-example > div, .calculation-notes > div { display: block !important; }
  body.print-checklist-only main > section:not(#unterlagen), body.print-checklist-only footer { display: none !important; }
  body.print-checklist-only #unterlagen { display: grid !important; padding: 0; }
  body.print-checklist-only #unterlagen .section-heading { display: block; }
  a { text-decoration: none; }
}
