:root {
  --background: #f7f5ef;
  --background-2: #ece7dc;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --ink: #14120f;
  --ink-soft: #4f4940;
  --muted: #766f65;
  --line: #ded8cc;
  --line-strong: #c9c1b4;
  --blue: #146ef5;
  --blue-dark: #0f55c4;
  --gold: #c8904c;
  --gold-dark: #9a6630;
  --green: #287567;
  --black: #090807;
  --white: #ffffff;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --radius: 8px;
  --shadow-card: 0 12px 32px rgba(20, 18, 15, 0.08);
  --shadow-lift: 0 20px 55px rgba(20, 18, 15, 0.14);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 18, 15, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(20, 18, 15, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

/* UI icon SVGs only — exclude Leaflet overlay SVG which is a direct child of .leaflet-pane */
:not(.leaflet-pane) > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Ensure Leaflet SVG renders at natural size */
.leaflet-overlay-pane svg {
  display: block;
  width: auto;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
summary,
input[type="range"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(20, 110, 245, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.notice-bar {
  min-height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: #4353ff;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.notice-bar p {
  margin: 0;
}

.notice-bar a {
  border-bottom: 1px solid currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  height: 52px;
  width: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: visible;
  border: 1px solid rgba(200, 144, 76, 0.55);
  border-radius: var(--radius);
  background: #050505;
}

.brand-mark img {
  height: 42px;
  /* viewBox 520:330 → width = 42 × (520/330) ≈ 66px */
  width: 66px;
  object-fit: contain;
  /* Kein translateZ/backface-visibility: das Logo animiert nie. Erzwungene
     GPU-Layer-Promotion verursacht bei gebrochenen Pixelwerten (z.B. 59.875px
     auf Mobile) Unschärfe auf High-DPI-Displays statt sie zu beheben. */
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  line-height: 1.1;
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(20, 18, 15, 0.07);
  color: var(--ink);
}

.main-nav .nav-cta {
  margin-left: 4px;
  background: var(--blue);
  color: var(--white);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: var(--blue-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: currentColor;
}

.marketplace-page {
  min-height: 100vh;
}

/* Sidebar entfernt → einfaches Single-Column-Layout */
.services-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 80px;
}

.services-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.services-intro h1 {
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  margin: 8px 0 20px;
  overflow-wrap: break-word;
}

.services-intro .listing-description {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 28px;
}

.services-intro .trust-row {
  justify-content: center;
  margin-bottom: 28px;
}

/* Alter Klassenname für Abwärtskompatibilität – bleibt leer */
.marketplace-shell {
  display: contents;
}

.sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 24px;
}

.sidebar-search,
.sidebar-group,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 16px rgba(20, 18, 15, 0.04);
}

.sidebar-search {
  padding: 14px;
}

.sidebar-search label,
.sidebar-title,
.eyebrow,
.text-card-kicker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.search-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-field svg {
  flex: 0 0 18px;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
}

.sidebar-group {
  padding: 12px;
}

.sidebar-title {
  margin: 0 0 8px;
}

.sidebar-link {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidebar-link strong {
  color: var(--muted);
  font-size: 0.8rem;
}

.sidebar-link:hover,
.sidebar-link:focus-visible,
.sidebar-link.is-current {
  background: #ece8df;
  color: var(--ink);
  transform: translateX(2px);
}

.sidebar-card {
  padding: 16px;
  background: var(--black);
  color: var(--white);
}

.sidebar-card p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.sidebar-card strong {
  display: block;
  margin-bottom: 14px;
  line-height: 1.25;
}

.sidebar-card a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 800;
}

.content {
  min-width: 0;
}

.listing-hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.listing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.listing-heading h1 {
  max-width: 860px;
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.listing-description {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
}

.hero-logo-showcase {
  --logo-lift: 0px;
  --logo-scale: 1;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 28px;
  transform: translateY(var(--logo-lift)) scale(var(--logo-scale));
  transform-origin: center;
  transition: transform 80ms linear;
  will-change: transform;
}

.hero-logo-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero-logo-card {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(200, 144, 76, 0.38);
  background:
    radial-gradient(circle at 50% 38%, rgba(200, 144, 76, 0.28), transparent 38%),
    linear-gradient(135deg, #1a1612, #050505);
}

.hero-logo-card::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) - 2px);
  content: "";
}

.logo-glow {
  position: absolute;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(200, 144, 76, 0.28);
  filter: blur(56px);
  top: 20%;
  left: 30%;
}

.logo-glow--2 {
  width: 28%;
  background: rgba(67, 83, 255, 0.18);
  filter: blur(44px);
  top: 50%;
  left: 55%;
}

.hero-logo-card img {
  position: relative;
  z-index: 2;
  width: min(62%, 460px);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.6)) drop-shadow(0 8px 16px rgba(200, 144, 76, 0.2));
}

