/* Revier Autoankauf – keine externen Schriften/Skripte (DSGVO-freundlich, schnell) */
:root {
  --brand: #0e2f47;
  --brand-2: #164a6e;
  --accent: #f0a500;
  --accent-dark: #c98a00;
  --wa: #1fa855;
  --text: #1c2733;
  --muted: #5a6877;
  --line: #dfe5eb;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(14, 47, 71, .10);
  --max: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--brand); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2.2em 0 .6em; }
h3 { font-size: 1.18rem; margin: 1.6em 0 .4em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -.17em; flex: none; }

/* Topbar & header */
.topbar { background: var(--brand); color: #d6e2ec; font-size: .86rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 16px; }
.topbar a:hover { color: var(--accent); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-size: 1.25rem; white-space: nowrap; }
.logo strong { color: var(--brand); font-weight: 800; }
.logo span { font-weight: 500; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 9px; text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 500; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--brand-2); background: var(--bg-soft); }
.main-nav .nav-cta a { color: #1b1300; background: var(--accent); margin-left: 6px; }
.main-nav .nav-cta a:hover { background: var(--accent-dark); color: #000; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brand); margin: 5px 0; transition: .2s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #1b1300; font-weight: 700;
  padding: 11px 20px; border-radius: 10px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2; }
.btn:hover { background: var(--accent-dark); color: #000; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--bg-soft); color: var(--brand); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }

/* Breadcrumbs & hero */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 12px; padding-bottom: 12px; }
.crumbs a { color: var(--muted); }
.hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; padding: 44px 0 48px; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin: 0 0 12px; max-width: 820px; }
.hero-home { padding: 64px 0 70px; background:
  radial-gradient(circle at 85% 20%, rgba(240,165,0,.22), transparent 40%),
  linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.hero-home h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); }
.hero-lead { font-size: 1.15rem; color: #dbe7f1; max-width: 760px; margin: 0 0 22px; }
.hero .post-meta { color: #c4d4e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: #e7f0f7; font-weight: 500; }
.hero-trust svg { color: var(--accent); }

/* Prose */
.page-body { padding-top: 12px; padding-bottom: 56px; }
.prose > section, .prose > .faq, .prose > ul, .prose > p { max-width: 860px; }
.prose > section:has(.post-grid) { max-width: none; }
.logo { flex: none; }
.prose p, .prose li { color: var(--text); }
.lead-in { font-size: 1.12rem; color: var(--brand) !important; font-weight: 500; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 34px; margin: 8px 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%231b1300'/%3E%3C/svg%3E") center/15px no-repeat; }
.steps { list-style: none; counter-reset: s; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 4px 0 14px 58px; min-height: 44px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.note { background: #fff8e6; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0; }
.note p { margin: .3em 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 1.4em 0; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .97rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--brand); }
blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--line); color: var(--muted); }

/* Home sections */
.band { padding: 8px 0 8px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.service-card { display: block; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.service-card:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); }
.service-card h3 { margin: 10px 0 6px; }
.service-card p { margin: 0 0 10px; color: var(--muted); }
.service-card .more { color: var(--brand-2); font-weight: 600; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff3d6; display: grid; place-items: center; font-size: 1.5rem; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 24px 0; }
.usp { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); }
.usp h3 { margin: 0 0 6px; }
.usp p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; margin: 24px 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.form-card h2 { margin-top: 0; }

/* Cities & posts */
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.city-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--brand); background: #fff; font-weight: 500; }
.city-chip:hover { border-color: var(--accent); background: #fff8e6; color: var(--brand); }
.city-chip svg { color: var(--accent-dark); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 20px 0; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.post-card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--text); }
.post-card h3 { margin: 0 0 8px; }
.post-card p { margin: 0 0 12px; color: var(--muted); flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); }

/* FAQ & CTA */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; color: var(--brand); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; }
.cta-box { margin: 48px 0 0; background: var(--brand); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-box h2 { color: #fff; margin: 0 0 6px; }
.cta-box p { margin: 0; color: #d6e2ec; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Form */
.offer-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--brand); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #c4ced8; border-radius: 8px; background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(240,165,0,.35); border-color: var(--accent-dark); }
.hp { position: absolute !important; left: -9999px !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 14px 0; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form-hint { font-size: .86rem; color: var(--muted); margin: 10px 0 0; }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: #e8f6ee; color: #145c33; }
.form-status.error { background: #fdecec; color: #8a1c1c; }

/* Footer */
.site-footer { background: #0a2335; color: #b9c8d5; padding: 48px 0 0; font-size: .94rem; }
.site-footer a { color: #e6eef5; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer address { font-style: normal; margin: 12px 0; }
.footer-logo { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-cities { columns: 2; column-gap: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #1d3b52; margin-top: 36px; padding-top: 18px; padding-bottom: 20px; font-size: .86rem; }
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px 10px; font-size: 1.02rem; }
  .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .header-in { position: relative; }
}
@media (max-width: 820px) {
  .split, .footer-grid { grid-template-columns: 1fr; }
  .offer-form .form-grid { grid-template-columns: 1fr; }
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: .78rem; font-weight: 600; color: var(--brand); text-decoration: none; }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a:nth-child(2) { color: var(--wa); }
  .mobile-bar .mb-main { background: var(--accent); color: #1b1300; }
  body { padding-bottom: 64px; }
  .hero { padding: 32px 0 36px; }
  .hero-home { padding: 40px 0 44px; }
  .cta-box { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
