/* Jäkel KFZ-Meisterbetrieb – Entwurf V2 */
:root {
  --bg: #191b20;
  --bg-deep: #121419;
  --bg-soft: #20232a;
  --panel: #252932;
  --panel-light: #2c3039;
  --text: #f7f7f8;
  --muted: #bfc3ca;
  --red: #ef1328;
  --red-2: #ff3143;
  --line: rgba(255,255,255,.11);
  --shadow: 0 18px 50px rgba(0,0,0,.24);
  --max: 1200px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.58;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25,27,32,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  width: 230px;
  height: 74px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-item { position: relative; }
.nav-main,
.main-nav > a:not(.nav-cta) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: #e3e5e8;
  font-size: .94rem;
  font-weight: 650;
}
.nav-main:hover { color: white; }
.chevron {
  font-size: .84rem;
  margin-left: 6px;
  opacity: .72;
  transition: transform .18s ease;
}
.has-menu:hover .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 300px;
  padding: 10px;
  background: #24272e;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .17s ease;
}
.has-menu:hover > .dropdown,
.has-menu.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown.mega {
  width: 670px;
  left: 50%;
  transform: translate(-35%, 8px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.has-menu:hover > .dropdown.mega,
.has-menu.open > .dropdown.mega {
  transform: translate(-35%, 0);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 13px;
  border-radius: 10px;
}
.dropdown a:hover { background: rgba(255,255,255,.055); }
.dropdown strong {
  font-size: .9rem;
  color: white;
}
.dropdown span {
  font-size: .76rem;
  color: #aeb2b9;
}

.nav-cta {
  margin-left: 8px;
  padding: 11px 17px;
  border-radius: 11px;
  background: var(--red);
  color: white;
  font-size: .9rem;
  font-weight: 800;
}
.nav-cta:hover { background: var(--red-2); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.65rem;
  cursor: pointer;
}

.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 76% 25%, rgba(239,19,40,.12), transparent 28%),
    linear-gradient(125deg, #1c1f25 0%, #242830 58%, #1b1d22 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 58px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #ff5262;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .17em;
}
h1,h2,h3 { line-height: 1.12; letter-spacing: -.025em; margin-top: 0; }
h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 4.5vw, 4.5rem);
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(2.15rem, 3.5vw, 3.55rem);
  margin-bottom: 18px;
}
h3 { font-size: 1.4rem; }
p { color: var(--muted); }
.hero-text {
  max-width: 670px;
  font-size: 1.11rem;
  margin-bottom: 30px;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  min-height: 49px;
  padding: 0 21px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-2); }
.btn-light {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.18);
}
.full { width: 100%; }