.owner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 36px 26px 22px;
  background: linear-gradient(to top, rgba(5, 5, 4, 0.92) 0%, rgba(5, 5, 4, 0.6) 60%, transparent 100%);
  color: var(--white);
}

.owner-label {
  margin: 0 0 6px;
  color: rgba(200, 144, 76, 0.9);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-names {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.owner-names strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.owner-tagline {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 500;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(20, 110, 245, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-row strong {
  color: var(--ink);
}

.filter-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
}

.filter-left,
.select-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.select-group button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0 13px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active,
.select-group button:hover,
.select-group button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

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

.service-card--featured {
  grid-column: span 2;
}

.service-card--featured .card-preview {
  aspect-ratio: 2.1;
}

.service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 2px 0 rgba(20, 18, 15, 0.02);
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease), border-color 160ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.service-card.is-hidden {
  display: none;
}

.card-preview {
  position: relative;
  display: block;
  aspect-ratio: 1.32;
  overflow: hidden;
  background: #ddd5c7;
}

.card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 260ms ease, transform 360ms var(--ease);
}

.preview-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.service-card:hover .preview-base,
.service-card:focus-within .preview-base {
  transform: scale(1.035);
}

.service-card:hover .preview-hover,
.service-card:focus-within .preview-hover {
  opacity: 1;
  transform: scale(1.035);
}

.card-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.52));
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover .card-preview::after,
.service-card:focus-within .card-preview::after {
  opacity: 1;
}

.card-badge,
.hover-label {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
}

.card-badge {
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.72rem;
}

.hover-label {
  left: 50%;
  bottom: 18px;
  padding: 10px 13px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.84rem;
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.service-card:hover .hover-label,
.service-card:focus-within .hover-label {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.text-preview {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(20, 110, 245, 0.12), transparent 46%),
    repeating-linear-gradient(135deg, rgba(20, 18, 15, 0.08) 0 1px, transparent 1px 13px),
    #f1eee8;
}

.text-preview.amber {
  background:
    linear-gradient(135deg, rgba(200, 144, 76, 0.22), transparent 52%),
    repeating-linear-gradient(135deg, rgba(20, 18, 15, 0.08) 0 1px, transparent 1px 13px),
    #f4ebdc;
}

.text-preview.dark {
  background:
    linear-gradient(135deg, rgba(200, 144, 76, 0.28), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 13px),
    #11100e;
  color: var(--white);
}

.text-preview.green {
  background:
    linear-gradient(135deg, rgba(40, 117, 103, 0.22), transparent 50%),
    repeating-linear-gradient(135deg, rgba(20, 18, 15, 0.08) 0 1px, transparent 1px 13px),
    #eef4ef;
}

.text-preview strong {
  max-width: 11ch;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.text-preview p {
  max-width: 26ch;
  margin: 0;
  color: inherit;
  opacity: 0.78;
  font-size: 0.94rem;
  font-weight: 650;
}

.card-copy {
  display: grid;
  gap: 18px;
  flex: 1;
  padding: 18px;
}

.card-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.card-meta a {
  color: var(--blue);
}

.empty-state {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.more-categories {
  margin-top: 40px;
}

.more-categories h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.category-strip {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.cta-band {
  max-width: var(--max);
  margin: 0 auto 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 34px;
  padding: 44px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
}

.cta-copy h2 {
  max-width: 560px;
  margin: 8px 0 14px;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.cta-copy p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.compare-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: #11100e;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.compare-card .after-img,
.before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-card .after-img {
  background-image: url("assets/transform-keller.png");
  background-size: 200% auto;
  background-position: 100% 38%;
  background-repeat: no-repeat;
}

.before-layer {
  width: 52%;
  overflow: hidden;
}

.compare-before-img {
  position: absolute;
  inset: 0;
  width: calc(100% / 0.52);
  max-width: none;
  height: 100%;
  background-image: url("assets/transform-keller.png");
  background-size: 200% auto;
  background-position: 0% 38%;
  background-repeat: no-repeat;
}

.compare-input {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  z-index: 4;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
}

.compare-handle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: rgba(9, 8, 7, 0.6);
  content: "";
  transform: translate(-50%, -50%);
}

.compare-badge {
  position: absolute;
  z-index: 6;
  top: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.compare-badge.before {
  left: 14px;
}

.compare-badge.after {
  right: 14px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.area-card h2,
.contact-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-weight: 800;
}

.process-list h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.process-list p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.area-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

.service-map-wrap {
  min-width: 0;
  /* isolation: isolate schließt Leaflets interne z-Indexes (200–600)
     in einen eigenen Stacking-Context ein, damit sie den sticky Header
     (z-index: 100) nicht überlagern können */
  isolation: isolate;
  position: relative;
  z-index: 0;
}

.service-map {
  width: 100%;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e7e1d6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.service-map a {
  max-width: 240px;
  color: var(--blue);
  font-weight: 850;
  text-align: center;
}

.service-map.leaflet-container {
  display: block;
}

.map-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.leaflet-container {
  font-family: var(--font-sans);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border-radius: var(--radius);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.area-list span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  background: #f0ece4;
  color: var(--ink-soft);
  font-weight: 800;
}

.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 740px;
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
}

/* ── Direkte Kontaktmöglichkeiten in der Kontakt-Copy ── */

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.contact-direct a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 150ms ease;
}

.contact-direct a:hover {
  color: var(--gold-dark);
}

.contact-direct svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  color: var(--gold);
}

/* ── ── */

.contact-section {
  max-width: var(--max);
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.72fr);
  gap: 42px;
  padding: 44px 22px 0;
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 110, 245, 0.12);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 48px clamp(22px, 4vw, 60px);
  background: var(--black);
  color: var(--white);
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  width: min(340px, 82vw);
  display: block;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  text-align: center;
}

.footer-columns {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 100px);
}

