:root {
  --ink: #111827;
  --text: #243042;
  --muted: #667085;
  --line: #e6e9ee;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --brand: #c1121f;
  --brand-dark: #8f0d17;
  --gold: #d7a64a;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 24, 39, .12);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 46%, #ffffff 100%);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 88px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  transition: min-height .22s ease, transform .32s ease, opacity .22s ease;
}

.site-header.is-scrolled {
  min-height: 78px;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  width: min(1320px, calc(100% - 44px));
  min-height: inherit;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: width .22s ease, padding .22s ease, border-color .22s ease, border-radius .22s ease, background .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}

.site-header.is-scrolled .header-inner {
  width: min(1240px, calc(100% - 28px));
  min-height: 70px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(7, 10, 15, .88), rgba(17, 24, 39, .78)),
    rgba(17, 24, 39, .72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.brand span {
  display: none;
}

.brand img {
  width: 148px;
  height: 108px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transition: width .22s ease, height .22s ease;
}

.site-header.is-scrolled .brand img {
  width: 112px;
  height: 78px;
}

.site-nav {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 22px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  text-shadow: 0 12px 28px rgba(0, 0, 0, .48);
  transition: color .18s ease, transform .18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  opacity: 0;
  transform: scaleX(.25);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(7, 10, 15, .28);
}

.language-switch button {
  min-width: 34px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #111827;
  background: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(17, 24, 39, .58);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(17, 24, 39, .76);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  background: #fff;
  border-radius: 999px;
}

body.subpage .site-header {
  top: 4px;
  min-height: 72px;
}

body.subpage .site-header.is-scrolled {
  min-height: 66px;
}

body.subpage .brand img {
  width: 128px;
  height: 92px;
}

body.subpage .site-header.is-scrolled .brand img {
  width: 104px;
  height: 74px;
}

body.subpage .site-nav a {
  color: rgba(255, 255, 255, .92);
}

body.legal-subpage .site-header {
  top: 10px;
  min-height: 76px;
}

body.legal-subpage .header-inner {
  width: min(1240px, calc(100% - 28px));
  min-height: 72px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(7, 10, 15, .94), rgba(17, 24, 39, .88)),
    rgba(17, 24, 39, .92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

body.legal-subpage .site-header.is-scrolled .header-inner {
  width: min(1180px, calc(100% - 24px));
  min-height: 66px;
  padding: 6px 16px;
  border-color: rgba(255, 255, 255, .18);
  background:
    linear-gradient(135deg, rgba(7, 10, 15, .96), rgba(17, 24, 39, .9)),
    rgba(17, 24, 39, .94);
}

body.legal-subpage .brand {
  text-shadow: none;
}

body.legal-subpage .brand img {
  width: 116px;
  height: 76px;
}

body.legal-subpage .site-header.is-scrolled .brand img {
  width: 98px;
  height: 66px;
}

body.legal-subpage .site-nav a {
  color: rgba(255, 255, 255, .9);
  text-shadow: none;
}

body.legal-subpage .site-nav a:hover,
body.legal-subpage .site-nav a.is-active {
  color: #fff;
}

body.legal-subpage .language-switch {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

body.legal-subpage .nav-toggle {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 146px 24px 58px;
  overflow: hidden;
  background: #101820;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 18, .88) 0%, rgba(7, 12, 18, .58) 44%, rgba(7, 12, 18, .18) 100%),
    linear-gradient(0deg, rgba(7, 12, 18, .72), transparent 46%);
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  background: #101820;
}

.hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  animation: cinematicFrame 18s infinite ease-in-out;
}

.frame-one { animation-delay: 0s; }
.frame-two { animation-delay: 6s; }
.frame-three { animation-delay: 12s; }

@keyframes cinematicFrame {
  0% { opacity: 0; transform: scale(1.06) translateX(0); }
  7% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; transform: scale(1.16) translateX(-2.5%); }
  100% { opacity: 0; transform: scale(1.16) translateX(-2.5%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
  color: #fff;
}

.hero-content::before {
  content: "Autohaus Emil GmbH";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .1);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  width: min(620px, 100%);
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
  margin-top: 28px;
}

.hero-metrics a {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, background .22s ease;
}

.hero-metrics a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .16);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: #fff;
  font-size: 18px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 32px rgba(193, 18, 31, .32);
}

.btn-primary:hover { background: var(--brand-dark); }
.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
}
.btn-dark { color: #fff; background: var(--ink); }

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 48px;
  z-index: 3;
  width: min(290px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero-panel small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-panel strong,
.hero-panel span,
.hero-panel a {
  display: block;
}

.hero-panel span { color: rgba(255, 255, 255, .75); }
.hero-panel a {
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-strip a {
  padding: 22px;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}

.quick-strip a:hover {
  background: #fafbfe;
}

.quick-strip a:last-child { border-right: 0; }
.quick-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.quick-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.premium-actions {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.premium-actions a {
  min-height: 190px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.premium-actions a:hover {
  transform: translateY(-8px);
  border-color: rgba(193, 18, 31, .3);
  box-shadow: var(--shadow);
}

.premium-actions span {
  color: var(--brand);
  font-weight: 900;
  font-size: 13px;
}

.premium-actions strong {
  display: block;
  margin-top: auto;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
}

.premium-actions small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 120px) 0;
}

.section-intro { padding-top: clamp(86px, 9vw, 140px); }
.section-head {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.inventory-copy p,
.split-content p,
.finance-card p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.section-head.compact { margin-bottom: 26px; }
.muted {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.inventory-showcase {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.clickable-block {
  color: inherit;
  transition: transform .24s ease, box-shadow .24s ease;
}

.clickable-block:hover {
  transform: translateY(-4px);
}

.inventory-copy,
.finance-card,
.contact-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.inventory-copy ul {
  padding-left: 20px;
  color: var(--text);
}

.inventory-image {
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #111827, #303846);
  overflow: hidden;
}

.inventory-image img {
  width: 92%;
  filter: drop-shadow(0 34px 26px rgba(0, 0, 0, .34));
  animation: showroomFloat 5.5s ease-in-out infinite;
}

@keyframes showroomFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.text-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.showroom-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 0 clamp(78px, 8vw, 128px);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: stretch;
}

.showroom-copy {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .94), rgba(37, 45, 60, .94)),
    url("../img/hero-autohaus-emil-fahrzeugbestand-lg.jpg") center / cover;
  overflow: hidden;
}

.showroom-copy h2 {
  color: #fff;
}

.showroom-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .74);
}

.showroom-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 14px;
}

