/* Fahrschule Bommersbach – Startseite
   Farben angelehnt an die Visitenkarte (Grün / Anthrazit).
   Keine externen Schriften oder Dienste (DSGVO-freundlich). */

:root {
  --green: #4e9a35;
  --green-dark: #3d7d29;
  --green-light: #eaf4e5;
  --anthracite: #2a2b2d;
  --anthracite-2: #36383b;
  --ink: #222;
  --muted: #5f6368;
  --line: #e2e5e1;
  --bg: #ffffff;
  --bg-soft: #f5f7f4;
  --radius: 14px;
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Oswald", "Bahnschrift", "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--font-head); font-stretch: condensed; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; margin: 0 0 .5em; color: var(--anthracite); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

/* Platzhalter – vor dem Hochladen ersetzen */
.ph { background: #fff3c4; border-bottom: 2px dashed #e6a800; padding: 0 3px; border-radius: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: var(--anthracite); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-family: var(--font-head); font-stretch: condensed; font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; color: var(--green); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; }
.header-phone svg { width: 20px; height: 20px; color: var(--green); }
@media (max-width: 520px) { .brand { font-size: 1.15rem; } .header-phone span { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--outline { border: 2px solid var(--anthracite); color: var(--anthracite); }
.btn--outline:hover { background: var(--anthracite); color: #fff; }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero .eyebrow { display: inline-block; background: var(--green); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 6px; margin-bottom: 18px; }
.hero h1 span { color: var(--green); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-photo img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 20px 45px rgba(0,0,0,.18); }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
}

/* B196-Hinweisleiste unter dem Header */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: var(--green); color: #fff; text-decoration: none; text-align: center;
  padding: 12px 20px; font-size: 1.05rem;
}
.promo-bar:hover { background: var(--green-dark); }
.promo-pill { background: #ffd23f; color: var(--anthracite); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; padding: 2px 12px; border-radius: 6px; letter-spacing: .03em; }
.promo-arrow { font-weight: 700; font-size: 1.3rem; transition: transform .15s ease; }
.promo-bar:hover .promo-arrow { transform: translateX(4px); }

/* B196-Block */
.b196 { padding: 56px 0 16px; }
.b196-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-2) 100%);
  color: #e6e6e6; border-radius: 22px; padding: 48px; border-left: 10px solid var(--green);
}
.b196-box::after {
  content: "125"; position: absolute; right: -10px; bottom: -60px;
  font-family: var(--font-head); font-weight: 700; font-size: 17rem; line-height: 1;
  color: rgba(78, 154, 53, .18); pointer-events: none;
}
.b196-text { position: relative; z-index: 1; max-width: 680px; }
.b196-flag {
  display: inline-block; background: #ffd23f; color: var(--anthracite); font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; padding: 6px 14px; border-radius: 6px; margin-bottom: 18px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .6); } 50% { box-shadow: 0 0 0 10px rgba(255, 210, 63, 0); } }
@media (prefers-reduced-motion: reduce) { .b196-flag { animation: none; } }
.b196 h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.b196-code { color: var(--green); }
.b196 p { font-size: 1.1rem; color: #cfd2d4; }
.b196-facts { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.b196-facts li { border-left: 3px solid var(--green); padding-left: 14px; color: #cfd2d4; font-size: .97rem; }
.b196-facts strong { display: block; color: #fff; }
.btn--light { background: #fff; color: var(--anthracite); }
.btn--light:hover { background: #ffd23f; }
.badge--green { background: var(--green) !important; }
@media (max-width: 700px) {
  .b196-box { padding: 32px 22px; border-left-width: 6px; }
  .b196-box::after { font-size: 10rem; bottom: -36px; }
  .b196-facts { grid-template-columns: 1fr; }
  .promo-bar { font-size: .95rem; }
  .promo-arrow { display: none; }
}

/* Klassen */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.classes--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .classes { grid-template-columns: 1fr; } }
.class { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--green); }
.class .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.class .badge { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; background: var(--anthracite); color: #fff; border-radius: 8px; padding: 4px 12px; }
.class p { color: var(--muted); margin: 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Kontakt */
.contact { background: var(--anthracite); color: #e6e6e6; }
.contact h2 { color: var(--green); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { background: var(--anthracite-2); border-radius: var(--radius); padding: 26px; }
.contact-item svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 12px; }
.contact-item strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.contact-item a { color: #fff; text-decoration: none; }
.contact-item a:hover { color: var(--green); }
.contact-item .big { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; }
.contact .ph { color: var(--ink); }
.hours { margin-top: 28px; background: var(--anthracite-2); border-radius: var(--radius); padding: 22px 26px; }
.hours strong { color: #fff; }

/* Footer */
.footer { background: #1e1f21; color: #a5a8ab; font-size: .9rem; padding: 22px 0; }
.footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a { color: #e6e6e6; text-decoration: none; }
.footer a:hover { color: var(--green); }

/* Rechtstexte */
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 700; text-decoration: none; }