.hero-facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 750px;
  gap: 10px;
}
.hero-facts div {
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: rgba(255,255,255,.025);
}
.hero-facts strong,
.hero-facts span { display: block; }
.hero-facts strong { font-size: .88rem; }
.hero-facts span { font-size: .74rem; color: #aeb2b9; margin-top: 2px; }

.hero-photo {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(239,19,40,.08)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 18px, transparent 18px 36px),
    #23262d;
  box-shadow: var(--shadow);
}
.hero-photo::before {
  content: "WERKSTATT";
  position: absolute;
  right: -15px;
  top: 36px;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: rgba(255,255,255,.035);
  letter-spacing: -.06em;
}
.photo-overlay {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  padding: 17px 18px;
  border-radius: 13px;
  background: rgba(19,21,26,.84);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.photo-overlay span,
.photo-overlay small { display: block; }
.photo-overlay span { font-weight: 800; }
.photo-overlay small { color: #aeb2b9; margin-top: 2px; }

.info-strip {
  background: #15171c;
  border-bottom: 1px solid var(--line);
}
.info-strip-grid {
  display: grid;
  grid-template-columns: .82fr 1fr 1.45fr;
}
.info-strip-grid > * {
  padding: 21px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.info-strip-grid > *:last-child { border-right: 0; }
.info-strip span { color: #9fa3aa; font-size: .78rem; }
.info-strip strong { font-size: .96rem; }

.reviews-highlight { padding: 34px 0 0; }
.reviews-card {
  min-height: 125px;
  display: grid;
  grid-template-columns: auto 210px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 18px;
  background: #252932;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
}
.rating-big {
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 900;
}
.stars {
  color: #ffd65a;
  letter-spacing: .05em;
  font-size: 1.08rem;
}
.rating-copy strong,
.rating-copy span { display: block; }
.rating-copy span { color: #aeb2b9; font-size: .78rem; }
.reviews-card p { margin: 0; font-size: .92rem; }

.section { padding: 100px 0; }
.section-alt { background: #21242b; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading p { font-size: 1.03rem; }


/* --- Leistungen V3: Bildraster + aufklappende Detailfläche --- */
.services-section {
  background: #1b1e24;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.service-tile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: #262a32;
  box-shadow: 0 12px 34px rgba(0,0,0,.14);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  scroll-margin-top: 104px;
}

.service-tile:not([open]):hover {
  transform: translateY(-4px);
  border-color: rgba(239,19,40,.42);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}

.service-tile summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.service-tile summary::-webkit-details-marker {
  display: none;
}

.service-image {
  height: 205px;
  overflow: hidden;
  background: #1b1e24;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .25s ease;
  filter: saturate(.86) contrast(1.02) brightness(.9);
}

.service-tile:not([open]):hover .service-image img {
  transform: scale(1.035);
  filter: saturate(.98) contrast(1.03) brightness(.95);
}

.service-card-body {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  padding: 21px 22px 20px;
}

.service-card-body .service-number {
  color: #ff5d6b;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  margin-bottom: 10px;
}

.service-card-body h3 {
  margin-bottom: 9px;
  font-size: 1.28rem;
}

.service-card-body p {
  margin: 0 0 20px;
  font-size: .91rem;
  line-height: 1.55;
}

.service-toggle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.service-toggle::before {
  content: "Mehr erfahren";
}

.service-toggle::after {
  content: " +";
  margin-left: 5px;
  color: #ff5d6b;
  font-size: 1rem;
}

.service-tile[open] {
  grid-column: 1 / -1;
  border-color: rgba(239,19,40,.42);
  background: #272b33;
  box-shadow: 0 22px 54px rgba(0,0,0,.23);
}

/* Die kleine Kartenansicht verschwindet im aufgeklappten Zustand.
   Dadurch wirkt die Detailansicht wie ein eigenes Fenster im Raster. */
.service-tile[open] > summary {
  display: none;
}

.expanded-service {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) 1.12fr;
  min-height: 440px;
}

.expanded-image {
  min-height: 440px;
  overflow: hidden;
  background: #181b20;
}

.expanded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02) brightness(.9);
}

.expanded-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
}

.expanded-copy h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 17px;
}

.expanded-copy p {
  max-width: 700px;
  margin: 0 0 13px;
}

.expanded-copy .btn {
  align-self: flex-start;
  margin-top: 13px;
}

.less-button {
  align-self: flex-start;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9dce1;
  font-weight: 750;
  font-size: .84rem;
  cursor: pointer;
}

.less-button:hover {
  color: #fff;
}

.less-button::after {
  content: " –";
  color: #ff5d6b;
  margin-left: 4px;
}

.service-special {
  border-color: rgba(239,19,40,.24);
}


.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
}
.mini-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.mini-facts div {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  padding: 15px;
}
.mini-facts strong,
.mini-facts span { display: block; }
.mini-facts span { color: #adb1b8; font-size: .75rem; margin-top: 3px; }

.photo-placeholder,
.map-placeholder {
  min-height: 390px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 36px;
  border-radius: 23px;
  border: 1px dashed rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 70% 25%, rgba(239,19,40,.12), transparent 27%),
    #282c34;
}
.photo-placeholder strong,
.map-placeholder strong {
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.photo-placeholder span,
.map-placeholder span,
.map-placeholder small {
  max-width: 520px;
  color: #aeb2b9;
}
.map-placeholder small { margin-top: 12px; font-size: .76rem; }

.inspection-section {
  background: #181a1f;
}
.inspection-box {
  padding: 38px;
  border-radius: 23px;
  background: linear-gradient(145deg, #2b2f38, #24272e);
  border: 1px solid rgba(239,19,40,.32);
  box-shadow: var(--shadow);
}
.inspection-kicker {
  display: inline-flex;
  padding: 7px 10px;
  background: rgba(239,19,40,.11);
  color: #ff6875;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.inspection-box h3 { font-size: 2.25rem; margin: 18px 0 11px; }
.inspection-points { display: grid; gap: 8px; margin-top: 21px; }
.inspection-points span { color: #e4e6e9; }

.gallery-section { background: #22252c; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}
.gallery-placeholder {
  min-height: 300px;
  border-radius: 19px;
  border: 1px dashed rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: #c8cbd1;
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(239,19,40,.06)),
    #292d35;
}

.form-section { background: #1b1d22; }
.form-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.direct-contact {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}
.direct-contact a {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
}
.direct-contact span { color: #9fa3aa; font-size: .76rem; }
.direct-contact strong { font-size: .92rem; word-break: break-word; }

.contact-form {
  padding: 31px;
  border-radius: 22px;
  background: #272b33;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  margin-bottom: 15px;
  font-size: .84rem;
  font-weight: 750;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
input, textarea, select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: white;
  background: #1a1d22;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  outline: 0;
}
input:focus, textarea:focus, select:focus { border-color: var(--red); }
textarea { resize: vertical; }
.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #b1b5bc;
  font-weight: 500 !important;
}
.checkbox input { width: auto; margin-top: 4px; }
.form-note { font-size: .76rem; margin-bottom: 0; }

.contact-section { background: #20232a; }
.contact-grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 56px;
}
.contact-data { margin: 26px 0; }
.contact-data p {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-data span { color: #9fa3aa; }
.contact-data strong { color: white; word-break: break-word; }

.opening-hours {
  margin-top: 30px;
  padding: 22px;
  border-radius: 15px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.opening-hours h3 { margin-bottom: 14px; }
.opening-hours div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  color: #c8cbd1;
}
.opening-hours strong { color: white; }

.contact-actions { margin-top: 22px; }

.site-footer {
  padding: 44px 0 22px;
  background: #13151a;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-grid > div:first-child strong { font-size: 1.08rem; }
.footer-grid p { margin: 5px 0 0; font-size: .88rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #c2c5ca;
  font-size: .88rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 30px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8f939a;
  font-size: .76rem;
}

@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: #20232a;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-main { width: 100%; justify-content: space-between; }
  .nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }
  .dropdown,
  .dropdown.mega {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    margin: 0 0 8px;
    background: #292d35;
    box-shadow: none;
    grid-template-columns: 1fr;
  }
  .has-menu.open > .dropdown { display: grid; }
  .hero-grid,
  .split,
  .form-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 370px; }
  .reviews-card { grid-template-columns: auto 1fr auto; }
  .reviews-card p { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .large { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 26px)); }
  .brand img { width: 185px; height: 64px; }
  .section { padding: 74px 0; }
  .hero-grid { padding-top: 54px; padding-bottom: 54px; gap: 38px; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.35rem; }
  .hero-facts,
  .info-strip-grid,
  .mini-facts,
  .gallery-grid,
  .field-row { grid-template-columns: 1fr; }
  .info-strip-grid > * {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
    padding-right: 0;
  }
  .reviews-card {
    grid-template-columns: auto 1fr;
    gap: 15px;
  }
  .reviews-card .btn { grid-column: 1 / -1; width: 100%; }
  .service-item summary {
    grid-template-columns: 40px 1fr;
    padding: 16px;
  }
  .service-item summary b { display: none; }
  .service-detail { padding: 0 18px 20px 58px; }
  .gallery-grid .large { grid-column: auto; }
  .contact-form { padding: 21px; }
  .contact-data p { grid-template-columns: 1fr; gap: 2px; }
  .opening-hours div { flex-direction: column; gap: 1px; }
  .footer-grid,
  .footer-bottom { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 980px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expanded-service {
    grid-template-columns: 1fr;
  }

  .expanded-image {
    min-height: 340px;
    height: 340px;
  }
}

@media (max-width: 620px) {
  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 220px;
  }

  .service-card-body {
    min-height: 185px;
  }

  .expanded-image {
    height: 255px;
    min-height: 255px;
  }

  .expanded-copy {
    padding: 28px 22px 30px;
  }

  .expanded-copy .btn {
    width: 100%;
  }
}


/* --- Version 4: Logo, Team, Icons, Karte --- */

.brand img {
  width: 285px;
  height: 80px;
}

.hero {
  position: relative;
}

.hero-watermark {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(1420px, 94vw);
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .055;
  mix-blend-mode: screen;
  filter: saturate(.92) contrast(1.04);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.direct-nav {
  white-space: nowrap;
}

.icon-contact-link {
  display: grid !important;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
}

.icon-contact-link > span:last-child {
  display: flex;
  flex-direction: column;
}

.round-icon,
.contact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.11);
}

.round-icon svg,
.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.whatsapp-icon { color: #55d987; }
.facebook-icon { color: #7aa9ff; }
.phone-icon { color: #ff6674; }
.mail-icon { color: #e8e9eb; }

.about-section {
  background:
    radial-gradient(circle at 84% 20%, rgba(239,19,40,.08), transparent 22%),
    #22252c;
}

.about-intro {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.about-intro strong {
  color: #fff;
}

.history-strip {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.028);
}

.history-strip div {
  padding: 23px 22px;
  border-right: 1px solid rgba(255,255,255,.09);
}

.history-strip div:last-child {
  border-right: 0;
}

.history-strip span,
.history-strip strong,
.history-strip small {
  display: block;
}

.history-strip span {
  color: #9fa4ab;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.history-strip strong {
  margin: 3px 0 2px;
  font-size: 1.45rem;
}

.history-strip small {
  color: #afb3ba;
}

.team-head {
  max-width: 760px;
  margin-top: 72px;
  margin-bottom: 28px;
}

.team-head h3 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.team-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  min-height: 220px;
  padding: 25px;
  border-radius: 18px;
  background: #292d35;
  border: 1px solid rgba(255,255,255,.1);
}

.team-card.team-lead {
  border-color: rgba(239,19,40,.32);
}

.team-avatar {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3a3f49, #242830);
  border: 1px solid rgba(255,255,255,.11);
  color: #ff5968;
  font-weight: 900;
  letter-spacing: .04em;
}

.team-copy > span {
  display: block;
  margin-bottom: 5px;
  color: #ff6674;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.team-copy h3 {
  margin-bottom: 9px;
  font-size: 1.3rem;
}

.team-copy p {
  margin: 0;
  font-size: .91rem;
}

.team-copy strong {
  color: #fff;
}

.team-photo-placeholder {
  min-height: 245px;
  margin-top: 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.2);
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(239,19,40,.06)),
    #292d35;
}

.team-photo-placeholder strong,
.team-photo-placeholder span {
  display: block;
}

.team-photo-placeholder span {
  color: #aeb2b9;
  margin-top: 5px;
}

.icon-contact-stack a {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 13px;
}

.icon-contact-stack a > span:last-child {
  display: flex;
  flex-direction: column;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 11px;
  margin-top: 28px;
}

.contact-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  transition: .18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239,19,40,.34);
  background: rgba(255,255,255,.06);
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  color: #9fa3aa;
  margin-bottom: 2px;
}

.contact-card strong {
  font-size: .88rem;
  word-break: break-word;
}

.address-block {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,.035);
  border-radius: 0 12px 12px 0;
}

.address-block span,
.address-block strong {
  display: block;
}

.address-block span {
  color: #9fa3aa;
  font-size: .78rem;
}

.address-block strong {
  margin-top: 3px;
}

.map-shell {
  min-height: 560px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    linear-gradient(30deg, transparent 0 46%, rgba(255,255,255,.055) 46% 48%, transparent 48%),
    linear-gradient(115deg, transparent 0 41%, rgba(255,255,255,.045) 41% 43%, transparent 43%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 36px),
    #2a2e36;
  position: relative;
}

.map-consent {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px;
  background: radial-gradient(circle at 50% 45%, rgba(239,19,40,.08), transparent 30%);
}

.map-pin {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
  color: #ff5968;
  background: rgba(239,19,40,.1);
  border: 1px solid rgba(239,19,40,.25);
}

.map-pin svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.map-consent > strong {
  font-size: 1.25rem;
}

.map-consent > span {
  color: #c4c7cc;
}

.map-consent p {
  max-width: 430px;
  font-size: .86rem;
  margin: 16px 0 18px;
}

.map-route-link {
  margin-top: 14px;
  color: #d8dbe0;
  font-size: .82rem;
  font-weight: 750;
}

.map-frame {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.legal-page {
  background: #1b1e24;
  min-height: 100vh;
}

.legal-wrap {
  max-width: 900px;
}

.legal-card {
  margin-top: 28px;
  padding: 30px;
  border-radius: 18px;
  background: #272b33;
  border: 1px solid rgba(255,255,255,.1);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.65rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: #ff6573;
  font-weight: 700;
}

.legal-note {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(239,19,40,.07);
  border: 1px solid rgba(239,19,40,.2);
}

@media (max-width: 980px) {
  .brand img {
    width: 235px;
    height: 72px;
  }

  .hero-watermark {
    width: 760px;
    right: -220px;
    opacity: .055;
  }

  .about-intro,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .history-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-strip div:nth-child(2) {
    border-right: 0;
  }

  .history-strip div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 205px;
    height: 66px;
  }

  .hero-watermark {
    width: 610px;
    right: -300px;
    opacity: .045;
  }

  .history-strip,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .history-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .history-strip div:last-child {
    border-bottom: 0;
  }

  .team-card {
    grid-template-columns: 54px 1fr;
    padding: 20px;
  }

  .team-avatar {
    width: 50px;
    height: 50px;
  }

  .map-shell,
  .map-consent,
  .map-frame {
    min-height: 430px;
    height: 430px;
  }

  .map-consent {
    padding: 28px 22px;
  }
}


/* --- Version 5: echte Betriebsfotos --- */
.hero-real-photo {
  background: #20232a;
}

.hero-real-photo::before {
  display: none;
}

.hero-real-photo > img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(.80) contrast(1.04) saturate(.90);
}