.showroom-card {
  position: relative;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: #111827;
}

.showroom-card.large {
  grid-row: span 2;
}

.showroom-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .78) 100%);
}

.showroom-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .8s ease;
}

.showroom-card:hover img {
  transform: scale(1.06);
}

.showroom-card span,
.showroom-card strong {
  position: relative;
  z-index: 2;
  max-width: 94%;
}

.showroom-card span {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.showroom-card strong {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.16;
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

.more-vehicles-teaser {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(28px, 5vw, 70px) auto clamp(60px, 7vw, 96px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(17, 24, 39, .08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 249, 252, .92));
}

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

.more-vehicles-grid article {
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.more-vehicles-grid span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.more-vehicles-grid h3 {
  margin: 0;
}

.more-vehicles-grid p {
  color: var(--muted);
}

.more-vehicles-grid .btn {
  margin-top: auto;
}

.more-vehicles-link {
  display: inline-flex;
  margin-top: 20px;
}

.vehicle-request-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(193, 18, 31, .28), transparent 34%),
    radial-gradient(circle at bottom left, rgba(215, 166, 74, .12), transparent 35%),
    linear-gradient(135deg, #111827, #020617);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 28px 80px rgba(2, 6, 23, .34);
  color: #fff;
}

.vehicle-request-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .11), transparent 30%, rgba(255, 255, 255, .04)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .18));
}

.vehicle-request-inner {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
}

.vehicle-request-copy {
  display: grid;
  gap: 14px;
}

.vehicle-request-kicker {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fecdd3;
  border: 1px solid rgba(248, 113, 113, .34);
  background: rgba(248, 113, 113, .12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vehicle-request-copy h2 {
  margin: 0;
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.vehicle-request-copy p {
  color: rgba(248, 250, 252, .9);
  line-height: 1.7;
}

.vehicle-request-actions,
.vehicle-request-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vehicle-request-highlights {
  display: grid;
  margin-top: 6px;
}

.vehicle-request-highlights span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(248, 250, 252, .94);
  font-size: 13px;
  font-weight: 800;
}

.vehicle-request-highlights i {
  color: #86efac;
  margin-top: 2px;
}

.vehicle-request-form {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(2, 6, 23, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.request-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.request-field.full {
  grid-column: 1 / -1;
}

.request-field label {
  color: rgba(229, 231, 235, .70);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(2, 6, 23, .88);
  color: #fff;
  padding: 12px 13px;
  font: inherit;
  outline: none;
}

.request-field input::placeholder,
.request-field textarea::placeholder {
  color: rgba(229, 231, 235, .42);
}

.request-field select option {
  color: #111827;
}

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  border-color: rgba(193, 18, 31, .58);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, .10);
}

.request-field textarea {
  min-height: 118px;
  resize: vertical;
}

.request-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(229, 231, 235, .72);
  font-size: 12px;
  line-height: 1.45;
}

.request-consent input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.request-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.request-msg {
  min-height: 18px;
  color: rgba(229, 231, 235, .72);
  font-size: 13px;
  font-weight: 800;
}

.request-msg.ok { color: #86efac; }
.request-msg.err { color: #fca5a5; }

@media (max-width: 900px) {
  .vehicle-request-inner {
    grid-template-columns: 1fr;
  }
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(193, 18, 31, .28);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.service-card p { color: var(--muted); }

.experience-band {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(22px, 4vw, 52px) auto clamp(70px, 8vw, 120px);
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
  align-items: center;
  border-radius: var(--radius);
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow);
}

.experience-band h2 {
  color: #fff;
  margin-bottom: 0;
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.journey a {
  min-height: 136px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  transition: transform .22s ease, background .22s ease;
}

.journey a:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .14);
}

.journey span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: var(--gold);
  font-weight: 900;
}

.journey strong {
  color: #fff;
  line-height: 1.18;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.split-section:hover .split-image img {
  transform: scale(1.035);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 7vw, 92px);
  background: #fff;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
}

.check-list span {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-weight: 700;
}

.check-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
}

.financing {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 20px;
  align-items: stretch;
}

.finance-card {
  color: #fff;
  background: linear-gradient(135deg, #111827, #263244);
}

.finance-card h2 { color: #fff; }
.finance-card p { color: rgba(255, 255, 255, .74); }

.finance-points {
  display: grid;
  gap: 14px;
}

.finance-points a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.finance-points a:hover {
  transform: translateX(6px);
  border-color: rgba(193, 18, 31, .28);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .08);
}

.finance-points strong,
.finance-points span {
  display: block;
}

.finance-points strong {
  color: var(--ink);
  font-size: 18px;
}

.finance-points span {
  margin-top: 4px;
  color: var(--muted);
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.gallery-row a {
  display: block;
  overflow: hidden;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}

.gallery-row a:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 120px) 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.contact-card a:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(193, 18, 31, .28);
}

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

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-card strong {
  margin-top: 4px;
  color: var(--ink);
}

.site-proof {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: clamp(56px, 8vw, 112px) auto clamp(40px, 6vw, 82px);
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 10, 15, .96), rgba(30, 41, 59, .94)),
    url("../img/autohaus-emil-showroom-innen-sm.jpg") center/cover;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(17, 24, 39, .18);
}

.site-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .82), transparent 78%);
  opacity: .32;
}

.site-proof-head,
.site-proof-grid {
  position: relative;
  z-index: 1;
}

.site-proof-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.site-proof h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 64px);
}

.site-proof p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(15px, 1.5vw, 18px);
}

.site-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.site-proof-grid a {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(255, 255, 255, .075);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.site-proof-grid a:hover {
  transform: translateY(-7px);
  border-color: rgba(215, 166, 74, .42);
  background: rgba(255, 255, 255, .12);
}

.site-proof-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #111827;
  background: var(--gold);
  font-weight: 900;
}

