/* Isuzu Bus Südwest – SP-Fahrzeuge GmbH
   Keine externen Schriften, keine Tracker. */
:root {
  --blue: #009fe3;
  --blue-dark: #0077b0;
  --blue-soft: #e6f5fc;
  --ink: #1d2226;
  --ink-2: #4a535a;
  --line: #e3e7ea;
  --bg: #ffffff;
  --bg-2: #f4f6f8;
  --anthracite: #23282c;
  --ok: #1f8a4c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 8px 24px rgba(16, 24, 32, .06);
  --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: .6rem;
}

/* Sprachumschaltung */
html[data-lang="de"] [data-l="en"],
html[data-lang="en"] [data-l="de"] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  padding: 15px 22px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--anthracite); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-wa { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa svg { color: #25d366; }
.btn-wa:hover { border-color: #25d366; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.main-nav a:hover { color: var(--blue-dark); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.lang-switch button {
  font: inherit; font-size: .82rem; font-weight: 700; border: 0; background: #fff;
  padding: 7px 10px; cursor: pointer; color: var(--ink-2);
}
.lang-switch button[aria-pressed="true"] { background: var(--anthracite); color: #fff; }
.header-call { padding: 11px 16px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 20px 56px; }
.hero h1 span.hl { color: var(--blue); }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.hero-img { position: relative; }
.hero-img img { width: 118%; max-width: none; margin-left: -4%; mix-blend-mode: multiply; }
.region-badge {
  position: absolute; left: 4%; bottom: 2%; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 16px; font-size: .9rem; line-height: 1.35;
}
.region-badge strong { display: block; color: var(--blue-dark); }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.bg-soft { background: var(--bg-2); }
.bg-dark { background: var(--anthracite); color: #fff; }
.bg-dark .muted { color: #b9c1c7; }
.bg-dark .eyebrow { color: #6fd0f7; }

/* Modelle */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.model-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd6db; }
.model-card .img { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: #fff; padding: 10px 14px 0; }
.model-card .img img { max-height: 100%; width: auto; object-fit: contain; }
.model-card .body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--blue-soft); color: var(--blue-dark); padding: 4px 9px; border-radius: 6px; margin-bottom: 10px;
}
.tag.ev { background: #e7f6ec; color: var(--ok); }
.model-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.model-card .facts { list-style: none; padding: 0; margin: 6px 0 16px; color: var(--ink-2); font-size: .95rem; }
.model-card .facts li { padding: 3px 0; display: flex; gap: 8px; }
.model-card .facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: .62em; flex: none; }
.model-card .more { margin-top: auto; font-weight: 650; color: var(--blue-dark); display: flex; align-items: center; gap: 6px; }
.model-card .more svg { width: 18px; height: 18px; transition: transform .15s; }
.model-card:hover .more svg { transform: translateX(3px); }
.placeholder-bus { width: 78%; color: #c9d1d6; }

/* Vorteile */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Zielgruppen */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use { border-top: 3px solid var(--blue); padding-top: 16px; }
.use h3 { color: #fff; }

/* Ansprechpartner + Formular */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.person { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid #fff; box-shadow: var(--shadow); }
.person .name { font-size: 1.35rem; font-weight: 720; margin: 0; }
.person .role { color: var(--ink-2); margin: 2px 0 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue-dark); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.field .req { color: var(--blue-dark); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #cfd6db;
  border-radius: 9px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,159,227,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin: 4px 0 18px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-2); margin: 12px 0 0; }
.form-msg { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 9px; font-size: .95rem; }
.form-msg.ok { display: block; background: #e7f6ec; color: #135c32; }
.form-msg.err { display: block; background: #fdecec; color: #8a1f1f; }

/* Modellseite */
.crumbs { font-size: .9rem; color: var(--ink-2); padding: 18px 0 0; }
.crumbs a { color: var(--ink-2); }
.model-hero { padding: 26px 0 40px; }
.model-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 26px; }
.keyfact { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; }
.keyfact .v { font-size: 1.3rem; font-weight: 750; line-height: 1.15; }
.keyfact .k { font-size: .85rem; color: var(--ink-2); }
.gallery-main { background: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; }
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.thumbs button { border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 4px; width: 104px; height: 66px; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.price { font-weight: 700; color: var(--ink-2); margin-bottom: 16px; }

.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; }
.highlights svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.variants { display: grid; gap: 12px; margin-top: 8px; }
.variant { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.variant strong { display: block; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--ink-2); }
.spec-group td { background: var(--bg-2); font-weight: 700; color: var(--ink); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.spec-note { font-size: .85rem; color: var(--ink-2); margin-top: 14px; }
details.specs { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
details.specs summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.specs summary::-webkit-details-marker { display: none; }
details.specs summary svg { width: 22px; height: 22px; transition: transform .2s; }
details.specs[open] summary svg { transform: rotate(180deg); }
details.specs .inner { padding: 0 8px 14px; overflow-x: auto; }

.notice { background: var(--blue-soft); border-radius: 12px; padding: 18px 20px; color: #0b4f73; }

/* Legal */
.legal { padding: 50px 0 80px; max-width: 820px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.draft-flag { background: #fff6e0; color: #7a5300; border-radius: 10px; padding: 12px 16px; font-size: .92rem; margin-bottom: 24px; }

/* Footer */
.site-footer { background: #15191c; color: #c6ced4; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e8edf0; text-decoration: none; }
.site-footer a:hover { color: #6fd0f7; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 3px 0; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.footer-logo img { height: 32px; width: auto; }
.footer-bottom { border-top: 1px solid #2c3337; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #8e979d; }

/* Mobile Aktionsleiste */
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .header-call { display: none; }
  .hero-inner, .model-hero-grid, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 20px 36px; gap: 18px; }
  .hero-img img { width: 100%; margin: 0; }
  .model-grid, .benefits, .uses { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .main-nav.open { top: 64px; }
  .logo img { height: 30px; }
  .model-grid, .benefits, .uses, .row-2, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .region-badge { position: static; margin-top: 8px; display: inline-block; }
  .person img { width: 96px; height: 96px; }
  .form-card { padding: 22px 18px; }
  .thumbs button { width: 30%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; 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,.06);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px;
    font-size: .78rem; font-weight: 650; color: var(--ink); text-decoration: none;
  }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a.call svg { color: var(--blue); }
  .mobile-bar a.wa svg { color: #25d366; }
  .mobile-bar a.req { background: var(--blue); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Korrekturen */
.two-col > *, .model-hero-grid > *, .contact-grid > *, .hero-inner > * { min-width: 0; }
.spec-table td { overflow-wrap: anywhere; }
.model-card .img { height: 210px; aspect-ratio: auto; }
.model-card .img img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .spec-table th, .spec-table td { display: block; width: auto; padding: 4px 12px; border: 0; }
  .spec-table td { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .spec-table tr.spec-group td { padding: 10px 12px; }
  .model-card .img { height: 190px; }
}
.region-badge { display: flex; gap: 10px; align-items: flex-start; }
.region-badge > svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.thumbs { flex-wrap: wrap; }
@media (max-width: 640px) { .thumbs button { width: calc((100% - 20px) / 3); } }

/* Galerie-Pfeile */
.gallery-main { position: relative; overflow: hidden; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(35, 40, 44, .28); color: #fff;
  transition: background .15s, opacity .15s;
}
.gal-nav svg { width: 24px; height: 24px; }
.gal-nav:hover, .gal-nav:focus-visible { background: rgba(35, 40, 44, .6); outline: none; }
.gal-nav:focus-visible { box-shadow: 0 0 0 3px rgba(0, 159, 227, .5); }
.gal-nav.prev { left: 10px; }
.gal-nav.next { right: 10px; }
.gal-count {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  background: rgba(35, 40, 44, .45); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) { .gal-nav { width: 40px; height: 40px; } .gal-nav.prev { left: 6px; } .gal-nav.next { right: 6px; } }