.hero-real-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18,20,25,.66) 0%, rgba(18,20,25,.08) 45%, rgba(18,20,25,.02) 100%);
  pointer-events: none;
}

.hero-real-photo .photo-overlay {
  z-index: 2;
}

.real-gallery {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  align-items: stretch;
}

.real-photo-card {
  margin: 0;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 21px;
  background: #20232a;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.real-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  filter: brightness(.91) contrast(1.02) saturate(.94);
}

.entrance-photo img {
  object-position: center 58%;
}

.reception-photo img {
  object-position: center 28%;
}

.real-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,17,21,.78) 0%, rgba(15,17,21,.08) 46%, transparent 67%);
  pointer-events: none;
}

.real-photo-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 15px 17px;
  border-radius: 13px;
  background: rgba(24,26,31,.78);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(9px);
}

.real-photo-card figcaption strong,
.real-photo-card figcaption span {
  display: block;
}

.real-photo-card figcaption strong {
  font-size: 1.02rem;
}

.real-photo-card figcaption span {
  margin-top: 3px;
  color: #bec2c8;
  font-size: .81rem;
}

.small-location-link {
  display: inline-block;
  margin-top: 10px;
  color: #ff6674;
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .real-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .real-photo-card,
  .real-photo-card img {
    min-height: 430px;
  }
}

