/* ==========================================================================
   Show Cars Lenzburg
   ========================================================================== */

:root {
  color-scheme: light;

  --c-bg: #ffffff;
  --c-bg-rgb: 255, 255, 255;
  --c-bg-soft: #f4f4f6;
  --c-surface: #ffffff;
  --c-footer: #f4f4f6;
  --c-ink-rgb: 9, 9, 11;
  --c-border: rgba(9, 9, 11, 0.09);
  --c-border-strong: rgba(9, 9, 11, 0.16);
  --c-text: #0b0b0f;
  --c-text-muted: #52525b;
  --c-text-dim: #6b6b75;
  --c-accent: #e3262e;
  --c-accent-hover: #ff3d45;
  --c-accent-text: #d11f27;
  --c-accent-rgb: 227, 38, 46;
  --c-open: #22c55e;
  --c-closing: #f59e0b;
  --c-hero-top: #ececf0;
  --c-hero-glow: rgba(255, 255, 255, 0.9);
  --hero-accent-alpha: 0.08;
  --c-car-ink: #18181b;

  --font-display: "Saira", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-lg: 0 30px 70px -35px rgba(15, 15, 25, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 76px;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --c-bg: #09090b;
  --c-bg-rgb: 9, 9, 11;
  --c-bg-soft: #0e0e12;
  --c-surface: #131318;
  --c-footer: #060608;
  --c-ink-rgb: 255, 255, 255;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(255, 255, 255, 0.16);
  --c-text: #f5f5f7;
  --c-text-muted: #a1a1aa;
  --c-text-dim: #85858f;
  --c-accent-text: #ff3d45;
  --c-hero-top: #0f0f14;
  --c-hero-glow: rgba(255, 255, 255, 0.1);
  --hero-accent-alpha: 0.22;
  --c-car-ink: #ffffff;

  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}

/* Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

button {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--c-accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Utilities
   ========================================================================== */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-text);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* Buttons
   ========================================================================== */

.btn {
  --btn-bg: transparent;
  --btn-border: var(--c-border-strong);
  --btn-color: var(--c-text);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 1.4em;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--c-accent);
  --btn-border: var(--c-accent);
  --btn-color: #fff;
  box-shadow: 0 12px 30px -12px rgba(var(--c-accent-rgb), 0.75);
}

.btn--primary:hover {
  --btn-bg: var(--c-accent-hover);
  --btn-border: var(--c-accent-hover);
  box-shadow: 0 16px 36px -12px rgba(var(--c-accent-rgb), 0.9);
}

.btn--ghost {
  --btn-bg: rgba(var(--c-ink-rgb), 0.04);
}

.btn--ghost:hover {
  --btn-bg: rgba(var(--c-ink-rgb), 0.1);
  --btn-border: rgba(var(--c-ink-rgb), 0.3);
}

.btn--sm {
  min-height: 42px;
  padding: 0 1.15em;
  font-size: 0.9rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0 1.8em;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border-strong);
  border-radius: 12px;
  background: rgba(var(--c-ink-rgb), 0.04);
  transition: background-color 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  background: rgba(var(--c-ink-rgb), 0.1);
  border-color: rgba(var(--c-ink-rgb), 0.3);
}

