/* ==========================================================================
   Korzec Engineering – GTÜ-Prüfstelle Witten
   Handgeschriebenes Stylesheet (kein Framework, kein Build-Schritt).
   Farben zentral als CSS-Variablen — zum Umfärben nur hier ändern.
   ========================================================================== */

:root {
  --red: #e30613;
  --red-dark: #b30410;
  --yellow: #ffd500;
  --ink: #14181f;
  --gray: #5b6470;
  --mist: #f4f6f8;
  --white: #ffffff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 72rem;      /* 1152px content width */
  --radius: 0.75rem;
  --header-h: 4.5rem;
}

/* --- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }

/* Section anchor offset so headings clear the sticky header. */
section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }

.eyebrow {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.h2 { font-size: 1.875rem; font-weight: 800; margin-top: 0.5rem; }
@media (min-width: 640px) { .h2 { font-size: 2.25rem; } }
.lead { color: var(--gray); margin-top: 1rem; max-width: 42rem; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); font-weight: 800; }
.btn-yellow:hover { transform: scale(1.02); }
.btn-ghost { border-color: rgb(255 255 255 / 0.7); color: var(--white); background: rgb(255 255 255 / 0.05); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

/* --- Header -------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Grauton aus dem GTÜ-Logo (#f7f7f7) – das Logo fügt sich nahtlos ein. */
  background: rgb(247 247 247 / 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e6e6;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2.75rem; width: auto; }
.brand__text { border-left: 1px solid var(--mist); padding-left: 0.75rem; line-height: 1.2; }
.brand__text--solo { border-left: 0; padding-left: 0; }
.header__partner { display: none; align-items: center; margin-left: 1rem; }
.header__partner img { height: 2.9rem; width: auto; }
@media (min-width: 1024px) { .header__partner { display: flex; } }
.brand__name {
  display: block; font-size: 1.15rem; letter-spacing: 0.01em;
  /* "Bookman Old Style" (nicht fett); Fallbacks für Geräte ohne die Schrift. */
  font-family: "Bookman Old Style", "URW Bookman", Bookman, "Georgia", serif;
  font-weight: 400;
}
.brand__name--accent { color: var(--red); }
.brand__sub { display: block; font-size: 0.75rem; color: var(--gray); }

.nav { display: none; align-items: center; gap: 1.5rem; }
.nav a { font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.badge-pill {
  display: none;
  border: 1px solid rgb(227 6 19 / 0.3);
  background: rgb(227 6 19 / 0.05);
  color: var(--red);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.header .btn { padding: 0.5rem 0.85rem; font-size: 0.875rem; }
.call-label-full { display: none; }

/* Mobile menu */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--mist);
  border-radius: 0.5rem;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-mobile {
  display: none;
  border-bottom: 1px solid var(--mist);
  background: var(--white);
  padding: 0.5rem 1rem 0.75rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 0.6rem 0.75rem; border-radius: 0.5rem; font-weight: 500; }
.nav-mobile a:hover { background: var(--mist); }

@media (min-width: 640px) {
  .badge-pill { display: inline-block; }
  .call-label-full { display: inline; }
  .call-label-short { display: none; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  /* Mobile default: near-solid so the full-width text stays readable. */
  background: rgb(20 24 31 / 0.82);
}
/* Desktop: darken the RIGHT (text side), leave the LEFT (hall) visible. */
@media (min-width: 1024px) {
  .hero__overlay {
    background: linear-gradient(to left, rgb(20 24 31 / 0.94), rgb(20 24 31 / 0.78) 50%, rgb(20 24 31 / 0.15));
  }
}
.hero__inner { position: relative; padding-block: 5rem; }
@media (min-width: 640px) { .hero__inner { padding-block: 7rem; } }
@media (min-width: 1024px) { .hero__inner { padding-block: 8rem; } }
.hero__content { max-width: 40rem; }
/* Push the hero text block to the right on desktop. */
@media (min-width: 1024px) { .hero__content { margin-left: auto; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); border-radius: 999px;
  padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem;
}
.hero h1 { font-size: 2.25rem; font-weight: 900; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero__sub { margin-top: 1.25rem; font-size: 1.125rem; color: rgb(255 255 255 / 0.85); }
@media (min-width: 640px) { .hero__sub { font-size: 1.25rem; } }
.hero__ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }
.hero__meta { margin-top: 1.5rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.7); }
.hero__reviews {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.85rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.85rem; font-weight: 600; color: #fff; transition: background-color 0.15s;
}
.hero__reviews:hover { background: rgb(255 255 255 / 0.2); }
.hero__reviews-stars { color: var(--yellow); letter-spacing: 0.1em; }

/* --- Services ------------------------------------------------------------ */
.grid-3 { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--mist); border-radius: var(--radius);
  background: var(--white); padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.card__head { display: flex; align-items: flex-start; gap: 0.75rem; }
.card__icon {
  flex: 0 0 auto; width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgb(227 6 19 / 0.1); border-radius: 0.5rem; font-size: 1.5rem;
}
.card__title { font-size: 1rem; font-weight: 700; }
.svc-list { list-style: none; padding: 0; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; }
.svc-list li { display: flex; gap: 0.625rem; font-size: 0.875rem; color: var(--gray); }
.svc-list svg { flex: 0 0 auto; width: 1rem; height: 1rem; fill: var(--red); margin-top: 0.15rem; }
.svc-asterisk { color: var(--red); font-weight: 700; margin-left: 0.15rem; }
.svc-note { margin-top: 1rem; color: var(--red); font-weight: 700; font-size: 0.8rem; }

.tesla-teaser {
  margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start; justify-content: space-between;
  border: 2px dashed rgb(227 6 19 / 0.4); background: rgb(227 6 19 / 0.05);
  border-radius: var(--radius); padding: 1.5rem; transition: background-color 0.15s;
}
.tesla-teaser:hover { background: rgb(227 6 19 / 0.1); }
.tesla-teaser__link { color: var(--red); font-weight: 700; font-size: 0.875rem; flex: 0 0 auto; }
@media (min-width: 640px) { .tesla-teaser { flex-direction: row; align-items: center; } }

/* --- Tesla highlight ----------------------------------------------------- */
.tesla { background: var(--ink); color: var(--white); }
.tesla__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .tesla__grid { grid-template-columns: 1fr 1fr; } }
.tag-yellow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yellow); color: var(--ink); border-radius: 999px;
  padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 700;
}
.benefits { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.benefits li { display: flex; gap: 0.75rem; }
.benefits__check {
  flex: 0 0 auto; width: 1.5rem; height: 1.5rem; margin-top: 0.15rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--ink); border-radius: 999px;
  font-size: 0.8rem; font-weight: 800;
}
.benefits b { display: block; }
.benefits span { font-size: 0.875rem; color: rgb(255 255 255 / 0.75); }
.tesla__img { border-radius: 1rem; border: 1px solid rgb(255 255 255 / 0.1); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.4); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tesla__media { display: flex; flex-direction: column; }
.tesla__more { margin-top: 1.25rem; text-align: center; }
.tesla__more-label { font-size: 0.95rem; font-weight: 700; color: #fff; }
.tesla__more-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem;
  padding: 0.6rem 1.1rem; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 0.5rem;
  font-weight: 700; font-size: 0.9rem; color: #fff; transition: background-color 0.15s, color 0.15s;
}
.tesla__more-link:hover { background: #fff; color: var(--ink); }
/* TFF forum link as a carbon-fibre card. */
.tff-card {
  display: block; max-width: 46rem; margin: 2.5rem auto 0;
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 1rem;
  transition: border-color 0.15s, transform 0.15s;
  background-color: #131313;
  background-image:
    linear-gradient(27deg, #151515 5px, transparent 5px),
    linear-gradient(207deg, #151515 5px, transparent 5px),
    linear-gradient(27deg, #222 5px, transparent 5px),
    linear-gradient(207deg, #222 5px, transparent 5px),
    linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
    linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  background-size: 20px 20px;
  background-position: 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0;
}
.tff-card:hover { border-color: rgb(255 255 255 / 0.3); transform: translateY(-2px); }
.tff-card__badge { width: 6.5rem; height: 6.5rem; display: block; margin: 0 auto 1.25rem; background: #fff; border-radius: 50%; padding: 0.35rem; box-shadow: 0 6px 18px rgb(0 0 0 / 0.4); }
.tff-card__label { color: rgb(255 255 255 / 0.85); font-weight: 700; font-size: 0.95rem; }
.tff-card__logo { height: 3rem; width: auto; margin: 1rem auto 0.75rem; }
.tff-card__cta { color: rgb(255 255 255 / 0.75); font-size: 0.85rem; font-weight: 600; }

/* Tesla two-column services (EoW | Akku), photo on top of each card. */
.tesla2 { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .tesla2 { grid-template-columns: 1fr 1fr; } }
.tesla2__card {
  display: flex; flex-direction: column;
  background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1rem; padding: 1.25rem;
}
.tesla2__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0.75rem; }
/* Wide data infographic (Akku report): show it fully, not cropped. */
.tesla2__report { width: 100%; height: auto; border-radius: 0.75rem; display: block; }
.tesla2__photo--ph {
  display: flex; align-items: center; justify-content: center;
  background: rgb(255 255 255 / 0.05); border: 1px dashed rgb(255 255 255 / 0.25);
  color: rgb(255 255 255 / 0.5); font-weight: 700; font-size: 0.9rem;
}
.tesla2__title { margin-top: 1.1rem; font-size: 1.35rem; font-weight: 800; color: #fff; }
.tesla2__lead { margin-top: 0.6rem; color: rgb(255 255 255 / 0.8); font-size: 0.95rem; }
.tesla2__card .benefits { margin-top: 1.1rem; margin-bottom: 1.25rem; }
.tesla2__card .btn { margin-top: auto; align-self: flex-start; }
.tesla h2 { font-size: 1.875rem; font-weight: 900; margin-top: 1rem; }
@media (min-width: 640px) { .tesla h2 { font-size: 2.25rem; } }
.tesla__lead { margin-top: 1rem; font-size: 1.125rem; color: rgb(255 255 255 / 0.85); }

/* --- Steps --------------------------------------------------------------- */
.steps-section { background: var(--mist); }
.center { text-align: center; margin-inline: auto; max-width: 42rem; }
.steps { list-style: none; padding: 0; margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__num {
  width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15);
}
.step h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; }
.step p { margin-top: 0.5rem; max-width: 20rem; font-size: 0.875rem; color: var(--gray); }

/* --- About / Prüfer ------------------------------------------------------ */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1fr; } }
.about__media img { width: 100%; border-radius: 1rem; object-fit: cover; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.15); }
.about__ph {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5;
  background: var(--mist); border: 1px dashed #cfd5da; border-radius: 1rem;
  color: var(--gray); font-weight: 700;
}
.about__role { color: var(--red); font-weight: 700; margin-top: 0.35rem; }
.about__body { margin-top: 1rem; color: var(--gray); white-space: pre-line; line-height: 1.7; }
.about__quals { list-style: none; padding: 0; margin-top: 1.35rem; display: flex; flex-direction: column; gap: 0.7rem; }
.about__quals li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.about__quals svg { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; fill: var(--red); margin-top: 0.2rem; }

/* --- Impressionen (Bild-Karussell) -------------------------------------- */
.gallery { margin-top: 2rem; }
.gallery__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.gallery__head h3 { font-size: 1.15rem; font-weight: 800; }
.gallery__nav { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.gallery__btn {
  width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid #dcdfe3;
  background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.gallery__btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.gallery__track {
  display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 0.6rem; -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { height: 8px; }
.gallery__track::-webkit-scrollbar-thumb { background: #cfd5da; border-radius: 4px; }
.gallery__img {
  height: 14rem; width: auto; flex: 0 0 auto; border-radius: 0.75rem;
  object-fit: cover; scroll-snap-align: start; background: var(--mist);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}
@media (min-width: 640px) { .gallery__img { height: 16rem; } }

/* --- Location & hours ---------------------------------------------------- */
.loc-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .loc-grid { grid-template-columns: 1fr 1fr; } }
.panel { border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; }
.panel h3 { font-size: 1.125rem; font-weight: 700; }
.hours { margin-top: 1rem; }
.hours__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.625rem; border-top: 1px solid var(--mist); }
.hours__row:first-child { border-top: 0; }
.hours__row dt { font-weight: 500; }
.hours__note { display: block; font-size: 0.75rem; font-weight: 400; color: var(--gray); }
.hours__row dd { color: var(--gray); white-space: nowrap; }
.notice { margin-top: 1rem; background: rgb(227 6 19 / 0.05); color: var(--red); font-weight: 600; font-size: 0.875rem; border-radius: 0.5rem; padding: 0.75rem 1rem; }
address { font-style: normal; color: var(--gray); margin-top: 0.75rem; }
address .name { display: block; font-weight: 600; color: var(--ink); }
.addr-links { margin-top: 0.75rem; }
.addr-links a { display: block; padding-block: 0.1rem; }
.addr-links a:hover { color: var(--red); }
.addr-btns { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .addr-btns { flex-direction: row; } }
.addr-btns .btn { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* Map + consent (click to load) */
.map-wrap { overflow: hidden; border: 1px solid var(--mist); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.map-box { position: relative; height: 280px; }
@media (min-width: 640px) { .map-box { height: 420px; } }
/* Fixed height on desktop: percentage heights collapse here (parent height
   depends on this box) and the Google iframe would only paint partially. */
@media (min-width: 1024px) { .map-box { height: 560px; } }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-consent {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; background: var(--mist); padding: 1.5rem; text-align: center;
}
.map-consent svg { width: 2.5rem; height: 2.5rem; fill: var(--red); }
.map-consent p { max-width: 24rem; font-size: 0.875rem; color: var(--gray); }
.map-consent a { text-decoration: underline; }
.map-consent a:hover { color: var(--red); }
.map-open { margin-top: 0.5rem; text-align: center; font-size: 0.75rem; color: var(--gray); }
.map-open a { text-decoration: underline; }
.map-open a:hover { color: var(--red); }

/* --- Closing CTA --------------------------------------------------------- */
.cta { background: var(--red); color: var(--white); text-align: center; }
.cta h2 { font-size: 1.875rem; font-weight: 900; }
@media (min-width: 640px) { .cta h2 { font-size: 2.25rem; } }
.cta p { margin-top: 1rem; margin-inline: auto; max-width: 42rem; font-size: 1.125rem; color: rgb(255 255 255 / 0.9); }
.cta__btns { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .cta__btns { flex-direction: row; } }
.cta .btn-white { background: var(--white); color: var(--red); font-weight: 800; }
.cta .btn-white:hover { transform: scale(1.02); }
.cta .btn-outline-white { border-color: var(--white); color: var(--white); }
.cta .btn-outline-white:hover { background: var(--white); color: var(--red); }

/* --- Footer -------------------------------------------------------------- */
.footer { background: var(--ink); color: rgb(255 255 255 / 0.8); padding-block: 3rem; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__tag { font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__brand img { width: 100%; max-width: 17rem; height: auto; background: var(--white); border-radius: 0.5rem; padding: 0.55rem 0.7rem; }
.footer h3 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); }
.footer p, .footer li { font-size: 0.875rem; margin-top: 0.25rem; }
.footer a:hover { color: var(--yellow); }
.footer ul { list-style: none; padding: 0; }
.footer__bottom { margin-top: 2.5rem; border-top: 1px solid rgb(255 255 255 / 0.1); padding-top: 1.5rem; text-align: center; font-size: 0.75rem; color: rgb(255 255 255 / 0.5); }

/* --- Legal / simple pages ------------------------------------------------ */
.prose { max-width: 48rem; margin-inline: auto; }
.prose h1 { font-size: 1.875rem; font-weight: 900; }
@media (min-width: 640px) { .prose h1 { font-size: 2.25rem; } }
.prose h2 { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.prose section { margin-top: 2rem; }
.prose p { color: var(--gray); margin-top: 0.75rem; }
.prose a { color: var(--red); }
.prose a:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--mist); font-size: 0.875rem; color: var(--red); }
.back-link:hover { text-decoration: underline; }
mark { background: var(--yellow); color: var(--ink); font-weight: 700; padding: 0.05em 0.35em; border-radius: 0.25rem; font-size: 0.85em; }

/* --- FAQ accordion ------------------------------------------------------- */
.faq-list { max-width: 48rem; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--mist); border-radius: 0.75rem; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.04); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 800; font-size: 1.2rem; color: var(--ink);
}
@media (min-width: 640px) { .faq-item summary { font-size: 1.3rem; } }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 0.6rem; height: 0.6rem; margin-right: 0.25rem;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--red); }
.faq-answer { padding: 0 1.35rem 1.3rem; color: var(--gray); line-height: 1.6; }
.faq-answer .answer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.faq-answer .answer-list li { position: relative; padding-left: 1.35rem; }
.faq-answer .answer-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.62em;
  width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--red);
}
.faq-answer .answer-sub { display: block; padding-left: 0; margin-top: 0.1rem; font-variant-numeric: tabular-nums; }
.faq-answer a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq-answer a:hover { color: var(--red-dark); }