@media (max-width: 650px) {
  .hero-real-photo > img {
    min-height: 360px;
    object-position: center 28%;
  }

  .real-gallery {
    grid-template-columns: 1fr;
  }

  .real-photo-card,
  .real-photo-card img {
    min-height: 420px;
  }
}


/* --- Version 6: Feinabstimmung --- */

/* Das Logo liegt als vollständiges, zentriertes Wasserzeichen über dem gesamten Startbereich. */
.hero-watermark {
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  width: min(1420px, 94vw) !important;
  transform: translate(-50%, -50%) !important;
  opacity: .055 !important;
  object-fit: contain;
}

/* 8 Leistungen ergeben auf großen Bildschirmen ein sauberes 4 x 2 Raster. */
.service-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-image {
  height: 180px;
}

.service-card-body {
  min-height: 215px;
}

/* Kartenansicht füllt nach Freigabe die komplette Kartenfläche. */
.map-shell {
  height: 560px;
  min-height: 560px;
}

.map-shell.map-loaded {
  padding: 0;
  background: #1d2026;
}

.map-frame {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 100% !important;
  border: 0;
}

/* Bewertungsbox selbst ist nur Inhalt; externe Navigation nur über den Button. */
.reviews-card {
  cursor: default;
}

@media (max-width: 1120px) {
  .service-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-watermark {
    width: 96vw !important;
    opacity: .045 !important;
  }
}