.theme-toggle__sun,
:root[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

/* Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(var(--c-bg-rgb), 0.82);
  border-bottom-color: var(--c-border);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: auto;
  height: 52px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__place {
  margin-top: 5px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 30px;
}

.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--c-text);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.site-header__mobile {
  display: none;
  gap: 10px;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.is-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.is-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.is-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023.98px) {
  .site-header__mobile {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--c-bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
  }

  .is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    min-height: 56px;
    font-size: 1rem;
  }
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(28px, 6vh, 72px)) 0 clamp(16px, 3vh, 40px);
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 55% at 50% 0%, var(--c-hero-glow), transparent 70%),
    radial-gradient(ellipse 60% 32% at 50% 90%, rgba(var(--c-accent-rgb), var(--hero-accent-alpha)), transparent 70%),
    linear-gradient(180deg, var(--c-hero-top) 0%, var(--c-bg) 70%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--c-ink-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--c-ink-rgb), 0.045) 1px, transparent 1px);
  background-position: center top;
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content > * {
  animation: rise 1s var(--ease) both;
}

.hero__content > :nth-child(2) {
  animation-delay: 0.1s;
}

.hero__content > :nth-child(3) {
  animation-delay: 0.2s;
}

.hero__content > :nth-child(4) {
  animation-delay: 0.3s;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text);
  background: rgba(var(--c-ink-rgb), 0.05);
  border: 1px solid var(--c-border-strong);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.status-pill__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-text-dim);
}

.status-pill[data-state="open"] .status-pill__dot {
  color: rgba(34, 197, 94, 0.55);
  background: var(--c-open);
  animation: pulse 2s var(--ease) infinite;
}

.status-pill[data-state="closing"] .status-pill__dot {
  color: rgba(245, 158, 11, 0.55);
  background: var(--c-closing);
  animation: pulse 2s var(--ease) infinite;
}

.status-pill[data-state="closed"] .status-pill__dot {
  background: var(--c-accent);
}

.hero__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__title-main {
  display: block;
  font-size: clamp(3.25rem, 11vw, 7.5rem);
  letter-spacing: -0.01em;
  color: transparent;
  background: linear-gradient(180deg, rgb(var(--c-ink-rgb)) 35%, rgba(var(--c-ink-rgb), 0.55));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__title-sub {
  display: block;
  margin-top: 16px;
  padding-left: 0.6em;
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.6em;
  color: var(--c-accent);
}

.hero__lead {
  max-width: 38rem;
  margin-top: 24px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--c-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__stage {
  width: min(960px, 94vw);
  margin: clamp(16px, 4vh, 48px) auto 0;
}

/* Car illustration */

.car {
  --stroke: 2.2px;
  width: 100%;
  color: var(--c-car-ink);
  height: auto;
  overflow: visible;
}

.car__draw {
  fill: none;
  stroke-width: var(--stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.1;
  animation: draw 2.4s var(--ease) forwards;
}

.car__body,
.car__window,
.car__detail {
  stroke: url(#car-stroke);
}

.car__body {
  animation-delay: 0.45s;
}

.car__window {
  animation-delay: 1s;
}

.car__detail {
  stroke-opacity: 0.5;
  animation-delay: 1.4s;
}

.car__tire,
.car__rim,
.car__spokes,
.car__hub {
  stroke: currentColor;
}

.car__tire {
  stroke-opacity: 0.85;
  animation-delay: 0.8s;
}

.car__rim {
  stroke-opacity: 0.6;
  animation-delay: 1.1s;
}

.car__spokes,
.car__hub {
  stroke-opacity: 0.45;
  animation-delay: 1.4s;
}

.car__fill,
.car__glass,
.car__floor,
.car__floor-glow {
  opacity: 0;
  animation: fade-in 1.4s ease 1.9s forwards;
}

.car__floor {
  stroke-width: 1px;
}

.car__light {
  fill: none;
  stroke-width: calc(var(--stroke) * 2);
  stroke-linecap: round;
  opacity: 0;
  animation: light-on 1s linear 2.4s forwards;
}

.car__light--front {
  stroke: currentColor;
}

.car__light--rear {
  stroke: var(--c-accent-hover);
}

/* Sections
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(72px, 11vw, 136px) 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--c-bg-soft), var(--c-bg));
  border-block: 1px solid var(--c-border);
}

.section-head {
  max-width: 46rem;
}

.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--c-text-muted);
}

/* Angebot */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
}

.feature {
  position: relative;
  padding: 32px 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--c-ink-rgb), 0.045), rgba(var(--c-ink-rgb), 0.015));
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--c-accent-rgb), 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--c-accent-rgb), 0.35);
}

.feature:hover::before {
  opacity: 1;
}

.feature__icon,
.card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--c-accent);
  background: rgba(var(--c-accent-rgb), 0.12);
  border: 1px solid rgba(var(--c-accent-rgb), 0.25);
  border-radius: 14px;
}

.feature__icon .icon,
.card__icon .icon {
  width: 26px;
  height: 26px;
}

.feature__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.feature__text {
  margin-top: 10px;
  color: var(--c-text-muted);
}

.features > :nth-child(2) {
  --reveal-delay: 0.08s;
}

.features > :nth-child(3) {
  --reveal-delay: 0.16s;
}

.inventory-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 26px 30px;
  background:
    linear-gradient(110deg, rgba(var(--c-accent-rgb), 0.18), rgba(var(--c-accent-rgb), 0.03) 60%),
    var(--c-surface);
  border: 1px solid rgba(var(--c-accent-rgb), 0.3);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.inventory-cta:hover {
  border-color: rgba(var(--c-accent-rgb), 0.65);
  transform: translateY(-2px);
}

.inventory-cta__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.inventory-cta__title {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.inventory-cta__arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--c-accent);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}

.inventory-cta:hover .inventory-cta__arrow {
  background: var(--c-accent-hover);
  transform: translate(2px, -2px);
}

/* Öffnungszeiten & Kontakt */

.visit {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .visit {
    grid-template-columns: 1.1fr 1fr;
  }
}

.visit > * {
  min-width: 0;
}

.visit > :nth-child(2) {
  --reveal-delay: 0.1s;
}

.card {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.card__title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.hours__status {
  margin-top: 28px;
}

.hours__list {
  margin-top: 22px;
}

.hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--c-border);
  border-radius: 12px;
  transition: background-color 0.2s;
}

