/* =========================================================
   KFZ Haase – Braunschweig/Heidberg
   CI von kfzhaase.de übernommen:
   Blau #2A4592 / #5075BD, Gold #F4B400 / Gelb #FCE100,
   Text #353535, Schrift sans-serif (Barlow + System-Fallback)
   ========================================================= */

:root {
  --blue-900: #1d2f5e;
  --blue-700: #2a4592;   /* Logo "KFZ", Links */
  --blue-500: #5075bd;   /* Flächen */
  --blue-300: #a0baec;
  --blue-100: #e9effa;
  --gold:     #f4b400;   /* Logo "HAASE" */
  --gold-600: #d99a00;
  --yellow:   #fce100;   /* Akzent (aktive Navigation auf Altseite) */
  --ink:      #20242c;
  --text:     #353535;
  --muted:    #6b7280;
  --line:     #e4e8f0;
  --white:    #ffffff;
  --bg-soft:  #f5f7fb;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(29, 47, 94, .10);
  --shadow-lg: 0 24px 60px rgba(29, 47, 94, .18);
  --maxw: 1140px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Verdana, Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-700); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--blue-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Logo ---------- */
.logo { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.logo__tag {
  font-family: var(--font-head);
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px; padding-left: 2px;
}
.logo__mark { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; letter-spacing: -.01em; display: inline-flex; align-items: baseline; gap: .28em; }
.logo__kfz { color: var(--blue-700); font-style: italic; }
.logo__haase { color: var(--gold); }
.logo__mark--sm { font-size: 1.5rem; }
.logo__img { display: block; height: 52px; width: auto; }

/* WhatsApp-Icon in Buttons */
.ico-wa { width: 20px; height: 20px; margin-right: 9px; fill: currentColor; flex: none; }

/* Impressum – Hinweis auf vom Inhaber zu prüfende/ergänzende Angaben */
.imp-note {
  display: block; margin-top: 6px; padding: 8px 12px;
  background: #fff7e6; border-left: 3px solid var(--gold);
  color: #8a5a00; font-size: .88rem; font-style: italic; border-radius: 6px;
}

/* ---------- Standort-Hinweis ---------- */
.announce { background: var(--gold); color: #2a2200; font-size: .9rem; position: sticky; top: 0; z-index: 200; }
.announce__inner { display: flex; align-items: center; gap: 10px; padding: 9px 0; min-height: 38px; }
.announce__icon { width: 19px; height: 19px; flex: 0 0 auto; fill: #2a2200; }
.announce p { margin: 0; line-height: 1.35; }
.announce strong { font-weight: 700; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-900); color: #cdd8f0; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #e7edfb; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; fill: var(--gold); }
.topbar__item--muted { color: #9fb0d8; }
.topbar__item--right { margin-left: auto; }
.topbar__sep { color: #4960a0; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: var(--announce-h, 0px); z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: .92rem; color: var(--ink); text-decoration: none;
  padding: 10px 14px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--blue-100); color: var(--blue-700); }
.nav__cta {
  background: var(--blue-700); color: #fff !important; margin-left: 8px;
}
.nav__cta:hover { background: var(--blue-900) !important; }

.nav-toggle {
  display: none; width: 46px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--blue-700); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  transition: transform .12s ease, box-shadow .2s, background .2s; cursor: pointer; border: 0;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #2a2200; box-shadow: 0 8px 20px rgba(244,180,0,.35); }
.btn--gold:hover { background: var(--gold-600); }
.btn--blue { background: var(--blue-700); color: #fff; }
.btn--blue:hover { background: var(--blue-900); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(120deg, rgba(29,47,94,.92) 0%, rgba(42,69,146,.78) 45%, rgba(80,117,189,.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(244,180,0,.20), transparent 40%),
    linear-gradient(180deg, #2a4592, #1d2f5e);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero__content { position: relative; padding: 92px 20px 104px; max-width: 760px; }
.hero__eyebrow {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em;
  font-weight: 700; font-size: .82rem; color: var(--gold); margin: 0 0 14px;
}
.hero__title {
  font-family: var(--font-head); font-weight: 800; line-height: 1.02;
  font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 18px; letter-spacing: -.01em;
}
.hero__title span { color: var(--gold); }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #e3eafb; max-width: 600px; margin: 0 0 30px; }
.hero__pick { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--gold); margin: 0 0 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ---------- Standorte (Hero) ---------- */
.locgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loccard {
  box-sizing: border-box;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 24px 22px 26px;
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column;
}
.loccard__tag {
  display: inline-block; align-self: flex-start; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: #2a2200;
  background: var(--gold); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.loccard__name { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; margin: 0 0 4px; color: #fff; }
.loccard__addr { font-size: .95rem; color: #dfe7fa; margin: 0 0 18px; }
.loccard__addr a { color: #dfe7fa; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.loccard__addr a:hover { color: #fff; text-decoration-color: var(--gold); }
.loccard .btn { width: 100%; margin-top: auto; }
@media (max-width: 600px) { .locgrid { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  padding: 44px 20px;
}
.trust__item { text-align: left; }
.trust__item svg { width: 38px; height: 38px; fill: var(--blue-700); margin-bottom: 10px; }
.trust__item h3 { font-family: var(--font-head); font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); }
.trust__item p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__eyebrow {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em;
  font-weight: 700; font-size: .8rem; color: var(--gold-600); margin: 0 0 10px;
}
.section__title {
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 0 0 14px;
}
.section__intro { font-size: 1.08rem; color: #4b5363; margin: 0; }

/* ---------- Services grid ---------- */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.services li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 16px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  box-shadow: 0 2px 10px rgba(29,47,94,.04);
  transition: transform .12s, box-shadow .2s, border-color .2s;
}
.services li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--blue-700); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body p { margin: 0 0 16px; }
.split__media {
  min-height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
img.split__media {
  width: 100%; height: 100%; min-height: 320px;
  aspect-ratio: 1 / 1; object-fit: cover; display: block;
}
.split__media--hu {
  background:
    radial-gradient(circle at 50% 42%, #fff 0 30%, rgba(255,255,255,0) 31%),
    conic-gradient(from 0deg, #f4b400, #ffd34d, #f4b400),
    linear-gradient(135deg, var(--blue-700), var(--blue-900));
}
.split__media--hu::after {
  content: "HU · AU"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--blue-900);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.split__media--unfall {
  background:
    linear-gradient(135deg, rgba(42,69,146,.85), rgba(29,47,94,.92)),
    repeating-linear-gradient(45deg, #5075bd 0 18px, #43649e 18px 36px);
}
.split__media--unfall::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(244,180,0,.35), transparent 45%);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0 0 18px; padding: 0; }
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 10px; color: #3c434f;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue-700);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--font-head); font-size: 1.4rem; color: var(--blue-700);
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-100);
}
.card__note { color: var(--muted); font-style: italic; margin: 14px 0 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; }
.contact__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.contact__card h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); margin: 0 0 20px; }
.contact address { font-style: normal; }
.contact__row { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; }
.contact__row svg { width: 22px; height: 22px; fill: var(--blue-700); flex: none; margin-top: 2px; }
.contact__row a { color: var(--blue-700); text-decoration: none; font-weight: 600; }
.contact__row a:hover { text-decoration: underline; }
.contact__subhead {
  font-family: var(--font-head); font-size: 1.05rem; color: var(--ink);
  margin: 24px 0 10px; text-transform: uppercase; letter-spacing: .05em;
}
.hours { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; color: #4b5363; }
.hours td { text-align: right; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-consent {
  width: 100%; min-height: 380px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 32px;
  background: linear-gradient(135deg, var(--blue-100), #d8e2f5);
  color: #3c434f;
}
.map-consent__icon { width: 46px; height: 46px; fill: var(--blue-700); }
.map-consent__text { margin: 0; max-width: 420px; font-size: .95rem; }
.map-consent__text a { color: var(--blue-700); font-weight: 600; }
.map-consent__alt { margin: 4px 0 0; font-size: .85rem; }
.map-consent__alt a { color: var(--blue-700); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #c7d3ee; }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; padding: 50px 20px; flex-wrap: wrap; }
.footer__tag {
  display: block; font-family: var(--font-head);
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.footer__name {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 1.6rem; color: #fff; line-height: 1.1;
}
.footer__brand p { margin: 12px 0 0; font-size: .92rem; color: #9fb0d8; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.footer__nav a {
  color: #dbe4f7; text-decoration: none; font-family: var(--font-head);
  font-weight: 600; text-transform: uppercase; font-size: .88rem; letter-spacing: .04em;
}
.footer__nav a:hover { color: var(--gold); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar p { margin: 0; padding: 18px 0; font-size: .82rem; color: #8094c2; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .contact, .cards { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    transform: translateY(-130%); transition: transform .28s ease;
    box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 12px; border-radius: 8px; font-size: 1rem; }
  .nav a:not(:last-child) { border-bottom: 1px solid var(--bg-soft); }
  .nav__cta { margin: 12px 0 0; text-align: center; }
  .topbar__item--muted { display: none; }
  .topbar__item--right { margin-left: 0; }
  .topbar__sep { display: none; }
  .hero__content { padding: 64px 20px 72px; }
  .section { padding: 56px 0; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 440px) {
  .trust__grid, .services { grid-template-columns: 1fr; }
  .logo__mark { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
