/* ============================================================
   AUTO ANKAUF PULHEIM – Haupt-Stylesheet
   Datei: daten/css/style.css
   ============================================================ */

:root {
  --blue:        #1a4d8f;
  --blue-dark:   #0e2f5a;
  --blue-light:  #2a6abf;
  --black:       #111318;
  --white:       #ffffff;
  --bg:          #f0f4f9;
  --bg2:         #e6ecf5;
  --text:        #222834;
  --text-muted:  #5a6478;
  --accent:      #f0a500;
  --accent-dark: #c98b00;
  --green:       #1a7a3c;
  --border:      #c8d6e8;
  --radius:      8px;
  --shadow:      0 4px 24px rgba(10,30,70,0.10);
}

*, *::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(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TOPBAR ── */
.topbar {
  background: var(--accent);
  color: var(--black);
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: .03em;
}

/* ── HEADER ── */
header {
  background: var(--blue-dark);
  color: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.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: 16px; align-items: center; }
.hc-item { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.hc-item:hover { text-decoration: none; }
.hc-icon { font-size: 1.3rem; }
.hc-text small { display: block; font-size: .7rem; color: #aac4e8; line-height: 1; }
.hc-text strong { font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--accent); letter-spacing: .03em; }
.hc-wa { background: var(--green); border-radius: 30px; padding: 7px 16px; transition: background .2s; }
.hc-wa:hover { background: #135e2d; }
.hc-wa .hc-text strong { color: white; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  color: var(--white);
  padding: 56px 24px 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.hero-text h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.08rem; opacity: .92; max-width: 520px; margin-bottom: 24px; }
.usp-list { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.usp-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .86rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.usp-pill::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* Bild-Anker Hero */
.hero-img-placeholder {
  margin-top: 16px;
  background: rgba(255,255,255,.08);
  border: 2px dashed rgba(255,255,255,.25);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-align: center;
  padding: 16px;
}
.hero-img-placeholder code {
  background: rgba(0,0,0,.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .73rem;
  color: rgba(255,255,255,.55);
}

/* ── FORMULAR CARD ── */
.form-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 48px rgba(0,0,0,.28);
  padding: 28px 24px 22px;
  margin-bottom: -40px;
}
.form-card-title { font-size: 1.2rem; color: var(--blue-dark); margin-bottom: 2px; }
.form-card-sub { font-size: .8rem; color: var(--text-muted); margin-bottom: 16px; }
.step-bar { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-dot.inactive { background: var(--border); color: var(--text-muted); }
.step-line { flex: 1; height: 3px; background: var(--border); }

/* Felder allgemein */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fld { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.fld label {
  font-size: .75rem; font-weight: 700; color: var(--blue-dark);
  text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; gap: 5px;
}
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit; color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,77,143,.1);
}
/* Farbige Felder */
.fld.f-blue input, .fld.f-blue select { background: #eef4ff; border-color: #a8c0e8; }
.fld.f-green input { background: #edfbf2; border-color: #8dd4aa; }
.fld.f-yellow input, .fld.f-yellow select { background: #fff8e6; border-color: #f5cc6a; }

/* Buttons */
.btn-primary {
  width: 100%; padding: 14px;
  background: var(--accent); color: var(--black);
  font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  letter-spacing: .05em; transition: background .2s, transform .1s;
  margin-top: 4px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-success {
  width: 100%; padding: 16px;
  background: var(--green); color: var(--white);
  font-family: 'Oswald', sans-serif; font-size: 1.15rem; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  letter-spacing: .05em; transition: background .2s;
}
.btn-success:hover { background: #155c2d; }
.form-note { font-size: .73rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* ── SECTIONS ── */
.section { padding: 60px 24px; }
.section-inner { max-width: 1100px; margin: auto; }
.section-title { font-size: 1.9rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; }

/* Ablauf */
.ablauf-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ablauf-step { text-align: center; }
.ablauf-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: white;
  font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.ablauf-step h3 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 6px; }
.ablauf-step p { font-size: .88rem; color: var(--text-muted); }

/* Vorteile */
.vorteile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vorteil-card {
  background: var(--white); border-radius: var(--radius); padding: 22px 18px;
  box-shadow: var(--shadow); border-top: 4px solid var(--blue); text-align: center;
}
.vorteil-icon { font-size: 2.2rem; margin-bottom: 10px; }
.vorteil-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 7px; }
.vorteil-card p { font-size: .88rem; color: var(--text-muted); }

/* Schäden */
.schaden-bg { background: var(--blue-dark); color: var(--white); }
.schaden-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.schaden-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 20px 14px; text-align: center; transition: background .2s;
}
.schaden-card:hover { background: rgba(255,255,255,.13); }
.schaden-card .sico { font-size: 2rem; margin-bottom: 10px; }
.schaden-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--accent); }
.schaden-card p { font-size: .82rem; opacity: .82; line-height: 1.5; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.img-ph {
  background: var(--bg2); border: 2px dashed var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; color: var(--text-muted); font-size: .8rem; text-align: center; padding: 16px; height: 200px;
}
.img-ph code { font-size: .73rem; background: #dde6f2; padding: 2px 6px; border-radius: 4px; }

/* Stadtteile */
.stadtteile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stadtteil-card {
  background: var(--white); border-radius: var(--radius); padding: 22px 20px;
  border-left: 5px solid var(--blue); box-shadow: var(--shadow);
}
.stadtteil-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 8px; }
.stadtteil-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* SEO Text */
.seo-text p { margin-bottom: 14px; line-height: 1.75; }

/* Facebook */
.fb-bar { background: #1877f2; padding: 20px 24px; text-align: center; }
.fb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: #1877f2;
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700;
  padding: 10px 24px; border-radius: 30px; text-decoration: none;
  transition: transform .2s; margin-top: 10px;
}
.fb-btn:hover { transform: scale(1.04); text-decoration: none; }

/* ── SEITE 2 ── */
#page2 { display: none; min-height: 100vh; }
.page2-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white; padding: 40px 24px 32px; text-align: center;
}
.page2-hero h1 { font-size: 1.8rem; }
.page2-hero p { opacity: .85; margin-top: 8px; }
.page2-form-wrap { max-width: 700px; margin: 0 auto; padding: 36px 24px 60px; }
.section-block { border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.section-block h3 {
  font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--blue-dark);
  margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid rgba(0,0,0,.07);
  display: flex; align-items: center; gap: 7px;
}
.sb-blue  { background: #eef4ff; }
.sb-green { background: #edfbf2; }
.sb-yellow{ background: #fff8e6; }
.sb-red   { background: #fff4f4; }
.sb-white { background: var(--white); }

.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.check-label {
  display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer;
  padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background .2s; background: white;
}
.check-label:hover { border-color: var(--blue); background: var(--bg); }
.check-label input { accent-color: var(--blue); width: 16px; height: 16px; }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-label {
  display: flex; align-items: center; gap: 7px; font-size: .92rem; cursor: pointer;
  padding: 9px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background .2s; background: white;
}
.radio-label:hover { border-color: var(--blue); background: var(--bg); }
.radio-label input { accent-color: var(--blue); }

/* ── DANKE ── */
#pageDanke { display: none; min-height: 100vh; background: var(--bg); }
.danke-inner { max-width: 600px; margin: auto; padding: 80px 24px; text-align: center; }
.danke-inner h1 { font-size: 2.2rem; color: var(--blue-dark); margin-bottom: 12px; }
.danke-inner p { color: var(--text-muted); font-size: 1.05rem; }

/* ── FLOATING BUTTONS – NUR MOBIL ── */
.float-btns {
  display: none; /* Standard: versteckt */
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  flex-direction: row;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 380px;
}
/* Nur auf Mobilgeräten anzeigen */
@media (max-width: 768px) {
  .float-btns { display: flex; }
}
.float-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  padding: 14px 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  color: white;
  text-align: center;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.35); text-decoration: none; color: white; }
.float-btn.wa  { background: #25d366; }
.float-btn.tel { background: var(--blue); }
.float-ico { font-size: 1.2rem; }

/* ── FOOTER ── */
footer { background: var(--black); color: rgba(255,255,255,.6); text-align: center; padding: 32px 24px; font-size: .85rem; }
footer strong { color: white; }
footer a { color: rgba(255,255,255,.5); }
footer a:hover { color: white; }
.footer-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  max-width: 900px; margin: 0 auto 20px; text-align: left;
}
.footer-col h4 { font-family: 'Oswald', sans-serif; color: var(--accent); font-size: 1rem; margin-bottom: 10px; }
.footer-col p, .footer-col a { font-size: .85rem; color: rgba(255,255,255,.6); display: block; line-height: 1.9; }

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,18,32,.97);
  color: rgba(255,255,255,.85);
  padding: 18px 28px; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 28px rgba(0,0,0,.5);
  border-top: 3px solid var(--accent);
}
#cookieBanner p { font-size: .85rem; flex: 1; min-width: 260px; }
#cookieBanner a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-ca {
  background: var(--accent); color: var(--black); font-weight: 700;
  border: none; padding: 10px 22px; border-radius: var(--radius);
  cursor: pointer; font-size: .9rem; font-family: inherit;
}
.btn-cd {
  background: transparent; color: rgba(255,255,255,.6); font-weight: 600;
  border: 1px solid rgba(255,255,255,.25); padding: 10px 22px;
  border-radius: var(--radius); cursor: pointer; font-size: .9rem; font-family: inherit;
}
.btn-ca:hover { background: var(--accent-dark); }
.btn-cd:hover { color: white; border-color: rgba(255,255,255,.5); }

/* ── IMPRESSUM / DATENSCHUTZ SEITEN ── */
.content-page { max-width: 860px; margin: 60px auto; padding: 0 24px 80px; }
.content-page h1 { font-size: 2rem; color: var(--blue-dark); margin-bottom: 28px; }
.content-page h2 { font-size: 1.3rem; color: var(--blue-dark); margin: 32px 0 10px; }
.content-page h3 { font-size: 1.1rem; color: var(--blue); margin: 20px 0 8px; }
.content-page p  { margin-bottom: 12px; line-height: 1.75; color: var(--text); }
.content-page ul { margin: 0 0 14px 20px; }
.content-page ul li { margin-bottom: 6px; line-height: 1.7; }
.content-page a  { color: var(--blue); }
.content-page .box {
  background: var(--bg2); border-left: 4px solid var(--blue);
  padding: 16px 20px; border-radius: var(--radius); margin-bottom: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .form-card { margin-bottom: 0; }
  .vorteile-grid, .schaden-grid, .stadtteile-grid, .ablauf-steps, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; height: auto; padding: 10px 0; gap: 8px; }
  .header-contacts { gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .vorteile-grid, .schaden-grid, .stadtteile-grid, .ablauf-steps, .gallery-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 16px 0; }
  /* Abstand unten für Floating Buttons auf Mobil */
  #page1 footer, #page2 .page2-form-wrap { padding-bottom: 90px; }
}