.site-proof-grid strong {
  margin-top: auto;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.08;
}

.site-proof-grid small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) max(16px, calc((100vw - 1240px) / 2)) 28px;
  color: rgba(255, 255, 255, .76);
  background:
    radial-gradient(circle at 15% 10%, rgba(193, 18, 31, .28), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(215, 166, 74, .18), transparent 26%),
    linear-gradient(145deg, #070a0f 0%, #111827 48%, #070a0f 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 72%);
  opacity: .26;
}

.footer-shell {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(280px, 1fr) auto;
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.footer-brand img {
  width: 118px;
  height: 86px;
  object-fit: contain;
}

.footer-top p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 1.45vw, 18px);
}

.footer-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), #8f0d17);
  box-shadow: 0 18px 46px rgba(193, 18, 31, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(193, 18, 31, .36);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.25fr) minmax(240px, .85fr);
  gap: 18px;
  padding: clamp(28px, 4vw, 48px) 0;
  align-items: stretch;
}

.footer-panel {
  min-height: 230px;
  padding: clamp(18px, 1.65vw, 26px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.footer-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-contact {
  display: grid;
  gap: 6px;
}

.footer-contact-hub {
  display: block;
  min-height: 270px;
}

.footer-contact-block {
  min-width: 0;
}

.footer-team-list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-team-list .footer-kicker {
  margin-bottom: 6px;
}

.footer-contact a,
.footer-address {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-contact a[href^="tel"] strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(193, 18, 31, .38);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(193, 18, 31, .92), rgba(139, 0, 0, .86));
  box-shadow: 0 12px 30px rgba(193, 18, 31, .2);
}

.footer-team-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
}

.footer-contact a:last-child,
.footer-team-list a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-contact small,
.footer-team-list small,
.footer-address small {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-contact strong,
.footer-team-list strong,
.footer-address strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.15;
}

.footer-team-list strong {
  margin-top: 0;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}

.footer-team-list span {
  min-width: 0;
}

.footer-team-list small {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .08em;
}

.footer-team-list em {
  padding: 7px 12px;
  border: 1px solid rgba(193, 18, 31, .42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(193, 18, 31, .92), rgba(139, 0, 0, .86));
  box-shadow: 0 10px 24px rgba(193, 18, 31, .18);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.footer-team-list a:hover {
  border-color: rgba(193, 18, 31, .34);
  background: rgba(255, 255, 255, .07);
}

.footer-team-list a:hover em {
  border-color: rgba(255, 255, 255, .26);
  filter: brightness(1.08);
}

.footer-address span {
  display: block;
  color: rgba(255, 255, 255, .66);
}

.footer-hours {
  display: grid;
  gap: 12px;
}

.footer-hours-compact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-hours-compact .footer-kicker {
  margin-bottom: 10px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-hours span {
  color: rgba(255, 255, 255, .58);
}

.footer-hours strong {
  color: #fff;
  text-align: right;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.footer-nav a,
.footer-links a {
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
  transition: color .18s ease, transform .18s ease;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .54);
  font-size: 13px;
}

.footer-legal {
  min-height: 58px;
  padding: 20px 0 0;
}

.footer-copy {
  color: rgba(255, 255, 255, .62);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.footer-links a {
  padding: 7px 0;
}

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

  .footer-contact-hub {
    grid-column: 1 / -1;
  }

  .footer-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .footer-legal {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-height: auto;
    padding: 24px 0 98px;
    text-align: center;
  }

  .footer-copy {
    max-width: 280px;
  }

  .footer-links {
    justify-content: center;
    gap: 10px 16px;
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .footer-links a {
    padding: 8px 4px;
  }
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #1f7a46);
  box-shadow: 0 16px 44px rgba(17, 24, 39, .24);
  transition: transform .22s ease, box-shadow .22s ease;
}

.whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(17, 24, 39, .28);
}

.whatsapp img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.whatsapp span {
  font-size: 13px;
  font-weight: 800;
}

.mobile-action-bar {
  display: none;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 36px);
  display: block;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(17, 24, 39, .96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  transform: translateX(-50%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-panel {
  padding: clamp(18px, 2.8vw, 28px);
}

.cookie-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cookie-head strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
}

.cookie-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 26px;
  cursor: pointer;
}

.cookie-consent p,
.cookie-consent small {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.6;
}

.cookie-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  padding: 6px;
  background: rgba(255, 255, 255, .07);
}

.cookie-tabs button {
  min-height: 42px;
  flex: 1;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.cookie-tabs button.is-active {
  color: #111827;
  background: #fff;
}

.cookie-view {
  display: none;
}

.cookie-view.is-active {
  display: grid;
  gap: 12px;
}

.cookie-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.cookie-summary span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.cookie-category strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
}

.cookie-category small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .52);
}

.cookie-switch {
  min-width: 134px;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-switch input {
  appearance: none;
  width: 62px;
  height: 34px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.cookie-switch input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}

.cookie-switch input:checked {
  border-color: rgba(215, 166, 74, .72);
  background: var(--brand);
}

.cookie-switch input:checked::after {
  transform: translateX(28px);
}

.cookie-switch input:disabled {
  opacity: .9;
  cursor: not-allowed;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 18px;
}

.cookie-actions .btn {
  min-width: 170px;
}

.cookie-note {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, .54) !important;
}

.cookie-note a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-settings {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 39;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 24, 39, .12);
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(17, 24, 39, .12);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

body.has-cookie-consent .cookie-settings {
  display: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(215, 166, 74, .68);
  outline-offset: 3px;
}

/* Serious premium slider layer */
body {
  background: #f3f4f6;
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: block;
  background: #05070a;
  overflow: hidden;
}

