/* MK Trockenbau – Stylesheet */
:root {
  --navy: #1c2b5e;
  --navy-dark: #121c3d;
  --blue: #2e4ea1;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --line: #dfe2e8;
  --ink: #1b1f2a;
  --muted: #586070;
  --error: #b4443a;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo svg { width: 42px; height: 37px; flex: none; }
.logo-text { font-size: 20px; line-height: 1; white-space: nowrap; }
.logo-text b { font-weight: 700; margin-right: 5px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover, .nav a.active { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 600; background: none; transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: wait; }
.nav .btn { padding: 10px 16px; font-size: 14px; }

/* Typo */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--navy-dark); }
.section-intro { margin: 14px 0 48px; max-width: 60ch; color: var(--muted); font-size: 17px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,28,61,.9) 0%, rgba(18,28,61,.75) 45%, rgba(18,28,61,.3) 100%); }
.hero .wrap { position: relative; padding-top: 130px; padding-bottom: 130px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; max-width: 14ch; }
.hero-lead { margin-top: 20px; font-size: clamp(18px, 1.8vw, 21px); color: rgba(255,255,255,.88); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-place { margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.7); }

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about p { margin-top: 18px; font-size: 17px; color: var(--muted); }
.about p strong { color: var(--ink); font-weight: 600; }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.about .btn { margin-top: 28px; }

