/* DEUTSCHES-GEWERBE.DE – Relaunch 2026 · Design nach Mockup (Navy · Gold · Karten) */
:root {
  --navy: #16294d;
  --navy-2: #1f3766;
  --navy-3: #0f1e3a;
  --gold: #e3a93a;
  --gold-2: #f0bd55;
  --teal: #12707a;
  --bg: #f3f2fa;
  --card: #fff;
  --ink: #18213a;
  --muted: #5b6480;
  --line: #e1e2ee;
  --ok: #1d7f4e;
  --err: #b4232f;
  --r: 14px;
  --sh: 0 6px 24px rgba(22, 41, 77, .08), 0 1px 3px rgba(22, 41, 77, .06);
  --sh-lg: 0 18px 48px rgba(22, 41, 77, .16);
  --f: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.6 var(--f); color: var(--ink); background: var(--bg); }
img, svg, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, .h2, .h3, .h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.22rem; }
.h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.narrow-wide { width: min(960px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.left { text-align: left; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
svg.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.22em; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy-3); color: #c9d2ea; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.flags { display: flex; gap: 6px; }
.flags a { display: block; padding: 4px; border-radius: 6px; opacity: .78; transition: .15s; }
.flags a:hover, .flags a.on { opacity: 1; background: rgba(255, 255, 255, .12); }
.flags svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.hdr { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { width: 240px; height: auto; }
.nav { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; }
.nav a[aria-current="page"], .nav a:hover { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .dot { color: var(--muted); }
.nav .nav-login { margin-left: 22px; box-shadow: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy); content: ""; }
.burger span:first-child { top: 21px; }
.burger span:first-child::before { top: -6px; left: 0; }
.burger span:first-child::after { top: 6px; left: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 10px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: 600 1rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:hover { color: #fff; background: var(--navy-2); transform: translateY(-1px); box-shadow: var(--sh); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy-3); }
.btn-line { background: #fff; color: var(--navy); }
.btn-line:hover { background: var(--navy); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-line-light { background: transparent; border-color: #fff; color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--navy); }
.btn-danger { background: #fff; border-color: var(--err); color: var(--err); }
.btn-danger:hover { background: var(--err); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1.08rem; }
.btn-sm { padding: 6px 12px; font-size: .88rem; border-radius: 8px; }
.btn-block { width: 100%; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--teal); color: #fff; font-size: .82rem; font-weight: 600; }
.badge.ok { background: var(--ok); }
.badge.warn { background: var(--gold); color: var(--navy-3); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .4em; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.hero picture, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 30, 58, .97) 0%, rgba(22, 41, 77, .88) 38%, rgba(22, 41, 77, .2) 70%, rgba(22, 41, 77, 0) 100%); }
.hero-in { position: relative; z-index: 1; padding: 70px 0 120px; }
.hero h1 { color: #fff; max-width: 13em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); margin-top: .5em; }
.hero-sub { font-size: 1.22rem; max-width: 32em; color: #e3e8f6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; color: #dfe5f5; }
.checks li::before { content: "✓ "; color: var(--gold-2); font-weight: 700; }
.checks.left { flex-direction: column; color: var(--ink); align-items: flex-start; margin: 1em auto 1.5em; width: fit-content; }
.stats { position: relative; z-index: 2; margin: -70px auto 0; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 10px; text-align: center; }
.stats > div { padding: 4px 10px; border-left: 1px solid var(--line); }
.stats > div:first-child { border: 0; }
.stats strong { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.stats span { color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec-tight { padding: 40px 0; }
.sec-alt { background: #fff; }
.sec-h { text-align: center; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .2em; }
.sec-sub { text-align: center; color: var(--muted); font-size: 1.12rem; margin-bottom: 2em; }
.phead { background: linear-gradient(135deg, var(--navy-3), var(--navy-2)); color: #fff; padding: 56px 0 46px; }
.phead h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.phead .lead { color: #dfe5f5; font-size: 1.15rem; max-width: 46em; }
.phead-slim { padding: 36px 0 30px; }
.phead .crumbs, .phead .crumbs a, .phead .meta { color: #b9c4e2; }
.crumbs { font-size: .86rem; margin-bottom: 1em; }
.lead { font-size: 1.15rem; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 26px; border: 1px solid rgba(22, 41, 77, .05); }
.card-soft { background: #f7f6fd; box-shadow: none; border: 1px solid var(--line); }
.card-accent { border-top: 4px solid var(--gold); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.side { display: grid; gap: 18px; position: sticky; top: 96px; }
.stack { display: grid; gap: 24px; align-content: start; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; text-align: left; }
.step .num { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 50%; background: #eceaf6; display: grid; place-items: center; font-weight: 700; color: var(--navy); }
.step svg.ico { width: 74px; height: 74px; margin: 6px auto 18px; color: var(--navy); }
.step h3 { font-size: 1.15rem; }
.pillar svg.ico { width: 44px; height: 44px; color: var(--teal); margin-bottom: 14px; }
.link-card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); color: inherit; }
.more { color: var(--teal); font-weight: 600; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.6fr 1fr; border-radius: var(--r); overflow: hidden; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; box-shadow: var(--sh-lg); }
.calc-in { padding: 30px 40px; }
.calc-h { color: #fff; font-size: 1.8rem; }
.rng { display: block; margin: 14px 0 18px; color: #d5ddf2; }
.rng span { display: flex; justify-content: space-between; }
.rng output { font-weight: 700; color: #fff; }
input[type=range] { width: 100%; accent-color: #fff; height: 6px; margin-top: 10px; }
.calc-more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin-top: 10px; }
.calc-more label { font-size: .9rem; color: #d5ddf2; }
.calc-more input { width: 100%; margin-top: 4px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.calc-res { background: rgba(9, 20, 42, .45); padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.calc-big { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--gold-2); margin: 0; line-height: 1.1; }
.calc-lbl { font-size: 1.25rem; color: #f2dca9; }
.calc-detail { color: #c5cfe8; }
.calc-note { grid-column: 1 / -1; margin: 0; padding: 10px 40px 16px; color: #aebbe0; background: rgba(9, 20, 42, .25); }

/* Packages */
.pkgs { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 24px; align-items: stretch; margin-top: 30px; }
.pkgs-4 { --n: 4; }
.pkgs-3 { --n: 3; }
.pkg { text-align: center; display: flex; flex-direction: column; padding-top: 34px; }
.pkg h3 { font-size: 1.7rem; margin-bottom: .2em; }
.pkg .price strong { font-size: 2.4rem; color: var(--navy); }
.pkg .list-check { text-align: left; flex: 1; margin: 1em 0 1.4em; }
.pkg-pop { border: 2px solid var(--gold); position: relative; transform: translateY(-12px); box-shadow: var(--sh-lg); }
.pkg-flag { position: absolute; top: -1px; left: -2px; right: -2px; background: var(--gold); color: var(--navy-3); font-weight: 700; padding: 6px; border-radius: var(--r) var(--r) 0 0; transform: translateY(-100%); }
.list-check, .list-x { list-style: none; padding: 0; }
.list-check li, .list-x li { position: relative; padding-left: 28px; margin: 7px 0; }
.list-check li::before { content: "✓"; position: absolute; left: 4px; color: var(--teal); font-weight: 800; }
.list-x li::before { content: "✕"; position: absolute; left: 4px; color: var(--err); font-weight: 800; }

/* Tables */
.tbl-wrap, .table-wrap { overflow-x: auto; }
.tbl, .table { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th, .tbl td, .table th, .table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th, .table th { background: #f5f4fb; color: var(--navy); font-size: .9rem; }
.tbl .c, .tbl-compare td:not(:first-child), .tbl-compare th:not(:first-child) { text-align: center; }
.tbl .yes { color: var(--ok); font-weight: 700; }
.tbl .no { color: var(--muted); }
.num { text-align: right !important; white-space: nowrap; }
.actions { white-space: nowrap; }
.actions .btn, form.inline { display: inline-flex; margin: 2px; gap: 6px; align-items: center; }

/* Prose / Article */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin: .3em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.answer { font-size: 1.15rem; }
.answer-box { background: #fff; border-left: 5px solid var(--gold); border-radius: 10px; padding: 18px 22px; margin: 24px 0; box-shadow: var(--sh); }
.answer-box p:last-child { margin: 0; }
.art-img { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 10px; }
.disclaimer { border-top: 1px solid var(--line); padding-top: 1em; margin-top: 2em; }
.cta-inline { margin-top: 30px; border-top: 4px solid var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .9rem; }
.chips a.on, .chips a:hover { background: var(--gold); color: var(--navy-3); }
.acard { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.acard-img { display: block; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: #eef0f6; }
.acard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acard-body { padding: 20px 22px; }
.acard a { text-decoration: none; color: var(--navy); }
.fig img { border-radius: 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0; }
.facts div { background: var(--bg); border-radius: 10px; padding: 16px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--navy); }
.sitemap { list-style: none; padding: 0; }
.sitemap li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq details { background: #fff; border-radius: 12px; box-shadow: var(--sh); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details > div, .faq details > p { padding: 0 20px 16px; margin: 0; }

/* CTA-Band */
.cta-band { background: linear-gradient(120deg, var(--navy-3), var(--navy-2)); color: #fff; padding: 56px 0; }
.cta-band-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { color: #d5ddf2; margin: 0; }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Side cards / Weblinks / Insurance */
.side-card .h3 { margin-bottom: .5em; }
.side-nav a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-nav a[aria-current] { font-weight: 700; color: var(--teal); }
.wl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
@media (max-width: 900px) { .wl-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .wl-grid { grid-template-columns: 1fr; } }
/* Kachel wie im Original: Bild oben, weiße Karte schiebt sich darüber, Button in Markenfarbe */
.wl-tile { --b: var(--navy); --c: var(--navy); --hb: var(--navy); --hc: #fff; position: relative; display: block; background: #fff; text-decoration: none; color: inherit; padding-bottom: 22px; box-shadow: 0 1px 3px rgba(22, 41, 77, .06); transition: box-shadow .2s, transform .2s; }
.wl-tile:hover, .wl-tile:focus-visible { box-shadow: var(--sh-lg); transform: translateY(-3px); color: inherit; }
.wl-img { display: block; overflow: hidden; }
.wl-img img { width: 100%; aspect-ratio: 480 / 390; object-fit: cover; transition: transform .4s; }
.wl-tile:hover .wl-img img { transform: scale(1.04); }
.wl-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: -62px 24px 0; padding: 22px 18px 24px; background: #fff; text-align: center; box-shadow: 0 10px 28px rgba(22, 41, 77, .14); }
.wl-name { font-size: 1.25rem; font-weight: 600; color: #181818; line-height: 1.25; }
.wl-d { color: #838383; font-size: .86rem; line-height: 1.55; min-height: 2.7em; }
.wl-btn { margin-top: 8px; display: inline-block; padding: 10px 24px; border: 1px solid var(--b); border-radius: 999px; color: var(--c); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.wl-tile:hover .wl-btn, .wl-tile:focus-visible .wl-btn { background: var(--hb); color: var(--hc); }
.wl-tile .ad-label { right: auto; top: 8px; left: 8px; z-index: 1; }
.wl-cat { margin-top: 1.2em; border-bottom: 2px solid var(--gold); padding-bottom: 6px; display: inline-block; }
@media (prefers-reduced-motion: reduce) { .wl-tile, .wl-img img { transition: none; } .wl-tile:hover { transform: none; } .wl-tile:hover .wl-img img { transform: none; } }
.wl-b-hansemerkur { --b: #01A35A; --c: #01A35A; --hb: #01A35A; --hc: #fff; }
.wl-b-careconcept { --b: #004697; --c: #004697; --hb: #004697; --hc: #fff; }
.wl-b-krankenkasseninfo { --b: #165697; --c: #165697; --hb: #D2E2FC; --hc: #e95b10; }
.wl-b-ekstrechner { --b: #333333; --c: #333333; --hb: #333333; --hc: #fff; }
.wl-b-smartsteuer { --b: #0281CE; --c: #0281CE; --hb: #0281CE; --hc: #fff; }
.wl-b-sevdesk { --b: #CC0000; --c: #CC0000; --hb: #CC0000; --hc: #fff; }
.wl-b-lexoffice { --b: #535353; --c: #EE800D; --hb: #535353; --hc: #EE800D; }
.wl-b-lingoking { --b: #219dd9; --c: #219dd9; --hb: #219dd9; --hc: #fff; }
.wl-b-linguatv { --b: #000000; --c: #ED892C; --hb: #90C5E4; --hc: #fff; }
.wl-b-sgd { --b: #028C1F; --c: #028C1F; --hb: #028C1F; --hc: #fff; }
.wl-b-laudius { --b: #144672; --c: #144672; --hb: #144672; --hc: #fff; }
.wl-b-nordvpn { --b: #4586FC; --c: #4586FC; --hb: #000000; --hc: #fff; }
.wl-b-bahn { --b: #DD0F02; --c: #DD0F02; --hb: #DD0F02; --hc: #fff; }
.wl-b-pflegekraftclick { --b: #435821; --c: #435821; --hb: #435821; --hc: #fff; }
.wl-b-quickjobs { --b: #272880; --c: #C01717; --hb: #272880; --hc: #fff; }
.wl-b-sparhandy { --b: #29013F; --c: #29013F; --hb: #29013F; --hc: #fff; }
.wl-b-smartmobil { --b: #242424; --c: #242424; --hb: #242424; --hc: #fff; }
.wl-b-klarmobil { --b: #63A609; --c: #F47D19; --hb: #63A609; --hc: #fff; }
.wl-b-winsim { --b: #F49F06; --c: #F49F06; --hb: #F49F06; --hc: #fff; }
.wl-b-gethandy { --b: #9AC11C; --c: #707070; --hb: #9AC11C; --hc: #fff; }
.wl-b-printus { --b: #E60513; --c: #E60513; --hb: #E60513; --hc: #fff; }
.wl-b-officepartner { --b: #2F366C; --c: #2F366C; --hb: #C10E21; --hc: #fff; }
.wl-b-bueroshop24 { --b: #ED6A18; --c: #1F1F1F; --hb: #ED6A18; --hc: #fff; }
.wl-b-bueroplus { --b: #E50214; --c: #019DE6; --hb: #FBEC00; --hc: #E30617; }
.wl-b-mcbuero { --b: #39405C; --c: #F58007; --hb: #39405C; --hc: #F58007; }
.ad-label { position: absolute; top: 10px; right: 10px; background: rgba(15, 30, 58, .8); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 4px; }
.iframe-card { padding: 0; overflow: hidden; position: relative; }
/* HanseMerkur-Rechner: so hoch wie sein Inhalt (gemessen 1.583 px bei 814 px Breite, 2.204 px bei 343 px) – kein eigener Scrollbalken */
.iframe-card iframe { width: 100%; height: 1700px; border: 0; display: block; }
@media (max-width: 700px) { .iframe-card iframe { height: 2000px; } }
@media (max-width: 480px) { .iframe-card iframe { height: 2400px; } }
.wl-mini { list-style: none; padding: 0; }
.wl-mini li { padding: 5px 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; }
.field label, .form label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field small { color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fgrid3 { grid-template-columns: repeat(3, 1fr); }
.span2 { grid-column: 1 / -1; }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), select, textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid #cfd2e2; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); outline: none; box-shadow: 0 0 0 3px rgba(31, 55, 102, .15); }
.invalid { border-color: var(--err) !important; background: #fff6f6 !important; }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
legend { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--ink) !important; margin: 8px 0; line-height: 1.45; }
.chk input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.hint { color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 10px; background: #e9f6ef; color: #0f4f2f; border: 1px solid #bfe3cf; margin: 16px 0; }
.alert-err { background: #fdecee; color: #7c1520; border-color: #f2c2c8; }
.alert ul { margin: .4em 0 0; }
.hp { position: absolute !important; left: -9999px; }

/* Wizard */
.wizard { background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); padding: 30px; }
.progress { height: 8px; border-radius: 99px; background: #eceaf6; overflow: hidden; }
.progress-bar { height: 100%; width: 14%; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width .35s; }
.step-count { margin: 8px 0 18px; color: var(--muted); }
.js .wstep { display: none; }
.js .wstep.on { display: block; animation: fade .25s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wstep legend { font-size: 1.45rem; margin-bottom: 18px; }
.choices { display: grid; gap: 14px; margin-bottom: 16px; }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choices-4 { grid-template-columns: repeat(4, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice-in { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 2px solid var(--line); border-radius: 12px; transition: .15s; background: #fff; }
.choice-in svg.ico { width: 38px; height: 38px; color: var(--navy); margin-bottom: 6px; }
.choice-in strong { color: var(--navy); font-size: 1.05rem; }
.choice-in small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.choice:hover .choice-in { border-color: #b8bdd8; }
.choice input:checked + .choice-in { border-color: var(--navy); background: #f3f5fc; box-shadow: 0 0 0 3px rgba(22, 41, 77, .12); }
.choice input:focus-visible + .choice-in { outline: 3px solid var(--gold); }
.choice-check input:checked + .choice-in strong::before { content: "✓ "; color: var(--teal); }
.choice-pkg .choice-in { text-align: center; align-items: center; }
.choice-pkg .price b { font-size: 1.5rem; color: var(--navy); }
.choice.pop .choice-in { border-color: var(--gold); }
.pop-flag { font-style: normal; background: var(--gold); color: var(--navy-3); font-size: .75rem; font-weight: 700; border-radius: 99px; padding: 1px 10px; }
.upload { display: block; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 1px; }
.upload-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px; border: 2.5px dashed #b8bdd8; border-radius: 14px; text-align: center; background: #fafaff; transition: .15s; }
.upload:hover .upload-in, .upload.drag .upload-in { border-color: var(--navy); background: #f1f3fb; }
.upload-in svg.ico { width: 46px; height: 46px; color: var(--navy); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 14px 0; }
.previews figure { margin: 0; background: #f5f4fb; border-radius: 10px; padding: 8px; font-size: .8rem; text-align: center; word-break: break-all; }
.previews img { display: block; border-radius: 6px; width: 100%; height: 120px; margin: 0 0 6px; object-fit: cover; background: #e9ebf3; }
.sig { margin: 18px 0; }
.sig-label { font-weight: 700; color: var(--navy); }
.sig canvas { width: 100%; height: auto; aspect-ratio: 3 / 1; border: 2px dashed #b8bdd8; border-radius: 12px; background: #fff linear-gradient(transparent calc(75% - 1px), #d9dceb calc(75% - 1px), #d9dceb 75%, transparent 75%); touch-action: none; cursor: crosshair; margin-bottom: 8px; }
.vm-text { margin-bottom: 14px; }
.summary p { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.summary span { color: var(--muted); }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.wnav [hidden] { display: none; }
.timeline { list-style: none; padding: 0; counter-reset: t; text-align: left; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 18px 48px; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- Portal & Admin ---------- */
.auth { padding: 60px 0; }
.auth-card { max-width: 460px; margin: 0 auto; }
.portal-head { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 0; }
.portal-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.portal-title h1 { margin-bottom: .1em; }
.portal-inv { flex: 0 1 480px; margin: 0 0 18px auto; padding: 18px 20px; }
.portal-inv .h3 { margin-bottom: .3em; }
.portal-inv p { margin-bottom: .8em; }
.admin-sec { background: #fffbef; border-bottom: 1px solid #f0d58f; }
.admin-bar { background: #fff6e0; border: 1px solid #f0d58f; border-radius: 8px; padding: 6px 12px; font-size: .88rem; }
.tabs { display: flex; gap: 4px; margin-top: 18px; }
.tabs a { padding: 12px 18px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; font-weight: 600; }
.tabs a.on { color: var(--navy); border-color: var(--gold); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.thread { display: grid; gap: 12px; max-height: 560px; overflow-y: auto; margin-bottom: 16px; padding-right: 4px; }
.msg { padding: 12px 16px; border-radius: 12px; max-width: 88%; }
.msg p { margin: 0; }
.msg-office { background: #eef1fa; border-top-left-radius: 2px; }
.msg-customer { background: #fff6e0; margin-left: auto; border-top-right-radius: 2px; }
.msg-meta { color: var(--muted); margin-bottom: 4px !important; }
.msg-edit summary { cursor: pointer; list-style: none; }
.msg-edit form { display: grid; gap: 6px; margin-top: 8px; }
.doclist { list-style: none; padding: 0; margin: 0 0 14px; }
.doclist li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doclist li > div:first-child { display: grid; }
.doc-actions { display: flex; gap: 6px; }
.doc-admin { width: 100%; }
.doc-admin form { margin: 6px 6px 0 0; }
.doc-admin input { max-width: 220px; padding: 6px 8px !important; }
.hidden-doc { opacity: .6; }
.upload-box { border: 2px dashed var(--line); border-radius: 12px; padding: 14px; }
.admin-card { background: #fffdf6; border: 1px solid #f0d58f; }
.inv-total { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 20px; font-size: 1.15rem; }
.inv-total strong { font-size: 1.6rem; color: var(--gold-2); }
.admin-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin-nav nav { display: flex; gap: 18px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: #fff; border-radius: 12px; box-shadow: var(--sh); padding: 16px 20px; }
.kpi span { display: block; color: var(--muted); font-size: .88rem; }
.kpi strong { font-size: 1.8rem; color: var(--navy); }
.admin .grid2 { margin-top: 24px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.dl dt { color: var(--muted); font-size: .9rem; }
.dl dd { margin: 0; font-weight: 500; }

/* ---------- Footer & Sticky ---------- */
/* Footer: Leuchteffekt + Schwarz-Rot-Gold als Trennlinien */
.ftr {
  --flag: linear-gradient(90deg, #000 0 33.34%, #dd0000 33.34% 66.67%, #ffce00 66.67% 100%);
  position: relative; overflow: hidden; color: #b9c3dc; padding: 64px 0 90px; margin-top: 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% -10%, rgba(74, 118, 205, .38), transparent 70%),
    radial-gradient(ellipse 40% 50% at 8% 30%, rgba(74, 118, 205, .14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 92% 110%, rgba(227, 169, 58, .10), transparent 70%),
    linear-gradient(180deg, #13264b 0%, #0c1a35 100%);
}
.ftr::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--flag); box-shadow: 0 0 18px rgba(255, 206, 0, .25), 0 0 26px rgba(221, 0, 0, .18); }
.ftr a { color: #e7ebf7; text-decoration: none; transition: color .2s, text-shadow .2s, background-color .2s; }
.ftr a:hover, .ftr a:focus-visible { color: var(--gold-2); text-shadow: 0 0 14px rgba(240, 189, 85, .55); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.ftr-logo { background: #fff; border-radius: 16px; padding: 8px 14px; width: 220px; margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 28px rgba(110, 150, 235, .22); }
.ftr-about { font-size: .95rem; line-height: 1.6; color: #a9b4cf; margin: 0; max-width: 34ch; }
.ftr-h { position: relative; color: #fff; font-size: 1.3rem; font-weight: 700; padding-bottom: 12px; margin-bottom: 16px; text-shadow: 0 0 22px rgba(120, 160, 240, .35); }
.ftr-h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 2px; background: var(--flag); box-shadow: 0 0 10px rgba(255, 206, 0, .35); }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { padding: 2px 0; font-size: .95rem; }
.ftr-grid ul:not(.ftr-contact) a { position: relative; display: inline-block; padding: 4px 12px 4px 16px; margin-left: -16px; border-radius: 10px; }
.ftr-grid ul:not(.ftr-contact) a::before { content: ''; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .2s; }
.ftr-grid ul:not(.ftr-contact) a:hover, .ftr-grid ul:not(.ftr-contact) a:focus-visible { background: radial-gradient(ellipse 85% 100% at 15% 50%, rgba(227, 169, 58, .20), transparent 75%); }
.ftr-grid ul:not(.ftr-contact) a:hover::before, .ftr-grid ul:not(.ftr-contact) a:focus-visible::before { opacity: 1; transform: none; }
.ftr-links { margin-top: 6px !important; }
.ftr-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 0 0 16px; line-height: 1.45; color: #e7ebf7; }
.ftr-ico { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(227, 169, 58, .14); color: var(--gold-2); box-shadow: 0 0 16px rgba(227, 169, 58, .25); }
.ftr-ico .ico { width: 18px; height: 18px; }
.ftr-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; font-size: .9rem; }
.ftr-bottom::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(130, 165, 240, .55) 30%, rgba(130, 165, 240, .55) 70%, transparent); box-shadow: 0 0 14px rgba(110, 150, 235, .45); }
.ftr-disclaimer { font-size: .78rem; color: #8592b3; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .ftr a, .ftr-grid ul a::before { transition: none; } }
.sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-side, .portal-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .choices-4, .pkgs-4 { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; box-shadow: var(--sh-lg); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .dot { display: none; }
  .nav .nav-login { margin: 12px 0 0; }
  .logo img { width: 190px; }
  .topbar-claim { display: none; }
  .topbar-in { justify-content: center; }
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(15, 30, 58, .55) 0%, rgba(15, 30, 58, .92) 55%, rgba(15, 30, 58, .97) 100%); }
  .hero-in { padding: 140px 0 110px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px 0; margin-top: -60px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .steps, .grid3, .grid2, .pkgs, .pkgs-3, .calc, .fgrid3 { grid-template-columns: 1fr; }
  .pkg-pop { transform: none; margin-top: 18px; }
  .calc-in { padding: 24px; }
  .calc-note { padding: 10px 24px 16px; }
  .sec { padding: 52px 0; }
  .sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .12); padding: 8px; gap: 8px; }
  .sticky a { flex: 1; text-align: center; padding: 12px 6px; border-radius: 10px; text-decoration: none; font-weight: 700; border: 2px solid var(--navy); color: var(--navy); }
  .sticky .sticky-main { background: var(--gold); border-color: var(--gold); color: var(--navy-3); flex: 1.4; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .fgrid, .choices-2, .choices-4, .pkgs-4, .calc-more, .ftr-grid, .kpis { grid-template-columns: 1fr; }
  .wizard, .card { padding: 20px; }
  .flags { gap: 2px; }
  .flags svg { width: 22px; height: 15px; }
  .hero-cta .btn { width: 100%; }
  .msg { max-width: 100%; }
  .dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .hdr, .ftr, .sticky, .wnav { display: none !important; } body { background: #fff; } }
.faq summary h3 { display: inline; font-size: 1.05rem; margin: 0; color: inherit; }

/* Kundenbereich / Verwaltung – Ergänzungen */
.actions { text-align: right; }
.doc-actions { margin-left: auto; }
.doclist .doc-admin { flex-basis: 100%; }
.pay-modes { display: grid; gap: 2px; }
.inv-total { flex-wrap: wrap; gap: 4px 12px; }
.inv-split { flex-basis: 100%; text-align: right; color: #cfd6e6; }
.admin-nav-r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.admin-nav-r form { margin: 0; }
.chart { margin-bottom: 24px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--navy); }
.chart .bar:hover { fill: var(--gold); }
.chart text { font-size: 11px; fill: var(--muted); }
.chart .val { fill: var(--navy); font-weight: 700; }
th.sortable a { color: inherit; text-decoration: none; white-space: nowrap; }
th.sortable a:hover, th.sortable.on a { color: var(--navy); text-decoration: underline; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 18px; }
.pager .pg { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; box-shadow: 0 2px 6px rgba(16, 32, 74, .08); }
.pager .pg.on { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 4px 12px rgba(16, 32, 74, .25); }
.pager .pg-arrow { font-size: 1.3rem; font-weight: 400; }
.pager .pg.off { opacity: .4; box-shadow: none; }
.pager .pg-gap { color: var(--muted, #5b6275); font-weight: 700; padding: 0 2px; }
.pager .pg-info { flex-basis: 100%; text-align: center; }
.pager .on-text { font-weight: 700; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: #b3261e; display: inline-flex; }
.icon-btn:hover { color: #7a1710; }
.choice.invalid .choice-in, .chk.invalid { outline: 2px solid var(--err); outline-offset: 2px; border-radius: 10px; }
select.invalid { border-color: var(--err) !important; }
.chk > span { flex: 1; }
.chk-fixed { opacity: .9; }
.chk-fixed input { opacity: 1; }
a.badge:hover, a.badge:focus { color: #fff; filter: brightness(1.15); text-decoration: none; }
a.badge.warn:hover, a.badge.warn:focus { color: var(--navy); }
input:disabled, select:disabled, textarea:disabled { background: #f1f2f6 !important; color: #5b6275; cursor: not-allowed; border-style: dashed !important; }
.add-row { flex: 0 0 44px; width: 44px; height: auto; margin: 0; border: 0; border-radius: 10px; background: #c62828; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1; cursor: pointer; }
.add-row:hover { background: #a11d1d; }
.add-row[hidden] { display: block; visibility: hidden; }
.badge.err { background: #c62828; color: #fff; }
[hidden]:not(.add-row) { display: none !important; }
.previews figure { position: relative; }
.previews .rm { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #c62828; color: #fff; font-weight: 700; cursor: pointer; line-height: 26px; padding: 0; }
.previews .pdf-thumb { display: grid; place-items: center; height: 120px; background: #f1f2f6; border-radius: 8px; font-weight: 700; color: #c62828; }
.previews figcaption { font-size: .8rem; word-break: break-all; }
.row-end { white-space: nowrap; text-align: right; }
.row-end form { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.members { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 14px; }
.members a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); background: #fff; }
.members a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.vis { display: inline-flex; vertical-align: -3px; }
.vis .ico, .icon-flag .ico, .icon-btn .ico { width: 18px; height: 18px; }
.vis.on { color: var(--ok); }
.vis.off { color: #c62828; }
.vis-btn { color: var(--navy); }
.icon-flag { display: inline-flex; color: #c62828; vertical-align: middle; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.row-end > div { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.row-end form { margin: 0; }
.orders .col-kb { width: 1%; white-space: nowrap; }
.chart text.yr { font-weight: 700; fill: var(--navy); }
.chart .bar { fill: var(--navy); }
.acc { display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.acc-item > summary { display: grid; grid-template-columns: 18px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary::before { content: '›'; font-size: 1.5rem; line-height: 1; color: var(--navy); transition: transform .2s; justify-self: center; }
.acc-item[open] > summary::before { transform: rotate(90deg); }
.acc-item > summary:hover { background: #f7f8fc; border-radius: 12px; }
.acc-item[open] > summary { border-bottom: 1px solid var(--line); }
.acc-item .doclist { padding: 4px 16px 8px 48px; margin: 0; }
.acc-name { display: grid; }
.sorter a { margin: 0 2px; }
.sorter a.on { font-weight: 700; }
.kpis.kpis-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .kpis.kpis-3 { grid-template-columns: 1fr; } }
.admin-card.compact { padding: 16px 18px; }
.admin-card.compact .card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.admin-card.compact h2 { margin: 0 0 8px; }
.admin-card.compact .form { gap: 8px; }
.admin-card.compact .field { margin: 0; }
.admin-card.compact .field label { font-size: .78rem; margin-bottom: 2px; }
.admin-card.compact input, .admin-card.compact select { padding: 6px 9px; font-size: .9rem; min-height: 0; }
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 10px; margin-bottom: 10px; }
.cgrid .s3 { grid-column: span 2; }
@media (min-width: 560px) { .cgrid { grid-template-columns: repeat(6, 1fr); } .cgrid .s1 { grid-column: span 1; } .cgrid .s2 { grid-column: span 2; } .cgrid .s3 { grid-column: span 3; } }
.admin-card.compact .field input, .admin-card.compact .field select { padding: 6px 9px; font-size: .88rem; height: 34px; }
.pw-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: end; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pw-row .chk { margin: 0 0 6px; font-size: .82rem; }
.admin-card.compact .btn-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 10px; }
.admin-card.compact .btn-row form { margin: 0; }
/* Menü-CTA */
.nav .nav-cta { padding: 8px 16px; font-size: .92rem; margin-left: 22px; box-shadow: none; color: var(--navy-3); }
.nav .nav-cta:hover { box-shadow: none; }
.nav .nav-cta + .nav-login { margin-left: 0; }
/* Paketboxen */
.pkgs { gap: 22px; align-items: stretch; margin-top: 40px; }
.pkg { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 24px rgba(22, 41, 77, .07); transition: transform .2s, box-shadow .2s; overflow: visible; }
.pkg:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(22, 41, 77, .14); }
.pkg-top { padding: 28px 26px 22px; border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0; }
.pkg h3 { font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.pkg-desc { margin: 0 0 14px; font-weight: 600; color: var(--navy); min-height: 2.6em; }
.pkg .price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.pkg .price strong { font-size: 3rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.pkg .price .cur { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.pkg .price .per { margin-left: 6px; color: var(--muted); font-size: .9rem; }
.pkg-list { list-style: none; margin: 0; padding: 20px 26px; flex: 1; display: grid; gap: 10px; align-content: start; }
.pkg-list li { position: relative; padding-left: 30px; line-height: 1.4; }
.pkg-list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e8f4ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pkg > .btn { margin: 0 26px 26px; width: auto; }
.pkg-pop { border: 2px solid var(--gold); transform: translateY(-10px); box-shadow: 0 18px 44px rgba(22, 41, 77, .18); }
.pkg-pop:hover { transform: translateY(-14px); }
.pkg-pop .pkg-top { background: var(--navy); }
.pkg-pop h3 { color: var(--gold); }
.pkg-pop .pkg-desc, .pkg-pop .price strong, .pkg-pop .price .cur { color: #fff; }
.pkg-pop .price .per { color: #c9d0e0; }
.pkg-flag { position: absolute; top: -13px; left: 50%; right: auto; transform: translateX(-50%); z-index: 1; background: var(--gold); color: var(--navy-3); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); white-space: nowrap; }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }
.pkg-note { margin-top: 26px; }
@media (max-width: 900px) { .pkg-pop, .pkg-pop:hover { transform: none; } .pkg-desc { min-height: 0; } }
/* AGB */
.agb { font-size: 1rem; line-height: 1.65; }
.agb .agb-intro { color: var(--muted); font-size: .95rem; }
.agb-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; margin: 18px 0 34px; padding: 18px 22px; background: #f6f7fb; border: 1px solid var(--line); border-radius: 14px; font-size: .92rem; }
.agb-toc a { color: var(--navy); text-decoration: none; padding: 3px 0; }
.agb-toc a:hover { text-decoration: underline; }
.agb h2 { margin: 2.2em 0 .6em; padding-top: .9em; border-top: 1px solid var(--line); font-size: 1.3rem; color: var(--navy); scroll-margin-top: 90px; }
.agb h3 { margin: 1.4em 0 .4em; font-size: 1.05rem; color: var(--navy); }
.agb ul, .agb .agb-list { padding-left: 1.3em; }
.agb li { margin: .35em 0; }
.agb-tbl { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: .95rem; }
.agb-tbl th, .agb-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.agb-tbl thead th { background: var(--navy); color: #fff; font-weight: 600; }
.agb-tbl tbody tr:nth-child(even) { background: #f8f9fc; }
.agb-fees { max-width: 460px; }
.agb-fees td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.agb-matrix { font-size: .86rem; }
.agb-matrix th, .agb-matrix td { padding: 8px 8px; }
.agb-matrix th:not(:first-child), .agb-matrix td:not(:first-child) { text-align: center; width: 15%; }
.agb-matrix .yes { color: #1f7a4d; font-weight: 700; }
.agb-matrix .no { color: var(--muted); }
.agb-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 20px; }
.agb-prices > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; background: #fff; }
.agb-prices span { display: block; font-size: .8rem; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.agb-prices strong { display: block; font-size: 1.7rem; color: var(--navy); }
.agb-prices small { color: var(--muted); }
.agb-key { padding: 12px 16px; border-left: 4px solid var(--gold); background: #fff8e8; border-radius: 0 10px 10px 0; font-weight: 600; }
@media (max-width: 700px) { .agb-toc, .agb-prices { grid-template-columns: 1fr 1fr; } }
.row-off td { color: var(--muted); }
.row-off td a strong { color: var(--muted); }
.icon-btn.ib-n { color: var(--navy); }
.icon-btn.ib-n:hover { color: var(--gold-2); }
/* Ratgeber-Editor: Symbolleiste */
.rg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 6px 8px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.rg-bar .tb-grp { display: inline-flex; gap: 2px; padding: 0 6px; }
.rg-bar .tb-grp + .tb-grp { border-left: 1px solid var(--line); }
.rg-bar .tb-grp:first-child { padding-left: 0; }
.rg-bar button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #1f2430; cursor: pointer; transition: background .12s, color .12s; }
.rg-bar button:hover { background: #eef0f6; }
.rg-bar button:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.rg-bar button.on { background: var(--navy); color: #fff; }
.rg-bar .tb-txt { font-weight: 800; font-size: 1rem; line-height: 1; }
/* Ab Tablet-Breite alles in einer Zeile; auf dem Handy darf die Leiste umbrechen */
@media (min-width: 601px) {
  .rg-bar { flex-wrap: nowrap; padding: 4px 6px; }
  .rg-bar button { width: 32px; height: 32px; }
}
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; hyphens: auto; }
.rg-editor { min-height: 380px; max-height: 70vh; overflow: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; line-height: 1.6; }
.rg-editor:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.rg-editor > :first-child { margin-top: 0; }
.rg-cur { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #f6f7fb; margin-bottom: 10px; }
.rg-cur img { display: block; width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.rg-cur strong { display: block; font-size: .92rem; word-break: break-word; }
.rg-pick { margin-bottom: 14px; }
.rg-pick > summary { list-style: none; width: 100%; }
.rg-pick > summary::-webkit-details-marker { display: none; }
.rg-pick[open] > summary { margin-bottom: 10px; }
.rg-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.rg-tools input { grid-column: 1 / -1; }
.rg-tools input, .rg-tools select { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; background: #fff; }
.rg-count { margin: 0 0 8px; }
.rg-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 10px; max-height: 460px; overflow: auto; padding: 2px 4px 2px 2px; }
.rg-img { position: relative; display: flex; flex-direction: column; cursor: pointer; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .12s, box-shadow .12s; }
.rg-img:hover { border-color: #b9bfd0; }
.rg-img[hidden] { display: none; }
.rg-img input { position: absolute; opacity: 0; pointer-events: none; }
.rg-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #eceef4; }
.rg-img .rg-name { display: block; padding: 5px 7px 0; font-size: .74rem; font-weight: 600; color: var(--navy, #1d2433); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-img .rg-meta { display: block; padding: 1px 7px 6px; font-size: .68rem; color: var(--muted, #5b6275); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-img .rg-meta i { font-style: normal; color: #2e9e5e; }
.rg-img:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.rg-img:has(input:checked)::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-3, #1d2433); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.rg-img:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.rg-more { width: 100%; margin-top: 10px; }
.rg-more[hidden] { display: none; }
.rg-prev-box { display: grid; gap: 8px; }
.rg-prev-box[hidden] { display: none; }
.rg-img-prev { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-top: 8px; }
/* Rechnungsformular: zusammengehörige Felder */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 12px 14px; margin: 0 0 12px; background: #f6f7fb; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; }
.pair-plain { margin: 4px 0 14px; }
.pair.pair-one { grid-template-columns: 1fr; margin-bottom: 18px; }
.inp-add { display: flex; gap: 8px; align-items: stretch; }
.inp-add input { flex: 1; min-width: 0; }
.add-row[hidden] { visibility: hidden; display: block; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; gap: 10px; } }
/* Pflegerinnen-Liste im Agentur-Kundenbereich */
.members-acc { margin: 8px 0 14px; }
.members-acc .doclist li.on { background: #fff8e8; border-radius: 8px; }
.members-acc .doclist li.on a { font-weight: 700; }
.rm-row { background: #fff; color: #c62828; border: 2px solid #c62828; }
.rm-row:hover { background: #fdecec; color: #a11d1d; }
.upg-cmp { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 14px 0 8px; }
.upg-cmp > div:not(.arrow) { border: 1px solid var(--line); border-radius: 14px; padding: 14px 22px; text-align: center; min-width: 130px; }
.upg-cmp > div.on { border: 2px solid var(--gold); background: #fff8e8; }
.upg-cmp span { display: block; font-size: .8rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.upg-cmp strong { display: block; font-size: 1.8rem; color: var(--navy); }
.upg-cmp .arrow { font-size: 1.8rem; color: var(--gold-2); }
.upg .pkg-list { padding: 6px 0 10px; }
.bank-box { margin: 12px 0 4px; padding: 14px 18px; background: #f6f7fb; border: 1px solid var(--line); border-radius: 12px; }
.bank-box ol { margin: 0 0 10px; padding-left: 1.2em; }

/* Kopfzeile: Haus- und Schlosssymbol */
.nav .nav-home, .nav .nav-login { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); padding: 7px; border-radius: 8px; box-shadow: none; }
.nav .nav-home[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .nav-home:hover { color: var(--navy); background: #eef1f8; box-shadow: none; }
.nav .nav-login { margin-left: 14px; color: #8a93ad; }
.nav .nav-login:hover, .nav .nav-login:focus-visible { color: var(--navy); background: #eef1f8; box-shadow: none; }
.nav-ico-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .nav .nav-home, .nav .nav-login { padding: 12px 4px; border-radius: 0; margin: 0; color: var(--ink); }
  .nav-ico-t { position: static; width: auto; height: auto; clip: auto; }
}

/* Lesbarkeit aller Buttons bei Mouseover (überstimmt Link-Farben in Menü, Footer, Tabellen) */
a.btn:hover, button.btn:hover, a.btn:focus-visible, button.btn:focus-visible { text-decoration: none; }
.btn:not(.btn-gold):not(.btn-line):not(.btn-ghost):not(.btn-line-light):not(.btn-danger):not(.btn-navy):hover { color: #fff; background: var(--navy-2); border-color: var(--navy-2); }
.btn.btn-line:hover, .nav a.btn-line:hover, .ftr a.btn-line:hover, td a.btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.btn-gold:hover, .nav a.btn-gold:hover, .ftr a.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy-3); }
.btn.btn-ghost:hover, .ftr a.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn.btn-line-light:hover, .ftr a.btn-line-light:hover { background: #fff; color: var(--navy); }
.btn.btn-danger:hover, td a.btn-danger:hover { background: var(--err); border-color: var(--err); color: #fff; }
.btn.btn-navy:hover { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }
.add-row:hover, .add-row:focus-visible { color: #fff; }
.rm-row:hover, .rm-row:focus-visible { background: #fdecec; color: #a11d1d; }
.pager a.pg:hover { background: var(--navy); border-color: var(--navy); color: #fff; text-decoration: none; }

/* Preisliste: Paketname groß, alle Spalten gleich breit */
.pkgs { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.pkg h3 { font-size: 1.9rem; letter-spacing: .06em; color: var(--navy); margin: 0 0 12px; line-height: 1.1; }
.pkg-pop h3 { color: var(--gold); }
@media (max-width: 860px) { .pkgs { grid-template-columns: minmax(0, 1fr); } }

/* Startseite: drei Schritte */
.steps { counter-reset: none; gap: 28px; }
.step { text-align: center; padding: 34px 26px 28px; border-top: 4px solid var(--gold); overflow: visible; }
.step-ico { position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(145deg, #eef1f8, #e2e7f3); }
.step-ico svg.ico { width: 56px; height: 56px; margin: 0; color: var(--navy); }
.step .step-ico .num { position: absolute; top: -2px; right: -6px; left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-3); font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.step h3 { font-size: 1.2rem; margin-bottom: .4em; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 861px) {
  .steps > .step:not(:last-child)::after { content: ''; position: absolute; top: 86px; right: -29px; width: 30px; border-top: 2px dashed var(--gold); }
}

/* Anmeldung Schritt 5: Foto und Ausweis nebeneinander */
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: 20px; }
.upload-grid > div { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.upload-grid .upload { display: grid; }
.upload-grid .upload-in { justify-content: center; height: 100%; box-sizing: border-box; }
.upload-grid .previews { margin: 12px 0 18px; }
.upload-l { font-weight: 700; color: var(--navy); margin: 0 0 8px; }
@media (max-width: 700px) { .upload-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; } .upload-grid > div { grid-row: auto; } }

/* Popup (AGB) */
dialog.popup { width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(10, 20, 45, .35); overflow: hidden; }
dialog.popup::backdrop { background: rgba(10, 20, 45, .55); }
.popup-body { max-height: calc(100vh - 48px); overflow-y: auto; padding: 34px 32px 28px; }
.popup-body h1 { font-size: 1.6rem; margin-top: 0; padding-right: 40px; }
.popup-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef1f8; color: var(--navy); font-size: 1.1rem; cursor: pointer; z-index: 1; }
.popup-x:hover, .popup-x:focus-visible { background: var(--navy); color: #fff; }
@media (max-width: 560px) { .popup-body { padding: 26px 18px 20px; } }

.hours-line { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.hours-line svg.ico { width: 22px; height: 22px; flex: none; margin: 0; }

/* Admin: Mülleimer- und Aktionssymbole größer */
.icon-btn { padding: 6px; border-radius: 8px; }
.icon-btn .ico { width: 24px; height: 24px; }
.icon-btn:hover { background: #fdecec; }
.icon-btn.ib-n:hover { background: #eef1f8; }

/* Preisboxen: Texte passend zur Boxbreite */
.pkg-list { padding: 20px 22px; gap: 9px; }
.pkg-list li { font-size: .95rem; line-height: 1.38; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.pkg > .btn { margin: 0 22px 24px; }
.pkg-top { padding: 26px 22px 20px; }
@media (min-width: 861px) and (max-width: 1180px) { .pkgs-4 .pkg-list li { font-size: .9rem; } .pkgs-4 .pkg h3 { font-size: 1.6rem; } }
/* Preisseite: mehr Abstand vor Zwischenüberschriften */
.price-more h2:not(:first-child) { margin-top: 2.4em; }

/* Rechnungsstatus */
.ist { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; line-height: 1.4; vertical-align: middle; }
.ist::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ist-draft { background: #eef0f4; color: #5b6478; }
.ist-sent { background: #e6f0ff; color: #1d5fd6; }
.ist-overdue { background: #fdecec; color: #c62828; }
.ist-partial { background: #fff4dc; color: #a86a00; }
.ist-paid { background: #e3f6ec; color: #17834b; }
h2 .ist { font-size: .78rem; margin-left: 8px; }
.choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .choices-3 { grid-template-columns: minmax(0, 1fr); } }

.pay-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 10px; }
.pay-sum > div { background: #f5f6fa; border-radius: 10px; padding: 10px 14px; display: grid; gap: 2px; }
.pay-sum strong { font-size: 1.15rem; color: var(--navy); }
@media (max-width: 560px) { .pay-sum { grid-template-columns: minmax(0, 1fr); } }

/* Upgrade-Wunsch in den Kundendaten (Admin) */
.upg-box { border: 1px solid #f0c36d; background: #fff8e8; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.upg-box p { margin: 0 0 8px; }
.upg-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 6px 0; }
.upg-row .field { margin: 0; }

/* Gewerbe-Abmeldung (Kundenbereich) */
.abm-cost { margin: 12px 0 18px; }
.abm-cost dd { text-align: right; }
.abm-link { margin: 14px 0 0; }
/* Gewerbeabmeldung: eigene Karte ganz unten, abgesetzt von Dokumenten und Logout */
.abm-sec { padding-top: 48px; }
.abm-card { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; border-left: 4px solid var(--err); }
.abm-card .abm-txt { flex: 1 1 320px; }
.abm-card h2 { margin: 0 0 4px; }
.abm-card p { margin: 0; }
.abm-card .btn-red { flex: 0 0 auto; }

/* Website-Backup (Admin) */
.backup-panel { margin: 0 0 18px; }
.backup-panel .bar { height: 14px; border-radius: 999px; background: #e7e9f2; overflow: hidden; margin: 8px 0 4px; }
.backup-panel .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e3a93a, #f0c36d); transition: width .4s ease; }
.backup-panel table.backups td, .backup-panel table.backups th { vertical-align: middle; }
.backup-panel code { font-size: 12px; word-break: break-all; }

/* Roter Hauptbutton (z. B. „Gewerbe kostenpflichtig abmelden“) */
.btn.btn-red { background: var(--err); border-color: var(--err); color: #fff; }
.btn.btn-red:hover, .btn.btn-red:focus-visible { background: #8f1b25; border-color: #8f1b25; color: #fff; }
.stack > .btn-red { margin-top: 0; }

/* Einladungslink der Agentur */
.copy-link { width: 100%; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f7f8fc; }

/* Agentur: Startübersicht der Pflegerinnen */
.agency-home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.agency-home-head .h3 { margin: 0; }
.agency-search { flex: 0 1 280px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.agency-list li[hidden] { display: none; }
.agency-back { margin: 0 0 6px; }

/* Seitenleiste per JS (Pflegerinnen-Listen) */
.pager button.pg { cursor: pointer; font: inherit; font-weight: 700; padding: 0; }
.pager button.pg.off { opacity: .4; cursor: default; }
.pager[hidden] { display: none; }

/* Footer: Button „Gewerbe beantragen“ in der Spalte „Mehr“ */
.ftr .ftr-cta { margin: 14px 0 0; }
.ftr .ftr-cta .btn { color: var(--navy-3); box-shadow: 0 0 18px rgba(227, 169, 58, .35); }
.ftr .ftr-cta .btn:hover, .ftr .ftr-cta .btn:focus-visible { color: var(--navy-3); text-shadow: none; box-shadow: 0 0 26px rgba(240, 189, 85, .6); }

/* HTML-Sitemap: drei Spalten, Ratgeber darunter in voller Breite */
.smap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.smap-col, .smap-guide { padding: 22px 24px; }
.smap-guide { margin-top: 22px; }
.smap-h { font-size: 1.15rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid var(--gold); color: var(--navy); }
.smap-h a { color: inherit; text-decoration: none; }
.smap-h a:hover { color: var(--teal); }
.smap-h2 { margin-top: 22px; }
.smap-list { list-style: none; padding: 0; margin: 0; }
.smap-list li { border-bottom: 1px solid var(--line); }
.smap-list li:last-child { border-bottom: 0; }
.smap-list a { display: block; padding: 7px 0 7px 16px; position: relative; color: var(--navy-2); text-decoration: none; }
.smap-list a::before { content: "›"; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }
.smap-list a:hover { color: var(--teal); }
.smap-cols { columns: 2; column-gap: 32px; }
.smap-cols li { break-inside: avoid; }
@media (max-width: 900px) { .smap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .smap-grid { grid-template-columns: 1fr; } .smap-cols { columns: 1; } }

/* Bedarfsbüro-Kalender */
.bk-top { margin-bottom: 22px; }
.bk-card { margin-top: 22px; }
.bk-login { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bk-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bk-nav strong { color: var(--navy); text-align: center; }
.bk-nav button[disabled] { opacity: .35; cursor: default; }
.bk-scroll { overflow-x: auto; }
.bk-table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; min-width: 420px; }
.bk-table th { font-size: .82rem; color: var(--muted); font-weight: 600; padding: 4px 2px; text-align: center; }
.bk-table thead th span { display: block; color: var(--navy); font-size: .9rem; }
.bk-table tbody th { white-space: nowrap; width: 64px; }
.bk-table td { text-align: center; font-size: .82rem; border-radius: 8px; padding: 0; height: 38px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-table td a { color: inherit; font-weight: 600; }
.bk-free { background: #e3f4ea; color: #1d6b42; }
.bk-taken { background: #fbe7e2; color: #9a3a26; }
.bk-own { background: var(--navy); color: #fff; font-weight: 600; }
.bk-closed { background: #ececf2; color: #8a8fa6; }
.bk-past { background: #f6f6f9; }
.bk-nq { opacity: .7; cursor: not-allowed; }
.bk-btn { width: 100%; height: 38px; border: 0; border-radius: 8px; background: #2f9e62; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bk-btn:hover, .bk-btn:focus-visible { background: var(--teal); }
.bk-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.bk-key { padding: 3px 10px; border-radius: 6px; }
.bk-blockform input, .bk-blockform select { width: 100%; min-width: 110px; }

/* Bedarfsbüro: Zusatzstunden */
.bk-btn-x { background: #fff4dc; color: #8a5a00; border: 1px dashed var(--gold); }
.bk-btn.bk-btn-x:hover, .bk-btn.bk-btn-x:focus-visible { background: var(--gold); color: var(--navy); }
.bk-key.bk-btn-x { border-radius: 6px; }
.bk-unpaid { background: repeating-linear-gradient(45deg, var(--navy) 0 8px, #2c4373 8px 16px); }
.badge-warn { background: #fff4dc; color: #8a5a00; }
.bk-open-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.bk-extra select { width: 100%; }
.bk-total { font-size: 1.1rem; margin: 10px 0 18px; }
.bk-extra-note { border-left: 3px solid var(--gold); padding-left: 10px; }

/* Bedarfsbüro-Seite: beide Kacheln gleich hoch */
.bk-eq { align-items: stretch; }
.bk-eq > .card { height: 100%; }
.bk-login .btn { margin-top: auto; }

/* Bedarfsbüro: vorreserviert (Zahlung offen) */
.bk-held { background: repeating-linear-gradient(45deg, #fff4dc 0 8px, #fde9bf 8px 16px); color: #8a5a00; }
.bk-table td.bk-held a { color: #8a5a00; }

/* Leistungsseiten: nummerierte Schritte */
.prose ol.svc-steps { list-style: none; counter-reset: st; padding: 0; margin: 1em 0 1.4em; }
.prose ol.svc-steps li { counter-increment: st; position: relative; padding: 2px 0 0 44px; margin: 0 0 14px; min-height: 30px; }
.prose ol.svc-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy, #13234a); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .95em; }

/* Leistungsseiten: Weiter-/Zurück-Buttons */
.svc-next { margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line, #e3e6ef); }
.svc-next .h3 { margin: 0 0 .7em; }
.svc-next-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.svc-next-btns .btn-gold:only-child { margin-left: auto; }
@media (max-width: 600px) { .svc-next-btns { flex-direction: column; } .svc-next-btns .btn { width: 100%; text-align: center; } }

/* ---------- Cookie-Einwilligung ---------- */
.ck { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 200; padding: 0 16px; }
.ck[hidden] { display: none; }
.ck-box { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 18px; border-top: 4px solid var(--gold); box-shadow: 0 24px 60px rgba(15, 30, 58, .32); padding: 22px 26px 20px; }
.ck-h { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.ck-p { font-size: .92rem; line-height: 1.55; margin: 0 0 14px; color: var(--ink); }
.ck-opts { display: grid; gap: 8px; margin: 0 0 16px; }
.ck-opts[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; cursor: pointer; }
.ck-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-2); flex: 0 0 auto; }
.ck-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ck-btns .btn { width: 100%; justify-content: center; }
.ck-btns [hidden] { display: none; }
.ck-ph { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 28px 22px; text-align: center; margin: 8px 0 12px; }
.ck-ph[hidden] { display: none; }
.ck-ph p { margin: 0 0 14px; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #e7ebf7; cursor: pointer; text-decoration: none; }
.linkbtn:hover, .linkbtn:focus-visible { color: var(--gold-2); }
@media (max-width: 640px) { .ck { bottom: 0; padding: 0; } .ck-box { border-radius: 18px 18px 0 0; padding: 18px 16px; max-height: 85vh; overflow: auto; } .ck-btns { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Siegel im Footer ---------- */
.seals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 300px; margin-top: 24px; }
.seal { width: 100%; height: auto; overflow: visible; }
.seal text { font-family: var(--f); }
.seal-o { fill: none; stroke-width: 2.4; }
.seal-r { font-weight: 700; letter-spacing: .06em; }
.seal-s { font-weight: 600; }
.seal-big { font-weight: 800; }
.seal-a .seal-o { stroke: #e7ebf7; } .seal-a .seal-r { fill: #e7ebf7; } .seal-a .seal-i { fill: var(--navy-2); stroke: rgba(231, 235, 247, .35); stroke-width: 1.5; } .seal-a .seal-s, .seal-a .seal-big { fill: #fff; }
.seal-b .seal-o { stroke: var(--gold-2); } .seal-b .seal-r { fill: var(--gold-2); } .seal-b .seal-i { fill: var(--gold); } .seal-b .seal-s, .seal-b .seal-big { fill: var(--navy-3); }
@media (max-width: 560px) { .seals { gap: 8px; max-width: 340px; } }

/* ---------- Kundenstimmen ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--teal); margin: 0 0 6px; }
.tst { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); overflow-x: clip; }
.tst-wrap { position: relative; }
.tst-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: none; }
.tst-track::-webkit-scrollbar { display: none; }
.tst-card { scroll-snap-align: start; margin: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 16px 20px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.tst-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.tst-card blockquote { margin: 0 0 12px; flex: 1; }
.tst-card blockquote p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--ink); }
.tst-card figcaption { font-weight: 700; color: var(--navy); font-size: 1.05rem; border-top: 3px solid var(--gold); padding-top: 10px; align-self: flex-start; }
.tst-nav { position: absolute; top: 38%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--sh-lg); display: grid; place-items: center; cursor: pointer; }
.tst-nav:hover, .tst-nav:focus-visible { background: var(--gold); }
.tst-prev { left: -20px; } .tst-next { right: -20px; }
@media (max-width: 900px) { .tst-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .tst-track { grid-auto-columns: 82%; gap: 16px; } .tst-prev { left: -6px; } .tst-next { right: -6px; } }

/* ---------- Impressum ---------- */
.imp-card { display: grid; grid-template-columns: 1fr 220px; gap: 28px; align-items: center; padding: 28px; }
.imp-name { margin-bottom: 4px; }
.imp-sub { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.imp-dl { display: grid; grid-template-columns: 190px 1fr; gap: 8px 16px; margin: 0; font-size: .97rem; }
.imp-dl dt { font-weight: 700; color: var(--navy); }
.imp-dl dd { margin: 0; }
.imp-person { margin: 0; text-align: center; }
.imp-person img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--gold), var(--sh); }
.imp-person figcaption strong { display: block; color: var(--navy); }
.imp-person figcaption span { color: var(--muted); font-size: .92rem; }
.imp-tm { margin: 18px 4px 22px; color: var(--muted); font-size: .95rem; }
.imp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.imp-sec { padding: 22px 24px; }
.imp-sec h2 { margin-bottom: .5em; }
.imp-sec p { margin: 0; font-size: .95rem; line-height: 1.6; }
.imp-stand { margin-top: 20px; }
@media (max-width: 760px) { .imp-card { grid-template-columns: 1fr; } .imp-person { order: -1; } .imp-dl { grid-template-columns: 1fr; gap: 2px; } .imp-dl dd { margin-bottom: 10px; } .imp-grid { grid-template-columns: 1fr; } }
/* Kundenstimmen-Karussell (wie pflegekraft.click): Anheben bei Maus, Bild-Zoom, weicher Rand, Einfliegen */
.tst-track { margin: -14px -22px -10px; padding: 14px 22px 30px; scroll-padding-inline: 22px; overscroll-behavior-x: contain; }
.tst-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(22, 41, 77, .16); }
.tst-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.tst-card .tst-img img { margin: 0; border-radius: 0; height: 100%; display: block; transition: transform .6s ease; }
.tst-card:hover .tst-img img { transform: scale(1.05); }
.tst-nav[disabled] { opacity: 0; pointer-events: none; }
.tst-nav { transition: opacity .2s, background .2s; }
.js .tst-wrap .tst-card { opacity: 0; translate: 0 24px; }
.js .tst-wrap.is-in .tst-card { opacity: 1; translate: 0 0; transition: opacity .6s ease var(--d, 0ms), translate .6s ease var(--d, 0ms), transform .35s ease, box-shadow .35s ease; }
.tst-i1 { --d: 90ms; } .tst-i2 { --d: 180ms; } .tst-i3 { --d: 270ms; } .tst-i4 { --d: 360ms; } .tst-i5 { --d: 450ms; }
@media (min-width: 601px) { .tst-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); } }
@media (prefers-reduced-motion: reduce) { .js .tst-wrap .tst-card { opacity: 1; translate: none; } }
/* Admin: Dokument per Foto scannen */
.scan-box { margin-top: 14px; display: grid; gap: 10px; }
.scan-box .h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.scan-box .h4 .ico { width: 22px; height: 22px; }
.scan-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.scan-pages { display: flex; flex-wrap: wrap; gap: 12px; }
.scan-pages:empty { display: none; }
.scan-page { display: grid; justify-items: center; gap: 6px; background: #f4f6fb; border-radius: 10px; padding: 8px; }
.scan-page canvas { max-width: 140px; max-height: 190px; width: auto; height: auto; box-shadow: 0 2px 8px rgba(15, 30, 58, .18); background: #fff; }
.scan-no { font-size: .8rem; font-weight: 700; color: var(--navy); }
.scan-bar { display: flex; gap: 4px; }
.scan-bar .btn { padding: 4px 8px; min-width: 32px; }
.scan-ed { position: fixed; inset: 0; z-index: 200; background: rgba(15, 30, 58, .85); display: grid; place-items: center; padding: 12px; }
.scan-ed[hidden] { display: none; }
.scan-ed-box { background: #fff; border-radius: 12px; padding: 12px; display: grid; gap: 10px; max-width: 100%; }
.scan-ed-stage { position: relative; touch-action: none; justify-self: center; line-height: 0; }
.scan-ed-stage canvas { display: block; max-width: none; }
.scan-h { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid #e3a93a; background: rgba(255, 255, 255, .35); cursor: grab; touch-action: none; }

/* Admin-Liste: Badges immer in eigener Zeile unter dem Namen */
.row-badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; }

[data-pr][hidden] { display: none !important; }
/* Abrechnung in der Übersicht: PayPal-Abo (automatisch) vs. manuell (WISO) */
.badge.bill-pp, .badge.bill-man { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.badge.bill-pp { background: #0070ba; color: #fff; }
.badge.bill-man { background: #fff4dc; color: #8a5a00; box-shadow: inset 0 0 0 1px #f0c56a; }
.badge.bill-pp svg, .badge.bill-man svg { width: 13px; height: 13px; flex: none; }
td.nowrap { white-space: nowrap; }
/* Agentur-Verwaltung: jeder Bereich mit eigenem Hintergrund und eigenem Speichern-Knopf */
.apanel { margin: 14px 0 0; padding: 14px 16px 16px; border-radius: 12px; border: 1px solid; border-left-width: 5px; }
.apanel > .h4:first-child, .apanel > h3:first-child { margin-top: 0; }
.apanel .btn { width: 100%; }
.apanel input:not([type=checkbox]):not([type=radio]), .apanel select { background: #fff; }
.ap-base   { background: #eef4ff; border-color: #c9d9f7; border-left-color: #3b6fd8; }
.ap-invite { background: #ecf8f1; border-color: #c5e8d3; border-left-color: #2e9e5e; }
.ap-price  { background: #f4effd; border-color: #ddd0f5; border-left-color: #7b4fd6; }
.ap-pw     { background: #f3f4f7; border-color: #dcdfe7; border-left-color: #6b7280; }
.ap-del    { background: #fdeeee; border-color: #f3caca; border-left-color: #c62828; }
.ap-del .btn { width: auto; }
.badge.lang-tag { background: #e8ebf3; color: var(--navy); font-size: .72rem; padding: 2px 8px; vertical-align: 2px; }

/* ---------- Startseite (Relaunch 11/2026) ---------- */
.sec-tight-top { margin-top: 40px; }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.aud-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.aud-img { aspect-ratio: 4 / 3; overflow: hidden; }
.aud-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.aud-card:hover .aud-img img { transform: scale(1.04); }
.aud-body { padding: 18px 20px 22px; border-top: 4px solid var(--gold); }
.aud-body h3 { font-size: 1.1rem; margin-bottom: .4em; }
.aud-body p { margin: 0; color: var(--muted); font-size: .96rem; }
.aud-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.aud-foot p { margin: 0; font-weight: 600; }
.aud-no { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; }
.aud-no summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.aud-no ul { margin: 10px 0 2px; font-size: .95rem; }
.need { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; margin-top: 34px; padding: 30px 34px; border-radius: 18px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(227, 169, 58, .22) 0%, transparent 45%), linear-gradient(135deg, var(--navy-3), var(--navy-2)); box-shadow: var(--sh-lg); }
.need h3 { color: #fff; font-size: 1.35rem; margin: 0 0 16px; }
.need-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.need-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); line-height: 1.35; font-size: .98rem; }
.need-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--gold); color: var(--navy-3); }
.need-ic svg { width: 22px; height: 22px; stroke-width: 2.6; }
.need-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.need-cta .checks { margin: 0; color: #dfe5f5; font-size: .9rem; gap: 6px 16px; justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img img, .svc-photo img, .why-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-lg); }
.split-img { aspect-ratio: 16 / 10; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: stretch; }
.svc-photo { min-height: 320px; }
.svc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbfe; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.svc-tile:hover { border-color: var(--gold); box-shadow: var(--sh); transform: translateY(-2px); color: var(--ink); }
.svc-tile strong { display: block; color: var(--navy); margin-bottom: 3px; }
.svc-tile span span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.svc-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(18, 112, 122, .1); color: var(--teal); }
.svc-ic svg { width: 24px; height: 24px; }
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.why-photo { aspect-ratio: 16 / 10; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-item h3 { font-size: 1.15rem; margin-bottom: .25em; }
.why-item p { margin: 0; color: var(--muted); }
.tst .center .btn { margin-top: 26px; }
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kb-item { padding: 22px; border-radius: var(--r); background: var(--bg); border-top: 4px solid var(--navy); }
.kb-item h3 { font-size: 1.08rem; margin-bottom: .4em; }
.kb-item p { color: var(--ink); font-size: .96rem; margin: 0 0 .7em; }
.kb-item a { font-size: .92rem; font-weight: 600; }
@media (max-width: 1020px) {
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .svc-wrap, .why-wrap { grid-template-columns: 1fr; }
  .svc-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .kb-grid { grid-template-columns: 1fr 1fr; }
  .need { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .aud-grid, .svc-tiles, .kb-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 24px; }
  .need { grid-template-columns: 1fr; padding: 24px 20px; }
  .need-list { grid-template-columns: 1fr; }
  .need-cta, .need .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .aud-card, .aud-img img, .svc-tile { transition: none; } }
.kb-faq details { background: var(--bg); box-shadow: none; border: 1px solid var(--line); }
.kb-faq details > p:not(.kb-link) { padding-bottom: 8px; }
.kb-faq .kb-link { font-size: .93rem; font-weight: 600; }
.sec-alt + .tst { padding-top: 8px; }
.home-guide .sec-h { margin-bottom: 32px; }
.home-guide .grid3 + .center { margin: 32px 0 0; }

/* Preise: Gebühren, Vergleich, Zahlung, eingebettetes Formular */
.fee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fee-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(22, 41, 77, .06); transition: transform .15s, box-shadow .15s; }
.fee-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(22, 41, 77, .1); }
.fee-media { display: block; width: 100%; height: auto; aspect-ratio: 721 / 300; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--line); }
.fee-swap { display: grid; place-items: center; background: linear-gradient(135deg, #e3f3f1, #f3faf9); color: var(--teal); }
.fee-swap svg { width: 30%; height: auto; }
.fee-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.fee-name { font-weight: 600; color: var(--navy); line-height: 1.3; }
.fee-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fee-amt { font-size: 1.9rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.fee-note { font-size: .82rem; color: var(--muted); }
.fee-free { background: linear-gradient(160deg, #eef8f6, #fff 70%); border-color: rgba(18, 112, 122, .3); }
.fee-free .fee-amt { color: var(--teal); }
.cmp-wrap { border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 18px rgba(22, 41, 77, .06); background: #fff; }
.cmp { min-width: 560px; }
.cmp thead th { background: #fff; padding: 18px 12px 14px; font-size: 1.05rem; border-bottom: 2px solid var(--line); }
.cmp-price { display: block; margin-top: 4px; font-weight: 700; color: var(--teal); font-size: .95rem; }
.cmp-price small { color: var(--muted); font-weight: 400; }
.cmp tbody tr:nth-child(even) td { background: #fafafd; }
.cmp tbody td:first-child { color: var(--navy); }
.cmp td.cmp-pop, .cmp th.cmp-pop, .cmp tbody tr:nth-child(even) td.cmp-pop { background: #fff8ea; }
.cmp thead th.cmp-pop { box-shadow: inset 0 4px 0 var(--gold); }
.cmp tfoot td { border-bottom: 0; padding: 16px 10px 18px; }
.cmp tfoot .btn { white-space: nowrap; }
.pay-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 16px; box-shadow: 0 6px 18px rgba(22, 41, 77, .06); }
.pay-box h3 { margin-bottom: .3em; font-size: 1.1rem; }
.pay-box p { margin: 0 0 .4em; }
.pay-box p:last-child { margin-bottom: 0; }
.order-embed { background: linear-gradient(180deg, #f5f4fb 0, #fff 340px); border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.order-embed-head { text-align: center; margin-bottom: 26px; }
.order-embed-head h2 { margin-bottom: .3em; }
.order-embed-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }
@media (max-width: 900px) { .fee-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .fee-grid { gap: 10px; }
  .fee-body { padding: 14px 14px 16px; }
  .fee-amt { font-size: 1.5rem; }
  .pay-box { flex-direction: column; padding: 18px; }
  .cmp tfoot .btn { padding-left: 10px; padding-right: 10px; font-size: .82rem; }
}

/* Paket CLASSIC: fotorealistischer Goldeffekt mit Reflexionen (Rahmen, Badge, Titel, Button) */
:root {
  --gold-metal: linear-gradient(135deg, #7a5612 0%, #c8962e 14%, #f6dc86 28%, #fff6d0 36%, #e3b44c 46%, #a8751c 58%, #e8c060 72%, #fff1bd 82%, #b9862a 92%, #7a5612 100%);
  --gold-metal-v: linear-gradient(180deg, #fff3c6 0%, #f3d27a 22%, #d9a440 48%, #b47f22 52%, #e6bd5c 78%, #f9e3a0 100%);
}
.pkg-pop { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--gold-metal) border-box; box-shadow: 0 18px 44px rgba(22, 41, 77, .18), 0 0 0 1px rgba(122, 86, 18, .15), 0 10px 30px rgba(201, 150, 46, .22); }
.pkg-pop .pkg-top { border-radius: 16px 16px 0 0; }
.pkg-pop h3 { background: var(--gold-metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .35)); animation: gold-shift 7s ease-in-out infinite; }
.pkg-flag { background: var(--gold-metal-v); color: #3d2a06; text-shadow: 0 1px 0 rgba(255, 246, 208, .7); border: 1px solid #a8751c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 3px rgba(122, 86, 18, .35), 0 3px 8px rgba(122, 86, 18, .35); overflow: hidden; }
.pkg-pop > .btn-gold { position: relative; overflow: hidden; border: 1px solid #a8751c; background: var(--gold-metal-v); color: #2e2005; text-shadow: 0 1px 0 rgba(255, 246, 208, .65); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -3px 6px rgba(122, 86, 18, .35), 0 6px 16px rgba(168, 117, 28, .35); }
.pkg-pop > .btn-gold:hover { background: var(--gold-metal-v); filter: brightness(1.06) saturate(1.05); color: #2e2005; border-color: #a8751c; }
.pkg-flag::after, .pkg-pop > .btn-gold::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85) 50%, transparent); transform: skewX(-20deg); animation: gold-glint 5s ease-in-out infinite; pointer-events: none; }
.pkg-flag::after { animation-delay: 2.5s; }
@keyframes gold-glint { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes gold-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .pkg-pop h3, .pkg-flag::after, .pkg-pop > .btn-gold::after { animation: none; } .pkg-flag::after, .pkg-pop > .btn-gold::after { display: none; } }
a.fee-link { text-decoration: none; color: inherit; cursor: pointer; }
a.fee-link:hover { border-color: rgba(18, 112, 122, .45); }
a.fee-link:hover .fee-name { color: var(--teal); }
a.fee-link .fee-name::after { content: ' →'; color: var(--teal); opacity: 0; transition: opacity .15s; }
a.fee-link:hover .fee-name::after, a.fee-link:focus-visible .fee-name::after { opacity: 1; }

/* Kundenbereich: kostenpflichtige Vorlage (Werkvertrag) */
.doclist li.shop-item { background: linear-gradient(135deg, #fff8ea, #fff 70%); border: 1px solid rgba(227, 169, 58, .45); border-radius: 12px; padding: 12px 14px; margin-bottom: 6px; }
.doclist li.shop-item.is-paid { background: #f3faf8; border-color: rgba(18, 112, 122, .3); }
.shop-item strong { display: inline-flex; align-items: center; gap: 6px; }
.shop-item strong svg { width: 18px; height: 18px; color: var(--teal); }
.shop-pending { display: inline-flex; align-items: center; gap: 5px; color: #8a5a00; margin-top: 4px; }
.shop-pending svg { width: 14px; height: 14px; }
.doc-actions form { display: inline; margin: 0; }
.shop-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.shop-head h2 { margin: 0; }
.shop-head p { margin: 2px 0 0; }
.shop-ic { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(18, 112, 122, .1); color: var(--teal); }
.shop-ic svg { width: 24px; height: 24px; }
.shop-price { margin-left: auto; font-size: 1.6rem; color: var(--navy); white-space: nowrap; }
.shop-buy .chk { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-weight: 600; }
.shop-buy .chk input { margin-top: 4px; width: 18px; height: 18px; }
.shop-open .actions { white-space: nowrap; }
.shop-open .actions form { display: inline; }
@media (max-width: 600px) { .shop-head { flex-wrap: wrap; } .shop-price { margin-left: 0; } }

/* ---------- Rechner-Seite „Agentur oder eigenes Gewerbe“ ---------- */
.kicker-light { color: var(--gold); }
.calcp-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dfe5f5; font-size: .95rem; }
.calcp-chips li { display: flex; align-items: center; gap: 7px; }
.calcp-chips svg { width: 18px; height: 18px; color: var(--gold); }
.calcp-tool .calc { box-shadow: 0 24px 60px rgba(16, 24, 64, .28); }
.calcp-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: how; }
.calcp-how-i { position: relative; padding: 30px 26px 28px; background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(22, 41, 77, .07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.calcp-how-i:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(16, 24, 64, .16); border-color: rgba(214, 170, 60, .55); }
.calcp-how-i:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 46px; width: 22px; font-size: 1.2rem; text-align: center; color: var(--gold); font-weight: 800; z-index: 2; }
.calcp-num { position: absolute; right: 18px; top: 10px; font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(22, 41, 77, .12); transition: -webkit-text-stroke-color .25s ease; user-select: none; }
.calcp-how-i:hover .calcp-num { -webkit-text-stroke-color: rgba(214, 170, 60, .7); }
.calcp-how-i h3 { font-size: 1.12rem; margin: 18px 0 8px; color: var(--navy); }
.calcp-how-i p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.calcp-ic { position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; box-shadow: 0 10px 22px rgba(22, 41, 77, .28), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .3s ease; }
.calcp-ic::after { content: ""; position: absolute; inset: -5px; border-radius: 20px; border: 1.5px solid rgba(214, 170, 60, .45); }
.calcp-how-i:hover .calcp-ic { transform: rotate(-6deg) scale(1.06); }
.calcp-ic svg { width: 28px; height: 28px; }
.calcp-ex { align-items: center; }
.calcp-bill { padding: 26px 28px; border-top: 5px solid var(--gold); }
.calcp-bill-h { font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.calcp-bill dl { margin: 0; }
.calcp-bill dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.calcp-bill dt { color: var(--ink, inherit); }
.calcp-bill dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calcp-bill .minus dd { color: var(--err); }
.calcp-bill .sum { border-bottom: 2px solid var(--navy); font-size: 1.08rem; }
.calcp-bill .sum dt, .calcp-bill .sum dd { font-weight: 800; color: var(--navy); }
.calcp-bill .cmp { border-bottom: 0; color: var(--muted); }
.calcp-bill-res { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; text-align: center; }
.calcp-bill-res strong { color: var(--gold); font-size: 1.5rem; margin-right: 6px; }
.calcp-pc .card { padding: 28px; height: 100%; }
.list-warn { list-style: none; padding: 0; }
.list-warn li { position: relative; padding-left: 28px; margin: 7px 0; }
.list-warn li::before { content: "!"; position: absolute; left: 2px; top: .15em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--navy-3); font-weight: 800; font-size: .75rem; display: grid; place-items: center; line-height: 1; }
.calcp-who { align-items: center; }
.calcp-read { list-style: none; padding: 0; margin: 0; }
.calcp-read li { border-bottom: 1px solid var(--line); }
.calcp-read li:last-child { border-bottom: 0; }
.calcp-read a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; color: var(--navy); }
.calcp-read a::after { content: " →"; color: var(--gold); }
.calcp-read a:hover { color: var(--teal); }
@media (max-width: 1020px) { .calcp-how { grid-template-columns: 1fr 1fr; } .calcp-how-i::after { display: none; } }
@media (max-width: 700px) {
  .calcp-how { grid-template-columns: 1fr; }
    }
/* Agentur-Sonderpreis im Bestellformular (Kundin zahlt selbst) */
.choice-pkg .price-old { color: var(--muted); font-size: .95rem; margin-right: 4px; }
.deal-flag { display: inline-block; font-style: normal; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 99px; padding: 1px 9px; margin-top: 4px; }
/* Bezahl-Kachel: PayPal-Zahlarten und Überweisungsträger */
.pay-box { align-items: center; }
.pay-box .pay-txt { flex: 1 1 auto; min-width: 0; }
.pay-marks { display: flex; gap: 14px; flex: 0 0 auto; }
.pay-mark { width: 218px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, #f7f8fc); box-shadow: 0 4px 14px rgba(22, 41, 77, .07); transition: transform .2s ease, box-shadow .2s ease; }
.pay-mark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 41, 77, .12); }
.pp-logo { display: block; width: 120px; height: auto; margin: 2px auto 12px; }
.pm-chips { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.pm-chip { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--navy); }
.pm-chip b { display: inline-grid; place-items: center; height: 18px; padding: 0 6px; border-radius: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; }
.pm-chip .sepa { background: #10298e; color: #ffcc00; }
.pm-chip .visa { background: #fff; color: #1a1f71; font-style: italic; font-size: .82rem; border: 1px solid #e3e6ef; }
.pm-chip .amex { background: #1f72cd; color: #fff; }
.pm-chip .mc { position: relative; width: 30px; padding: 0; background: #fff; border: 1px solid #e3e6ef; }
.pm-chip .mc i { position: absolute; top: 3px; width: 12px; height: 12px; border-radius: 50%; }
.pm-chip .mc i:first-child { left: 5px; background: #eb001b; }
.pm-chip .mc i:last-child { left: 12px; background: #f79e1b; mix-blend-mode: multiply; }
.tr-slip { display: block; width: 100%; height: auto; }
.pm-cap { margin: 8px 0 0; text-align: center; font-size: .8rem; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .pay-box { flex-wrap: wrap; } .pay-marks { width: 100%; } .pay-mark { flex: 1 1 0; width: auto; } }
@media (max-width: 520px) { .pay-marks { flex-direction: column; } }
/* Vergleich Agentur ↔ eigenes Gewerbe */
.calcp-tool { padding-top: 0; }
.calcp-vs { max-width: 1060px; margin: 0 auto; display: grid; gap: 10px; }
.vs-row { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 10px; align-items: stretch; }
.vs-row > span { padding: 16px 18px; border-radius: 12px; line-height: 1.45; }
.vs-k { display: flex; align-items: center; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.vs-ag { background: #f1f2f7; color: #5b647c; position: relative; padding-left: 40px !important; }
.vs-own { background: #fff; color: var(--navy); border: 1px solid rgba(214, 170, 60, .45); box-shadow: 0 4px 14px rgba(22, 41, 77, .06); position: relative; padding-left: 40px !important; font-weight: 600; }
.vs-row:not(.vs-head) .vs-ag::before, .vs-row:not(.vs-head) .vs-own::before { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; line-height: 1; }
.vs-row:not(.vs-head) .vs-ag::before { content: "–"; background: #d9dce7; color: #5b647c; }
.vs-row:not(.vs-head) .vs-own::before { content: "✓"; background: var(--teal); color: #fff; }
.vs-row:not(.vs-head):hover .vs-own { border-color: var(--gold); transform: translateY(-1px); }
.vs-own { transition: transform .15s ease, border-color .15s ease; }
.vs-head > span { padding: 14px 18px !important; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.vs-head > span:first-child { background: transparent; border: 0; }
.vs-head .vs-ag { background: #e4e6ef; color: var(--navy); }
.vs-head .vs-own { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: var(--gold); border: 0; }
.vs-head svg { width: 18px; height: 18px; }
.vs-lbl { display: none; }
@media (max-width: 760px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
  .vs-k { border: 0; padding: 4px 6px !important; background: transparent; }
  .vs-lbl { display: block; font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .7; margin-bottom: 2px; }
}

/* ---------- Leistungen-Dropdown (Mega-Menü mit 6 Kacheln) ---------- */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-car { transition: transform .2s ease; color: var(--muted); }
.nav-dd-tg { display: none; }
.nav-dd-panel { position: absolute; top: calc(100% + 14px); left: 50%; width: 660px; transform: translate(-50%, 8px); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(16, 24, 64, .22); border: 1px solid var(--line); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; z-index: 60; }
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd-panel::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
@media (min-width: 861px) {
  .nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav-dd.dd-esc .nav-dd-panel { opacity: 0; visibility: hidden; }
  .nav-dd:hover .nav-dd-car, .nav-dd:focus-within .nav-dd-car { transform: rotate(180deg); color: var(--gold); }
}
.nav-dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nav .dd-tile { display: block; padding: 0; border-radius: 12px; box-shadow: none; color: var(--navy); text-decoration: none; }
.dd-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #e9ecf4; }
.dd-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .25s ease; }
.dd-t { display: block; margin-top: 8px; font-size: .92rem; font-weight: 700; line-height: 1.25; transition: color .2s ease; }
.nav .dd-tile:hover, .nav .dd-tile:focus-visible { box-shadow: none; color: var(--err); }
.dd-tile:hover .dd-img img, .dd-tile:focus-visible .dd-img img, .dd-tile[aria-current="page"] .dd-img img { filter: none; }
.nav .dd-tile[aria-current="page"] { box-shadow: none; }
.nav .dd-all { display: block; margin-top: 14px; padding: 10px 0 0; border-top: 1px solid var(--line); text-align: right; font-weight: 700; font-size: .9rem; color: var(--navy); box-shadow: none; }
.nav .dd-all:hover { color: var(--teal); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .dd-img img, .nav-dd-panel { transition: none; } }
@media (max-width: 860px) {
  .nav-dd { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-dd .nav-dd-a { flex: 1; border-bottom: 0; }
  .nav-dd-car { display: none; }
  .nav-dd-tg { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
  .nav-dd.open .nav-dd-tg svg { transform: rotate(180deg); }
  .nav-dd-panel { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; display: none; transition: none; }
  .nav-dd-panel::before, .nav-dd-panel::after { display: none; }
  .nav-dd.open .nav-dd-panel { display: block; }
  .nav-dd-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav .dd-tile { border-bottom: 0; }
  .dd-img img { filter: none; }
  .nav .dd-all { text-align: left; border-bottom: 0; }
}

/* Rechner-Seite: CTAs zum eingebetteten Formular */
.calcp-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px 36px; flex-wrap: wrap; padding: 30px 36px; border-radius: 20px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; box-shadow: 0 18px 44px rgba(16, 24, 64, .22); position: relative; overflow: hidden; }
.calcp-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 170, 60, .28), transparent 70%); }
.calcp-cta > div { position: relative; }
.calcp-cta-h { margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; color: #fff; }
.calcp-cta-p { margin: 0; color: #dfe5f5; max-width: 560px; }
.calcp-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.calcp-bill-cta { margin-top: 12px; }
.calcp-steps-cta { margin: 30px 0 0; }
@media (max-width: 700px) { .calcp-cta { padding: 24px 20px; } .calcp-cta-btns, .calcp-cta-btns .btn { width: 100%; } }
.calcp-how-sec { padding-top: 36px; }
.calcp-how-sec .sec-sub { margin-bottom: 1.4em; }

/* Kopfzeile: Milchglas beim Scrollen (Inhalt dahinter stark verwischt, nicht lesbar) */
.hdr { transition: background-color .25s ease, box-shadow .25s ease; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hdr.hdr-glass { background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 28px rgba(16, 24, 64, .10); }
}

/* Vorteile für Agenturen */
.agp-head { padding: 48px 0 52px; }
.agp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.agp-hero h1 { color: #fff; }
.agp-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.agp-hero-img { margin: 0; }
.agp-hero-img img { width: 100%; border-radius: 18px; box-shadow: 0 22px 54px rgba(0, 0, 0, .35); aspect-ratio: 16 / 10; object-fit: cover; }
.agp-facts { background: #fff; border-bottom: 1px solid var(--line); }
.agp-facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.agp-facts strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.agp-facts span { color: var(--muted); font-size: .95rem; }
.agp-ben-i { position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.agp-ben-i:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.agp-ben-i h3 { margin-top: 18px; font-size: 1.15rem; }
.agp-ben-i p { margin: 0; color: var(--muted); }
.agp-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; box-shadow: 0 10px 22px rgba(22, 41, 77, .25); }
.agp-ic svg { width: 26px; height: 26px; margin: 0; }
.agp-shot { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: center; margin: 0 0 56px; }
.agp-shot.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.agp-shot.rev .agp-shot-txt { order: 2; }
.agp-inv .prose > .kicker + h2, .split .prose > .kicker + h2 { margin-top: 0; }
.agp-inv .prose > .kicker, .split .prose > .kicker { margin-bottom: .5em; }
.agp-shot-txt { position: relative; }
.agp-shot-txt .calcp-num { position: static; display: block; margin-bottom: 6px; -webkit-text-stroke-color: rgba(214, 170, 60, .7); }
.agp-shot-txt h3 { font-size: 1.45rem; }
.agp-frame { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.agp-frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #eef0f6; border-bottom: 1px solid var(--line); }
.agp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d7e3; }
.agp-frame-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
.agp-frame img { width: 100%; }
.agp-demo { margin: -20px 0 0; }
.agp-inv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.agp-paper { margin: 0; justify-self: center; max-width: 430px; transform: rotate(1.5deg); }
.agp-paper img { border-radius: 6px; box-shadow: 0 24px 60px rgba(22, 41, 77, .22), 0 2px 6px rgba(22, 41, 77, .08); }
.agp-pay-i { height: 100%; border-top: 4px solid var(--line); }
.agp-pay-i.hl { border-top-color: var(--gold); }
.agp-pay-i p { color: var(--muted); }
.agp-wide { margin: 32px 0 0; }
.agp-wide img { width: 100%; border-radius: var(--r); box-shadow: var(--sh); aspect-ratio: 21 / 8; object-fit: cover; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.side-card .btn-block { margin: 6px 0 14px; }
@media (max-width: 900px) {
  .agp-hero, .agp-shot, .agp-inv { grid-template-columns: 1fr; gap: 26px; }
  .agp-shot.rev .agp-shot-txt { order: 0; }
  .agp-shot.rev { grid-template-columns: 1fr; }
  .agp-facts-in { grid-template-columns: repeat(2, 1fr); }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .agp-paper { transform: none; }
}
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } .agp-hero-btns .btn { width: 100%; } }

/* Nachrichten Agentur ↔ Pflegerin */
.agm-sec { padding-bottom: 0; }
.agm-card { border-top: 4px solid var(--teal); }
.agm-card .thread { max-height: 380px; }
.agm-warn { color: var(--err); font-weight: 600; }
.agm-new { color: var(--err); font-weight: 700; }

/* Leistungen-Dropdown: Fußzeile mit Agentur-Link links, „Alle Leistungen“ rechts */
.nav .dd-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.nav .dd-foot .dd-all { margin: 0; padding: 0; border: 0; }
.nav .dd-ag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--teal); box-shadow: none; }
.nav .dd-ag svg { width: 18px; height: 18px; margin: 0; }
.nav .dd-ag:hover { color: var(--navy); box-shadow: none; }
@media (max-width: 860px) { .nav .dd-foot { flex-direction: column; align-items: flex-start; } }

/* Admin: roter Zähler für ungelesene Nachrichten (wie bei Messenger-Apps) */
.nbubble { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e53935; color: #fff; font-size: .74rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px #fff; text-decoration: none; }
.nbubble[hidden] { display: none; }
a.nbubble:hover { background: #c62828; color: #fff; }
.nbubble-inline { vertical-align: 2px; margin-left: 6px; box-shadow: none; }
.admin-nav .nav-inbox { position: relative; display: inline-flex; align-items: center; gap: 6px; padding-right: 8px; }
.admin-nav .nav-inbox svg { width: 18px; height: 18px; margin: 0; }
.admin-nav .nav-inbox .nbubble { position: absolute; top: -10px; right: -12px; }
.admin-nav .nav-inbox .nbubble.pulse { animation: nb-pulse 1s ease 2; }
@keyframes nb-pulse { 50% { transform: scale(1.35); } }
.inbox { list-style: none; padding: 0; margin: 0; }
.inbox li + li { border-top: 1px solid var(--line); }
.inbox a { display: flex; align-items: center; gap: 14px; padding: 14px 6px; text-decoration: none; color: inherit; border-radius: 10px; }
.inbox a:hover { background: #f6f7fb; }
.inbox-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; font-weight: 800; }
.inbox-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.inbox-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inbox-time { margin-left: auto; }
.inbox-prev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox .nbubble { flex: none; box-shadow: none; }

/* Admin-Menü: Menüpunkte und Buttons in einer Reihe, nichts bricht um */
.admin-nav { flex-wrap: nowrap; gap: 16px; }
.admin-nav nav { flex-wrap: nowrap; gap: 16px; align-items: center; font-size: .95rem; min-width: 0; }
.admin-nav nav a { white-space: nowrap; }
.admin-nav-r { flex-wrap: nowrap; gap: 6px; flex: none; }
.admin-nav-r .btn { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
@media (max-width: 1100px) { .admin-nav, .admin-nav nav, .admin-nav-r { flex-wrap: wrap; } }

/* Top-Menü: offenes Schloss = angemeldet, Klick meldet ab */
.nav .nav-logout { display: inline-flex; margin: 0; }
.nav button.nav-login { font: inherit; border: 0; background: transparent; cursor: pointer; }
.nav .nav-login.is-open { color: var(--teal); }
.nav .nav-login.is-open:hover, .nav .nav-login.is-open:focus-visible { color: var(--err); background: #fdeeee; }
@media (max-width: 860px) { .nav .nav-logout { display: flex; } .nav button.nav-login { width: 100%; text-align: left; } }

/* Backups: Download-Menü vor dem Papierkorb */
.backups .bk-act { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.bk-dl { position: relative; }
.bk-dl summary { list-style: none; cursor: pointer; }
.bk-dl summary::-webkit-details-marker { display: none; }
.bk-dl-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 260px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.bk-dl-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; border-radius: 7px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .9rem; }
.bk-dl-menu a:hover { background: #f3f5fa; }
.bk-dl-menu small { color: var(--muted); font-weight: 400; }

/* Dokumentenliste: Buttons immer rechtsbündig in einer Linie (auch im hervorgehobenen Werkvertrag-Kasten) */
.doclist li { flex-wrap: nowrap; padding-left: 14px; padding-right: 14px; }
.doclist li > div:first-child { flex: 1 1 auto; min-width: 0; }
.doclist li > .doc-actions { flex: 0 0 auto; margin-left: auto; justify-content: flex-end; }
.doclist li.shop-item { border-bottom: 1px solid rgba(227, 169, 58, .45); }
.doclist li.shop-item.is-paid { border-bottom-color: rgba(18, 112, 122, .3); }
.doclist li.shop-item .shop-sub { display: block; }
@media (max-width: 560px) {
  .doclist li { flex-wrap: wrap; }
  .doclist li > .doc-actions { flex-basis: 100%; }
}
.acc-item .doclist li { padding-left: 0; padding-right: 0; }

/* Werkvertrag je Einsatz: Formular */
.wv-form fieldset { margin-top: 18px; }
.wv-an-box { background: #f5f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 6px 0 0; line-height: 1.55; }
.wv-radio { display: flex; gap: 22px; padding-top: 4px; }
.wv-radio label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.wv-form .field .lbl { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.wv-eur { position: relative; }
.wv-eur input { padding-right: 34px; width: 100%; }
.wv-eur span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted, #667085); pointer-events: none; }
.fgrid.fgrid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .fgrid.fgrid-3 { grid-template-columns: 1fr; } }
.alert-warn { background: #fff8e8; color: #5c3d06; border-color: #f0d49a; display: flex; gap: 10px; align-items: flex-start; }
.alert-warn svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }
.wv-list { margin: 4px 0 0; padding: 0; list-style: none; }
.shop-new { display: flex; justify-content: flex-end; margin: 4px 0 12px; }
.doclist li.shop-item.is-cancelled { opacity: .6; background: #f6f6f6; border-color: var(--line); }
.doclist li.shop-item-new { flex-wrap: wrap; }
.doclist li.shop-item-new > .doc-actions { flex-basis: 100%; }
.badge.badge-line { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.badge.badge-line:hover { background: var(--teal); color: #fff; }
.agency-list .doc-actions { align-items: center; }

/* Agentur-Seite: Siegel „Agentur-Zugang 100 % kostenlos“ – gezackt, flach gold, weiße Schrift, Lichtreflex, 30° gedreht; ragt in den Header */
.agp-facts { position: relative; z-index: 3; }
.agp-facts-in { position: relative; grid-template-columns: repeat(4, 1fr) 160px; align-items: center; }
.agp-free { position: relative; grid-column: 5; grid-row: 1; justify-self: end; align-self: start; z-index: 3; margin: -84px 0 -34px; width: 172px; height: 172px; overflow: hidden;
  clip-path: polygon(50.00% 0.00%, 55.87% 5.38%, 62.94% 1.70%, 67.22% 8.43%, 75.00% 6.70%, 77.39% 14.30%, 85.36% 14.64%, 85.70% 22.61%, 93.30% 25.00%, 91.57% 32.78%, 98.30% 37.06%, 94.62% 44.13%, 100.00% 50.00%, 94.62% 55.87%, 98.30% 62.94%, 91.57% 67.22%, 93.30% 75.00%, 85.70% 77.39%, 85.36% 85.36%, 77.39% 85.70%, 75.00% 93.30%, 67.22% 91.57%, 62.94% 98.30%, 55.87% 94.62%, 50.00% 100.00%, 44.13% 94.62%, 37.06% 98.30%, 32.78% 91.57%, 25.00% 93.30%, 22.61% 85.70%, 14.64% 85.36%, 14.30% 77.39%, 6.70% 75.00%, 8.43% 67.22%, 1.70% 62.94%, 5.38% 55.87%, 0.00% 50.00%, 5.38% 44.13%, 1.70% 37.06%, 8.43% 32.78%, 6.70% 25.00%, 14.30% 22.61%, 14.64% 14.64%, 22.61% 14.30%, 25.00% 6.70%, 32.78% 8.43%, 37.06% 1.70%, 44.13% 5.38%);
  padding: 0; background: var(--gold); color: #fff; transform: rotate(30deg); }
.agp-free svg { display: block; width: 100%; height: 100%; }
.agp-free-ring { fill: none; stroke: #fff; stroke-width: 1.6; opacity: .85; }
.agp-free svg text { fill: #fff; font-family: inherit; }
.agp-free-arc { font-weight: 800; letter-spacing: .12em; }
.agp-free-star { font-size: 13px; }
.agp-free-num { font-size: 31px; font-weight: 900; letter-spacing: -.01em; }
.agp-free::after { content: ''; position: absolute; top: -25%; bottom: -25%; left: -80%; width: 42%; transform: skewX(-22deg); pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0)); animation: agp-free-shine 5s ease-in-out infinite; }
@keyframes agp-free-shine { 0%, 62% { left: -80%; } 100% { left: 140%; } }
@media (prefers-reduced-motion: reduce) { .agp-free::after { animation: none; left: 10%; opacity: .45; } }
@media (max-width: 900px) {
  .agp-facts-in { grid-template-columns: repeat(2, 1fr); }
  .agp-free { grid-column: 1 / -1; grid-row: auto; justify-self: center; margin: -80px 0 0; width: 140px; height: 140px; }
}


/* Klick-Zoom für Screenshots (Agentur-Seite, Punkt 05): Bild schiebt sich groß auf, erneuter Klick schließt */
.agp-zoom { position: relative; cursor: zoom-in; transition: box-shadow .2s, transform .2s; }
.agp-zoom:hover, .agp-zoom:focus-visible { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(22, 41, 77, .22); }
.agp-zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.agp-zoom-hint { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; background: rgba(22, 41, 77, .9); color: #fff; font-size: .82rem; font-weight: 600; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); pointer-events: none; }
.zoom-ov { position: fixed; inset: 0; z-index: 1000; overflow: auto; overscroll-behavior: contain; padding: 24px 16px; background: rgba(15, 26, 48, .82); cursor: zoom-out; }
.zoom-img { display: block; width: min(840px, 100%); height: auto; margin: 0 auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transform-origin: 0 0; }
.zoom-close { position: fixed; top: 14px; right: 14px; z-index: 1001; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
html.zoom-lock { overflow: hidden; }

/* Agentur-Zugang: Nachrichten mit dem Büro unter der Übersicht */
.agency-office-msgs { margin-top: 24px; max-width: 760px; }
