/* schluesseldienstwesseling.de: unabhängiger Ratgeber. Fonts lokal (Manrope, OFL), keine externen Anfragen. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #ffffff;
  --ink: #121212;
  --ink-2: #3a3a3a;
  --grey: #6d6d6d;
  --rule: #e7e7e7;
  --wash: #f6f5f4;
  --red: #c8101d;
  --red-dark: #8f0a14;
  --ok: #1d7a3a;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --maxw: 1440px;
  --gut: clamp(18px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { margin: 0 0 14px; }
svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Disclaimer strip + header ---------- */
.strip { background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .01em; }
.strip .wrap { display: flex; gap: 10px; align-items: center; min-height: 34px; }
.strip b { color: #ff5a64; font-weight: 700; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 40; }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.05; }
.brand-mark { width: 30px; height: 30px; background: var(--red); border-radius: 6px; display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.brand strong { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.brand span { display: block; font-size: .72rem; color: var(--grey); font-weight: 600; letter-spacing: .02em; }
.menu { display: flex; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 2px; }
.menu > li { position: relative; }
.menu-btn, .menu-link { font: 600 .93rem var(--font); color: var(--ink); background: none; border: 0; padding: 9px 12px; border-radius: 8px; cursor: default; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.menu-link { cursor: pointer; }
.menu-btn::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu > li:hover > .menu-btn, .menu-btn[aria-expanded="true"], .menu-link:hover { background: var(--wash); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown, .menu-btn[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: .93rem; font-weight: 500; }
.dropdown a:hover { background: var(--wash); color: var(--red); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; border: 0; background: var(--red); color: #fff; font: 700 .95rem var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, transform .15s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 10px; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.site-header.open .burger span:first-child { top: 20.5px; transform: rotate(45deg); }
.site-header.open .burger span:last-child { top: 20.5px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav > .btn { display: none; }
  .burger { display: block; }
  .menu { display: none; position: fixed; inset: 103px 0 0; background: var(--paper); flex-direction: column; padding: 8px var(--gut) 40px; overflow-y: auto; margin: 0; }
  .site-header.open .menu { display: flex; }
  .menu > li { border-bottom: 1px solid var(--rule); }
  .menu-btn, .menu-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 1.15rem; border-radius: 0; }
  .menu > li:hover > .menu-btn { background: none; }
  .dropdown { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; min-width: 0; }
  .menu > li:hover .dropdown { display: none; }
  .menu-btn[aria-expanded="true"] + .dropdown { display: block; }
  .dropdown a { padding: 10px 0; }
}

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h1 .red { color: var(--red); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 20ch; }
h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 52ch; }
.small { font-size: .85rem; color: var(--grey); }
.src { font-size: .8rem; color: var(--grey); }
.src a { color: var(--grey); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { margin-top: 14px; }

/* ---------- Hero: picker + receipt ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: linear-gradient(var(--wash), var(--wash)) 0 0 / 100% 62% no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero h1 { margin-bottom: 18px; }
.picker { margin-top: 30px; }
.picker legend, .field-label { font-size: .82rem; font-weight: 700; color: var(--grey); text-transform: none; margin-bottom: 10px; padding: 0; }
.picker fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label { display: flex; flex-direction: column; gap: 2px; min-height: 68px; padding: 14px 16px; border: 1.5px solid var(--rule); background: var(--paper); border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 1rem; line-height: 1.2; transition: border-color .15s, box-shadow .15s; }
.opt label small { font-weight: 500; font-size: .8rem; color: var(--grey); }
.opt input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
.opts.three .opt label { min-height: 58px; font-size: .92rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { background-size: 100% 48%; } }
@media (max-width: 420px) { .opts.three { grid-template-columns: 1fr; } }

/* Richtwert-Skala (neutral, kein Rechnungs-Look) */
.gauge-card { border: 1.5px solid var(--ink); border-radius: 16px; background: var(--paper); padding: clamp(20px, 3vw, 30px); }
.g-kicker { font-size: .8rem; font-weight: 700; color: var(--grey); margin: 0 0 14px; }
.g-sit { font-weight: 700; margin: 0 0 4px; }
.g-range { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 18px; font-variant-numeric: tabular-nums; }
.g-range small { display: block; font-size: .85rem; font-weight: 600; color: var(--grey); letter-spacing: 0; margin-top: 4px; }
.g-scale { margin: 0 0 16px; }
.g-track { position: relative; height: 14px; border-radius: 99px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--rule); }
.g-band { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--ink); transition: left .5s var(--ease), width .5s var(--ease); }
.g-mark { position: absolute; top: -8px; bottom: -8px; width: 0; opacity: 0; transition: left .5s var(--ease), opacity .3s; }
.g-mark i { position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--red); }
.g-mark b { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font: 700 .78rem var(--mono); color: var(--red); white-space: nowrap; }
.g-mark.show { opacity: 1; }
.g-ticks { display: flex; justify-content: space-between; font: 600 .72rem var(--mono); color: var(--grey); margin-top: 8px; }
.g-note { font-size: .88rem; color: var(--ink-2); margin: 0 0 18px; }
.g-check { border-top: 1px solid var(--rule); padding-top: 16px; }
.g-check label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.g-check .row { display: flex; gap: 8px; }
.g-check input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid #cfcfcf; border-radius: 10px; padding: 0 12px; font: 600 1rem var(--font); }
.g-check input:focus { border-color: var(--ink); outline: none; }
.g-check button { height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font: 700 .9rem var(--font); cursor: pointer; }
.g-result { font-size: .92rem; margin: 10px 0 0; min-height: 1.4em; }
.g-foot { font-size: .76rem; color: var(--grey); line-height: 1.5; margin: 18px 0 0; }
.g-foot a { color: var(--grey); }

/* ---------- Price ruler ---------- */
.ruler { position: relative; margin-top: 12px; }
.ruler-scale { display: flex; justify-content: space-between; font: 600 .75rem var(--mono); color: var(--grey); border-top: 2px solid var(--ink); padding-top: 8px; }
.ruler-rows { display: grid; gap: 22px; margin-bottom: 18px; }
.rr { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: center; }
.rr .name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.rr .name small { display: block; font-weight: 500; color: var(--grey); font-size: .78rem; }
.track { position: relative; height: 28px; }
.band { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--ink); color: #fff; font: 700 .75rem var(--mono); display: flex; align-items: center; padding: 0 8px; white-space: nowrap; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.band.red { background: repeating-linear-gradient(135deg, var(--red) 0 6px, var(--red-dark) 6px 12px); }
.band.grey { background: #bdbdbd; color: var(--ink); }
.ruler.in .band { transform: scaleX(1); }
@media (max-width: 720px) { .rr { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.checklist li { border-top: 1px solid var(--rule); padding: 18px 0; display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.checklist input { appearance: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 6px; margin: 2px 0 0; cursor: pointer; display: grid; place-items: center; }
.checklist input:checked { background: var(--ink); }
.checklist input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.checklist strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.checklist span { color: var(--ink-2); font-size: .93rem; }
.check-progress { font: 700 .85rem var(--mono); color: var(--grey); margin-top: 18px; }
@media (max-width: 720px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Dark band: Lockpreise ---------- */
.band-dark { background: var(--ink); color: #fff; }
.band-dark h2 { color: #fff; }
.band-dark .lead { color: #cfcfcf; }
.band-dark .src, .band-dark .src a { color: #9a9a9a; }
.bait { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.bait-calc { font-family: var(--mono); border: 1px solid #333; border-radius: 12px; padding: 22px; }
.bait-calc .r-line { display: flex; justify-content: space-between; gap: 12px;  border-bottom: 1px solid #262626; padding: 10px 0; }
.bait-calc .r-line span:last-child { color: #ff5a64; }
.bait-calc .ad { font-size: 2.6rem; font-weight: 700; color: #fff; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.bait-calc .r-total { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #444; font-weight: 700;  border-color: #444; color: #fff; }
@media (max-width: 860px) { .bait { grid-template-columns: 1fr; } }

/* ---------- Districts ---------- */
.districts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.district { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.district strong { font-size: 1.15rem; letter-spacing: -.02em; }
.district span { font-size: .8rem; color: var(--grey); }
.district:hover strong { color: var(--red); }
@media (max-width: 720px) { .districts { grid-template-columns: 1fr 1fr; } }

/* ---------- Blog teaser ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { text-decoration: none; display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 16px; }
.post .cat { font-size: .78rem; font-weight: 700; color: var(--red); }
.post .cat.ad { color: var(--grey); }
.post h3 { font-size: 1.2rem; }
.post p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.post:hover h3 { color: var(--red); }
.badge-ad { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border: 1px solid var(--grey); color: var(--grey); border-radius: 4px; margin-right: 6px; }
.empty { border: 1.5px dashed var(--rule); border-radius: 12px; padding: 28px; color: var(--grey); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--red); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 44px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wash); padding: 56px 0 28px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 28px; }
.foot-grid .foot-h { font-size: .8rem; color: var(--grey); margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--red); }
.disclaimer { border-left: 3px solid var(--red); padding-left: 14px; color: var(--ink-2); font-size: .86rem; max-width: 42ch; }
.foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--grey); font-size: .82rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Blog list page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filters button { font: 600 .9rem var(--font); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--paper); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .band { transform: none; }
}
.hero-grid > *, .opts > *, .bait > *, .rr > * { min-width: 0; }
.opt label { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 420px) { .opt label { padding: 12px; font-size: .95rem; } h1 { hyphens: auto; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; letter-spacing: -.01em; margin: 32px 0 10px; max-width: none; }
.legal p { color: var(--ink-2); }
.ph { background: #fff1a8; color: var(--ink); padding: 0 3px; border-radius: 3px; }
@media (max-width: 720px) { .opts.three .opt label { padding: 12px 10px; font-size: .86rem; } .opts.three .opt label small { font-size: .74rem; } }
@media (max-width: 520px) { .opts.three { grid-template-columns: 1fr; } .opts.three .opt label { min-height: 0; flex-direction: row; justify-content: space-between; align-items: baseline; padding: 14px 16px; font-size: .95rem; } }
.rr .val { display: none; font-style: normal; font: 700 .85rem var(--mono); margin-top: 4px; }
@media (max-width: 720px) {
  .rr .val { display: block; }
  .band .bt { display: none; }
  .band { min-width: 6px; }
  .track { height: 14px; background: var(--wash); border-radius: 4px; }
}

/* better-interface fixes */
#rechner { scroll-margin-top: 120px; }
h1, h2, h3 { text-wrap: balance; }
.lead, .faq details p, .checklist span { text-wrap: pretty; }
.g-range, .rr .val, .g-mark b { font-variant-numeric: tabular-nums; }
.btn { transition-property: background-color, scale; transition-duration: .15s; }
.btn:active { transform: none; scale: .96; }
.district { min-width: 0; flex-wrap: wrap; }
.district span { overflow-wrap: anywhere; }
@media (max-width: 960px) { .menu { top: var(--menu-top, 103px); } }
@media (max-width: 420px) { .districts { grid-template-columns: 1fr; } }
@media (hover: none) { .menu > li:hover > .menu-btn { background: none; } }

/* Informationsportal-Charakter */
.brand-mark { background: var(--ink); }
.brand-mark svg { stroke-width: 2.4; }
.btn-quiet { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }
.kicker-info { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; margin: 0 0 18px; }
.picker-intro { font-weight: 700; margin: 28px 0 0; }
.picker { margin-top: 12px; }
.about-strip { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--rule); }
.is-isnt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.is-isnt h2 { font-size: 1.3rem; margin-bottom: 14px; }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; }
.ticks li, .crosses li { position: relative; padding: 8px 0 8px 32px; border-top: 1px solid var(--rule); }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; }
.ticks li::before { content: "✓"; background: var(--ink); }
.crosses li::before { content: "✕"; background: var(--red); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.topic { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.topic .t-cat { font-size: .78rem; font-weight: 700; color: var(--red); }
.topic strong { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em; }
.topic .t-meta { font-size: .82rem; color: var(--grey); }
.topic:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .is-isnt { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* ---------- Schloss-Animation ---------- */
.lock-sec { background: var(--wash); }
.lock-video { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -40px rgba(0,0,0,.35); }
.lock-video video { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(18,18,18,.82); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.lock-desc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 28px; }
.lock-desc p { color: var(--ink-2); max-width: 60ch; margin: 0 0 12px; }
@media (max-width: 760px) { .lock-desc { grid-template-columns: 1fr; } }

/* ---------- Karte ---------- */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.map-grid > * { min-width: 0; }
.town-map { margin: 0; }
.town-map svg { width: 100%; height: auto; background: var(--wash); border-radius: 16px; }
.town-map .river { fill: none; stroke: #cfdbe3; stroke-width: 34; stroke-linecap: round; }
.town-map .river-lbl { font: 700 11px var(--mono); fill: #6f8796; letter-spacing: .3em; }
.town-map .area { fill: #fff; stroke: var(--ink); stroke-width: 1.5; transition-property: fill; transition-duration: .15s; }
.town-map .area.main { fill: var(--ink); }
.town-map a:hover .area, .town-map a:focus-visible .area { fill: var(--red); }
.town-map a:hover .area-lbl, .town-map a:focus-visible .area-lbl { fill: #fff; }
.town-map .area-lbl { font: 700 13px var(--font); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.town-map .area-lbl.light { fill: #fff; }
.town-map .edge-lbl { font: 600 11px var(--font); fill: var(--grey); }
.town-map figcaption { margin-top: 8px; }
.map-grid .districts { grid-template-columns: 1fr; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }

/* ---------- Artikelseiten ---------- */
.article { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--grey); margin-bottom: 28px; }
.crumbs a { color: var(--ink-2); }
.article-head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 44px); }
.article-head h1 { margin-bottom: 16px; }
.byline { font-size: .85rem; font-weight: 600; color: var(--grey); margin-top: 14px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.article-body { max-width: 760px; }
.article-body .block { padding: 0 0 clamp(28px, 4vw, 40px); }
.article-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); max-width: none; margin-bottom: 14px; }
.article-body p, .article-body li { color: var(--ink-2); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 14px; }
.article-body li { margin-bottom: 8px; }
.article-aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.glance { border: 1.5px solid var(--ink); border-radius: 14px; padding: 20px 22px; background: var(--paper); }
.glance h2, .aside-box h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; max-width: none; }
.glance ul { margin: 0; padding: 0; list-style: none; }
.glance li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--rule); font-size: .94rem; }
.glance li::before { content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.aside-box { background: var(--wash); border-radius: 14px; padding: 20px 22px; }
.aside-box p { font-size: .92rem; color: var(--ink-2); }
.steps-list { list-style: none; padding: 0 !important; counter-reset: st; margin: 0; }
.steps-list li { counter-increment: st; position: relative; padding: 14px 0 14px 52px; border-top: 1px solid var(--rule); margin: 0 !important; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: 13px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.steps-list strong { display: block; color: var(--ink); }
.steps-list span { display: block; }
.table-wrap { overflow-x: auto; margin: 6px 0 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-size: .8rem; color: var(--grey); border-bottom: 2px solid var(--ink); }
table.data td:first-child { font-weight: 600; color: var(--ink); }
.callout { border-left: 4px solid var(--red); background: var(--wash); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.sources ul { font-size: .9rem; }
.note { margin-bottom: 24px; }
.related { border-top: 2px solid var(--ink); margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; }
.related h2 { font-size: 1.3rem; margin-bottom: 8px; }
.widget-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; background: var(--wash); border-radius: 16px; padding: clamp(18px, 3vw, 36px); }
.widget-grid > * { min-width: 0; }
.widget-grid .picker { margin-top: 0; }
.article .lock-video { margin-top: 8px; }
@media (max-width: 960px) { .article-grid, .widget-grid { grid-template-columns: minmax(0, 1fr); } .article-aside { position: static; } }
.article-body, .article-aside { min-width: 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.badge-info { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px; background: #fdecee; border: 1.5px solid var(--red); color: var(--ink); line-height: 1.35; }
.badge-info svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.8; color: var(--red); }
.badge-info strong { color: var(--red-dark); }
.byline .stand { color: var(--grey); font-weight: 600; font-size: .85rem; }
@media (max-width: 700px) { .lock-video video { aspect-ratio: 1080 / 1400; } }

/* ---------- 3D-Titelbild ---------- */
.hero3d { position: relative; aspect-ratio: 1200 / 630; border-radius: 16px; overflow: hidden; background: var(--wash); box-shadow: 0 0 0 1px var(--rule); width: 100%; }
.hero3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.hero3d-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.hero3d.is-live .hero3d-canvas { opacity: 1; }
.hero3d.is-live img { opacity: 0; transition-delay: .6s; }
.article-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.article-top .article-head { margin-bottom: 0; max-width: none; }
.is-isnt.has-cover { grid-template-columns: 1fr 1fr 1.1fr; align-items: center; }
.blog-cover { max-width: 600px; margin-bottom: 28px; }
@media (max-width: 960px) {
  .article-top { grid-template-columns: minmax(0, 1fr); }
  .is-isnt.has-cover { grid-template-columns: 1fr 1fr; }
  .is-isnt.has-cover .hero3d { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .is-isnt.has-cover { grid-template-columns: 1fr; } }

/* ---------- Titelillustration (Inline-SVG) ---------- */
.cover-illu { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule); background: #f6f5f4; }
.cover-illu svg { display: block; width: 100%; height: auto; }
.is-isnt.has-cover .cover-illu { grid-column: auto; }
@media (max-width: 960px) { .is-isnt.has-cover .cover-illu { grid-column: 1 / -1; } }

/* Versteckte Elemente bleiben versteckt, auch wenn eine Klasse display setzt (Blog-Filter) */
[hidden] { display: none !important; }
.filter-empty { color: var(--grey); padding: 8px 0 0; }

.brand-mark { background: var(--red); width: 32px; height: 32px; border-radius: 8px; }
.brand-mark svg { width: 24px; height: 24px; stroke-width: 3; stroke-linejoin: round; }
.districts-h { margin: 28px 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.districts-h.first { margin-top: 0; }
