/* ==========================================================================
   Kuendo – Stylesheet
   ========================================================================== */
:root {
  --brand: #4338ca;
  --brand-600: #4f46e5;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --mint: #34d399;
  --cta: #059669;
  --cta-700: #047857;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #fff;
  --bg-alt: #f8fafc;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --warn-line: #fcd34d;
  --err: #b91c1c;
  --err-bg: #fef2f2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 10px 40px rgba(30, 27, 75, .14);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .85em; }
:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.fine { font-size: .85rem; color: var(--muted); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-lg { width: 30px; height: 30px; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72rem 1.25rem; border: 1px solid transparent; border-radius: 999px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--brand-600); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { padding: .45rem .9rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.08rem; }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand-100); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand); }
.btn-cta { background: var(--cta); box-shadow: 0 6px 18px rgba(5, 150, 105, .28); }
.btn-cta:hover { background: var(--cta-700); }

/* Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Suche --------------------------------------------------------------- */
.search { position: relative; display: flex; align-items: center; }
.search > .ico { position: absolute; left: .9rem; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem .6rem 2.6rem; transition: .15s;
}
.search input:focus { outline: none; background: #fff; border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-50); }
.search-header { flex: 1; max-width: 360px; }
.search-hero { margin: 1.6rem 0 1rem; max-width: 620px; }
.search-hero input { padding: 1.05rem 7.5rem 1.05rem 3rem; font-size: 1.05rem; background: #fff; box-shadow: var(--shadow-lg); border-color: transparent; }
.search-hero > .ico { left: 1.1rem; width: 1.3em; height: 1.3em; }
.search-hero .btn { position: absolute; right: .4rem; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: .35rem; max-height: 360px; overflow: auto; list-style: none; margin: 0;
}
.search-results a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: 7px; color: var(--ink); text-decoration: none; }
.search-results a small { color: var(--muted); white-space: nowrap; }
.search-results a:hover, .search-results a.is-active { background: var(--brand-50); }
.search-results .empty { padding: .6rem .75rem; color: var(--muted); }

/* Hero ---------------------------------------------------------------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #e0e7ff 0, transparent 60%), linear-gradient(180deg, #f5f7ff, #fff); padding: clamp(2.5rem, 6vw, 5rem) 0 3rem; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.hl { background: linear-gradient(90deg, var(--brand), #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #334155; max-width: 62ch; }
.hero-pop { font-size: .92rem; color: var(--muted); }
.hero-pop a { display: inline-block; margin: .2rem .15rem; padding: .15rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); text-decoration: none; }
.hero-pop a:hover { border-color: var(--brand-100); color: var(--brand); }
.hero-visual { position: relative; min-height: 340px; }
.mock-letter { position: absolute; inset: 0 10% 0 6%; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 2rem 1.8rem; transform: rotate(2.5deg); }
.mock-letter strong { display: block; margin: 1.6rem 0 1rem; color: var(--ink); }
.mock-lines i { display: block; height: 9px; background: #e9edf5; border-radius: 6px; margin: 0 0 10px; }
.mock-lines i.s { width: 55%; }
.mock-stamp { position: absolute; right: 1.4rem; bottom: 1.6rem; display: inline-flex; gap: .4rem; align-items: center; color: var(--cta); border: 2px solid var(--cta); border-radius: 8px; padding: .3rem .7rem; font-weight: 800; transform: rotate(-8deg); }
.mock-badge { position: absolute; left: -4%; bottom: 8%; display: flex; gap: .7rem; align-items: center; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg); }
.mock-badge .ico { width: 26px; height: 26px; color: var(--mint); }
.mock-badge span { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.3; color: #cbd5e1; }
.mock-badge strong { color: #fff; font-size: 1.05rem; }

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.6rem 0; }
.trust-grid div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; }
.trust-grid .ico { grid-row: span 2; color: var(--brand); }
.trust-grid strong { color: var(--ink); }
.trust-grid span { font-size: .88rem; color: var(--muted); }

/* Sections ------------------------------------------------------------ */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: 1.2rem; }
.section-sub { color: var(--muted); margin-top: -.6rem; margin-bottom: 1.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-head a { font-weight: 650; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: none; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.how-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: .9rem; }
.how p { color: #475569; margin: 0; }

/* Karten -------------------------------------------------------------- */
.cards { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card-firma { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: .15s; height: 100%; }
.card-firma:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.card-firma .card-txt { display: flex; flex-direction: column; min-width: 0; }
.card-firma strong { font-weight: 650; line-height: 1.3; }
.card-firma small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi {
  flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: -.03em; text-align: center;
  color: var(--fi-c, var(--brand)); background: var(--fi-bg, var(--brand-50)); box-shadow: inset 0 0 0 1px var(--fi-ring, var(--brand-100));
}
.fi-2 { font-size: .98rem; }
.fi-3 { font-size: .8rem; letter-spacing: -.04em; }
.fi .ico { width: 24px; height: 24px; }
.fi-lg { width: 64px; height: 64px; border-radius: 16px; font-size: 1.65rem; }
.fi-lg.fi-2 { font-size: 1.4rem; }
.fi-lg.fi-3 { font-size: 1.15rem; }
.fi-lg .ico { width: 32px; height: 32px; }
.fi-streaming { --fi-c: #be123c; --fi-bg: #fff1f2; --fi-ring: #ffe4e6; }
.fi-telekommunikation { --fi-c: #4338ca; --fi-bg: #eef2ff; --fi-ring: #e0e7ff; }
.fi-energie { --fi-c: #b45309; --fi-bg: #fffbeb; --fi-ring: #fef3c7; }
.fi-versicherung { --fi-c: #0369a1; --fi-bg: #f0f9ff; --fi-ring: #e0f2fe; }
.fi-bank { --fi-c: #047857; --fi-bg: #ecfdf5; --fi-ring: #d1fae5; }
.fi-fitness { --fi-c: #c2410c; --fi-bg: #fff7ed; --fi-ring: #ffedd5; }
.fi-software { --fi-c: #0e7490; --fi-bg: #ecfeff; --fi-ring: #cffafe; }
.fi-zeitung { --fi-c: #334155; --fi-bg: #f1f5f9; --fi-ring: #e2e8f0; }
.fi-dating { --fi-c: #be185d; --fi-bg: #fdf2f8; --fi-ring: #fce7f3; }
.fi-wohnen { --fi-c: #6d28d9; --fi-bg: #f5f3ff; --fi-ring: #ede9fe; }
.fi-mobilitaet { --fi-c: #15803d; --fi-bg: #f0fdf4; --fi-ring: #dcfce7; }
.fi-arbeit { --fi-c: #7c2d12; --fi-bg: #fef2f2; --fi-ring: #fee2e2; }
.fi-sonstiges { --fi-c: #475569; --fi-bg: #f8fafc; --fi-ring: #e2e8f0; }

.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.tile { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; transition: .15s; }
.tile .ico { color: var(--brand); margin-bottom: .4rem; }
.tile small { color: var(--muted); }
.tile:hover { border-color: var(--brand-100); box-shadow: var(--shadow); color: var(--ink); }
.tile-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--brand-50); color: var(--brand); flex: none; }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.link-list a { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--ink); }
.link-list a:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.link-list .ico { color: var(--brand); margin-top: .2rem; }
.link-list span { display: flex; flex-direction: column; }
.link-list small { color: var(--muted); }
.col-main > .link-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .92rem; background: #fff; }
.chips a:hover { border-color: var(--brand-100); color: var(--brand); }
.cat-block { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.cat-block h2 a { color: var(--ink); text-decoration: none; }
.cat-block p { color: var(--muted); max-width: 80ch; }

/* Seitenkopf ---------------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, #f5f7ff, #fff); padding: 2.2rem 0 2.4rem; border-bottom: 1px solid var(--line); }
.page-hero-sm h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: #94a3b8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.firma-head { display: flex; gap: 1.1rem; align-items: center; }
.firma-head h1 { margin-bottom: .25em; }
.firma-head .lead { margin: 0; }
.usp-inline { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 1.3rem 0 0; font-size: .92rem; color: #334155; }
.usp-inline li { display: inline-flex; align-items: center; gap: .4rem; }
.usp-inline .ico { color: var(--cta); }

/* Zweispaltig --------------------------------------------------------- */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.2rem; padding-block: 2.2rem; align-items: start; }
.col-side { display: grid; gap: 1rem; position: sticky; top: 88px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.3rem; }
.box h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin-bottom: .8rem; }
.box h2 .ico { color: var(--brand); }
.box p:last-child { margin-bottom: 0; }
.box address { font-style: normal; background: var(--bg-alt); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: .8rem; line-height: 1.5; }
.box-accent { background: linear-gradient(160deg, var(--brand-50), #fff 70%); border-color: var(--brand-100); }
.box .link-list a { padding: .7rem .8rem; }
.box > a { display: inline-flex; gap: .3rem; align-items: center; font-weight: 600; text-decoration: none; }
.hint { font-size: .92rem; background: var(--bg-alt); padding: .7rem .85rem; border-radius: var(--radius-sm); border-left: 3px solid var(--brand); }
.checklist, .plain { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.plain li { padding: .32rem 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border: 0; }
.plain a { text-decoration: none; color: var(--text); }
.plain a:hover { color: var(--brand); }
.price { width: 100%; border-collapse: collapse; margin-bottom: .6rem; }
.price td { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.price td:last-child { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Wizard -------------------------------------------------------------- */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(1.2rem, 3vw, 2rem); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0; margin: 0 0 1.8rem; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; color: var(--muted); padding-bottom: .7rem; border-bottom: 3px solid var(--line); }
.steps li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: .8rem; flex: none; }
.steps li.is-active, .steps li.is-done { color: var(--ink); border-color: var(--brand); }
.steps li.is-active span, .steps li.is-done span { background: var(--brand); color: #fff; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend, .step .legend { font-size: 1.3rem; font-weight: 750; color: var(--ink); margin-bottom: 1.1rem; padding: 0; }
.step legend small { font-weight: 500; color: var(--muted); font-size: .8em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.span-2 { grid-column: 1 / -1; }
.field { margin-bottom: 1.05rem; }
.field > label, .field .label { display: block; font-weight: 650; font-size: .93rem; color: var(--ink); margin-bottom: .35rem; }
.field > small { display: block; color: var(--muted); margin-top: .3rem; }
.req { color: var(--err); }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm); padding: .7rem .85rem; transition: .15s;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-50); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: var(--err); box-shadow: 0 0 0 4px var(--err-bg); }
.check, .radio { display: flex; gap: .65rem; align-items: flex-start; padding: .45rem 0; cursor: pointer; font-size: .95rem; }
.check input, .radio input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--brand); flex: none; }
.check-strong { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .9rem; }
.check-strong.is-invalid { border-color: var(--err); background: var(--err-bg); }
.radio-group { display: grid; gap: .1rem; }
.radio small { color: var(--muted); }
.more { border: 1px dashed #cbd5e1; border-radius: var(--radius-sm); padding: .2rem 1rem; margin-bottom: 1.1rem; }
.more summary { cursor: pointer; padding: .7rem 0; font-weight: 650; color: var(--ink); }
.more summary small { color: var(--muted); font-weight: 500; }
.sig-pad { position: relative; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff; }
.sig-pad canvas { width: 100%; height: 150px; touch-action: none; cursor: crosshair; display: block; background: repeating-linear-gradient(transparent 0 118px, #e2e8f0 118px 119px, transparent 119px 150px); border-radius: var(--radius-sm); }
.sig-pad .btn { position: absolute; right: .5rem; top: .5rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

.alert { display: flex; gap: .75rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid; margin: 0 0 1.2rem; font-size: .94rem; }
.alert p { margin: 0; }
.alert .ico { margin-top: .15rem; }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: #312e81; }
.alert-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.alert-error { background: var(--err-bg); border-color: #fecaca; color: var(--err); margin-top: 1rem; display: block; }
.alert-error ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* Briefvorschau (spiegelt das PDF-Layout) ---------------------------- */
.paper-wrap { background: #e9edf5; border-radius: var(--radius); padding: 1rem; overflow: hidden; margin-bottom: .8rem; }
.paper {
  width: 210mm; min-height: 297mm; background: #fff; box-shadow: 0 6px 24px rgba(15, 23, 42, .15);
  padding: 20mm 20mm 20mm 25mm; transform-origin: top left; color: #111;
  font: 10.5pt/1.45 Helvetica, Arial, sans-serif;
}
.paper .kopf { position: relative; height: 77mm; }
.paper .abs-kopf { position: absolute; top: 0; right: 0; text-align: right; font-size: 9pt; line-height: 1.4; color: #333; }
.paper .ruecksende { position: absolute; top: 28mm; left: 0; font-size: 7pt; color: #444; text-decoration: underline; }
.paper .empf { position: absolute; top: 35mm; left: 0; width: 85mm; line-height: 1.35; }
.paper .datum { position: absolute; top: 70mm; right: 0; }
.paper .betreff { font-weight: bold; font-size: 11pt; margin-bottom: 1.5mm; }
.paper .bezug { margin-bottom: 7mm; color: #222; }
.paper p { margin: 0 0 3.6mm; }
.paper .gruss { margin-top: 6mm; }
.paper .gruss p { margin-bottom: 2mm; }
.paper .sig { height: 16mm; width: auto; max-width: 70mm; margin-bottom: 1mm; }
.paper .sig-leer { height: 14mm; }

.actions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.action { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; align-items: flex-start; }
.action h3 { display: flex; align-items: center; gap: .5rem; }
.action p { color: #475569; font-size: .95rem; }
.action > .btn { margin-top: auto; }
.action-primary { border: 2px solid var(--cta); background: linear-gradient(170deg, #ecfdf5, #fff 60%); }
.action-primary h3 .ico { color: var(--cta); }
.action-primary .btn { width: 100%; margin-top: .4rem; }
.action-primary .fine { margin: .7rem 0 0; }
.action-info { background: var(--brand-50); border-color: var(--brand-100); }
.versand-optionen { display: grid; gap: .5rem; width: 100%; margin-bottom: .8rem; }
.opt { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: .7rem .85rem; cursor: pointer; transition: .15s; }
.opt input { margin-top: .25rem; accent-color: var(--cta); width: 1.1rem; height: 1.1rem; flex: none; }
.opt span { display: grid; grid-template-columns: 1fr auto; gap: 0 .8rem; width: 100%; }
.opt em { font-style: normal; font-weight: 800; color: var(--ink); white-space: nowrap; }
.opt small { grid-column: 1 / -1; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--cta); box-shadow: 0 0 0 3px #d1fae5; }

.versand-frame { margin-top: 1.5rem; background: #fff; border: 2px solid var(--cta); border-radius: 18px; padding: 1.2rem; box-shadow: var(--shadow); }
.versand-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.versand-head h2 { margin: 0; }
.versand-frame iframe { width: 100%; height: 720px; margin-top: 1rem; border: 0; border-radius: var(--radius-sm); background: var(--bg-alt); }

/* Inhalt -------------------------------------------------------------- */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.2rem; padding-bottom: 3rem; }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap th, .table-wrap td { text-align: left; padding: .65rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.summary { background: linear-gradient(160deg, var(--brand-50), #fff 80%); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 1.8rem; }
.summary h2 { font-size: 1.15rem; margin: 0 0 .7rem !important; }
.summary ul, .summary ol { margin: 0; }
.summary p:last-child { margin: 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; background: var(--ink); color: #cbd5e1; border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.8rem 0; }
.cta-box strong { color: #fff; font-size: 1.1rem; }
.cta-box p { margin: .2rem 0 0; }
.related h2 { font-size: 1.15rem; }
.related .cards { grid-template-columns: 1fr; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .55rem; }
.faq summary { cursor: pointer; list-style: none; padding: .95rem 2.6rem .95rem 1.1rem; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.35rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 1.1rem 1rem; color: #334155; }

/* A–Z ----------------------------------------------------------------- */
.filter { position: relative; max-width: 420px; margin-top: 1.2rem; }
.filter .ico { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter input { width: 100%; font: inherit; padding: .75rem 1rem .75rem 2.6rem; border: 1px solid var(--line); border-radius: 999px; }
.az-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1rem; }
.az-nav a { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .4rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.az-group { padding: 1rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.az-group h2 { font-size: 1.3rem; color: var(--brand); }
.az-list { list-style: none; padding: 0; margin: 0; columns: 3 220px; column-gap: 2rem; }
.az-list li { padding: .25rem 0; break-inside: avoid; }
.az-list a { color: var(--text); text-decoration: none; }
.az-list a:hover { color: var(--brand); text-decoration: underline; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: #0b1020; color: #94a3b8; margin-top: 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { border-top: 1px solid #1e293b; padding: 1.2rem 0; font-size: .82rem; color: #7c8aa5; }
.footer-note p { margin: 0; max-width: 110ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #1e293b; padding: 1.1rem 0 1.4rem; }
.footer-legal { display: flex; gap: 1.4rem; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1020px) {
  .layout-2, .content { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding: .5rem 0; }
  .search-header { order: 3; flex-basis: 100%; max-width: none; margin-bottom: .4rem; }
  .nav-toggle { display: block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; order: 4; padding-bottom: .8rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .7rem; border: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps li { font-size: 0; gap: 0; justify-content: center; }
  .steps li span { font-size: .8rem; }
  .search-hero input { padding-right: 1rem; }
  .search-hero .btn { display: none; }
  .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .firma-head { align-items: flex-start; }
  .firma-head .fi-lg, .tile-ico { width: 52px; height: 52px; font-size: 1.35rem; }
  .versand-frame iframe { height: 1100px; }
  .versand-frame { padding: .8rem; }
  .paper-wrap { padding: .5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .col-side, .related { display: none; } }
.prose blockquote { margin: 1.2rem 0; padding: 1rem 1.2rem; background: var(--bg-alt); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #334155; }
.prose blockquote p:last-child { margin: 0; }