.hero-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: clamp(76px, 9vw, 138px);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 180' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 82 C150 28 260 34 390 78 C530 126 655 126 785 80 C925 30 1035 12 1166 58 C1270 94 1350 118 1440 74 L1440 180 L0 180 Z' fill='%23f3f4f6'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.hero-slider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(34px, 4.6vw, 72px);
  z-index: 4;
  height: clamp(18px, 2.4vw, 36px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(193, 18, 31, .86), rgba(215, 166, 74, .72), rgba(255, 255, 255, .16));
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 70' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 38 C170 5 260 8 390 36 C535 68 665 64 800 30 C950 -8 1065 0 1190 36 C1305 70 1370 66 1440 42 L1440 70 L0 70 Z' fill='%23000'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 70' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 38 C170 5 260 8 390 36 C535 68 665 64 800 30 C950 -8 1065 0 1190 36 C1305 70 1370 66 1440 42 L1440 70 L0 70 Z' fill='%23000'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  opacity: .78;
  mix-blend-mode: screen;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 148px 24px 430px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.01);
  transition: opacity .85s ease, visibility .85s ease, transform 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 7s ease;
  filter: saturate(1.05) contrast(1.04);
}

.hero-slide.is-active img {
  transform: scale(1.1);
}

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 12, .92) 0%, rgba(2, 6, 12, .68) 42%, rgba(2, 6, 12, .24) 100%),
    linear-gradient(0deg, rgba(2, 6, 12, .88), rgba(2, 6, 12, .08) 55%);
}

.hero-slider .hero-content {
  margin-left: max(0px, calc((100vw - 1180px) / 2));
  width: min(620px, 100%);
}

.hero-slider .hero-content::before {
  content: none;
}

.hero-slider h1 {
  max-width: 620px;
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 800;
  line-height: .95;
}

.hero-slider .hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, .76);
}

.hero-command {
  position: absolute;
  left: auto;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 5;
  width: min(520px, calc(100% - 48px));
  transform: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(7, 12, 18, .64), rgba(7, 12, 18, .38)),
    rgba(7, 12, 18, .48);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.hero-command a {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hero-command a::before {
  content: "";
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: var(--command-image, url("../img/hero-autohaus-emil-bmw-premium-sm.jpg")) center/cover;
  box-shadow: none;
}

.hero-command a::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: none;
}

.hero-command a:nth-child(1) { --command-image: url("../img/hero-autohaus-emil-fahrzeugbestand-sm.jpg"); }
.hero-command a:nth-child(2) { --command-image: url("../img/autohaus-emil-gebaeude-front-sm.jpg"); }
.hero-command a:nth-child(3) { --command-image: url("../img/autohaus-emil-premium-innenraum-sm.jpg"); }
.hero-command a:nth-child(4) { --command-image: url("../img/autohaus-emil-showroom-innen-sm.jpg"); }

.hero-command a span,
.hero-command a strong {
  grid-column: 2;
}

.hero-command a:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.hero-command span,
.hero-command strong {
  display: block;
}

.hero-command span {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-command strong {
  margin-top: 2px;
  color: #fff;
  font-size: 16px;
  line-height: 1.18;
}

.quick-strip {
  display: none;
}

.brand-strip {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(50px, 6vw, 86px) auto 0;
  padding: clamp(26px, 4vw, 42px) 0;
  overflow: hidden;
}

.brand-strip-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .7fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.brand-strip-head h2 {
  margin: 0;
}

.brand-strip-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brand-track {
  width: max-content;
  display: flex;
  gap: 12px;
  animation: brand-marquee 30s linear infinite;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.brand-pill {
  min-width: 170px;
  min-height: 94px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  border: 1px solid rgba(17, 24, 39, .09);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(247, 248, 250, .86));
  box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.brand-pill img {
  width: 124px;
  height: 58px;
  object-fit: contain;
  filter: none;
  opacity: .96;
  transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}

.brand-pill:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 18, 31, .32);
  color: var(--brand);
  box-shadow: 0 22px 52px rgba(17, 24, 39, .12);
}

.brand-pill:hover img {
  filter: contrast(1.04);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.model-stage {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(70px, 8vw, 120px) auto 0;
}

.model-stage-head {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.model-stage-head h2 {
  margin-bottom: 0;
}

.model-stage-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.model-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}

.model-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.model-card-wide {
  grid-row: span 2;
  min-height: 594px;
}

.model-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, .82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .4), transparent 60%);
}

.model-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .85s ease;
}

.model-card:hover img {
  transform: scale(1.06);
}

.model-card span,
.model-card strong {
  position: relative;
  z-index: 2;
  max-width: min(620px, 94%);
}

.model-card span {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.model-card strong {
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.model-card:not(.model-card-wide) strong {
  font-size: clamp(20px, 2vw, 24px);
}

.premium-actions a,
.service-card,
.inventory-copy,
.finance-card,
.contact-card,
.showroom-copy,
.showroom-card,
.experience-band {
  border-radius: 0;
}

.btn,
.quick-strip {
  border-radius: 0;
}

.premium-actions a,
.service-card,
.finance-points a,
.contact-card a {
  box-shadow: none;
}

.premium-actions a,
.service-card,
.inventory-copy,
.finance-card,
.contact-card,
.showroom-copy,
.showroom-card,
.experience-band,
.site-proof-grid a,
.workflow-steps article,
.bank-card,
.team-card,
.car-card,
.vehicle-detail-card,
.detail-card {
  min-width: 0;
}

.premium-actions strong,
.premium-actions small,
.service-card h3,
.service-card p,
.site-proof-grid strong,
.site-proof-grid small,
.workflow-steps strong,
.workflow-steps small,
.journey strong,
.bank-card strong,
.team-card strong,
.car-title,
.detail-title,
.finance-card h2,
.contact-card strong {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.inventory-image {
  position: relative;
  border-radius: 999px / 42%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 26px 70px rgba(17, 24, 39, .16);
}

.inventory-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: inherit;
  pointer-events: none;
}

.model-card:not(.model-card-wide) {
  border-radius: 46px 130px 46px 46px;
  padding-inline: clamp(24px, 3vw, 34px);
  padding-bottom: clamp(24px, 3vw, 34px);
}

.model-card:not(.model-card-wide)::after {
  background:
    linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, .86) 100%),
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, .12), transparent 32%);
}

.showroom-card.large {
  border-radius: 180px 180px 18px 18px / 28% 28% 8% 8%;
}

.showroom-card:not(.large) {
  border-radius: 42px 118px 42px 42px;
  padding-inline: 24px;
  padding-bottom: 24px;
}