.footer-columns h2 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-columns a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.footer-columns a:hover {
  color: var(--gold);
}

@media (max-width: 1080px) {

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-heading {
    grid-template-columns: 1fr;
  }

  .listing-heading .button {
    justify-self: start;
  }

  .hero-logo-showcase {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .contact-section,
  .area-card {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .service-card--featured .card-preview {
    aspect-ratio: 1.32;
  }

  .cta-band {
    margin-inline: 22px;
  }
}

@media (max-width: 820px) {
  .notice-bar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
    gap: 5px;
  }
  .notice-bar p {
    white-space: normal;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lift);
  }

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

  .main-nav a {
    width: 100%;
  }

  .main-nav .nav-cta {
    margin-left: 0;
  }

  .services-shell {
    padding: 40px 14px 60px;
  }

  .listing-heading h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
    letter-spacing: -0.04em;
  }

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

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

  .card-preview,
  .text-preview {
    min-height: 230px;
  }

  .hero-logo-card {
    min-height: 300px;
  }

  .owner-panel {
    padding: 18px;
  }

  .cta-band {
    margin-inline: 14px;
    padding: 26px;
    grid-template-columns: 1fr;
  }

  .compare-card {
    min-height: 300px;
  }

  .service-map {
    min-height: 340px;
  }

  .process-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
  }

  .section {
    padding: 54px 14px;
  }

  .contact-section {
    padding-inline: 14px;
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 48px 20px calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .footer-columns {
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
    text-align: center;
  }

  .footer-columns a {
    padding: 4px 0;
  }

  .contact-form .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .notice-bar {
    font-size: 0.78rem;
  }

  /* Logo-Container: quadratische Beschränkung aufheben,
     breites SVG (66:42) braucht mehr Platz */
  .brand-mark {
    height: 48px;
    width: auto;
    flex-basis: auto;
    padding: 4px 8px;
  }

  .brand-mark img {
    height: 38px;
    width: auto;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .listing-heading h1,
  .section-heading h2,
  .area-card h2,
  .contact-copy h2,
  .cta-copy h2 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .trust-row span {
    width: 100%;
    justify-content: center;
  }

  .hero-sub {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .hero-text {
    gap: 10px;
  }
}

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

  [data-reveal],
  [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Hero-Wipe sofort im Endzustand zeigen */
  .hero-ba-after {
    animation: none !important;
    clip-path: inset(0 0% 0 0) !important;
  }
  .hero-ba-wipe {
    animation: none !important;
    opacity: 0 !important;
  }
  .hero-van-wrap {
    animation: none !important;
    left: 112% !important;
  }
}

/* ── Scroll-Reveal Animation ── */

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
}

[data-reveal].is-visible {
  animation: revealUp 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

[data-reveal-delay="1"].is-visible { animation-delay: 0.10s; }
[data-reveal-delay="2"].is-visible { animation-delay: 0.22s; }
[data-reveal-delay="3"].is-visible { animation-delay: 0.38s; }
[data-reveal-delay="4"].is-visible { animation-delay: 0.54s; }
[data-reveal-delay="5"].is-visible { animation-delay: 0.70s; }

/* ── Logo Float Animation ── */

@keyframes logoFloat {
  /* translate3d statt translateY → GPU animiert nur den Layer, kein Re-Raster */
  0%, 100% { transform: translate3d(0, 0px, 0); }
  50%       { transform: translate3d(0, -10px, 0); }
}

.logo-float {
  animation: logoFloat 5.5s ease-in-out infinite;
  /* Kein will-change hier — das would promote DIESEN Layer und macht den
     Parent-Container zum Compositor, was Kinder-Text unscharf macht */
}

/* ── Gold Badge Variant ── */

.card-badge--gold {
  background: rgba(200, 144, 76, 0.94);
  color: var(--black);
}

/* ── Sidebar Hint Link ── */

.sidebar-link--hint strong {
  color: var(--gold-dark);
}

/* ── Service Card Featured ── */
/* (additional styles; grid rule is above) */

.service-card--featured .card-copy h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

/* ── Outside Radius Callout ── */

.outside-radius {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 144, 76, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200, 144, 76, 0.06), transparent 60%), var(--surface-soft);
  flex-wrap: wrap;
}