.hours__row:last-child {
  border-bottom-color: transparent;
}

.hours__row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hours__row dd {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.hours__row.is-closed dd {
  color: var(--c-text-dim);
}

.hours__row.is-today {
  background: rgba(var(--c-accent-rgb), 0.12);
  border-bottom-color: transparent;
}

.hours__row.is-today dt,
.hours__row.is-today dd {
  font-weight: 600;
  color: var(--c-text);
}

.hours__row.is-today dt::after {
  content: "Heute";
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-accent);
  border-radius: 999px;
}

.contact {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(var(--c-accent-rgb), 0.16), transparent 55%),
    var(--c-surface);
}

.contact__phone {
  margin-top: 32px;
}

.contact__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.contact__number {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s;
}

.contact__number:hover {
  color: var(--c-accent-hover);
}

.contact__text {
  margin-top: 16px;
  color: var(--c-text-muted);
}

.contact .btn {
  margin: 28px 0;
}

.contact__address {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
}

.contact__address .icon {
  margin-top: 3px;
  color: var(--c-accent);
}

.contact__address strong {
  font-weight: 600;
  color: var(--c-text);
}

/* Anfahrt */

.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.map {
  position: relative;
  margin-top: clamp(32px, 5vw, 48px);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: clamp(380px, 44vw, 520px);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .map {
    height: 420px;
  }
}

/* Footer
   ========================================================================== */

.site-footer {
  padding: clamp(56px, 8vw, 80px) 0 32px;
  background: var(--c-footer);
  border-top: 1px solid var(--c-border);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__info {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

.site-footer__info a {
  color: var(--c-text);
  transition: color 0.2s;
}

.site-footer__info a:hover {
  color: var(--c-accent-hover);
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 22px 10px 10px;
  background: rgba(var(--c-ink-rgb), 0.04);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.social__link:hover {
  background: rgba(var(--c-ink-rgb), 0.08);
  border-color: var(--c-border-strong);
  transform: translateY(-2px);
}

.social__icon--instagram {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-radius: 13px;
}

.social__icon--instagram .icon {
  width: 24px;
  height: 24px;
}

.social__link--static:hover {
  background: rgba(var(--c-ink-rgb), 0.04);
  border-color: var(--c-border);
  transform: none;
}

.social__icon--google {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: 13px;
}

.social__icon--google svg {
  width: 24px;
  height: 24px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.rating__score {
  font-weight: 600;
  color: var(--c-text-muted);
}

.rating__stars {
  display: inline-flex;
  gap: 1px;
  color: #fbbc04;
}

.rating__stars .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.social__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.social__name {
  font-weight: 600;
}

.social__handle {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* Das AutoScout24-Logo hat weisse Schrift und braucht daher immer einen dunklen Grund. */
.social__link--autoscout {
  padding: 10px 24px;
  background: #131318;
}

.social__link--autoscout:hover {
  background: #1d1d24;
}

.social__link--autoscout img {
  width: auto;
  height: 34px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--c-text-dim);
  border-top: 1px solid var(--c-border);
}

.site-footer__credit {
  color: var(--c-text-muted);
  text-decoration: underline;
  text-decoration-color: var(--c-border-strong);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.site-footer__credit:hover {
  color: var(--c-text);
  text-decoration-color: currentColor;
}

/* Animations
   ========================================================================== */

.js [data-reveal]:not(.is-visible) {
  opacity: 0;
}

.js [data-reveal].is-visible {
  animation: rise 0.9s var(--ease) var(--reveal-delay, 0s) both;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes light-on {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  30% {
    opacity: 0.2;
  }

  50%,
  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 currentColor;
  }

  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive
   ========================================================================== */

@media (max-width: 899.98px) {
  .features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: start;
    padding: 24px;
  }

  .feature__icon {
    grid-row: span 2;
  }

  .feature__title {
    margin-top: 0;
    line-height: 1.3;
  }

  .feature__text {
    margin-top: 6px;
  }
}

@media (max-width: 640px) {
  .car {
    --stroke: 4px;
  }

  .hero__actions {
    flex-direction: column;
    align-self: stretch;
  }

  .inventory-cta {
    padding: 22px;
  }

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

@media (max-width: 380px) {
  .site-header__inner {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    height: 42px;
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .site-header__actions,
  .site-header__mobile {
    gap: 6px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .card {
    padding: 24px 18px;
  }

  .card__icon {
    display: none;
  }

  .hours__row {
    gap: 12px;
    margin: 0 -10px;
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  .hours__row dt {
    gap: 8px;
  }

  .hours__row.is-today dt::after {
    padding: 2px 6px;
    font-size: 0.6rem;
  }
}