.gallery-row {
  gap: 14px;
}

.gallery-row a {
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 16px 46px rgba(17, 24, 39, .12);
}

.gallery-row a:nth-child(2) {
  border-radius: 26px 999px 999px 26px;
}

.gallery-row a:nth-child(3) {
  border-radius: 999px 26px 26px 999px;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(8px);
  transition:
    opacity .85s ease,
    transform .9s cubic-bezier(.18, .72, .18, 1),
    filter .9s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

[data-reveal="soft-left"] {
  transform: translate3d(-42px, 18px, 0);
}

[data-reveal="soft-right"] {
  transform: translate3d(42px, 18px, 0);
}

[data-reveal="scale"] {
  transform: translate3d(0, 26px, 0) scale(.965);
}

[data-reveal="fade"] {
  transform: translate3d(0, 16px, 0);
  filter: blur(5px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.service-grid [data-reveal]:nth-child(2),
.premium-grid [data-reveal]:nth-child(2),
.team-grid [data-reveal]:nth-child(2),
.cars-grid [data-reveal]:nth-child(2) { transition-delay: calc(var(--reveal-delay, 0ms) + .08s); }

.service-grid [data-reveal]:nth-child(3),
.premium-grid [data-reveal]:nth-child(3),
.team-grid [data-reveal]:nth-child(3),
.cars-grid [data-reveal]:nth-child(3) { transition-delay: calc(var(--reveal-delay, 0ms) + .16s); }

.service-grid [data-reveal]:nth-child(4),
.premium-grid [data-reveal]:nth-child(4),
.team-grid [data-reveal]:nth-child(4),
.cars-grid [data-reveal]:nth-child(4) { transition-delay: calc(var(--reveal-delay, 0ms) + .24s); }

.cars-grid [data-reveal]:nth-child(5) { transition-delay: calc(var(--reveal-delay, 0ms) + .12s); }
.cars-grid [data-reveal]:nth-child(6) { transition-delay: calc(var(--reveal-delay, 0ms) + .2s); }

@media (max-width: 640px) {
  [data-reveal="soft-left"] {
    transform: translate3d(-18px, 18px, 0);
  }

  [data-reveal="soft-right"] {
    transform: translate3d(18px, 18px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .site-header {
    top: 10px;
    width: 100%;
  }

  body.subpage .site-header {
    top: 4px;
  }

  body.legal-subpage .site-header {
    top: 8px;
    min-height: 70px;
  }

  body.legal-subpage .header-inner {
    width: calc(100% - 24px);
    min-height: 68px;
    padding: 6px 12px;
    border-radius: 28px;
  }

  body.legal-subpage .brand img {
    width: 100px;
    height: 68px;
  }

  body.legal-subpage .site-nav {
    top: calc(100% + 10px);
    border-color: rgba(255, 255, 255, .16);
    background: rgba(7, 10, 15, .97);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  }

  body.legal-subpage .site-nav a {
    color: rgba(255, 255, 255, .92);
  }

  body.legal-subpage .site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
  }

  .brand img {
    width: 126px;
    height: 92px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
  }

  body.subpage .brand img {
    width: 108px;
    height: 78px;
  }

  .site-header.is-scrolled .brand img,
  body.subpage .site-header.is-scrolled .brand img {
    width: 90px;
    height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 54px;
    height: 54px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 32px));
    display: none;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: rgba(17, 24, 39, .96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open { display: grid; }
  .site-nav a {
    padding: 13px 14px;
    border-radius: 16px;
    text-shadow: none;
  }
  .site-nav a::after {
    display: none;
  }
  .site-nav a:hover {
    background: rgba(255, 255, 255, .12);
  }
  .site-nav a.is-active {
    color: #111827;
    background: #fff;
  }
  body.subpage .site-nav a.is-active {
    color: #111827;
    background: #fff;
  }

  .hero {
    min-height: 900px;
    padding-inline: 16px;
  }

  .hero-slide {
    padding: 128px 16px 440px;
  }

  .hero-command {
    left: 16px;
    right: 16px;
    bottom: 28px;
    grid-template-columns: 1fr 1fr;
    width: auto;
    border-radius: 28px;
    transform: none;
  }

  .hero-command a {
    min-height: 86px;
    border: 1px solid rgba(255, 255, 255, .24);
  }

  .model-stage-head,
  .brand-strip-head,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .model-card-wide {
    grid-row: auto;
    min-height: 360px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 28px 0 0;
    width: min(100%, 420px);
  }

  .quick-strip,
  .premium-actions,
  .inventory-showcase,
  .showroom-section,
  .more-vehicles-grid,
  .split-section,
  .financing,
  .contact-section,
  .experience-band {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip a:last-child { border-bottom: 0; }
  .premium-actions { grid-template-columns: 1fr 1fr; }
  .showroom-grid { grid-template-columns: 1fr; }
  .showroom-card.large { grid-row: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .site-proof-head { grid-template-columns: 1fr; }
  .site-proof-grid { grid-template-columns: 1fr 1fr; }
  .finance-estimator,
  .ankauf-docs,
  .workflow-head {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-finance-grid { grid-template-columns: 1fr; }
  .bank-grid { grid-template-columns: 1fr; }
  .split-section { min-height: auto; }
  .split-image { min-height: 380px; }
  .gallery-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero {
    min-height: 720px;
  }

  .hero-slider::after {
    height: 72px;
  }

  .hero-slider::before {
    bottom: 38px;
    height: 18px;
  }

  .hero-slide {
    padding-bottom: 132px;
  }

  .hero-command {
    display: none;
  }

  .inner-hero::before {
    height: 58px;
  }
}

@media (max-width: 560px) {
  .brand span { display: none; }
  .site-header {
    top: 8px;
    min-height: 70px;
  }
  body.subpage .site-header {
    top: 3px;
    min-height: 64px;
  }
  body.legal-subpage .site-header {
    top: 8px;
    min-height: 66px;
  }
  body.legal-subpage .header-inner {
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 6px 10px;
    border-radius: 24px;
  }
  .site-header.is-scrolled {
    min-height: 66px;
  }
  .header-inner {
    width: calc(100% - 24px);
  }
  .brand img {
    width: 112px;
    height: 82px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
  }
  body.subpage .brand img {
    width: 96px;
    height: 70px;
  }
  body.legal-subpage .brand img {
    width: 92px;
    height: 62px;
  }
  .site-header.is-scrolled .brand img,
  body.subpage .site-header.is-scrolled .brand img {
    width: 82px;
    height: 58px;
  }
  body.legal-subpage .site-header.is-scrolled .brand img {
    width: 82px;
    height: 56px;
  }
  .nav-toggle {
    width: 50px;
    height: 50px;
  }
  .site-nav {
    width: min(360px, calc(100vw - 24px));
    right: 0;
    border-radius: 22px;
  }
  .language-switch {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    background: rgba(255, 255, 255, .08);
  }
  .hero {
    min-height: 720px;
    padding-top: 116px;
  }
  .hero-slide {
    padding: 112px 16px 132px;
  }
  .hero-slider h1 {
    font-size: 42px;
  }
  .hero-command {
    display: none;
  }
  .model-card,
  .model-card-wide {
    min-height: 300px;
  }
  .model-card:not(.model-card-wide),
  .showroom-card:not(.large),
  .gallery-row a,
  .gallery-row a:nth-child(2),
  .gallery-row a:nth-child(3) {
    border-radius: 24px;
  }
  .inventory-image {
    border-radius: 38px;
  }
  .brand-strip {
    width: min(100%, calc(100% - 24px));
    margin-top: 42px;
  }
  .brand-pill {
    min-width: 142px;
    min-height: 78px;
    padding: 14px 18px;
  }
  .brand-pill img {
    width: 98px;
    height: 46px;
  }
  .brand-track {
    gap: 8px;
    animation-duration: 24s;
  }
  .review-showcase {
    min-height: auto;
  }
  .review-score-row {
    grid-template-columns: 1fr;
  }
  .review-quotes article,
  .bank-card {
    min-height: auto;
  }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero-copy,
  .section-head p:not(.eyebrow),
  .inventory-copy p,
  .split-content p,
  .finance-card p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-metrics,
  .premium-actions,
  .journey {
    grid-template-columns: 1fr;
  }

  .premium-actions a,
  .journey a {
    min-height: 132px;
  }

  .service-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-proof {
    width: calc(100% - 24px);
    margin: 42px auto 34px;
    padding: 26px 18px;
  }

  .more-vehicles-teaser {
    width: calc(100% - 24px);
    padding: 22px 16px;
  }

  .more-vehicles-grid {
    grid-template-columns: 1fr;
  }

  .site-proof-grid {
    grid-template-columns: 1fr;
  }

  .site-proof-grid a {
    min-height: 164px;
  }

  .finance-estimator,
  .ankauf-docs,
  .workflow-strip {
    padding: 22px 16px;
  }

  .finance-estimator-panel {
    padding: 16px;
  }

  .docs-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps article {
    min-height: 154px;
  }

  body {
    padding-bottom: 82px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    background: rgba(7, 10, 15, .94);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
  }

  .mobile-action-bar a {
    min-width: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    padding: 8px 6px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-align: center;
  }

  .mobile-action-bar span {
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .mobile-action-bar strong {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .whatsapp {
    display: none;
  }

  .cookie-consent {
    bottom: 88px;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top p {
    grid-column: 1 / -1;
  }

  .footer-cta {
    width: fit-content;
  }
}

@media (max-width: 420px) {
  .footer-team-list a {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-team-list em {
    justify-self: start;
  }

  .footer-team-list strong {
    white-space: normal;
  }

  .hero-slider h1,
  .inner-hero h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  h1 { font-size: 34px; }
  h2 { font-size: 28px; }

  .section,
  .showroom-section,
  .model-stage,
  .brand-strip {
    width: calc(100% - 24px);
  }

  .model-card,
  .model-card-wide,
  .showroom-card {
    min-height: 270px;
    padding: 18px;
  }

  .model-card:not(.model-card-wide),
  .showroom-card:not(.large) {
    padding-inline: 18px;
    padding-bottom: 18px;
    border-radius: 22px;
  }

  .model-card strong {
    font-size: 22px;
  }

  .showroom-card strong,
  .premium-actions strong {
    font-size: 19px;
  }

  .premium-actions a,
  .service-card,
  .site-proof-grid a,
  .workflow-steps article,
  .bank-card,
  .team-card {
    padding: 18px;
  }

  .btn {
    min-height: 46px;
    padding-inline: 14px;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    width: 100%;
  }
}

/* Inner premium pages */
.inner-page {
  padding-top: 0;
  background: #f3f4f6;
  color: var(--text);
  min-height: 100vh;
}

.inner-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 92px max(16px, calc((100vw - 1180px) / 2)) 54px;
  overflow: hidden;
  color: #fff;
  background: #05070a;
}

.inner-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.inner-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(50px, 6vw, 92px);
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 58 C145 22 275 26 420 62 C575 102 704 96 850 52 C990 10 1110 10 1248 54 C1335 82 1390 86 1440 70 L1440 120 L0 120 Z' fill='%23f3f4f6'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 6, 12, .92), rgba(2, 6, 12, .46)),
    linear-gradient(0deg, rgba(2, 6, 12, .84), transparent 56%);
}

.inner-hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
}

.inner-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
}

.inner-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.inner-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 168px 0 90px;
  display: grid;
  gap: 16px;
}

.legal-page h1 {
  margin-bottom: clamp(10px, 2vw, 18px);
  color: var(--ink);
  font-size: clamp(40px, 5vw, 70px);
}

.legal-page .premium-card {
  box-shadow: 0 14px 38px rgba(17, 24, 39, .06);
}

.legal-page .premium-card h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.legal-page .premium-card p {
  line-height: 1.72;
}

.legal-page a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

.team-layout {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.team-category {
  display: grid;
  gap: 14px;
}

.team-category > .eyebrow {
  margin: 0;
}

.team-grid-lead,
.team-grid-workshop {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}

.team-grid-sales {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-category-lead .team-card {
  border-color: rgba(193, 18, 31, .22);
  box-shadow: 0 22px 60px rgba(17, 24, 39, .1);
}

.team-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 248, 250, .96));
  box-shadow: 0 16px 42px rgba(17, 24, 39, .07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 18, 31, .28);
  box-shadow: 0 24px 56px rgba(17, 24, 39, .12);
}

.team-photo {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(193, 18, 31, .2), transparent 42%),
    linear-gradient(145deg, #0b1018, #1f2937);
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.team-photo img {
  width: min(170px, 68%);
  height: 118px;
  object-fit: contain;
  filter: none;
}

.team-card span {
  width: fit-content;
  padding: 7px 10px;
  color: var(--brand);
  background: rgba(193, 18, 31, .08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.team-card h3 {
  margin: 18px 0 6px;
  font-size: clamp(25px, 3vw, 34px);
}

.team-card p {
  color: var(--muted);
  font-weight: 800;
}

.team-phone {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 2px 0 6px;
  padding: 9px 13px;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 999px;
  color: var(--ink);
  background: #f8fafc;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.team-phone:hover {
  border-color: rgba(193, 18, 31, .35);
  color: var(--brand);
}

.team-card .btn {
  width: fit-content;
  min-height: 44px;
  padding-inline: 20px;
}

.inner-split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 20px;
  align-items: start;
}

.premium-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
}

.premium-card h2,
.premium-card h3 {
  color: var(--ink);
}

.premium-card p {
  color: var(--muted);
}

.premium-card.clickable-block {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.premium-card.clickable-block:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 18, 31, .28);
  box-shadow: 0 20px 46px rgba(17, 24, 39, .12);
}

.highlight-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .96), rgba(38, 50, 68, .94)),
    url("../img/autohaus-emil-showroom-innen-sm.jpg") center/cover;
}

.highlight-card h3,
.highlight-card p {
  color: #fff;
}

.big-number {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: clamp(86px, 12vw, 150px);
  font-weight: 800;
  line-height: .8;
}

.premium-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #111827, #263244);
  box-shadow: var(--shadow);
}

.premium-band h2,
.premium-band p {
  color: #fff;
}

.premium-band p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, .74);
}

