/* UnitechniX – Design (Farben aus dem Logo: Navy, Rot, Mittelblau; Schrift Inter lokal) */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #003c7e;
  --navy-900: #06264f;
  --blue: #3e6b9e;
  --blue-50: #eef3f9;
  --red: #b30d16;
  --red-dk: #8f0a12;
  --violet: #7b4ea3;
  --ink: #1b2733;
  --muted: #5b6b7c;
  --line: #e1e8f0;
  --soft: #f4f7fb;
  --white: #fff;
  --gold: #e0a100;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(0, 60, 126, .10);
  --shadow-sm: 0 2px 10px rgba(0, 60, 126, .08);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75rem 1.35rem; border-radius: 12px; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .18s, color .18s, transform .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(179, 13, 22, .28); }
.btn-primary:hover { background: var(--red-dk); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Kopf ---------- */
.topbar { background: var(--navy-900); color: #cfe0f5; font-size: .875rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 200px; height: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: 10px; }
.nav-list > li > a:hover, .nav-list > li.current > a { color: var(--navy); background: var(--blue-50); }
.nav-list > li.current > a { box-shadow: inset 0 -3px 0 var(--red); border-radius: 10px 10px 0 0; }
.nav-cta { margin-left: 8px; }
.nav-list > li.nav-cta > a.btn { padding: .65rem 1.1rem; background: var(--red); color: #fff; }
.nav-list > li.nav-cta > a.btn:hover { background: var(--red-dk); color: #fff; }
.sub-toggle { display: none; }

.mega { position: absolute; left: 50%; top: 100%; transform: translateX(-30%); width: min(880px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; display: none; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.has-sub:hover .mega, .has-sub:focus-within .mega { display: grid; }
.mega-col a { display: block; padding: 4px 0; font-size: .93rem; color: var(--muted); text-decoration: none; }
.mega-col a:hover { color: var(--red); }
.mega-col .mega-title { color: var(--navy); font-weight: 700; font-size: 1rem; margin-bottom: 4px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 58%, #1d5590 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(520px 260px at 88% 12%, rgba(123, 78, 163, .38), transparent 65%),
  radial-gradient(420px 260px at 8% 110%, rgba(179, 13, 22, .28), transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; opacity: .10; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #fff 0 8deg, transparent 8deg 16deg); mask-image: radial-gradient(circle, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.hero-in { position: relative; z-index: 1; padding-top: 54px; padding-bottom: 58px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; max-width: 26ch; text-wrap: balance; }
.hero .eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 600; font-size: .92rem; }
.hero-slim .hero-in { padding-top: 40px; padding-bottom: 40px; }
.hero-home .hero-in { padding-top: 76px; padding-bottom: 92px; }
.hero-home h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); max-width: 18ch; }
.hero-lead { margin: -4px 0 26px; font-size: 1.2rem; max-width: 46ch; color: #dbe8f8; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #dbe8f8; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: #fff; }

/* ---------- Abschnitte ---------- */
.section { padding: 76px 0; }
.section.soft { background: var(--soft); }
.container.narrow { max-width: 880px; }
.section .container > * + * { margin-top: 24px; }
.section .container > :is(.t-3, .t-4, .t-5, .t-6, .lead):not(:first-child) { margin-top: 60px; }
.section .container > :is(.t-2, .t-3, .t-4, .t-5, .t-6, .lead) + * { margin-top: 16px; }
.section .container > .t-2 + * { margin-top: 30px; }
.t-2, .t-3, .t-4, .t-5, .t-6 { color: var(--navy); line-height: 1.25; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
.t-2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; padding-bottom: 16px; position: relative; letter-spacing: -.02em; }
.t-2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--violet)); }
.t-3 { font-size: 1.55rem; font-weight: 800; }
.t-4 { font-size: 1.35rem; font-weight: 750; }
.t-5, .t-6 { font-size: 1.25rem; font-weight: 750; }
.group-title { font-size: 1.4rem !important; font-weight: 800; }
.lead { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.4; text-wrap: balance; }
.lead a { text-decoration: none; }

.prose { max-width: 72ch; color: #2b3a4a; line-height: 1.75; overflow-wrap: break-word; }
.narrow .prose { max-width: none; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li { margin: .4em 0; padding-left: .2em; }
.prose ul li::marker { color: var(--red); }
.prose h2, .prose h3, .prose h4 { color: var(--navy); margin: 1.6em 0 .5em; line-height: 1.3; }
.prose.legal { max-width: 88ch; font-size: 1rem; overflow-wrap: anywhere; hyphens: auto; }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 640px; font-size: .97rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.prose tr:last-child > * { border-bottom: 0; }
.prose th, .prose tr:first-child > td { background: var(--blue-50); color: var(--navy); font-weight: 700; }
.prose.legal table { max-width: none; }
.prose img { display: block; margin: 1.4em auto; max-width: 100%; height: auto; }

/* Text + Bild */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.2fr; }
.split.rev .figure { order: -1; }
.split .prose { max-width: none; }
.figure { margin: 0; }
.split .figure { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; place-items: center; }
.soft .split .figure { border-color: transparent; box-shadow: var(--shadow-sm); }
.split .figure img { max-height: 380px; width: auto; object-fit: contain; border-radius: 12px; }
.figure.single { text-align: center; }
.figure.single img { max-width: min(100%, 680px); max-height: 440px; width: auto; margin-inline: auto; border-radius: 12px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: start; }
.gallery img { border-radius: 14px; margin-inline: auto; }

/* Raster-Spalten */
:is(.cards, .tiles, .points, .steps, .quotes, .info-cards, .price-grid) { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.cols-1 { --cols: 1; }
.cols-2 { --cols: 2; }
.cols-3 { --cols: 3; }
.cols-4 { --cols: 4; }

/* Kacheln (Übersicht /reparatur, "Wir bieten auch") */
.tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d6ea; }
.tile-img { display: grid; place-items: center; height: 170px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px; }
.tile-img img { max-height: 138px; max-width: 100%; width: auto; object-fit: contain; }
.tile-body { display: grid; gap: 4px; padding: 16px 52px 18px 18px; }
.tile-label { font-weight: 750; color: var(--navy); line-height: 1.3; }
.tile-cap { font-size: .9rem; color: var(--muted); }
.tile > .ico { position: absolute; right: 16px; bottom: 18px; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--blue-50); color: var(--red); transition: background .2s, color .2s; }
.tile:hover > .ico { background: var(--red); color: #fff; }

/* Karten (Defekte, Modelle) */
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.soft .card { border-color: transparent; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { margin: 0; background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 32 / 15; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-link { display: block; }
.card-body { padding: 20px 22px 24px; color: #2b3a4a; font-size: .98rem; line-height: 1.65; }
.card-body p { margin: 0 0 .6em; }
.card-body > :last-child { margin-bottom: 0; }
.card-title { margin: 0 0 .5em; font-weight: 800; color: var(--navy); font-size: 1.08rem; letter-spacing: .01em; line-height: 1.3; }
.card-title a, .point-title a { color: inherit; text-decoration: none; }
.card-title a:hover, .point-title a:hover { color: var(--red); }
.card.is-link .card-title a::after { content: " →"; color: var(--red); }
.model-card .card-body { text-align: center; }
.model-card .lead { font-size: 1.1rem; }
.model-img img { margin: 14px auto 0; }

/* Vorteile / Punkte */
.point { display: flex; gap: 16px; padding: 24px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: #2b3a4a; line-height: 1.65; }
.soft .point { border-color: transparent; }
.point > .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--red); color: #fff; flex: none; }
.point p { margin: 0 0 .5em; }
.point-title { margin: 0 0 .4em; font-weight: 800; color: var(--navy); font-size: 1.08rem; line-height: 1.3; }

/* Ausführliche Punkte (langer Absatztext): ruhige Kachel statt schmaler Icon-Zeile */
.point.is-lg { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; }
.point.is-lg > .ico { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--blue-50); color: var(--red); }
.point.is-lg .point-title { font-size: 1.15rem; }

/* Häkchen-Liste */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 80ch; }
.checks li { position: relative; padding-left: 34px; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }

/* Schnellauswahl Startseite */
.quicklinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.quick { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--navy); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d6ea; }
.quick-img { display: grid; place-items: center; height: 130px; background: #fff center / contain no-repeat; border-bottom: 1px solid var(--line); background-origin: content-box; padding: 14px; }
.quick-img .ico { width: 48px; height: 48px; color: var(--navy); }
.quick-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; font-weight: 750; line-height: 1.3; }
.quick-label .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--blue-50); color: var(--red); transition: background .2s, color .2s; }
.quick:hover .quick-label .ico { background: var(--red); color: #fff; }

/* Ablauf-Schritte */
.step { display: flex; flex-direction: column; gap: 16px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; }
.step-no { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 14px rgba(179, 13, 22, .28); }
.step-img { margin: 0; display: grid; place-items: center; height: 190px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.step-img img { max-height: 164px; max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.step .prose { font-size: .98rem; }
.step .actions { margin-top: auto; }

/* Kundenstimmen im Text */
.quote { margin: 0; position: relative; padding: 28px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.soft .quote { border-color: transparent; }
.quotes { align-items: start; }
.quote::before { content: "\201C"; position: absolute; right: 20px; top: 2px; font-size: 5rem; line-height: 1; color: var(--blue-50); font-family: Georgia, serif; }
.quote .quote-head { font-size: 1.05rem; margin: 0; }
.quote .prose { font-size: .98rem; line-height: 1.65; }

/* Link-Chips ("Wir bieten auch ...") */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--navy); text-decoration: none; transition: border-color .2s, color .2s; }
.chip .ico { width: 16px; height: 16px; color: var(--red); }
.chip:hover { border-color: var(--red); color: var(--red); }

/* Info-Karten (Kontakt) */
.info-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.info-card > * + * { margin-top: 12px; }
.info-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--navy); margin-bottom: 18px; }
.info-ico .ico { width: 24px; height: 24px; }
.info-card .lead { font-size: 1.15rem; }
.info-card .prose { line-height: 1.7; }
.info-card .point { padding: 0; border: 0; box-shadow: none; background: none; }
.info-card .point > .ico { display: none; }
.info-card .checks li { padding-left: 0; }
.info-card .checks li::before { display: none; }
.info-card .checks a { font-size: 1.05rem; }

/* Aufruf-Band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 30px; padding: 34px 38px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, #2b5c9c); box-shadow: 0 14px 34px rgba(0, 60, 126, .22); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 78, 163, .45), transparent 70%); pointer-events: none; }
.cta-part { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; flex: 1 1 100%; }
.cta-part > :is(h3, h4, h5, h6, p) { color: #fff; font-size: 1.3rem; max-width: 36ch; margin: 0; }
.cta-band.multi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.cta-band.multi .cta-part { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 32px 36px; }
.cta-band.multi .cta-part + .cta-part { border-left: 1px solid rgba(255, 255, 255, .16); }
.cta-band .btn-outline-dark { border-color: rgba(255, 255, 255, .85); color: #fff; }
.cta-band .btn-outline-dark:hover { background: #fff; color: var(--navy); }

/* ---------- Preise ---------- */
.prices { display: grid; gap: 26px; align-items: start; }
.prices.cols-1 { max-width: 900px; }
.prices.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.price-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.price-head img { width: 60px; height: 60px; object-fit: contain; background: rgba(255, 255, 255, .15); border-radius: 12px; padding: 7px; }
.price-head h3 { margin: 0; color: #fff; font-size: 1.25rem; line-height: 1.3; }
.price-head span { color: rgba(255, 255, 255, .8); font-size: .88rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { padding: 14px 24px; border-bottom: 1px solid var(--line); }
.price-list li:hover { background: var(--soft); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-work { font-weight: 650; }
.price-amount { flex: none; background: var(--red); color: #fff; font-weight: 750; padding: 5px 14px; border-radius: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-desc { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.price-foot { margin: 0; padding: 12px 24px; background: var(--soft); font-size: .88rem; color: var(--muted); }
.price-empty { padding: 24px; color: var(--muted); }
.price-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.price-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.price-img { margin: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.soft .price-img { border-color: transparent; box-shadow: var(--shadow-sm); }
.price-img img { max-height: 380px; width: auto; object-fit: contain; }
.price-grid { --cols: 2; align-items: start; }
.price-item .price-img { border-radius: 18px 18px 0 0; padding: 18px; box-shadow: none; border: 1px solid var(--line); border-bottom: 0; }
.price-item .price-img img { max-height: 190px; }
.price-item .price-card { border-radius: 0 0 18px 18px; }
[id="preise"] { scroll-margin-top: 110px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 920px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.soft .faq-item { border-color: transparent; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #c7d6ea; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); font-size: 1.3rem; color: var(--red); line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; background: var(--red); color: #fff; }
.faq-a { padding: 0 22px 20px; color: #2b3a4a; line-height: 1.7; }
.faq-a p { margin: 0 0 .7em; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-sm); content-visibility: auto; contain-intrinsic-size: auto 190px; }
.review h4 { margin: 0 0 4px; color: var(--navy); font-size: 1.05rem; }
.review p { margin: .5em 0 0; }
.stars { color: #cbd5e1; letter-spacing: 2px; }
.stars .on { color: var(--gold); }
.review-date { color: var(--muted); font-size: .85rem; margin-left: 8px; }
.review-author { font-weight: 700; font-size: .95rem; }
.review-reply { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--blue); padding-left: 12px; }
.review-note { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; margin: 0; }
.reviews-legacy { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Fuß ---------- */
.site-footer { background: var(--navy-900); color: #b9cbe3; padding: 56px 0 0; font-size: .97rem; }
.site-footer a { color: #e4eefb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.f-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.f-logo img { width: 170px; height: auto; }
.f-brand p { margin: 16px 0 0; max-width: 36ch; }
.f-pay { font-size: .88rem; color: #8fa8c8; }
.f-h { margin: 0 0 14px; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; display: grid; gap: 10px; }
.site-footer address p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.site-footer address .ico { margin-top: .25em; color: #8fb3e0; }
.footer-bottom { margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Responsiv ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 0; }
  .nav-list > li > a { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-list > li.current > a { box-shadow: none; }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: flex; align-items: center; justify-content: center; width: 46px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--navy); }
  .sub-toggle .ico { transform: rotate(90deg); transition: transform .2s; }
  .has-sub.open .sub-toggle .ico { transform: rotate(-90deg); }
  .mega { position: static; transform: none; width: auto; grid-column: 1 / -1; box-shadow: none; border: 0; padding: 4px 4px 10px; grid-template-columns: 1fr 1fr; display: none; }
  .has-sub:hover .mega, .has-sub:focus-within .mega { display: none; }
  .has-sub.open .mega { display: grid; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .figure { order: 0; }
  .cols-3, .cols-4 { --cols: 2; }
  .quicklinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-split { grid-template-columns: 1fr; gap: 24px; }
  .price-aside { position: static; order: -1; }
  .price-aside .price-img img { max-height: 240px; }
  .section { padding: 60px 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { width: 160px; }
  .header-in { min-height: 66px; }
  .topbar-in { justify-content: center; }
  .topbar-in > span { display: none; }
  .hero-in { padding-top: 38px; padding-bottom: 42px; }
  .hero-home .hero-in { padding-top: 48px; padding-bottom: 56px; }
  .section { padding: 46px 0; }
  .cols-2, .cols-3, .cols-4, .price-grid, .prices.cols-2 { --cols: 1; grid-template-columns: 1fr; }
  .quicklinks { gap: 12px; }
  .quick-img { height: 96px; padding: 10px; }
  .quick-label { padding: 12px 14px; font-size: .95rem; }
  .cta-band.multi { grid-template-columns: 1fr; }
  .cta-band.multi .cta-part + .cta-part { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .cta-band.multi .cta-part { padding: 26px 24px; }
  .section .container > :is(.t-3, .t-4, .t-5, .t-6, .lead):not(:first-child) { margin-top: 44px; }
  .split .figure { padding: 18px; }
  .step-img { height: 160px; }
  .step-img img { max-height: 134px; }
  .mega { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; }
  .price-head, .price-list li, .price-foot { padding-left: 16px; padding-right: 16px; }
  .price-row { align-items: flex-start; }
  .reviews, .reviews-legacy { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- v3: Brotkrumen, Siegel, Infobox, Bewertungen, FAQ, Aktionsleiste, Animation ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; font-size: .9rem; color: #b9cfea; }
.crumbs a { color: #dbe8f8; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .ico { width: 14px; height: 14px; opacity: .7; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.hero-meta .hero-points { margin: 0; }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-size: .95rem; transition: background .2s; }
.rating-badge:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.rating-badge .stars { color: var(--gold); letter-spacing: 1px; }

/* Panel mit Infobox (z. B. Werkstatt) */
.panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.soft .panel { border-color: transparent; }
.panel-main > * + * { margin-top: 16px; }
.panel-main :is(.t-3, .t-4, .t-5, .t-6) { font-size: 1.4rem; }
.panel-main .actions { margin-top: 22px; }
.infobox { display: grid; gap: 14px; padding: 26px; border-radius: 18px; background: linear-gradient(160deg, var(--blue-50), #f7f9fc); }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .info-ico { flex: none; margin: 0; width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.info-item .info-ico .ico { width: 20px; height: 20px; }
.info-item p { margin: 0; line-height: 1.55; color: #2b3a4a; }
.info-item .info-label { color: var(--navy); margin-bottom: 4px; }
.info-item + .info-item { padding-top: 14px; border-top: 1px solid rgba(0, 60, 126, .1); }

/* Bewertungsseite */
.review-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.review-intro .prose { max-width: none; }
.review-banner { margin-top: 24px; }
.review-banner img { border-radius: 12px; }
.score-card { position: sticky; top: 110px; padding: 30px; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(140deg, var(--navy-900), var(--navy) 65%, #2b5c9c); box-shadow: 0 14px 34px rgba(0, 60, 126, .22); }
.score { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.score-num { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.score-of { font-size: 1.1rem; color: #cfe0f5; }
.score-card .stars { font-size: 1.6rem; letter-spacing: 4px; }
.score-card .stars span:not(.on) { color: rgba(255, 255, 255, .3); }
.score-count { margin: 8px 0 22px; color: #dbe8f8; }
.score-card .actions { justify-content: center; }
.score-card .btn-outline-dark { border-color: #fff; color: #fff; }
.score-card .btn-outline-dark:hover { background: #fff; color: var(--navy); }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.js-only { display: none; }
.js .js-only { display: flex; }
.js .reviews:not(.show-all) > .review.is-extra { display: none; }
.js .reviews-legacy.is-collapsed:not(.is-open) { display: none; }
.btn-light-dark { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light-dark:hover { border-color: var(--navy); color: var(--navy); }
.reviews-legacy { margin-top: 24px; }

/* FAQ in zwei Spalten */
.faq-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; max-width: none; align-items: start; }
.faq-col { display: grid; gap: 12px; }

/* Mobile Aktionsleiste */
.mobile-bar { display: none; }

/* Einblend-Animation (nur mit JS, siehe menu.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease !important; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr; padding: 26px; gap: 26px; }
  .review-intro { grid-template-columns: 1fr; gap: 28px; }
  .score-card { position: static; }
  .faq-2col { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 60, 126, .12); backdrop-filter: blur(8px); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 12px; font-weight: 700; text-decoration: none; }
  .mb-call { background: var(--blue-50); color: var(--navy); }
  .mb-order { background: var(--red); color: #fff; }
  .mb-order:hover { color: #fff; background: var(--red-dk); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .hero-meta { gap: 12px; }
  .rating-badge { font-size: .88rem; }
  .hero:not(.hero-home) .hero-points { display: none; }
  .crumbs { margin-bottom: 10px; }
  .panel { padding: 20px; }
  .infobox { padding: 18px; }
  .score-num { font-size: 3rem; }
}
@media print {
  .mobile-bar, .site-header, .topbar, .nav-toggle { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