.outside-radius > svg {
  flex: 0 0 20px;
  margin-top: 2px;
  color: var(--gold-dark);
}

.outside-radius-body {
  flex: 1;
  min-width: 160px;
}

.outside-radius-body strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.97rem;
  color: var(--ink);
}

.outside-radius-body p {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.88rem !important;
  max-width: none !important;
}

.outside-radius-cta {
  align-self: center;
  flex: 0 0 auto;
  font-size: 0.88rem;
  min-height: 40px;
  padding: 0 14px;
}

/* ── Area Section text wrapper ── */

.area-text h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 4.2vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

/* ── Responsive additions ── */

@media (max-width: 820px) {
  .outside-radius {
    flex-direction: column;
  }

  .outside-radius-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ── Fullscreen Hero ── */

.hero-fullscreen {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #090807;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid-tex {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200, 144, 76, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(200, 144, 76, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.hglow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hglow-1 {
  width: 700px;
  height: 700px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 144, 76, 0.22) 0%, transparent 65%);
  filter: blur(60px);
}

.hglow-2 {
  width: 480px;
  height: 480px;
  bottom: -80px;
  left: -120px;
  background: radial-gradient(circle, rgba(67, 83, 255, 0.14) 0%, transparent 65%);
  filter: blur(70px);
}

.hglow-3 {
  width: 320px;
  height: 320px;
  bottom: 15%;
  right: -60px;
  background: radial-gradient(circle, rgba(200, 144, 76, 0.1) 0%, transparent 65%);
  filter: blur(55px);
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  padding: 80px 24px 100px;
}

.hero-logo-3d {
  /* preserve-3d + will-change: transform erzwingt GPU-Compositing →
     SVG wird als Textur rasterisiert → unscharf.
     Nur 2D-Transform (kein preserve-3d), kein vorzeitiges will-change. */
  transition: transform 200ms ease-out;
}

.hero-logo-3d img {
  width: min(540px, 84vw);
  /* Weniger drop-shadow-Ebenen = weniger GPU-Compositing.
     Einziger kräftiger Schatten statt drei gestapelter. */
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 60px rgba(200, 144, 76, 0.45));
  /* Kein translateZ/backface-visibility auf dem img selbst: die Eltern-
     Elemente (.hero-logo-3d, .logo-float) sind bereits durch ihre eigenen
     Transforms/Animationen GPU-composited. Ein zusätzlicher erzwungener
     Layer auf dem Bild führt bei gebrochenen Pixelwerten (z.B. 84vw auf
     Mobile) zu Unschärfe statt sie zu verhindern. */
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: rgba(200, 144, 76, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-loc svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
  backdrop-filter: blur(6px);
}