.reviews-finance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 18px;
  align-items: stretch;
}

.review-showcase,
.review-quotes article,
.bank-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 24, 39, .07);
}

.review-showcase {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 44px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 10, 15, .96), rgba(28, 38, 54, .9)),
    url("../img/autohaus-emil-gebaeude-front-sm.jpg") center/cover;
}

.review-showcase h2,
.review-showcase p {
  color: #fff;
}

.review-showcase p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .74);
}

.review-score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.review-score-row div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
}

.review-score-row strong {
  color: var(--gold);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1;
}

.review-score-row span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-quotes {
  display: grid;
  gap: 18px;
}

.review-quotes article {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
}

.review-quotes span {
  width: fit-content;
  padding: 7px 10px;
  color: var(--brand);
  background: rgba(193, 18, 31, .08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-quotes p {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.25;
}

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

.bank-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 32px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.bank-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 18, 31, .3);
  box-shadow: 0 24px 58px rgba(17, 24, 39, .12);
}

.bank-logo-text {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(17, 24, 39, .1);
  color: var(--ink);
  background: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.santander-bank .bank-logo-text {
  color: #e60012;
  border-color: rgba(230, 0, 18, .18);
}

.bank-logo-img {
  width: min(260px, 100%);
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.finance-estimator,
.ankauf-docs,
.workflow-strip {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, .08);
}

.finance-estimator {
  grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 248, 250, .96));
}

