/* ============================================================
   AUTO ANKAUF LOHMAR – Haupt-Stylesheet
   Design: Bergisches Grün · Natur · Modern
   ============================================================ */

:root {
  --green-dark:   #1a4a2e;
  --green-main:   #2d7a4f;
  --green-light:  #3da066;
  --black:        #111318;
  --white:        #ffffff;
  --bg:           #f2f7f4;
  --bg2:          #e4f0e9;
  --text:         #1e2d24;
  --text-muted:   #4a6358;
  --accent:       #e8a020;
  --accent-dark:  #c4871a;
  --blue:         #1a5c8f;
  --border:       #c0d9c8;
  --radius:       10px;
  --shadow:       0 4px 24px rgba(10,50,20,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; letter-spacing: .02em; }
a { color: var(--green-main); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--green-dark); }

/* ── TOPBAR ── */
.topbar {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: .02em;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green-main);
  color: white;
  text-align: center;
  font-size: .85rem;
  padding: 10px 16px;
  font-weight: 500;
}
.trust-bar span { font-weight: 800; color: var(--accent); }

/* ── HEADER ── */
header {
  background: var(--green-dark);
  color: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo { font-family: 'Oswald', sans-serif; font-size: 1.55rem; font-weight: 700; color: var(--white); line-height: 1; }
.logo span { color: var(--accent); }
.header-contacts { display: flex; gap: 14px; align-items: center; }
.hc-item { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.hc-item:hover { text-decoration: none; opacity: .9; }
.hc-icon { font-size: 1.3rem; }
.hc-text small { display: block; font-size: .7rem; color: #a8d4b8; line-height: 1; }
.hc-text strong { font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--accent); letter-spacing: .03em; }
.hc-wa { background: #1a7a3c; border-radius: 30px; padding: 7px 16px; transition: background .2s; }
.hc-wa:hover { background: #135e2d; }
.hc-wa .hc-text strong { color: white; }

/* ── NAV ── */
.sub-nav { background: var(--green-main); border-bottom: 3px solid var(--accent); }
.sub-nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 16px;
}
.sub-nav a {
  color: rgba(255,255,255,.85);
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 11px 18px;
  text-decoration: none;
  letter-spacing: .03em;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all .2s;
  white-space: nowrap;
}
.sub-nav a:hover, .sub-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,.08);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-light) 100%);
  padding: 40px 24px 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
@media(max-width:860px){ .hero-inner { grid-template-columns:1fr; } }
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.hero-text h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 18px;
  color: white;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.05rem; color: rgba(255,255,255,.88); margin-bottom: 24px; }

/* USP pills */
.usp-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.usp-pill {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: white;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 600;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  border-top: 5px solid var(--accent);
}
.form-card-title { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--green-dark); margin-bottom: 4px; }
.form-card-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }
.step-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.step-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-main);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: .95rem;
}
.step-dot.inactive { background: var(--border); color: var(--text-muted); }
.step-dot.done { background: var(--accent); color: var(--black); }
.step-line { flex: 1; height: 3px; background: var(--border); border-radius: 2px; }
.step-line.active { background: var(--green-main); }
.fld { margin-bottom: 14px; }
.fld label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 5px; color: var(--green-dark); }
.fld input, .fld select, .fld textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fld.f-green input, .fld.f-green select { border: 2px solid #b0d8b8; background: #f4fbf6; }
.fld.f-green input:focus, .fld.f-green select:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(45,122,79,.15); }
.fld.f-yellow input, .fld.f-yellow select { border: 2px solid #f0d080; background: #fffbee; }
.fld.f-yellow input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,160,32,.15); }
.fld.f-blue input, .fld.f-blue select, .fld.f-blue textarea { border: 2px solid #b8d4f0; background: #f4f8fd; }
.fld.f-blue input:focus, .fld.f-blue textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,92,143,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:480px){ .form-row { grid-template-columns:1fr; } }
.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  margin-top: 8px;
  transition: transform .15s, box-shadow .15s;
  display: block;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(45,122,79,.35); color: white; text-decoration: none; }
.form-note { font-size: .78rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ── SUB-HERO ── */
.sub-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 36px 24px 44px;
  color: white;
}
.sub-hero .section-inner { max-width: 900px; margin: auto; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb span { margin: 0 6px; }
.sub-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: white; margin-bottom: 16px; }
.sub-hero h1 span { color: var(--accent); }
.sub-hero p { font-size: 1.05rem; color: rgba(255,255,255,.88); max-width: 700px; }