.hero-ghost:hover,
.hero-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease;
}

.hero-scroll-cue:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-cue svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

.scroll-bounce {
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── 3D Service Card Tilt ── */

.service-grid {
  perspective: 1200px;
}

.service-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease), border-color 160ms ease;
  will-change: transform;
}

/* ── Responsive Hero ── */

@media (max-width: 820px) {
  .hero-logo-3d img {
    width: min(300px, 82vw);
  }

  .hero-stage {
    gap: 24px;
    padding: 60px 20px 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .hero-logo-3d img {
    width: 90vw;
  }
}

/* ── Eyebrow Gold Accent ── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* Override for CTA band where eyebrow is on blue bg */
.cta-band .eyebrow::before {
  background: rgba(255, 255, 255, 0.55);
}

/* ── Hero wipe keyframes (auto-play beim Laden) ──────────────────────────
   Prinzip: Clip-path UND Wipe-Linie benutzen identische Keyframes (from/to)
   mit identischem Easing → die Linie liegt immer exakt auf dem Übergang.
   Opacity ist SEPARAT animiert (linear), damit das Easing der Position
   nicht durch Zwischen-Keyframes gestört wird.

   Van: Phase 1 (hero-van-follow) = identisches Easing+Dauer wie Wipe,
        konstanter Abstand (5%) dahinter.
        Phase 2 (hero-van-exit)   = Auslaufen vom Bild nach Wipe-Ende.
   ──────────────────────────────────────────────────────────────────────── */

/* Clip-path Vorher→Nachher */
@keyframes hero-ba-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* Wipe-Linie: NUR Position – identisch mit hero-ba-reveal → exakte Deckung */
@keyframes hero-wipe-pos {
  from { left: 0%; }
  to   { left: 100%; }
}

/* Wipe-Linie: NUR Opacity – linear, unabhängig von der Position */
@keyframes hero-wipe-fade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Van Phase 1: folgt der Linie mit 5 % Abstand (identisches Easing+Dauer) */
@keyframes hero-van-follow {
  from { left: var(--van-follow-start, -30%); }
  to   { left: var(--van-follow-end,    70%); }
}

/* Van Phase 2: fährt nach Wipe-Ende vom Bild */
@keyframes hero-van-exit {
  from { left: var(--van-follow-end, 70%); }
  to   { left: 112%; }
}

/* ── Hero Before/After — vollflächige Wipe-Animation ── */

.hero-ba {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ba-before,
.hero-ba-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.hero-ba-before {
  background-image: url("assets/garage-before.png");
  filter: brightness(0.33) saturate(0.8);
}

.hero-ba-after {
  background-image: url("assets/garage-after.png");
  filter: brightness(0.38) saturate(0.6);
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
  transform: translateZ(0);
  animation: hero-ba-reveal 3.6s cubic-bezier(0.45, 0, 0.55, 1) 1.8s forwards;
}

/* Dunkler Gradient damit Texte gut lesbar bleiben */
.hero-ba-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 8, 7, 0.68) 0%,
    rgba(9, 8, 7, 0.28) 42%,
    rgba(9, 8, 7, 0.20) 65%,
    rgba(9, 8, 7, 0.62) 100%
  );
}

/* Goldene Wipe-Linie über die volle Hero-Höhe */
.hero-ba-wipe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  opacity: 0;
  will-change: left;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(200, 144, 76, 0.95) 12%,
    rgba(200, 144, 76, 0.95) 88%,
    transparent 100%
  );
  box-shadow:
    0 0 18px rgba(200, 144, 76, 0.7),
    0 0 55px rgba(200, 144, 76, 0.3);
  /* Position: gleiche Easing+Dauer wie clip-path → exakte Deckung auf dem Übergang
     Opacity: separat mit linear, damit Position-Easing nicht verfälscht wird */
  animation:
    hero-wipe-pos  3.6s cubic-bezier(0.45, 0, 0.55, 1) 1.8s both,
    hero-wipe-fade 3.6s linear                          1.8s forwards;
}

/* ── Hero Road + Van ── */