.finance-estimator-copy p:not(.eyebrow),
.ankauf-docs p {
  color: var(--muted);
}

.finance-estimator-panel {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  color: #fff;
  background: linear-gradient(135deg, #111827, #263244);
}

.finance-estimator-panel label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 900;
}

.finance-estimator-panel input,
.finance-estimator-panel select {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  padding: 10px 12px;
  font: inherit;
}

.finance-estimator-panel option {
  color: #111827;
}

.finance-result {
  margin: 8px 0;
  padding: 18px;
  border: 1px solid rgba(215, 166, 74, .4);
  background: rgba(215, 166, 74, .1);
}

.finance-result span,
.finance-result small {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 800;
}

.finance-result strong {
  display: block;
  margin: 7px 0;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.ankauf-docs {
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 10, 15, .96), rgba(31, 41, 55, .92)),
    url("../img/autohaus-emil-fahrzeugbestand-aussen-sm.jpg") center/cover;
}

.ankauf-docs h2,
.ankauf-docs p {
  color: #fff;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.docs-grid span {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 14px 14px 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
}

.docs-grid span::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 166, 74, .12);
}

.workflow-strip {
  color: #fff;
  background: linear-gradient(135deg, #111827, #263244);
}

.workflow-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .65fr);
  gap: 24px;
  align-items: end;
}

.workflow-head h2 {
  margin: 0;
  color: #fff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.workflow-steps article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.workflow-steps span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.workflow-steps strong {
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.08;
}

.workflow-steps small {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.5;
}

.bank-card strong {
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.1;
}

.bank-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.premium-form {
  display: grid;
  gap: 14px;
}

.premium-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.premium-form input,
.premium-form textarea,
.premium-form select,
.filters-main select,
.sorting select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.premium-form textarea {
  min-height: 132px;
  resize: vertical;
}

.steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #f7f8fa;
}

.contact-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.map-link-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(193, 18, 31, .12), transparent 36%),
    linear-gradient(135deg, #fff, #f3f4f6);
}

.map-link-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.map-link-card strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.success-msg {
  padding: 12px 14px;
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.form-error {
  padding: 12px 14px;
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

.vehicles-page {
  padding-top: 0;
  background: #f3f4f6;
}

.vehicles-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 0;
}

.vehicles-titlebar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.vehicles-titlebar h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
}

.vehicles-titlebar p {
  color: var(--muted);
  max-width: 680px;
}

.filter-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  margin-bottom: 22px;
}

.filter-card-header,
.sorting-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-card-title {
  color: var(--ink);
  font-weight: 900;
}

.filter-card-subtitle,
.sorting-info,
.sorting {
  color: var(--muted);
  font-size: 13px;
}