/* Leistungen */
.srows { display: grid; gap: 64px; }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.srow:nth-child(even) .srow-media { order: 2; }
.srow-media { display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 2; }
.srow-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.srow-media:hover img { transform: scale(1.03); }
.srow-text h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: var(--navy-dark); letter-spacing: -.015em; }
.srow-text p { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 46ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { font-size: 13.5px; font-weight: 500; padding: 5px 12px; border-radius: 4px; background: #e8ecf5; color: var(--navy); }
.link-more { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--blue); border-bottom: 1px solid currentColor; }
.link-more:hover { color: var(--navy); }

/* Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px 24px; }
.step .no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.step h3 { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--navy-dark); }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Unterseiten-Kopf */
.page-hero { position: relative; color: #fff; background: var(--navy-dark); }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,28,61,.9), rgba(18,28,61,.55)); }
.page-hero .wrap { position: relative; padding-top: 90px; padding-bottom: 90px; }
.page-hero.plain .wrap { padding-top: 70px; padding-bottom: 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.page-hero .tags li { background: rgba(255,255,255,.14); color: #fff; }
.page-hero .hero-actions { margin-top: 28px; }

/* Leistungs-Detail */
.detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.detail .text p { margin-top: 16px; font-size: 17px; line-height: 1.75; }
.detail .text p:first-of-type { margin-top: 18px; }
.detail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.case-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.case-list .check { color: var(--blue); margin-top: 2px; }
.case-list .check svg { width: 22px; height: 22px; }
.case-list h3 { font-size: 17px; font-weight: 600; color: var(--navy-dark); line-height: 1.35; }
.case-list p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.other-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.other-card { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .2s; }
.other-card:hover { border-color: var(--navy); }
.other-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.other-card span { display: block; padding: 16px 20px; font-weight: 600; color: var(--navy-dark); }

/* Kontakt */
.contact { background: var(--navy-dark); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-intro { color: rgba(255,255,255,.75); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.contact-item { display: block; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-item:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.contact-item .label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 4px; }
.contact-item .label svg { width: 17px; height: 17px; }
.contact-item .value { display: block; font-size: 19px; font-weight: 500; line-height: 1.4; word-break: break-word; }
a.contact-item:hover .value { text-decoration: underline; }

/* Kontaktformular */
.cf { background: #fff; color: var(--ink); border-radius: 8px; padding: 36px 36px 32px; }
.cf-progress { display: flex; gap: 6px; margin-bottom: 10px; }
.cf-progress span { flex: 1; height: 4px; background: var(--line); border-radius: 4px; transition: background .3s; }
.cf-progress span.done { background: var(--navy); }
.cf-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.cf-meta b { color: var(--ink); font-weight: 600; }
.cf-step { display: none; margin-top: 24px; }
.cf-step.active { display: block; }
.cf h3 { font-size: 22px; font-weight: 700; color: var(--navy-dark); line-height: 1.25; }
.cf .hint { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.cf-group + .cf-group { margin-top: 22px; }
.cf-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.cf-label i, .field label i { font-style: normal; color: var(--error); }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  font-weight: 500; font-size: 15px; transition: border-color .2s, background .2s;
}
.choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #b9bfcb; border-radius: 4px;
  background: #fff center/11px no-repeat;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: #eef1f8; }
.choice input:checked + span::before {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.choices.compact { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9ced8; border-radius: 6px; background: #fff; font-size: 16px; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(46,78,161,.15); }
.field.invalid input { border-color: var(--error); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--blue); text-decoration: underline; }
.cf-error { display: none; margin-top: 14px; color: var(--error); font-size: 14px; font-weight: 500; }
.cf-error.show { display: block; }
.cf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.cf-nav .btn-primary { margin-left: auto; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.summary { margin-top: 18px; padding: 14px 16px; background: var(--bg-soft); border-radius: 6px; font-size: 14px; color: var(--muted); }
.summary b { color: var(--ink); font-weight: 600; }
.cf-success { display: none; text-align: center; padding: 24px 0 8px; }
.cf-success.active { display: block; }
.cf-success .ok { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: #e3f1e6; color: #2f7a43; display: grid; place-items: center; }
.cf-success .ok svg { width: 28px; height: 28px; }
.cf-success p { margin: 8px auto 0; max-width: 40ch; color: var(--muted); }

/* Footer */
.footer { background: #0d1530; color: rgba(255,255,255,.7); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.footer .logo { color: #fff; }
.footer address { margin-top: 16px; font-style: normal; line-height: 1.7; }
.footer h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13.5px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }

/* Anruf-Button mobil */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: none; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fab svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .about, .detail, .srow, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .srow:nth-child(even) .srow-media { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .other-services { grid-template-columns: 1fr 1fr; }
  .detail img { aspect-ratio: 3 / 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { display: none; }
  .fab { display: grid; }
  .header .wrap { height: 64px; }
  .hero .wrap { padding-top: 80px; padding-bottom: 80px; }
  .hero-bg::after { background: rgba(18,28,61,.78); }
  .page-hero .wrap { padding-top: 60px; padding-bottom: 60px; }
  .steps, .case-list, .other-services, .footer-top { grid-template-columns: 1fr; }
  .cf { padding: 26px 18px 22px; }
  .choices, .choices.compact, .fields { grid-template-columns: 1fr; }
}

/* ---------- Bewegung ---------- */
:root { --ease-out: cubic-bezier(.16, .84, .3, 1); }

/* Header blendet beim Runterscrollen aus */
.header { transition: transform .4s var(--ease-out), box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 18px rgba(18, 28, 61, .08); border-bottom-color: transparent; }
.header.hide { transform: translateY(-100%); }

/* Hero: Bild zoomt einmal zurück, Überschrift zeilenweise */
.hero-bg img, .page-hero .ph-bg img { animation: settle 1.8s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; animation: lineUp .9s var(--ease-out) both; animation-delay: calc(.15s + var(--l, 0) * .12s); }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-in { animation: fadeUp .8s var(--ease-out) both; animation-delay: calc(.45s + var(--l, 0) * .1s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Einblenden beim Scrollen (Klassen setzt main.js) */
.anim { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.anim.in { opacity: 1; transform: none; }
.anim-img { opacity: 0; transform: scale(1.035); transition: opacity 1s ease, transform 1.4s var(--ease-out); }
.anim-img.in { opacity: 1; transform: none; }

/* Leistungsbilder: leichte Parallaxe statt Hover-Zoom */
.srow-media img { transform: scale(1.12); transition: none; will-change: transform; }
.srow-media:hover img { transform: scale(1.12); }

/* Ablauf: Schritte füllen sich nacheinander */
.step { position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 220ms + .2s); }
.step .no { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); transition: background .4s, color .4s; transition-delay: calc(var(--i, 0) * 220ms + .35s); }
.step.in::before { transform: scaleX(1); }
.step.in .no { background: var(--navy); color: #fff; }

/* Links: Linie wächst beim Hover */
.link-more { position: relative; border-bottom: 0; padding-bottom: 3px; }
.link-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; }
.link-more:hover::after { animation: underline .5s var(--ease-out); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* Buttons und Karten */
.btn { transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(28, 43, 94, .25); }
.btn:active { transform: none; box-shadow: none; }
.other-card img { transition: transform .7s var(--ease-out); }
.other-card:hover img { transform: scale(1.04); }
.case-list li { transition: border-color .25s; }
.case-list li:hover { border-color: #b9c3dc; }

/* Formular */
.cf-progress span { position: relative; overflow: hidden; background: var(--line) !important; }
.cf-progress span::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.cf-progress span.done::after { transform: scaleX(1); }
.cf-step.active { animation: stepIn .4s var(--ease-out); }
.cf-step.active.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.choice input:checked + span::before { animation: pop .25s var(--ease-out); }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cf-success.active { animation: fadeUp .5s var(--ease-out); }
.cf-success.active .ok svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cf-error.show { animation: fadeUp .3s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim, .anim-img { opacity: 1; transform: none; }
  .srow-media img { transform: none; }
  .header.hide { transform: none; }
}

/* ---------- Leistungsumfang ---------- */
.scope { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.scope li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.scope svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue); }
.scope-title { margin-top: 30px; font-size: 18px; font-weight: 700; color: var(--navy-dark); }

/* ---------- Was ist Trockenbau ---------- */
.explain { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.explain .lead { margin-top: 16px; font-size: 17.5px; line-height: 1.75; max-width: 58ch; }
.explain img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.points li { padding-top: 16px; border-top: 2px solid var(--navy); }
.points h3 { font-size: 17px; font-weight: 700; color: var(--navy-dark); }
.points p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- Checkliste ---------- */
.checklist-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.checklist { list-style: none; counter-reset: c; border-top: 1px solid var(--line); }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font-size: 14px; font-weight: 700; color: var(--blue); padding-top: 2px; }
.checklist h3 { font-size: 17px; font-weight: 600; color: var(--navy-dark); }
.checklist p { margin-top: 2px; font-size: 15px; color: var(--muted); }
.note { margin-top: -24px; padding: 14px 16px; border-left: 3px solid var(--blue); background: #eef1f8; font-size: 14.5px; color: var(--ink); border-radius: 0 6px 6px 0; }
.note a { color: var(--blue); text-decoration: underline; }

/* ---------- Häufige Fragen ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-intro { margin-bottom: 0; }
.faq-wrap .section-intro a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-size: 17px; font-weight: 600; color: var(--navy-dark);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease-out, ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq-a { padding: 0 44px 22px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq details[open] .faq-a { animation: faqIn .35s var(--ease-out, ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .explain, .checklist-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .explain img { aspect-ratio: 3 / 2; }
  .note { margin-top: 0; }
}
@media (max-width: 700px) {
  .points { grid-template-columns: 1fr; }
}
.hero, .page-hero { overflow: hidden; }
html, body { overflow-x: clip; }

/* ---------- Kennzahlen ---------- */
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line); }
.facts li { padding: 26px 20px 0 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--navy-dark); line-height: 1.15; }
.facts span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ---------- Für wen ---------- */
.clients { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.clients li { padding: 28px 26px; border: 1px solid var(--line); border-radius: 8px; border-top: 3px solid var(--navy); }
.clients h3 { font-size: 19px; font-weight: 700; color: var(--navy-dark); }
.clients p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ---------- Einsatzgebiet ---------- */
.area { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.area .lead { margin-top: 16px; font-size: 17.5px; line-height: 1.7; }
.area-map { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; overflow: visible; }
.area-route { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.area-more { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; opacity: 0; }
.area-city circle { fill: #fff; stroke: var(--navy); stroke-width: 3; }
.area-home circle:not(.pulse) { fill: var(--navy); }
.area-home .pulse { fill: rgba(46, 78, 161, .15); transform-origin: 300px 176px; }
.area-map text { font: 600 18px var(--sans); fill: var(--ink); }
.area-home text { font-size: 20px; fill: var(--navy-dark); font-weight: 700; }
.area-map.in .area-route { animation: route 1.8s .2s var(--ease-out) forwards; }
.area-map.in .area-more { animation: fadeIn .6s 1.8s forwards; }
.area-map.in .pulse { animation: pulse 2.6s 1.4s ease-out infinite; }
@keyframes route { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 21px; margin-top: 38px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 10px; color: var(--ink); font-size: 16px; line-height: 1.75; }
.legal a { color: var(--blue); text-decoration: underline; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }

@media (max-width: 960px) {
  .area { grid-template-columns: 1fr; gap: 32px; }
  .clients { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .area-route { stroke-dashoffset: 0; }
  .area-more { opacity: 1; }
}

/* ---------- Abzeichen ---------- */
.about-media, .detail-media { position: relative; }
.badge { position: absolute; left: -46px; bottom: 36px; width: 156px; height: 156px; z-index: 2; filter: drop-shadow(0 14px 24px rgba(18, 28, 61, .35)); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge-spin { animation: badgeSpin 28s linear infinite; }
.badge-star { fill: var(--navy-dark); }
.badge-line { fill: none; stroke: #c9a85f; stroke-width: 1.2; opacity: .8; }
.badge-text { font: 700 12.5px var(--sans); fill: #fff; letter-spacing: 1px; }
.badge-mk { font: 700 40px var(--sans); fill: #c9a85f; letter-spacing: 1px; }
.badge:hover .badge-spin { animation-duration: 9s; }
@keyframes badgeSpin { to { transform: rotate(360deg); } }
.badge-spin { transform-origin: 50% 50%; }
@media (max-width: 960px) { .badge { left: 12px; bottom: -28px; width: 124px; height: 124px; } .about-media, .detail-media { margin-bottom: 28px; } }
