/* Kfz-Sachverständigenbüro Manthey – schlanke, schnelle Seite ohne externe Schriften oder Tracker */
:root {
  --ink: #142029;
  --muted: #55636f;
  --bg: #f5f7f9;
  --panel: #ffffff;
  --line: #dbe2e8;
  --brand: #0e5a74;
  --brand-dark: #0a4458;
  --brand-soft: #e3eff4;
  --signal: #e3a01b;
  --signal-soft: #fdf3dd;
  --wa: #1d8a4c;
  --radius: 12px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .6em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Kopf */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: auto; height: 36px; flex: none; }
.nw { white-space: nowrap; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; }
.brand-text > span { font-size: .8rem; color: var(--muted); }
.header-actions { display: flex; gap: 8px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #156c3b; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 12px; font-size: .92rem; }

/* Hero */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 56px 60px; }
.hero h1 .accent { color: var(--brand); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.hero-cta .btn { padding: 14px 22px; font-size: 1.05rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.stars { color: var(--signal); letter-spacing: 1px; }

.cost-card { background: var(--signal-soft); border: 1px solid #f1d28e; border-radius: var(--radius); padding: 24px; }
.cost-card h2 { font-size: 1.35rem; margin-bottom: .4em; }
.cost-card ul { list-style: none; padding: 0; margin: 14px 0 12px; display: grid; gap: 8px; }
.cost-card li { display: flex; gap: 10px; align-items: flex-start; }
.cost-card li svg { width: 20px; height: 20px; color: var(--wa); flex: none; margin-top: 3px; }
.cost-card small { color: var(--muted); display: block; line-height: 1.45; }

/* Abschnitte */
.section { padding-block: 64px; }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 32px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .num { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .9rem; margin-top: 2px; }
.checklist strong { display: block; }
.checklist span.txt { color: var(--muted); font-size: .97rem; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-alt .service { background: var(--bg); }
.service.featured { border: 2px solid var(--brand); background: var(--brand-soft); grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; }
.service.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 28px; align-items: center; }
.service h3 { display: flex; align-items: center; gap: 10px; }
.service h3 svg { width: 24px; height: 24px; color: var(--brand); flex: none; }
.service p { margin: 0; color: var(--muted); font-size: .97rem; }
.service.featured p { color: var(--ink); }
.badge { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }

.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: 44px 0 16px; }
.reviews-head h2, .reviews-head h3 { margin: 0; font-size: 1.35rem; }
.reviews-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.section-alt .review { background: var(--bg); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1rem; line-height: 1.5; }
.review figcaption { font-size: .88rem; color: var(--muted); font-weight: 600; }
.reviews-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.trust-link { color: inherit; text-decoration: none; }
.trust-link:hover { text-decoration: underline; }
.partner { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; background: #fff; }
.partner img { width: 170px; flex: none; }
.partner p { margin: 0; font-size: .95rem; color: var(--muted); }
.partner strong { display: block; color: var(--ink); }
.hero-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.hero-person img { width: 56px; height: 56px; border-radius: 50%; flex: none; border: 2px solid var(--brand-soft); }
.hero-person p { margin: 0; font-size: .95rem; line-height: 1.4; }
.hero-person span { display: block; color: var(--muted); }
.portrait.photo { padding: 0; background: none; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.article-photo { float: right; width: 42%; max-width: 280px; margin: 6px 0 16px 24px; }
.article-photo img { width: 100%; border-radius: 10px; }
.article-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.byline { display: flex; align-items: center; gap: 10px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; flex: none; }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.promises li { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.section-alt .promises li { background: var(--bg); }
.promises svg { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.promises strong { display: block; font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; }
.promises span { display: block; color: var(--muted); font-size: .95rem; }
.promises-title { margin-top: 36px; }

.about { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; display: grid; place-items: center; text-align: center; padding: 20px; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-size: 4rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.portrait .role { font-size: .95rem; opacity: .85; margin-top: 8px; }
.motto { margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--signal); }
.motto p { margin: 0; font-size: 1.08rem; font-style: italic; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.facts li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.section-alt .facts li { background: var(--bg); }
.facts strong { display: block; font-size: 1.35rem; color: var(--brand); line-height: 1.2; }
.facts span { font-size: .9rem; color: var(--muted); }

.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.towns li { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; color: var(--brand); font-weight: 600; }
.towns li.home { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.towns li:has(a) { padding: 0; }
.towns a { display: block; padding: 6px 14px; text-decoration: none; color: var(--brand); font-weight: 600; border-radius: 999px; }
.towns a:hover { background: var(--brand-soft); }
.towns li.home a { color: #fff; }
.towns li.home a:hover { background: var(--brand-dark); }
.breadcrumb { font-size: .88rem; color: var(--muted); padding-block: 12px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb + .hero { margin-top: 12px; border-top: 1px solid var(--line); }
.section-head p { color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-block: 44px; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--brand); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Fuß */
.site-footer { background: #0f1b23; color: #c6d1d9; padding-block: 40px 96px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-note { border-top: 1px solid #23333f; margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #8ea0ad; }

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

/* Ratgeber- und Leistungsseiten */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-block: 24px 64px; }
.article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px clamp(20px, 4vw, 48px); min-width: 0; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.article h2 { font-size: 1.4rem; margin-top: 1.8em; }
.article p, .article li { max-width: 40em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.byline { color: var(--muted); font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.lead { font-size: 1.12rem; }
.callout { background: var(--brand-soft); border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.callout h2 { margin-top: 0; font-size: 1.1rem; }
.callout ul { margin: 0; }
.ticks { list-style: none; padding-left: 0 !important; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--wa); border-bottom: 3px solid var(--wa); transform: rotate(-45deg); }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .97rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.table-wrap thead th { background: var(--bg); border-top: 0; font-size: .88rem; }
.table-wrap td:first-child { font-weight: 600; min-width: 9em; }
.note { background: var(--bg); border-left: 4px solid var(--signal); padding: 12px 16px; border-radius: 6px; font-size: .95rem; color: var(--muted); }
.article-aside { position: sticky; top: 84px; display: grid; gap: 16px; }
.aside-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.aside-card h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.aside-card p { margin: 0; opacity: .92; font-size: .95rem; }
.aside-card .btn-primary { background: #fff; color: var(--brand); }
.aside-plain { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.aside-plain h2 { color: var(--ink); }
.aside-plain ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.more-link { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }
.more-link::after { content: " →"; }

/* Rechtstexte */
.legal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px clamp(20px, 4vw, 48px); max-width: 52em; margin: 40px auto; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal address { font-style: normal; }

@media (max-width: 960px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 36px 40px; gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service.featured { grid-column: 1 / -1; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
  .portrait { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .review:nth-child(n+4) { display: none; }
  .partner { flex-direction: column; align-items: flex-start; }
  .article-photo { float: none; width: 100%; max-width: none; margin: 0 0 16px; }
  .gallery { gap: 10px; }
  .gallery figcaption { font-size: .82rem; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  body { font-size: 16px; }
  .header-actions .btn-label { display: none; }
  .header-actions .btn-wa { display: none; }
  .brand-text > span { display: none; }
  .brand-text strong { font-size: .9rem; }
  .brand-mark { width: auto; height: 22px; }
  .section { padding-block: 44px; }
  .steps, .services, .checklist, .facts { grid-template-columns: minmax(0, 1fr); }
  .service.featured, .service.wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar .btn { padding: 13px 10px; }
}