.filter-chip-reset,
.btn-secondary-link {
  color: var(--brand);
  font-weight: 800;
}

.filters-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.btn-group {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.car-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 18, 31, .28);
  box-shadow: var(--shadow);
}

.car-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111827;
}

.car-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-type-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  color: #fff;
  background: rgba(17, 24, 39, .86);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-details {
  padding: 17px;
}

.car-title {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.car-subtitle,
.car-spec-label {
  color: var(--muted);
  font-size: 12px;
}

.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.car-spec-value {
  color: var(--ink);
  font-weight: 800;
}

.price-tag {
  margin-top: 14px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
}

.card-actions,
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.card-actions .ae-btn {
  flex: 1 1 100%;
}

.ae-btn,
.filter-toggle-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ae-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(193, 18, 31, .28);
}

.ae-btn-primary,
.btn-primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  margin: 3px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.pagination .current {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

#aeModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 3000;
  padding: 16px;
  background: rgba(0, 0, 0, .64);
  backdrop-filter: blur(10px);
}

#aeModal.open { display: flex; }
#aeModal .box {
  width: min(1120px, 100%);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 110px rgba(0, 0, 0, .34);
}

#aeModal .top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

#aeModal .t1 {
  margin: 0;
  color: var(--ink);
}

#aeModal .t2,
.small,
.k {
  color: var(--muted);
  font-size: 12px;
}

#aeModal .x {
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

#aeModal .content {
  padding: 22px;
  overflow: auto;
}

.modal-topgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 22px;
}

.gallery,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .07);
}

.card {
  padding: 20px;
}

.gallery-main {
  position: relative;
  background: #111827;
}

.gallery-main img {
  width: 100%;
  min-height: 360px;
  max-height: 56vh;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 12px;
}

.thumbs img {
  width: 104px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  opacity: .72;
}

.thumbs img.active,
.thumbs img:hover {
  border-color: var(--brand);
  opacity: 1;
}

.kv,
.fin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kv > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f8fa;
}

.v {
  color: var(--ink);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.finance-estimate-badge {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(193, 18, 31, .38);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  color: #7f111b;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, .13), rgba(215, 166, 74, .18)),
    #fff8f2;
  box-shadow: 0 12px 28px rgba(193, 18, 31, .12);
  font-size: 13px;
  letter-spacing: .01em;
}

.finance-estimate-badge i {
  color: var(--brand);
}

.technical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.technical-item {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 15px 16px 15px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid rgba(193, 18, 31, .55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #f7f8fa);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .045);
}

.technical-item::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(193, 18, 31, .58);
  box-shadow: 0 0 0 5px rgba(193, 18, 31, .08);
}

.technical-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.technical-value {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.txVAM {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.FtSYW {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 13px;
  min-height: 58px;
  padding: 15px 16px;
  border: 1px solid rgba(22, 123, 63, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22, 123, 63, .06), rgba(247, 248, 250, .98));
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .05);
}

.FtSYW .FtTxt,
#vipFeatures .FtSYW span {
  min-width: 0;
  overflow: visible;
  text-overflow: initial;
  white-space: normal;
}

.FtSYW svg,
#vipFeatures .LLdGn {
  flex: 0 0 auto;
  order: -1;
  margin-top: 1px;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  color: #052e16;
  background: #86efac;
  filter: drop-shadow(0 8px 16px rgba(22, 123, 63, .22));
}

.desc {
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
}

.desc p {
  margin: 0 0 14px;
}

.desc h4 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.desc h4:first-child {
  margin-top: 0;
}

.desc p:last-child,
.desc ul:last-child {
  margin-bottom: 0;
}

.desc ul,
.desc-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.desc li,
.desc-list li {
  position: relative;
  padding-left: 22px;
}

.desc li::before,
.desc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .74em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.desc-empty {
  color: var(--muted);
}

.section-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .inner-grid,
  .team-grid,
  .cars-grid,
  .filters-main {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid-lead,
  .team-grid-workshop {
    grid-template-columns: minmax(280px, 420px);
  }
  .inner-split,
  .modal-topgrid {
    grid-template-columns: 1fr;
  }

  .premium-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .footer-contact-hub,
  .footer-team-list {
    grid-template-columns: 1fr;
  }

  .footer-team-list a:last-child {
    border-bottom: 0;
  }

  .team-grid,
  .team-grid-sales,
  .team-grid-lead,
  .team-grid-workshop {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-grid,
  .footer-bottom,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    display: grid;
    align-items: start;
  }

  .footer-brand {
    display: grid;
    gap: 8px;
    font-size: 28px;
  }

  .footer-brand img {
    width: 132px;
    height: 96px;
  }

  .footer-cta {
    width: 100%;
  }

  .footer-panel {
    min-height: auto;
  }

  .footer-hours div {
    display: grid;
    gap: 3px;
  }

  .footer-hours strong {
    text-align: left;
  }

  .inner-grid,
  .team-grid,
  .cars-grid,
  .filters-main,
  .contact-card,
  .kv,
  .fin-row,
  .technical-list,
  .txVAM {
    grid-template-columns: 1fr;
  }
  .vehicles-titlebar {
    grid-template-columns: 1fr;
  }
  .card-actions,
  .modal-actions,
  .btn-group {
    display: grid;
  }

  .cookie-consent {
    width: calc(100% - 20px);
    max-height: calc(100vh - 106px);
    bottom: 86px;
  }

  .cookie-consent p {
    font-size: 12px;
    line-height: 1.45;
  }

  .cookie-panel {
    padding: 16px;
  }

  .cookie-head {
    gap: 12px;
  }

  .cookie-close {
    width: 38px;
    height: 38px;
  }

  .cookie-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-summary {
    grid-template-columns: 1fr;
  }

  .cookie-category {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cookie-switch {
    width: 100%;
    min-width: 0;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cookie-settings {
    left: 10px;
    bottom: 84px;
    min-height: 38px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .whatsapp {
    right: 12px;
    bottom: 12px;
    width: 54px;
    min-height: 54px;
    padding: 9px;
    justify-content: center;
  }
  .whatsapp span {
    display: none;
  }
}