/* ── SECTIONS ── */
.section-inner { max-width: 1100px; margin: auto; }
.content-section { padding: 52px 24px; }
.content-section h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--green-dark); margin-bottom: 16px; }
.content-section h2 span { color: var(--green-main); }
.content-section p { margin-bottom: 16px; color: var(--text); }

/* ── INFO BOX ── */
.info-box {
  background: linear-gradient(135deg, #e8f5ee, #d4eddf);
  border-left: 5px solid var(--green-main);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box h4 { font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 12px; }
.info-box ul { list-style: none; padding: 0; }
.info-box ul li { padding: 5px 0 5px 22px; position: relative; color: var(--text); font-size: .95rem; }
.info-box ul li::before { content: '✅'; position: absolute; left: 0; font-size: .85rem; }

/* ── FAQ SECTION (AI-Optimierung) ── */
.faq-section { padding: 48px 24px; background: var(--bg2); }
.faq-title { font-family: 'Oswald', sans-serif; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--green-dark); margin-bottom: 28px; text-align: center; }
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.faq-q {
  padding: 16px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q:hover { background: var(--bg2); }
.faq-q .faq-icon { font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
}
.faq-a.open { max-height: 400px; padding: 0 20px 16px; }

/* ── VORTEILE ── */
.vorteile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.vorteil-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-main);
  transition: transform .2s;
}
.vorteil-card:hover { transform: translateY(-4px); }
.vorteil-icon { font-size: 2.2rem; margin-bottom: 12px; }
.vorteil-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; }
.vorteil-card p { font-size: .9rem; color: var(--text-muted); }

/* ── PROZESS SECTION ── */
.prozess-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; margin-top: 24px; counter-reset: step; }
.prozess-step { background: white; border-radius: 12px; padding: 24px 18px; text-align: center; box-shadow: var(--shadow); position: relative; }
.prozess-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 30px;
}
.prozess-icon { font-size: 2rem; margin: 10px 0 8px; }
.prozess-step h3 { font-size: .95rem; color: var(--green-dark); margin-bottom: 6px; }
.prozess-step p { font-size: .82rem; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--bg2); border-top: 3px solid var(--green-main); border-bottom: 3px solid var(--green-main); padding: 40px 24px; text-align: center; }
.cta-banner h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--green-dark); margin-bottom: 16px; }
.cta-phones { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-phones a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.cta-phones a:nth-child(1) { background: var(--green-dark); color: white; }
.cta-phones a:nth-child(2) { background: #1a7a3c; color: white; }
.cta-phones a:nth-child(3) { background: var(--accent); color: var(--black); }
.cta-phones a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); text-decoration: none; }

/* ── STADTTEILE ── */
.stadtteile { background: var(--green-dark); padding: 48px 24px; }
.section-title { font-family: 'Oswald', sans-serif; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--white); margin-bottom: 10px; text-align: center; }
.section-sub { color: rgba(255,255,255,.7); text-align: center; margin-bottom: 28px; font-size: .95rem; }
.stadtteile-grid-sub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-width: 1100px;
  margin: auto;
}
.stadtteil-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  transition: background .2s, border-color .2s;
}
.stadtteil-item:hover { background: rgba(255,255,255,.18); border-color: var(--accent); color: var(--accent); }

/* ── REVIEWS ── */
.reviews-section { padding: 48px 24px; background: white; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.review-card {
  background: var(--bg2);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--accent);
}
.review-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 8px; }
.review-text { font-size: .92rem; color: var(--text); margin-bottom: 12px; font-style: italic; }
.review-author { font-weight: 700; font-size: .85rem; color: var(--green-dark); }

/* ── FOOTER ── */
footer {
  background: #0e2818;
  color: rgba(255,255,255,.8);
  padding: 40px 24px 20px;
  font-size: .9rem;
}
.footer-grid { max-width: 1100px; margin: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px; margin-bottom: 28px; }
.footer-col h4 { font-family: 'Oswald', sans-serif; color: var(--accent); font-size: 1rem; margin-bottom: 12px; letter-spacing: .04em; }
.footer-col p { margin-bottom: 5px; color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-col a { display: block; color: rgba(255,255,255,.7); margin-bottom: 7px; font-size: .88rem; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

/* ── RESPONSIVE ── */
@media(max-width:640px) {
  .header-contacts .hc-item:not(.hc-wa) { display: none; }
  .hero { padding: 28px 16px 36px; }
  .content-section { padding: 36px 16px; }
}

/* ── STICKY HEADER ── */
#sticky-top { position: sticky; top: 0; z-index: 100; }
#sticky-top.is-sticky { box-shadow: 0 4px 20px rgba(0,0,0,.3); }

/* ── COOKIE ── */
#cookieBanner a { color: var(--accent); }