@media (max-width: 620px) {
  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-watermark {
    width: 110vw !important;
    opacity: .04 !important;
  }

  .map-shell {
    height: 440px;
    min-height: 440px;
  }
}


/* --- Version 7: vereinfachter Einstieg & neues Team-Layout --- */

.hero-welcome {
  max-width: 720px;
  margin-bottom: 14px;
}

.hero-subline {
  max-width: 650px;
  margin: 0;
  color: #f0f1f3;
  font-size: 1rem;
  font-weight: 650;
}

/* Im Startbereich bewusst keine Kontakt-/Terminboxen mehr. */
.hero-copy .hero-actions,
.hero-copy .hero-facts {
  display: none !important;
}

.master-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 25px;
  margin-bottom: 18px;
  padding: 31px;
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(239,19,40,.08), transparent 30%),
    #292d35;
  border: 1px solid rgba(239,19,40,.32);
  box-shadow: 0 15px 40px rgba(0,0,0,.16);
}

.master-avatar {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  font-size: 1.1rem;
}

.master-copy h3 {
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.master-copy p {
  max-width: 900px;
  margin: 0 0 12px;
}

.mechanic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mechanic-grid .team-card {
  grid-template-columns: 58px 1fr;
  min-height: 315px;
}

.team-summary {
  margin-top: 18px;
  padding: 22px 25px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: start;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.085);
}

