/* ============================================================
   LANDING – Orts- und Themenseiten
   (Fahrschule Reutlingen / Pfullingen, Motorrad, Automatik, BF17)
   ============================================================ */

/* ---- Hero ---- */
.ld-hero {
  position: relative;
  padding: calc(88px + clamp(3rem, 7vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  overflow: hidden;
}
.ld-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.ld-hero-title {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 1rem 0 1.5rem;
  color: var(--ink);
}
.ld-accent { color: var(--accent); }
.ld-hero-sub {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: rgba(240,240,240,0.7);
  max-width: 520px;
  line-height: 1.65;
}
.ld-hero-sub a { color: var(--accent); font-weight: 700; }
.ld-hero-bg {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,174,98,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.ld-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-width: 280px;
  max-width: 420px;
  margin: 0;
}
.ld-fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.3rem;
  padding: 1.15rem 1.4rem;
  background: var(--bg-alt);
}
.ld-fact dt {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ld-fact dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ---- Sections ---- */
.ld-section { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--bg-alt); }
.ld-section--dark { background: var(--bg); }
.ld-h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.ld-h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
}
.ld-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.ld-prose p {
  color: rgba(240,240,240,0.72);
  line-height: 1.75;
  margin: 0 0 1rem;
  max-width: 62ch;
}
.ld-prose p:last-child { margin-bottom: 0; }
.ld-prose a, .ld-list a, .ld-table-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ld-prose strong { color: var(--ink); }

/* Karten */
.ld-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.ld-card .ld-h3:first-child { margin-top: 0; }

/* Listen */
.ld-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ld-list li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(240,240,240,0.78);
  line-height: 1.55;
}
.ld-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}
.ld-list li strong { color: var(--ink); }

/* Schritte */
.ld-steps { counter-reset: ld-step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.ld-steps li {
  counter-increment: ld-step;
  position: relative;
  padding-left: 3.4rem;
  min-height: 2.4rem;
  color: rgba(240,240,240,0.75);
  line-height: 1.6;
}
.ld-steps li::before {
  content: counter(ld-step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--bg);
  background: var(--accent);
}
.ld-steps li strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }

/* Tabellen */
.ld-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); }
.ld-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 460px; }
.ld-table caption {
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 800;
  color: var(--ink);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.ld-table th, .ld-table td { padding: 0.8rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.ld-table thead th { color: var(--accent); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.ld-table tbody th { font-weight: 600; color: rgba(240,240,240,0.78); }
.ld-table td { font-weight: 800; color: var(--ink); white-space: nowrap; }
.ld-table tbody tr:last-child th, .ld-table tbody tr:last-child td { border-bottom: 0; }
.ld-table-note { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--ink-50); line-height: 1.6; }

/* Text-Tabellen (Vergleiche) */
.ld-table--text td { white-space: normal; font-weight: 500; color: rgba(240,240,240,0.82); line-height: 1.5; }
.ld-table--text tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; }
.ld-list--cols { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ld-list--cols { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.ld-hero-title--long { font-size: clamp(2.2rem, 5.6vw, 5rem); }

/* Team-/Info-Karten */
.ld-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.ld-person {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem;
}
.ld-person strong { display: block; color: var(--ink); font-size: 1.02rem; }
.ld-person span { display: block; margin-top: 0.2rem; color: var(--ink-50); font-size: 0.85rem; line-height: 1.5; }

/* Chips (Weitere Themen) */
.ld-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.ld-chips a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.ld-chips a:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* Call to Action */
.ld-cta { background: var(--accent); padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.ld-cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--white);
}
.ld-cta-text { margin: 0 auto 2rem; max-width: 520px; color: rgba(255,255,255,0.85); font-size: 1.02rem; }
.ld-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--bg);
  background: var(--white);
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
}
.ld-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.ld-btn--dark { background: var(--bg); color: var(--ink); }
.ld-btn--dark:hover { background: var(--white); color: var(--bg); }

/* FAQ auf Landingpages */
.ld-faq { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* Grid-Kinder dürfen schmaler werden als ihr Inhalt (sonst sprengen breite Tabellen die Seite) */
.ld-cols > *, .ld-hero-inner > * { min-width: 0; }
.ld-table--text { min-width: 0; }

@media (max-width: 900px) {
  .ld-hero-inner { grid-template-columns: 1fr; }
  .ld-facts { max-width: none; }
  .ld-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ld-cta-actions .ld-btn { width: 100%; }
  .ld-table th, .ld-table td { padding: 0.7rem 0.8rem; }
  .ld-table caption { padding: 0.9rem 0.8rem; }
  .ld-table--text { font-size: 0.85rem; }
  .ld-table--text tbody th { white-space: normal; }
}