/* ==========================================================================
   Scroll reveal — elements fade + slide up as they enter the viewport.
   Only active when <html> has .js-anim (set in <head> when supported and the
   visitor has NOT requested reduced motion). Without it, everything is fully
   visible, so the effect degrades safely.
   ========================================================================== */
html.js-anim :is(
  .eyebrow, .h2, .lead,
  .card, .tesla-teaser, .tesla__media,
  .tag-yellow, .tesla h2, .tesla__lead, .benefits,
  .step, .panel, .map-wrap, .faq-item, .tesla2__card,
  .cta h2, .cta p, .cta__btns
) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
html.js-anim :is(
  .eyebrow, .h2, .lead,
  .card, .tesla-teaser, .tesla__media,
  .tag-yellow, .tesla h2, .tesla__lead, .benefits,
  .step, .panel, .map-wrap, .faq-item, .tesla2__card,
  .cta h2, .cta p, .cta__btns
).in-view {
  opacity: 1;
  transform: none;
}

/* --- 404 ----------------------------------------------------------------- */
.notfound { text-align: center; padding-block: 6rem; max-width: 48rem; margin-inline: auto; }
.notfound .code { font-size: 4rem; font-weight: 900; color: var(--red); }
.notfound h1 { font-size: 1.5rem; font-weight: 900; margin-top: 1rem; }
@media (min-width: 640px) { .notfound h1 { font-size: 1.875rem; } }
.notfound p { color: var(--gray); margin-top: 1rem; }
.notfound .btns { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
@media (min-width: 640px) { .notfound .btns { flex-direction: row; justify-content: center; } }

/* --- Gutachten-Banner (Kfz-Sachverständigenbüro) ------------------------- */
.gutachten { padding-block: 2.5rem; }
.gutachten__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center;
  background: var(--mist); border: 1px solid var(--gray); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.75rem 1.9rem;
  box-shadow: 0 1px 2px rgb(20 24 31 / 0.06);
}
.gutachten__card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red);
}
@media (min-width: 820px) {
  .gutachten__card { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; padding: 2.25rem 2.5rem 2.25rem 2.9rem; }
}
.gutachten__eyebrow { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; }
.gutachten__brand { font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; font-size: 2.4rem; line-height: 1; color: var(--ink); margin-top: 0.15rem; }
.gutachten__rule { display: block; width: 3rem; height: 3px; background: var(--red); border-radius: 2px; margin: 1rem 0; }
.gutachten__lead { font-size: 1.4rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.gutachten__features { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; color: var(--gray); }
.gutachten__features li { font-weight: 600; }
.gutachten__features .tick { color: var(--red); font-weight: 900; margin-right: 0.25rem; }
.gutachten__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.gutachten__mail { color: var(--gray); font-weight: 600; }
.gutachten__mail:hover { color: var(--red); }
.gutachten__badge { margin: 0; text-align: center; }
.gutachten__badge img { width: 100%; max-width: 22rem; height: auto; border-radius: 0.75rem; display: block; margin: 0 auto; }
.gutachten__badge figcaption { margin-top: 0.75rem; }
.gutachten__name { display: block; font-weight: 800; color: var(--ink); }
.gutachten__role { display: block; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--gray); margin-top: 0.1rem; }

/* --- Consent / Cookie-Hinweis (Google Maps) ------------------------------ */
.consent[hidden] { display: none; }
.consent {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.consent__backdrop { position: absolute; inset: 0; background: rgb(20 24 31 / 0.55); }
.consent__card {
  position: relative;
  max-width: 30rem; width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgb(20 24 31 / 0.35);
}
.consent__title { font-size: 1.15rem; font-weight: 900; }
.consent__text { color: var(--gray); font-size: .9rem; line-height: 1.55; margin-top: .6rem; }
.consent__text a { color: var(--red); }
.consent__remember { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .85rem; color: var(--gray); }
.consent__btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: 1.2rem; }