.team-summary strong {
  color: #fff;
  font-size: 1.08rem;
}

.team-summary p {
  margin: 0;
}

@media (max-width: 1080px) {
  .mechanic-grid {
    grid-template-columns: 1fr;
  }

  .mechanic-grid .team-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .master-card {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 22px;
  }

  .master-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .team-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* --- Version 8: zusätzliche Formularfelder --- */
.field-hint {
  display: block;
  margin-top: 7px;
  color: #989da5;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.45;
}

input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}


/* --- Version 10: neue Direktannahme-, Prüfplatz- und Wegbeschreibungsbilder --- */

.inspection-heading {
  max-width: 820px;
}

.inspection-visual-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 24px;
  align-items: stretch;
}

.inspection-photo-card {
  margin: 0;
  min-height: 660px;
  overflow: hidden;
  position: relative;
  border-radius: 22px;
  background: #242831;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.inspection-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  filter: brightness(.92) contrast(1.02) saturate(.92);
}

.inspection-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(16,18,22,.78) 0%, rgba(16,18,22,.08) 38%, transparent 62%);
}

.inspection-photo-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 15px 17px;
  border-radius: 13px;
  background: rgba(23,25,30,.8);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}

.inspection-photo-card figcaption strong,
.inspection-photo-card figcaption span {
  display: block;
}