.hero-road {
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  z-index: 1;
  height: 8px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-road::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 144, 76, 0.2) 12%,
    rgba(200, 144, 76, 0.2) 88%,
    transparent
  );
}

.hero-road-dashes {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(200, 144, 76, 0.38) 0,
    rgba(200, 144, 76, 0.38) 22px,
    transparent 22px,
    transparent 50px
  );
}

.hero-van-wrap {
  position: absolute;
  bottom: 54px;
  width: 320px;
  z-index: 2;
  will-change: left;
  pointer-events: none;

  /* Desktop: van_width = 320px ≈ 25% bei 1280px, Abstand = 5%
     follow-start: Vorderkante bei (0% - 5%) → left = -5% - 25% = -30%
     follow-end:   Vorderkante bei (100% - 5%) → left = 95% - 25% = 70%  */
  --van-follow-start: -30%;
  --van-follow-end:    70%;
  left: var(--van-follow-start);

  /* Phase 1: exakt wie Wipe-Linie (gleiche Dauer+Easing) → konstanter Abstand
     Phase 2: Auslaufen nach Wipe-Ende (Delay = 1.8s + 3.6s = 5.4s) */
  animation:
    hero-van-follow 3.6s cubic-bezier(0.45, 0, 0.55, 1) 1.8s both,
    hero-van-exit   1.0s ease-in                         5.4s forwards;
}

.hero-van-wrap > .hero-van {
  display: block;
  width: 100%;
  height: auto;
  /* Schwarze Linien → weiß / leicht gold auf dunklem Hintergrund */
  filter: invert(1) sepia(0.25) saturate(1.4) brightness(0.95);
}

/* ── Compare Card — unified color overlay ── */

.compare-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(165, 128, 70, 0.1);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ── Transformations Gallery ── */

.transform-section {
  background: var(--background);
  padding-top: 80px;
  padding-bottom: 96px;
}

.transform-section .section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-lead {
  margin: 8px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.transform-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.transform-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transform-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  line-height: 0;
}

.transform-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  /* Remove any baked-in labels (the images already have Vorher/Nachher in them,
     but we add our own consistent ones on top) */
}

/* Overlay labels — left half = Vorher, right half = Nachher */
.transform-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
}

.tl-before,
.tl-after {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.tl-after {
  justify-content: flex-end;
}

/* Subtle gradient on bottom edge for label readability */
.transform-img-wrap::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  background: linear-gradient(to top, rgba(0,0,0,0.38) 0%, transparent 100%);
  pointer-events: none;
}

.transform-item figcaption {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0 4px;
  line-height: 1.5;
}

.transform-item figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Responsive van ── */

@media (max-width: 820px) {
  .hero-van-wrap {
    /* Mobile: van_width = 200px ≈ 53% bei 375px, Abstand = 5%
       follow-start: -5% - 53% = -58%
       follow-end:   95% - 53% = 42% */
    --van-follow-start: -58%;
    --van-follow-end:    42%;
    width: 200px;
    bottom: 85px;
  }

  .hero-road {
    bottom: 84px;
  }
}

/* ── Transform Gallery: 2 Spalten auf Desktop ── */

@media (min-width: 900px) {
  .transform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ── Transform Gallery: Mindesthöhe auf Mobile ── */

@media (max-width: 600px) {
  .transform-grid {
    gap: 40px;
    padding: 0 14px;
  }
  .transform-img-wrap {
    aspect-ratio: 2 / 1;
  }
  .transform-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ── Footer legal link style ── */

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: -16px 0 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  transition: color 200ms ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ── Legal pages ── */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.legal-page .legal-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 48px;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin: 36px 0 10px;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-page a {
  color: var(--blue);
  text-decoration: underline;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-placeholder {
  display: inline-block;
  background: rgba(200, 144, 76, 0.15);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.85rem;
  color: var(--gold-dark);
}

/* ── Team-Sektion ── */

.team-section {
  background: var(--background-2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.team-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}

.team-info h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.team-info p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.team-contact:hover {
  color: var(--gold);
}

.team-photo-hint {
  text-align: center;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    padding: 0 14px;
  }
}

/* ── Bewertungen CTA ── */

.reviews-section {
  background: var(--background-2);
}

.reviews-cta-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.reviews-stars-placeholder {
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--gold);
  line-height: 1;
}

.reviews-cta-block h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.reviews-cta-block p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1rem;
}
