/* systemhaus.in — Design-System v1
   Null Webfonts, null externe Requests. Mono als Identitätsträger.
   Akzent via --accent aus Backend-Settings überschreibbar. */

:root {
  --ink: #10141b;
  --paper: #fafaf8;
  --steel: #141a24;
  --steel-2: #1b2330;
  --muted: #5a6270;
  --line: #e3e5e9;
  --line-dark: #2a3342;
  --accent: #ff4d00;
  --ok: #1a7f37;
  --err: #b42318;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --r: 3px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: .5rem; }
h3 { font-size: 1.12rem; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: var(--muted); max-width: 46em; margin-top: 1rem; }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; text-transform: uppercase;
  letter-spacing: .18em; color: var(--accent); margin-bottom: .8rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.section-lead { color: var(--muted); max-width: 46em; margin: .4rem 0 1.6rem; }
.section-more { margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; gap: 1.2rem; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 1.05rem; letter-spacing: -2px; }
.brand-text { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-family: var(--mono); font-weight: 400; font-size: .55rem; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); }
.main-nav { display: none; margin-left: auto; align-items: center; gap: .2rem; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 500; padding: .45rem .7rem; border-radius: var(--r); }
.main-nav a:hover { background: #eef0f3; }
.nav-cta { background: var(--ink); color: #fff !important; margin-left: .4rem; }
.nav-cta:hover { background: var(--accent) !important; }
.head-phone { display: none; font-family: var(--mono); font-size: .82rem; text-decoration: none; color: var(--muted); }
.nav-toggle { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r); font-size: 1.2rem; padding: .25rem .6rem; cursor: pointer; color: var(--ink); line-height: 1; }
.mobile-nav { border-top: 1px solid var(--line); flex-direction: column; padding: .6rem 1.25rem 1rem; gap: .1rem; background: var(--paper); }
.mobile-nav[hidden] { display: none; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { text-decoration: none; padding: .55rem .4rem; font-weight: 600; border-radius: var(--r); color: var(--ink); }
.mobile-nav .nav-cta { text-align: center; margin-top: .5rem; padding: .7rem; }
@media (min-width: 1000px) {
  .main-nav { display: flex; }
  .head-phone { display: block; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); background:
  linear-gradient(var(--paper) 0 0) padding-box,
  var(--paper); padding: clamp(2.5rem, 7vw, 5rem) 0; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent);
}
.hero > .wrap { position: relative; }
.hero-sub { padding: clamp(2rem, 5vw, 3.2rem) 0; }
.hero-grid { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.5fr 1fr; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-bullets { list-style: none; margin-top: 1.6rem; display: grid; gap: .35rem; }
.hero-bullets li { padding-left: 1.4rem; position: relative; font-size: .95rem; }
.hero-bullets li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.area-line { margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }

/* Signatur: Leistungsnachweis-Panel */
.hero-proof {
  background: var(--steel); color: #dfe4ec; border-radius: var(--r);
  padding: 1.3rem 1.4rem; border: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: .84rem;
}
.proof-title { color: var(--accent); letter-spacing: .06em; margin-bottom: 1rem; }
.proof-list div { display: flex; flex-direction: column; padding: .55rem 0; border-top: 1px solid var(--line-dark); }
.proof-list dt { color: #8b94a5; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.proof-list dd { margin-top: .15rem; }
.proof-list a { color: #fff; }
.proof-big { font-size: 1.9rem; font-weight: 700; color: #fff; }
.proof-big::after { content: ""; }
.proof-note { margin-top: 1rem; color: #8b94a5; font-size: .78rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .75rem 1.4rem; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; font-family: var(--sans); transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-big { padding: 1rem 2rem; font-size: 1.05rem; }
.section-dark .btn-ghost, .section-cta .btn-ghost { border-color: #fff; color: #fff; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.section-tint { background: #f1f2f4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--steel); color: #dfe4ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: #9aa3b2; }
.section-cta { background: var(--ink); color: #fff; }
.section-cta h2 { color: #fff; }
.section-cta .section-lead { color: #aeb6c2; }
.cta-alt { margin-top: 1rem; color: #aeb6c2; font-size: .95rem; }
.cta-alt a { color: #fff; font-family: var(--mono); }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 640px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: .5rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem;
  background: #fff; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: .93rem; flex: 1; }
.card-link { font-family: var(--mono); font-size: .78rem; color: var(--accent); font-weight: 700; }
.card-dark { background: var(--steel-2); border-color: var(--line-dark); }
.card-dark h3 { color: #fff; }
.card-dark p { color: #9aa3b2; }
.card-standort h3 { font-size: 1.4rem; }

/* ---------- Referenzen ---------- */
.ref-list { display: grid; gap: .8rem; margin-top: 1.6rem; }
.ref-item, .ref-detail { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 1.3rem 1.4rem; }
.ref-detail { margin-bottom: 1.2rem; padding: 1.8rem; }
.ref-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1rem; margin-bottom: .5rem; }
.ref-branche { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line); padding: .15rem .5rem; border-radius: var(--r); }
.ref-url { margin-left: auto; font-family: var(--mono); font-size: .8rem; color: var(--accent); font-weight: 700; text-decoration: none; }
.ref-url:hover { text-decoration: underline; }
.ref-item p, .ref-kurz { color: var(--muted); font-size: .95rem; }
.ref-img { border: 1px solid var(--line); border-radius: var(--r); margin: 1rem 0; }
.ref-plr { display: grid; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 800px) { .ref-plr { grid-template-columns: repeat(3, 1fr); } }
.ref-plr h3 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: .3rem; }
.ref-plr p { font-size: .92rem; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-top: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; list-style: none; position: relative; padding-right: 2.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .85rem; font-size: 1.3rem; color: var(--accent); font-weight: 800; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* ---------- Formulare / Funnel ---------- */
.funnel-progress { display: flex; gap: .5rem; margin-bottom: 1.6rem; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.fp-step { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); background: #fff; }
.fp-step.on { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.funnel-form fieldset { border: 0; margin-bottom: 1.4rem; }
.funnel-form legend { font-weight: 800; font-size: 1.2rem; margin-bottom: .9rem; }
.choice-grid { display: grid; gap: .6rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } .choice-grid-4 { grid-template-columns: repeat(2, 1fr); } }
.choice { display: block; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: .85rem 1rem; font-weight: 600; cursor: pointer; transition: border-color .15s; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.funnel-form label { display: block; font-weight: 600; font-size: .9rem; }
.funnel-form input[type=text], .funnel-form input[type=email], .funnel-form input[type=tel], .funnel-form textarea {
  width: 100%; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid var(--line);
  border-radius: var(--r); font: inherit; background: #fff;
}
.funnel-form input:focus, .funnel-form textarea:focus { border-color: var(--accent); outline: none; }
.funnel-form textarea { margin-bottom: 1rem; }
.form-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.form-privacy { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.hp-field { position: absolute; left: -9999px; }
.notice { border-radius: var(--r); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.notice-ok { border: 1px solid var(--ok); background: #f0faf3; }
.notice-err { border: 1px solid var(--err); background: #fdf2f1; color: var(--err); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }

/* ---------- Inhalt (CMS) ---------- */
.content-html h2 { margin-top: 1.8rem; }
.content-html h3 { margin-top: 1.3rem; }
.content-html p, .content-html li { margin-top: .7rem; color: #2a2f38; }
.content-html ul, .content-html ol { padding-left: 1.4rem; }
.content-html a { color: var(--accent); }
.content-html table { border-collapse: collapse; margin-top: 1rem; width: 100%; }
.content-html th, .content-html td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }

/* ---------- Footer ---------- */
.site-foot { background: var(--steel); color: #9aa3b2; margin-top: 0; }
.foot-grid { display: grid; gap: 2rem; padding: 3rem 1.25rem 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { font-weight: 800; color: #fff; font-size: 1.1rem; }
.foot-claim { font-size: .9rem; margin-top: .3rem; }
.foot-contact { margin-top: 1rem; font-family: var(--mono); font-size: .85rem; }
.foot-contact a { color: #fff; text-decoration: none; }
.foot-title { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: #6b7382; margin-bottom: .7rem; }
.foot-grid nav { display: flex; flex-direction: column; gap: .35rem; }
.foot-grid nav a { text-decoration: none; font-size: .9rem; }
.foot-grid nav a:hover { color: #fff; }
.foot-meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; border-top: 1px solid var(--line-dark); padding-top: 1.1rem; padding-bottom: 1.4rem; font-size: .8rem; }
.perf-line { font-family: var(--mono); font-size: .74rem; display: flex; align-items: center; gap: .5rem; }
.perf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ============================================================
   v2 — Blog, Artikel, Formulare (Anfrage/Rückruf), Consent, AVV
   ============================================================ */

/* --- Utilities, die v2 ergänzt --- */
.muted { color: var(--muted); }
.wrap-wide { max-width: 1320px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.section-alt { background: var(--paper); border-top: 1px solid var(--line); }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.5rem; letter-spacing: -.01em; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.cta-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* --- Blog: Filter-Chips --- */
.blog-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border: 1px solid var(--line-dark);
  border-radius: 999px; font: 600 .85rem/1 var(--mono);
  color: var(--ink); text-decoration: none; background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}
.chip span { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active span { color: rgba(255,255,255,.6); }

/* --- Blog: Grid + Cards --- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.blog-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.blog-card {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px -18px rgba(16,20,27,.5); border-color: var(--line-dark); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.blog-card-media {
  aspect-ratio: 16/10; background: var(--steel);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-ph {
  font: 700 2.2rem/1 var(--mono); color: var(--accent);
  letter-spacing: .05em; opacity: .9;
}
.blog-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-cat { font: 600 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -.01em; }
.blog-card-body p { color: var(--muted); font-size: .93rem; line-height: 1.55; flex: 1; }
.blog-meta { font: 500 .78rem/1 var(--mono); color: var(--muted); margin-top: .3rem; }

/* --- Pager --- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a { font: 600 .9rem/1 var(--mono); text-decoration: none; color: var(--ink); padding: .6rem 1rem; border: 1px solid var(--line-dark); border-radius: var(--r); }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager-pos { color: var(--muted); font: 500 .85rem/1 var(--mono); }

/* --- Artikel --- */
.article-head { padding: 2.6rem 0 1.4rem; }
.article-head .eyebrow a { color: var(--accent); text-decoration: none; }
.article-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; margin: .5rem 0 .8rem; }
.article-sub { font-size: 1.15rem; color: var(--muted); line-height: 1.5; }
.article-meta { font: 500 .85rem/1.4 var(--mono); color: var(--muted); margin-top: 1rem; }
.article-cover { margin: 1.5rem auto 2rem; }
.article-cover img { width: 100%; height: auto; border-radius: var(--r); display: block; border: 1px solid var(--line); }
.article-body { font-size: 1.08rem; line-height: 1.75; color: #26303c; }
.article-body h2 { font-size: 1.5rem; letter-spacing: -.01em; margin: 2rem 0 .7rem; padding-top: .3rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.4rem 0 .5rem; }
.article-body p { margin: 0 0 1.05rem; }
.article-body ul, .article-body ol { margin: 0 0 1.05rem 1.3rem; }
.article-body li { margin-bottom: .4rem; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--accent); }
.article-foot { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2.4rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* --- Formulare (Anfrage / Rückruf) --- */
.form-wrap { max-width: 760px; }
.form-wrap-narrow { max-width: 560px; }
.k-form { display: flex; flex-direction: column; gap: 1.6rem; }
.k-fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.3rem 1.5rem; }
.k-fieldset legend { font: 600 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); padding: 0 .5rem; }
.k-field { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; }
.k-fieldset > .k-field:first-of-type { margin-top: .6rem; }
.k-label { font: 600 .9rem/1.2 var(--sans); color: var(--ink); }
.k-label em { color: var(--accent); font-style: normal; }
.k-input {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line-dark);
  border-radius: var(--r); background: #fff; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.k-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,77,0,.14); }
textarea.k-input { resize: vertical; min-height: 3rem; }
select.k-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.k-field.has-err .k-input { border-color: var(--err); background: #fef5f4; }
.k-err { font: 500 .82rem/1.3 var(--sans); color: var(--err); }
.k-hint { font: 400 .82rem/1.4 var(--sans); color: var(--muted); margin-top: .7rem; }
.k-req { font: 400 .82rem/1.4 var(--sans); color: var(--muted); }
.k-req em { color: var(--accent); font-style: normal; }

/* PLZ -> Ort */
.plz-grid { grid-template-columns: 130px 1fr; margin-top: 1rem; }
.k-field-ort .k-input.is-auto { background: #f2faf4; border-color: var(--ok); }

/* --- AVV-Box --- */
.avv-box { border: 1.5px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.avv-toggle {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  padding: .95rem 1.1rem; background: var(--steel); color: #fff;
  border: 0; cursor: pointer; text-align: left; font: 600 .92rem/1.3 var(--sans);
}
.avv-toggle:hover { background: var(--steel-2); }
.avv-ico { font: 700 1.1rem/1 var(--mono); color: var(--accent); flex: none; }
.avv-chev { margin-left: auto; transition: transform .2s; flex: none; }
.avv-toggle[aria-expanded="true"] .avv-chev { transform: rotate(180deg); }
.avv-detail { padding: 1.1rem 1.2rem; font-size: .95rem; line-height: 1.65; color: #26303c; background: #fff; }
.avv-detail .avv-links { margin-top: .7rem; font: 500 .85rem/1 var(--mono); }
.avv-detail a { color: var(--accent); }

/* --- Consent-Checkboxen (schön) --- */
.k-consent { border: 0; display: flex; flex-direction: column; gap: .7rem; padding: 0; margin: 1.4rem 0; }
.consent {
  display: flex; align-items: flex-start; gap: .85rem;
  cursor: pointer; padding: 1rem 1.1rem; border: 1.5px solid var(--line);
  border-radius: var(--r); background: #fff; transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.consent:hover { border-color: var(--accent); background: #fffaf7; }
/* Die Checkbox IST die sichtbare Box — fällt ohne CSS auf die native Checkbox zurück */
.consent-cb {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  flex: 0 0 28px; width: 28px; height: 28px; margin: 0; padding: 0;
  border: 2px solid #aeb4bf; border-radius: 7px; background: #fff;
  display: grid; place-content: center; cursor: pointer;
  accent-color: var(--accent);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.consent-cb::before {
  content: ""; width: 9px; height: 15px; margin-top: -2px;
  border: solid #fff; border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0); transform-origin: center;
  transition: transform .18s cubic-bezier(.2,.9,.3,1.4);
}
.consent-cb:hover { border-color: var(--accent); }
.consent-cb:checked { background: var(--accent); border-color: var(--accent); }
.consent-cb:checked::before { transform: rotate(45deg) scale(1); }
.consent-cb:focus-visible { outline: 3px solid rgba(255,77,0,.4); outline-offset: 2px; }
.consent:has(.consent-cb:checked) { border-color: var(--accent); background: #fffaf7; }
.consent-text { font-size: .94rem; line-height: 1.55; color: #3a4350; padding-top: .15rem; min-width: 0; }
.consent-text em { color: var(--accent); font-style: normal; font-weight: 700; }
.consent-text a { color: var(--accent); font-weight: 600; }
.consent.has-err { border-color: var(--err); background: #fef5f4; }
.consent.has-err .consent-cb { border-color: var(--err); }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .consent-cb::before { transition: none; }
  .blog-card { transition: none; }
}

@media (max-width: 560px) {
  .plz-grid { grid-template-columns: 1fr; }
}

/* --- AVV-Review (Schritt 2) --- */
.avv-review h2 { font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: .4rem; }
.avv-review h3 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
.avv-review h2:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.review-summary { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; margin: 1.2rem 0; background: #fff; }
.review-summary dl { display: grid; gap: .5rem; margin: 0; }
.review-summary dl > div { display: grid; grid-template-columns: 130px 1fr; gap: .6rem; }
.review-summary dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.review-summary dd { margin: 0; color: #3a4350; font-size: .95rem; }
.review-consent { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font: 600 .85rem/1.4 var(--mono); color: var(--ok); }
.avv-embed { width: 100%; height: 520px; border: 1px solid var(--line-dark); border-radius: var(--r); background: #f4f5f7; }
.review-actions { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 2px solid var(--line); }
.inline-form { display: inline; margin: 0; }

/* WCAG: durchgehend sichtbarer Fokus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
@media (max-width: 560px) {
  .review-summary dl > div { grid-template-columns: 1fr; gap: .1rem; }
  .avv-embed { height: 60vh; }
}

/* --- AVV-Erklär-Bubble (warum zuerst das AVV) --- */
.avv-why { display: flex; gap: 1.1rem; align-items: flex-start; margin: 0 0 1.8rem; padding: 1.2rem 1.3rem;
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r);
  background: linear-gradient(180deg, #fff, #fbfbfc); position: relative; }
.avv-why-badge { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; padding-top: .15rem; }
.avv-why-step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 .85rem/1 var(--mono); background: var(--ink); color: #fff; }
.avv-why-step:last-of-type { background: var(--accent); }
.avv-why-arrow { color: var(--accent); font-weight: 700; }
.avv-why-title { margin: 0 0 .3rem; font-size: 1.02rem; }
.avv-why-lead { margin: 0 0 .7rem; color: #3a4350; font-size: .93rem; line-height: 1.5; }
.avv-why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.avv-why-list li { font-size: .9rem; color: #3a4350; line-height: 1.45; padding-left: 1.5rem; position: relative; }
.avv-why-ico { position: absolute; left: 0; top: 0; color: var(--ok, #17864a); font-weight: 700; }
@media (max-width: 560px) {
  .avv-why { flex-direction: column; gap: .7rem; }
  .avv-why-badge { flex-direction: row; }
}

/* Review-Bestätigungs-Hinweis */
.avv-confirm-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; padding: .8rem 1rem;
  background: #f0f7f2; border: 1px solid #cfe6d8; border-radius: var(--r); font-size: .9rem; color: #1c5b38; }
.avv-confirm-note .ico { font-weight: 700; }

/* --- Funnel-Aufwertung --- */
.funnel-why { margin: 0 0 1.6rem; padding: 1.2rem 1.4rem; border-radius: var(--r);
  background: var(--ink); color: #fff; }
.funnel-why-h { margin: 0 0 .7rem; font: 700 1.05rem/1.3 var(--sans); }
.funnel-why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.funnel-why li { font-size: .93rem; line-height: 1.45; color: #e6e8ec; padding-left: 1.6rem; position: relative; }
.funnel-why .fw-ico { position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.funnel-progress { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.6rem; }
.fp-step { display: inline-flex; align-items: center; gap: .4rem; font: 600 .82rem/1 var(--mono);
  color: var(--muted); padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.fp-step .fp-n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: #e7e9ed; color: var(--muted); font-size: .78rem; }
.fp-step.on { color: var(--ink); border-color: var(--accent); }
.fp-step.on .fp-n { background: var(--accent); color: #fff; }
@media (max-width: 560px) { .fp-step { font-size: .74rem; padding: .35rem .55rem; } }

/* --- Logo-Bild im Header --- */
.brand-logo { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }

/* --- Frontend-Galerie (Medien-Center, einstellbar) --- */
.mg-section { padding: 3.5rem 0; }
.mg-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.mg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.mg-fig { margin: 0; border-radius: var(--r); overflow: hidden; background: #0e1218; position: relative; }
.mg-fig img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .3s ease; }
.mg-fig:hover img { transform: scale(1.04); }
.mg-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .8rem .6rem;
  background: linear-gradient(transparent, rgba(6,8,12,.82)); color: #fff; font-size: .82rem; }