.inspection-photo-card figcaption span {
  margin-top: 3px;
  color: #bec2c8;
  font-size: .82rem;
}

.inspection-content {
  display: grid;
  gap: 18px;
}

.inspection-content .inspection-box {
  height: auto;
}

.inspection-text {
  padding: 30px 32px;
  border-radius: 22px;
  background: #242831;
  border: 1px solid rgba(255,255,255,.09);
}

.inspection-text h3 {
  font-size: 1.8rem;
  margin-bottom: 13px;
}

.updated-gallery {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.route-guide-card {
  background: #20232a;
}

.route-guide-card img {
  object-fit: contain;
  object-position: center;
  background: #20232a;
  min-height: 620px;
  padding: 0;
}

.updated-gallery .reception-photo img {
  min-height: 620px;
  object-fit: cover;
  object-position: center 45%;
}

.hero-real-photo > img {
  object-position: center 44%;
}

@media (max-width: 980px) {
  .inspection-visual-grid {
    grid-template-columns: 1fr;
  }

  .inspection-photo-card,
  .inspection-photo-card img {
    min-height: 520px;
    height: 520px;
  }

  .updated-gallery {
    grid-template-columns: 1fr;
  }

  .route-guide-card img,
  .updated-gallery .reception-photo img {
    min-height: auto;
    height: auto;
  }
}

@media (max-width: 650px) {
  .inspection-photo-card,
  .inspection-photo-card img {
    min-height: 390px;
    height: 390px;
  }

  .inspection-text {
    padding: 24px 22px;
  }

  .route-guide-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .updated-gallery .reception-photo img {
    min-height: 420px;
    height: 420px;
  }
}


/* --- Version 11: finale Bildzuordnung --- */
.updated-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.updated-gallery .real-photo-card {
  min-height: 620px;
}

.updated-gallery .real-photo-card img {
  width: 100%;
  height: 620px;
  display: block;
}

.updated-gallery .route-guide-card img {
  object-fit: contain;
  object-position: center;
  background: #20232a;
}

.updated-gallery .reception-photo img {
  object-fit: cover;
  object-position: center 45%;
}

@media (max-width: 900px) {
  .updated-gallery {
    grid-template-columns: 1fr;
  }

  .updated-gallery .real-photo-card {
    min-height: auto;
  }

  .updated-gallery .route-guide-card img {
    height: auto;
    min-height: 0;
  }

  .updated-gallery .reception-photo img {
    height: 520px;
  }
}

@media (max-width: 620px) {
  .updated-gallery .reception-photo img {
    height: 420px;
  }
}


/* --- Version 14: Beschriftungen unter den Bildern statt auf den Bildern --- */

/* Hero-Bild: Textkasten nicht mehr auf dem Bild */
.hero-real-photo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-real-photo::after {
  display: none;
}

.hero-real-photo > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: center 44%;
}

.hero-real-photo .photo-overlay {
  position: static;
  inset: auto;
  z-index: auto;
  margin: 0;
  width: auto;
  border-radius: 0 0 18px 18px;
  background: rgba(24, 27, 33, 0.96);
  border-top: 1px solid rgba(255,255,255,.08);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

/* "Bei uns vor Ort": Beschriftungen unter die Bilder setzen */
.updated-gallery .real-photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.updated-gallery .real-photo-card::after {
  display: none;
}

.updated-gallery .real-photo-card figcaption {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  padding: 18px 18px 20px;
  border-radius: 0 0 16px 16px;
  background: rgba(24, 27, 33, 0.96);
  border-top: 1px solid rgba(255,255,255,.08);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  backdrop-filter: none;
}

.updated-gallery .real-photo-card img {
  flex: 1 1 auto;
}

@media (max-width: 900px) {
  .hero-real-photo .photo-overlay {
    border-radius: 0 0 16px 16px;
  }

  .updated-gallery .real-photo-card figcaption {
    border-radius: 0 0 14px 14px;
  }
}


/* --- Version 15: Grauen Rand unter dem ersten Bild entfernen --- */
.hero-real-photo {
  background: transparent !important;
  border-radius: 18px;
}

.hero-real-photo > img {
  border-radius: 18px 18px 0 0;
}

.hero-real-photo .photo-overlay {
  margin-top: 0;
}

.hero-photo.hero-real-photo {
  align-self: start;
}

.hero-photo.hero-real-photo::before,
.hero-photo.hero-real-photo::after {
  display: none !important;
}


/* --- Version 16: markierten Leerbereich am Hero-Bild vollständig entfernen --- */
.hero-photo.hero-real-photo {
  min-height: 0 !important;
  height: auto !important;
  align-self: start;
  display: flex;
  flex-direction: column;
}

.hero-photo.hero-real-photo > img {
  flex: 0 0 auto;
  height: auto !important;
  min-height: 0 !important;
}

.hero-photo.hero-real-photo .photo-overlay {
  flex: 0 0 auto;
}

/* Alte responsive Mindesthöhe des Hero-Platzhalters überschreiben */
@media (max-width: 980px) {
  .hero-photo.hero-real-photo {
    min-height: 0 !important;
  }
}


/* --- Version 22: HU/AU-Bild auf Smartphones ohne Text-Overlay --- */
@media (max-width: 650px) {
  .inspection-photo-card {
    display: flex;
    flex-direction: column;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden;
    background: #242831;
  }

  .inspection-photo-card::after {
    display: none !important;
  }

  .inspection-photo-card img {
    position: static;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
  }

  .inspection-photo-card figcaption {
    position: static;
    z-index: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 18px 20px 20px;
    border-radius: 0;
    background: #20232a;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.09);
    backdrop-filter: none;
  }

  .inspection-photo-card figcaption strong {
    font-size: 1.05rem;
  }

  .inspection-photo-card figcaption span {
    margin-top: 5px;
    line-height: 1.55;
  }
}


/* --- Version 23: direkter Wix-Formularversand --- */
.upload-info {
  display: grid;
  gap: 6px;
  padding: 16px 17px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.upload-info strong {
  color: #f5f6f8;
  font-size: .94rem;
}

.upload-info span {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.form-status {
  min-height: 0;
  margin-top: 13px;
  padding: 0;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.success,
.form-status.error {
  display: block;
  padding: 13px 15px;
}

.form-status.success {
  background: rgba(39, 174, 96, .11);
  border: 1px solid rgba(39, 174, 96, .32);
}

.form-status.error {
  background: rgba(230, 57, 70, .11);
  border: 1px solid rgba(230, 57, 70, .32);
}

#contactSubmit:disabled {
  opacity: .66;
  cursor: wait;
}


/* --- Version 24: Fahrzeugpapiere separat per E-Mail --- */
.vehicle-docs-mail {
  margin-top: 2px;
}

.vehicle-docs-mail-btn {
  justify-self: start;
  margin-top: 6px;
  text-decoration: none;
}

@media (max-width: 650px) {
  .vehicle-docs-mail-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
