@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #11110f;
  --paper: #eee7d8;
  --copper: #c95f21;
  --steel: #a7a29a;
  --white: #f8f5ee;
  --line-dark: rgba(17, 17, 15, 0.25);
  --line-light: rgba(248, 245, 238, 0.24);
  --content: 1540px;
  --page-pad: clamp(1rem, 3vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Public Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
}

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

.folio,
.register-meta,
.placeholder-note,
.page-breadcrumb {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 5rem;
  padding: 1rem clamp(1rem, 2.5vw, 2.5rem);
  overflow: visible;
  border: 1px solid rgba(248, 245, 238, 0.12);
  border-top: 0;
  border-radius: 0;
  color: var(--white);
  background: var(--ink);
  box-shadow: none;
  transition: min-height 280ms ease, padding 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.site-header.is-scrolled {
  min-height: 4.25rem;
  padding-block: 0.65rem;
  border-top: 1px solid rgba(248, 245, 238, 0.18);
  background: rgba(17, 17, 15, 0.76);
  box-shadow: 0 1rem 2.75rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(1.25rem) saturate(135%);
  -webkit-backdrop-filter: blur(1.25rem) saturate(135%);
}

.page-progress {
  position: absolute;
  z-index: 3;
  right: 2.25rem;
  bottom: 0.2rem;
  left: 2.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--copper);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

@supports (animation-timeline: scroll()) {
  .page-progress {
    animation: page-progress linear both;
    animation-timeline: scroll(root block);
  }
}

.nav-toggle,
.header-spacer {
  display: none;
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: 13rem;
  padding: 0;
  border-right: 0;
}

.brand img {
  width: clamp(11.5rem, 14vw, 14.5rem);
  height: 3rem;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(1rem, 2.3vw, 2.5rem);
  min-width: 0;
  border: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
  min-height: 2.5rem;
  padding: 0.35rem 0;
  border: 0;
  border-radius: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a:hover {
  color: var(--white);
  background: transparent;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--copper);
  box-shadow: 0 0 0.75rem rgba(201, 95, 33, 0.68);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

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

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  justify-self: end;
  min-width: 0;
  border: 0;
}

.header-phone,
.header-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(248, 245, 238, 0.18);
  border-radius: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0;
  border-color: var(--copper);
  color: var(--ink);
  background: var(--copper);
  cursor: pointer;
}

.icon-whatsapp {
  flex-shrink: 0;
}

.header-phone {
  border-color: rgba(248, 245, 238, 0.18);
  color: var(--white);
  background: var(--ink);
}

.header-email:hover {
  color: var(--ink);
  background: var(--white);
}

.header-phone:hover {
  color: var(--ink);
  background: var(--white);
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(34rem, 100dvh, 56rem);
  overflow: clip;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: brightness(0.96) contrast(1.03);
  transform-origin: 55% 46%;
  animation: hero-dossier-open 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.74) 0%, rgba(7, 8, 8, 0.46) 38%, rgba(7, 8, 8, 0.06) 72%),
    linear-gradient(0deg, rgba(7, 8, 8, 0.58) 0%, transparent 46%);
}

.hero-inspection-line {
  position: absolute;
  z-index: 0;
  inset-block: 0;
  left: -2px;
  width: 2px;
  pointer-events: none;
  background: var(--copper);
  box-shadow: 0 0 1.6rem rgba(201, 95, 33, 0.58);
  animation: hero-inspection-sweep 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy {
  align-self: center;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(2rem, 4vh, 3rem) var(--page-pad);
}

.hero-claim {
  width: fit-content;
  margin: 0 0 1.35rem;
  padding-top: 0.7rem;
  border-top: 2px solid var(--copper);
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 20ch;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4.5rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.48);
  animation: hero-shutter-reveal 560ms cubic-bezier(0.16, 1, 0.3, 1) 70ms both;
}

.hero-copy > p:not(.hero-claim) {
  max-width: 35rem;
  margin: 1.5rem 0 0;
  color: #dedbd5;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: hero-shutter-reveal 480ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}

.hero-action-primary,
.hero-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-action-primary {
  color: var(--ink);
  background: var(--copper);
}

.hero-action-secondary {
  color: var(--white);
  background: rgba(17, 17, 15, 0.68);
}

.hero-action-primary:hover,
.hero-action-secondary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-cta-sentinel {
  height: 0;
}

.hero-concept-note {
  position: absolute;
  right: var(--page-pad);
  bottom: 1.25rem;
  max-width: 22rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  color: var(--white);
  background: rgba(17, 17, 15, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Hero-Variante für Service-Unterseiten (volle Scroll-Sektion, kein Actions-Paar) --- */

.hero--subpage {
  /* Traegt jetzt Brotkrumen, Eyebrow, H1, Lead und eine Aktion — der
     vorherige, fast leere Kurz-Hero wirkte dadurch haltlos. */
  min-height: calc(100svh - var(--panel-header-h));
  /* Harte Kante gegen das Papier darunter; die helle Standardlinie des
     Heros ist auf hellem Grund unsichtbar. */
  border-bottom: 3px solid var(--ink);
}

.hero-return {
  position: absolute;
  z-index: 1;
  top: max(6.25rem, calc(env(safe-area-inset-top) + 5.25rem));
  left: var(--page-pad);
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  color: rgba(248, 245, 238, 0.78);
  transition: color 160ms ease, background-color 160ms ease;
}

.hero-return:hover {
  color: var(--white);
  background: rgba(17, 17, 15, 0.24);
}

.hero-return:focus-visible {
  color: var(--ink);
  background: var(--white);
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.hero--subpage .hero-lead {
  max-width: 42ch;
  margin: 1.4rem 0 0;
  color: rgba(248, 245, 238, 0.78);
  text-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.55);
}

.hero--subpage .hero-actions {
  margin-top: 2rem;
}

/* Kein schwarzer Kasten mehr — die Bildunterschrift haengt an einer
   kupfernen Marke, konsistent zur Copper Signal Rule. */
.hero--subpage .hero-concept-note {
  max-width: 32rem;
  padding: 0.1rem 0 0.1rem 0.7rem;
  border-left: 2px solid var(--copper);
  background: transparent;
  text-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.85);
}

.hero--subpage .hero-photo {
  object-position: center;
}

.hero--subpage .hero-copy h1 {
  font-size: clamp(3.5rem, 7vw, 5rem);
}

.stock-section {
  color: var(--ink);
  background: var(--paper);
}

.featured-section {
  padding: clamp(5rem, 9vw, 9rem) var(--page-pad) clamp(2.5rem, 5vw, 5rem);
}

.featured-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 20rem);
  align-items: end;
  gap: 3rem;
  max-width: var(--content);
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}

.featured-heading h2 {
  max-width: none;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.75rem, 4.6vw, 4.75rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.featured-heading > p {
  max-width: 32rem;
  margin: 0;
  color: var(--steel);
}

.register-shell {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
}

.register-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line-light);
  color: var(--steel);
}

.register-meta a {
  border-bottom: 1px solid var(--copper);
}

.register-meta a:hover {
  color: var(--white);
}

.register-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(5rem, 1fr));
  width: min(42rem, 54%);
  margin-left: auto;
}

.register-tabs button {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  border: 0;
  border-left: 1px solid var(--line-light);
  padding: 0.75rem 0.9rem;
  color: var(--steel);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: color 220ms ease;
}

.register-tabs button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--copper);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.register-tabs button:last-child {
  border-right: 1px solid var(--line-light);
}

.register-tabs button [data-slot-number] {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.register-tab-label {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
  margin-inline-start: 0.75rem;
  line-height: 1;
  text-align: right;
}

.register-tab-label small,
.register-tab-label strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.register-tab-label small {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.register-tab-label strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.register-tabs button:hover {
  color: var(--white);
}

.register-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.register-tabs button[aria-selected="true"]::before {
  transform: scaleX(1);
}

.vehicle-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(22rem, 0.78fr);
  min-height: 35rem;
  border-top: 1px solid var(--line-light);
}

.vehicle-panel.is-entering-forward {
  animation: register-panel-forward 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vehicle-panel.is-entering-backward {
  animation: register-panel-backward 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vehicle-media {
  position: relative;
  min-height: 35rem;
  overflow: hidden;
  border-left: 1px solid var(--line-light);
}

.vehicle-media::after {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(248, 245, 238, 0.32);
  content: "";
  pointer-events: none;
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  min-height: 35rem;
  object-fit: cover;
}

.vehicle-dossier {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 35rem;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  color: var(--ink);
  background: var(--paper);
}

.record-number {
  position: absolute;
  top: 1rem;
  right: -0.05em;
  margin: 0;
  color: rgba(201, 95, 33, 0.15);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(8rem, 13vw, 13rem);
  font-weight: 700;
  line-height: 0.8;
}

.vehicle-dossier > div:nth-of-type(1) {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.vehicle-make {
  margin: 0 0 0.35rem;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vehicle-dossier h3 {
  max-width: 12ch;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.35rem, 3.5vw, 4.6rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.vehicle-variant {
  min-height: 1.2em;
  margin: 0.75rem 0 0;
  color: #5f5c55;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.vehicle-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: auto 0 1.25rem;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.vehicle-facts div {
  padding: 0.72rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.vehicle-facts dt {
  color: #666159;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vehicle-facts dd {
  margin: 0.2rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.vehicle-price {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.record-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid var(--ink);
}

.action-primary,
.record-actions .action-primary {
  display: grid;
  place-items: center;
  min-height: 3.25rem;
  border: 0;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.record-actions > a:not(.action-primary) {
  display: grid;
  min-height: 3.25rem;
  place-items: center;
  padding: 0.75rem 0.9rem;
  border-left: 1px solid var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.record-actions > a:not(.action-primary):hover,
.action-primary:hover {
  color: var(--white);
  background: var(--ink);
}

.inventory-section {
  padding: clamp(2.5rem, 5vw, 5rem) var(--page-pad) clamp(5rem, 9vw, 9rem);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: 3rem;
  max-width: var(--content);
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}

.section-heading h2,
.services-intro h2,
.services-intro h1,
.location-copy h2,
.contact-copy h2,
.about-section h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.75rem, 4.6vw, 4.75rem);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.section-heading h2 {
  white-space: nowrap;
}

.contact-copy h2 {
  line-height: 1;
}

.contact-copy p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: rgba(17, 17, 15, 0.72);
}

.section-heading > p {
  max-width: 32rem;
  margin: 0;
  color: var(--steel);
}

.inventory-heading-copy {
  max-width: 34rem;
}

.inventory-heading-copy p {
  margin: 0;
  color: var(--steel);
}

.inventory-snapshot-label {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: var(--content);
  margin: 0 auto;
  background: var(--ink);
}

.inventory-status {
  display: grid;
  place-items: center;
  min-height: 12rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(17, 17, 15, 0.15);
  color: #5f5c55;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

.inventory-status[hidden] {
  display: none;
}

.inventory-card {
  min-width: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--ink);
}

.inventory-card:nth-child(-n + 4) {
  border-top: 1px solid var(--line-light);
}

.inventory-card:nth-child(4n + 1) {
  border-left: 1px solid var(--line-light);
}

.inventory-card a {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(15.5rem, 1fr);
  height: 100%;
  min-height: 33rem;
  overflow: hidden;
}

.inventory-image {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 15rem;
  overflow: hidden;
}

.inventory-image::after {
  position: absolute;
  right: 100%;
  bottom: 0;
  width: 24%;
  height: 2px;
  background: var(--copper);
  box-shadow: 0 0 0.8rem rgba(201, 95, 33, 0.72);
  content: "";
  pointer-events: none;
}

.inventory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transition: filter 360ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.inventory-card:is(:hover, :focus-within) .inventory-image img {
  filter: saturate(1.05);
  transform: scale(1.025);
}

.inventory-card:is(:hover, :focus-within) .inventory-image::after {
  animation: inventory-bottom-scan 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.inventory-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.1vw, 2.35rem);
}

.folio {
  margin-bottom: 1rem;
  color: var(--copper);
}

.inventory-copy > .folio {
  font-size: 1rem;
}

.inventory-copy h3 {
  max-width: 18ch;
  min-height: 1.9em;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.75rem, 2.4vw, 3rem);
  font-weight: 600;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.inventory-variant {
  min-height: 1em;
  margin: 0.75rem 0 0;
  color: var(--steel);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.inventory-spec {
  margin: 1rem 0 1.5rem;
  color: var(--steel);
  font-size: 0.78rem;
}

.inventory-price {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
}

.inventory-price strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.6rem, 2.1vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.inventory-price span {
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inventory-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: var(--content);
  min-height: 6rem;
  margin: 1.5rem auto 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.inventory-source span {
  color: currentColor;
  font-size: 1.05em;
}

.inventory-source:hover {
  color: var(--ink);
  background: var(--copper);
}

.inventory-source:hover span {
  color: var(--ink);
}

/* Ein-Aktenwand: ein Datenmodell, eine responsive Oberfläche. */
.stock-section {
  padding: clamp(3rem, 5vw, 5rem) var(--page-pad) clamp(3.5rem, 6vw, 6rem);
}

.stock-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--content);
  margin: 0 auto clamp(1.25rem, 2.5vw, 2.25rem);
}

.stock-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.75rem, 4.6vw, 4.75rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.inventory-experience {
  max-width: var(--content);
  margin: 0 auto;
}

.showcase-desktop {
  display: grid;
  grid-template-columns: minmax(0, 19fr) minmax(0, 54fr) minmax(0, 27fr);
  /* min() gegen 60svh verhindert, dass die Box auf kurzen/breiten Fenstern
     (z.B. MacBook-Browserhoehe) zusammen mit Ueberschrift + "Gesamten
     Bestand"-Button hoeher wird als der sichtbare Bereich (Nutzer-Meldung:
     Ueberschrift verschwindet nach oben, Button wird unten angeschnitten,
     2026-08-24). */
  height: clamp(30rem, min(64vw, 60svh), 44rem);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(17, 17, 15, 0.06), 0 4px 12px rgba(17, 17, 15, 0.08);
}

.showcase-rail {
  display: grid;
  /* min-content statt 0: Zeileninhalt (Marke/Modell/Preis) passte bei voller
     Breite nur mit ~1px Luft in die 1fr-Zeile -- jede Abweichung (Zoom,
     abweichende Font-Metriken) liess die Trennlinie durch den Preis laufen
     statt die Zeile wachsen zu lassen ("eklig beim Zoomen", 2026-08-24).
     overflow-y:auto faengt den seltenen Rest-Fall ab, in dem 5 Zeilen auch
     mit min-content nicht mehr in die feste Bühnenhöhe passen. */
  grid-auto-rows: minmax(min-content, 1fr);
  overflow-y: auto;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--line-dark);
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 15, 0.28) transparent;
}

.showcase-rail::-webkit-scrollbar {
  width: 6px;
}

.showcase-rail::-webkit-scrollbar-track {
  background: transparent;
}

.showcase-rail::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 15, 0.28);
}

.showcase-rail__item {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: clamp(0.55rem, 1vw, 0.9rem) clamp(0.65rem, 1.15vw, 1.1rem);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease;
}

.showcase-rail__item:last-child {
  border-bottom: 0;
}

.showcase-rail__item::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--copper);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-rail__item[aria-selected="true"] {
  color: var(--ink);
}

.showcase-rail__item[aria-selected="true"]::before {
  transform: scaleX(1);
}

.showcase-rail__identity {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  min-width: 0;
}

.showcase-rail__label,
.showcase-rail__details {
  display: grid;
  min-width: 0;
}

.showcase-rail__slot,
.showcase-rail__make,
.showcase-rail__model,
.showcase-rail__variant,
.showcase-rail__price {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.showcase-rail__slot {
  color: var(--copper);
  font-size: 1rem;
  font-weight: 600;
}

.showcase-rail__make {
  color: var(--copper);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
}

.showcase-rail__model {
  margin-top: 0.18rem;
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  font-weight: 600;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.showcase-rail__details {
  gap: 0.18rem;
  padding-left: 2.65rem;
}

.showcase-rail__variant {
  color: #5f5c55;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.showcase-rail__spec {
  overflow: hidden;
  color: #666159;
  font-size: 0.64rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-rail__price {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  line-height: 1;
}

.showcase-rail__item[aria-selected="true"] :is(.showcase-rail__slot, .showcase-rail__make) {
  color: var(--ink);
}

.showcase-desktop__gallery,
.showcase-reel__gallery {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #080807;
}

.showcase-desktop__gallery {
  border-right: 1px solid var(--line-dark);
}

.showcase-desktop__gallery.is-entering-forward {
  animation: showcase-gallery-forward 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.showcase-desktop__gallery.is-entering-backward {
  animation: showcase-gallery-backward 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.showcase-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transition: filter 320ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.showcase-gallery__frame {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  overflow: hidden;
}

.showcase-gallery__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fuellt die Flaeche hinter dem vollstaendigen (contain) Fahrzeugfoto mit
     einer geblurten, vergroesserten Kopie desselben Bildes statt einer
     Volltonflaeche (Nutzer-Meldung: schwarzer Rand, 2026-08-24). scale(1.15)
     kompensiert, dass blur() den Bildrand nach innen aufweicht. */
  filter: blur(28px) saturate(1.05) brightness(0.72);
  transform: scale(1.15);
}

.showcase-gallery__frame > .showcase-gallery__image {
  position: absolute;
  inset: 0;
  /* Die Galerie-Box (~1.18:1) ist schmaler als die 4:3-Fotos von mobile.de
     (1.33:1). Mit object-fit:cover wurde deshalb Front oder Heck jedes
     Fahrzeugs abgeschnitten (Nutzer-Meldung 24-Zoll-Monitor, 2026-08-24) —
     contain zeigt das ganze Fahrzeug, der geblurte Backdrop darunter
     verhindert die zuvor schwarzen Balken oben/unten. */
  object-fit: contain;
}

.showcase-desktop__gallery:is(:hover, :focus-within) .showcase-gallery__frame > .showcase-gallery__image {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.012);
}

.showcase-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid rgba(248, 245, 238, 0.64);
  color: var(--white);
  background: rgba(17, 17, 15, 0.72);
  cursor: pointer;
  transform: translateY(-50%);
}

.showcase-gallery__arrow:hover:not(:disabled) {
  color: var(--ink);
  background: var(--copper);
  border-color: var(--copper);
}

.showcase-gallery__arrow:disabled {
  opacity: 0.34;
  cursor: default;
}

.showcase-gallery__arrow svg {
  width: 1.5rem;
  height: 1.5rem;
}

.showcase-gallery__arrow--previous {
  left: 1rem;
}

.showcase-gallery__arrow--next {
  right: 1rem;
}

.showcase-gallery__indicators {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
  padding: 0.35rem 0.6rem;
  color: var(--white);
  background: rgba(17, 17, 15, 0.78);
}

.showcase-gallery__counter {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.showcase-dossier {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.15rem, 2vw, 2.2rem);
  color: var(--ink);
  background: var(--white);
}

.showcase-dossier__number {
  position: absolute;
  top: 0.5rem;
  right: -0.03em;
  margin: 0;
  color: rgba(201, 95, 33, 0.14);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(7rem, 10vw, 11rem);
  font-weight: 700;
  line-height: 0.82;
}

.showcase-dossier__identity {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.75rem, 3vh, 3rem);
}

.showcase-dossier__make {
  margin: 0 0 0.3rem;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-dossier__model {
  max-width: 11ch;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.2rem, 3.1vw, 4rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.showcase-dossier__variant {
  min-height: 1em;
  margin: 0.65rem 0 0;
  color: #5f5c55;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.showcase-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: auto 0 0.75rem;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.showcase-facts div {
  min-width: 0;
  padding: 0.6rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.showcase-facts dt {
  color: #666159;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-facts dd {
  margin: 0.15rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  font-weight: 600;
  line-height: 1.1;
}

.showcase-dossier__price {
  margin: 0 0 0.75rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.showcase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.5rem, auto);
  border: 1px solid var(--ink);
}

.showcase-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  min-height: 3.1rem;
  padding: 0.65rem 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(0.66rem, 0.78vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-actions__primary {
  color: var(--ink);
  background: var(--copper);
}

.showcase-actions__secondary {
  border-left: 1px solid var(--ink);
}

.showcase-actions a:hover {
  color: var(--white);
  background: var(--ink);
}

.showcase-reels {
  display: grid;
  gap: 1rem;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  background: transparent;
  scroll-snap-type: none;
}

.showcase-reel {
  display: grid;
  grid-template-rows: clamp(12rem, 62vw, 20rem) auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(17, 17, 15, 0.06), 0 4px 12px rgba(17, 17, 15, 0.08);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .showcase-reel:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(17, 17, 15, 0.08), 0 10px 24px rgba(17, 17, 15, 0.12);
  }
}

.showcase-reel__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.showcase-reel__track::-webkit-scrollbar {
  display: none;
}

.showcase-reel__image {
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.showcase-reel__image .showcase-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-gallery__indicators--compact {
  right: 0.65rem;
  bottom: 0.65rem;
  left: auto;
  padding: 0.3rem 0.5rem;
}

.showcase-dossier--compact {
  flex: none;
  min-height: 0;
  padding: 1rem;
  background: var(--white);
}

.showcase-dossier--compact .showcase-dossier__number {
  display: none;
}

.showcase-dossier--compact .showcase-dossier__identity {
  margin-top: 0;
  padding-right: 0;
}

.showcase-dossier--compact .showcase-dossier__make {
  font-size: 0.68rem;
}

.showcase-dossier--compact .showcase-dossier__model {
  max-width: none;
  font-size: clamp(1.5rem, 6vw, 2.1rem);
}

.showcase-dossier--compact .showcase-dossier__variant {
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

.showcase-dossier--compact .showcase-dossier__price {
  margin: 0.7rem 0 0;
  font-size: 1.85rem;
}

.showcase-dossier__spec {
  margin: 0.55rem 0 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(17, 17, 15, 0.12);
  color: #5f5c55;
  font-size: 0.82rem;
  line-height: 1.45;
}

.showcase-dossier--compact .showcase-actions {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.85rem;
  border: 0;
}

.showcase-dossier--compact .showcase-actions a {
  min-height: 2.9rem;
  padding: 0.6rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  transition: transform 120ms ease, background-color 180ms ease, color 180ms ease;
}

.showcase-dossier--compact .showcase-actions__primary {
  color: var(--ink);
  background: var(--copper);
}

.showcase-dossier--compact .showcase-actions__secondary {
  border: 1px solid rgba(17, 17, 15, 0.28);
  color: var(--ink);
  background: transparent;
}

.showcase-dossier--compact .showcase-actions a:active {
  transform: scale(0.98);
}

.stock-section > .inventory-source {
  margin-top: 0.9rem;
}

@keyframes showcase-gallery-forward {
  from { opacity: 0.5; clip-path: inset(0 7% 0 0); transform: translateX(1.4rem); }
  to { opacity: 1; clip-path: inset(0); transform: translateX(0); }
}

@keyframes showcase-gallery-backward {
  from { opacity: 0.5; clip-path: inset(0 0 0 7%); transform: translateX(-1.4rem); }
  to { opacity: 1; clip-path: inset(0); transform: translateX(0); }
}

@media (min-width: 1100px) {
  .stock-heading h2 {
    white-space: nowrap;
  }
}

@media (min-width: 1100px) and (max-height: 820px) {
  .hero {
    min-height: clamp(30rem, 100dvh, 42rem);
  }

  .stock-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .stock-heading {
    margin-bottom: 0.85rem;
  }

  .showcase-desktop {
    height: clamp(29rem, calc(100svh - 15.5rem), 36rem);
  }

  .showcase-dossier {
    padding: 0.85rem;
  }

  .showcase-dossier__identity {
    margin-top: 0.25rem;
  }

  .showcase-dossier__model {
    font-size: clamp(2rem, 2.75vw, 3.25rem);
  }

  .showcase-facts div {
    padding: 0.35rem 0.45rem;
  }

  .showcase-dossier__price {
    margin-bottom: 0.45rem;
    font-size: 2.65rem;
  }

  .showcase-actions a {
    min-height: 2.8rem;
  }
}

@media (max-width: 1099px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0.5rem;
    padding: 0.5rem max(0.5rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
    border-top: 1px solid var(--line-light);
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-contact-bar.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 3.5rem;
    padding: 0.75rem 0.6rem;
    border: 1px solid var(--line-light);
    color: var(--white);
    background: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mobile-contact-bar .mobile-whatsapp {
    border-color: var(--copper);
    color: var(--ink);
    background: var(--copper);
  }

  .stock-section {
    padding: clamp(2.75rem, 7vw, 4rem) var(--page-pad) 2.5rem;
    scroll-margin-top: 5rem;
  }

  .stock-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .stock-heading h2 {
    font-size: clamp(2.65rem, 9vw, 4rem);
  }
}

@media (max-width: 350px) {
  .showcase-dossier--compact {
    padding: 0.65rem;
  }

  .showcase-dossier--compact .showcase-dossier__model {
    font-size: 1.65rem;
  }

  .showcase-dossier--compact .showcase-actions a {
    font-size: 0.62rem;
  }
}

.services-section {
  display: grid;
  grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 8rem);
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) var(--page-pad);
}

.services-intro {
  align-self: start;
  position: sticky;
  top: 8.5rem;
}

.services-intro > p {
  max-width: 30rem;
  margin: 2rem 0;
  color: #5f5b53;
}

/* --- Service-Unterseite: Breadcrumb-Muster, siehe .page-breadcrumb --- */

.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  color: #5f5b53;
}

.page-breadcrumb a {
  position: relative;
  border-bottom: 1px solid var(--line-dark);
}

.page-breadcrumb a::after {
  position: absolute;
  inset: -1rem -0.25rem;
  content: "";
}

.page-breadcrumb a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.page-breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.services-intro .placeholder-note {
  margin: 1.5rem 0 2rem;
  color: var(--copper);
}

.services-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 30rem);
}

.services-action {
  display: grid;
  min-width: 0;
  min-height: 3.5rem;
  place-items: center;
  padding: 0.75rem 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.services-action--whatsapp {
  border: 1px solid var(--copper);
  color: var(--ink);
  background: var(--copper);
}

.services-action--email {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.services-action:is(:hover, :focus-visible) {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.service-ledger {
  position: relative;
  margin: 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}

.service-ledger::before,
.service-ledger::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 4rem;
  width: 2px;
  content: "";
  pointer-events: none;
}

.service-ledger::before {
  background: rgba(119, 113, 105, 0.35);
}

.service-ledger::after {
  background: var(--copper);
  transform: scaleY(1);
  transform-origin: top center;
}

.service-ledger li {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 0;
  opacity: 1;
}

.service-no {
  position: relative;
  z-index: 2;
  padding-block: 0.2rem;
  color: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  margin-top: 0.9rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--copper);
  background: var(--copper);
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail-link span {
  color: var(--ink);
  font-size: 1.15em;
}

.service-detail-link:hover,
.service-detail-link:focus-visible {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
}

@supports (animation-timeline: view()) {
  .service-ledger::after {
    animation: service-ledger-progress linear both;
    animation-timeline: view(block);
    animation-range: entry 8% cover 82%;
  }

  .service-ledger li {
    animation: service-step-emphasis linear both;
    animation-timeline: view(block);
    animation-range: entry 12% cover 42%;
  }

  .service-no {
    animation: service-number-emphasis linear both;
    animation-timeline: view(block);
    animation-range: entry 12% cover 42%;
  }

  .service-ledger h3 {
    animation: service-title-emphasis linear both;
    animation-timeline: view(block);
    animation-range: entry 12% cover 42%;
  }

  .service-ledger p {
    animation: service-copy-emphasis linear both;
    animation-timeline: view(block);
    animation-range: entry 12% cover 42%;
  }
}

.service-ledger h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 3.6vw, 4rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-ledger p {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: #5f5b53;
}

.about-section {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) var(--page-pad) clamp(5rem, 9vw, 8rem);
}

.about-media {
  position: relative;
  align-self: start;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 0.65rem 0 var(--copper);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.78) contrast(1.03);
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  max-width: none;
  padding: 0;
  text-align: left;
}

.about-heading {
  grid-column: 1 / -1;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.about-eyebrow {
  margin: 0;
  color: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-heading h2 {
  max-width: none;
  margin: 0.65rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.75rem, 3.2vw, 3.75rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

.about-heading h2 span {
  display: block;
}

@media (min-width: 901px) {
  .about-heading h2 span {
    white-space: nowrap;
  }
}

.about-subline {
  margin: 1rem 0 0;
  color: var(--ink);
  font-weight: 700;
}

.about-text {
  max-width: none;
  margin: 0;
  color: #4f4c45;
  font-size: 1.12rem;
  line-height: 1.45;
}

.about-text + .about-text {
  margin-top: 1rem;
}

.about-facts {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem 0;
  width: 100%;
  margin-top: 2rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-facts span + span::before {
  margin: 0 0.65rem;
  color: var(--copper);
  content: "·";
}

.about-facts span {
  white-space: nowrap;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(25rem, 0.72fr);
  min-height: 54rem;
  color: var(--white);
  background: var(--ink);
}

.location-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(7, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  height: clamp(58rem, 70vw, 66rem);
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  background: var(--line-light);
}

.location-gallery__item {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #080806;
  color: var(--white);
  cursor: zoom-in;
}

.location-gallery__item:nth-child(1) { grid-area: 1 / 1 / 3 / 5; }
.location-gallery__item:nth-child(2) { grid-area: 3 / 1 / 5 / 3; }
.location-gallery__item:nth-child(3) { grid-area: 3 / 3 / 4 / 4; }
.location-gallery__item:nth-child(4) { grid-area: 3 / 4 / 4 / 5; }
.location-gallery__item:nth-child(5) { grid-area: 4 / 3 / 5 / 4; }
.location-gallery__item:nth-child(6) { grid-area: 4 / 4 / 5 / 5; }
.location-gallery__item:nth-child(7) { grid-area: 5 / 1 / 6 / 3; }
.location-gallery__item:nth-child(8) { grid-area: 5 / 3 / 6 / 4; }
.location-gallery__item:nth-child(9) { grid-area: 6 / 1 / 8 / 2; }
.location-gallery__item:nth-child(10) { grid-area: 6 / 2 / 8 / 4; }
.location-gallery__item:nth-child(11) { grid-area: 5 / 4 / 8 / 5; }

.location-gallery__item:nth-child(1) { --sheet-x: -1.4rem; --sheet-y: -0.8rem; --sheet-delay: 0ms; }
.location-gallery__item:nth-child(2) { --sheet-x: 1.2rem; --sheet-y: -0.7rem; --sheet-delay: 35ms; }
.location-gallery__item:nth-child(3) { --sheet-x: 0.6rem; --sheet-y: 0.5rem; --sheet-delay: 70ms; }
.location-gallery__item:nth-child(4) { --sheet-x: 1.1rem; --sheet-y: 0.35rem; --sheet-delay: 105ms; }
.location-gallery__item:nth-child(5) { --sheet-x: -1.2rem; --sheet-y: 0.6rem; --sheet-delay: 140ms; }
.location-gallery__item:nth-child(6) { --sheet-x: 0.4rem; --sheet-y: 0.65rem; --sheet-delay: 175ms; }
.location-gallery__item:nth-child(7) { --sheet-x: -0.9rem; --sheet-y: 1.2rem; --sheet-delay: 210ms; }
.location-gallery__item:nth-child(8) { --sheet-x: 0.2rem; --sheet-y: 1.25rem; --sheet-delay: 245ms; }
.location-gallery__item:nth-child(9) { --sheet-x: 1rem; --sheet-y: 1.1rem; --sheet-delay: 280ms; }
.location-gallery__item:nth-child(10) { --sheet-x: -0.35rem; --sheet-y: 1.35rem; --sheet-delay: 315ms; }
.location-gallery__item:nth-child(11) { --sheet-x: 0.9rem; --sheet-y: 1.45rem; --sheet-delay: 350ms; }

.location-gallery.is-assembled .location-gallery__item {
  animation: contact-sheet-assemble 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--sheet-delay);
}

.location-gallery__item::after {
  position: absolute;
  inset: 0.5rem;
  border: 1px solid var(--line-light);
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease;
}

.location-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 220ms ease, transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.location-gallery__item > span {
  /* Rein dekorative Bildnummer (aria-hidden) im Grid ausgeblendet, auf
     Nutzerwunsch entfernt (2026-08-24). Der Lightbox-Zaehler beim Aufklappen
     eines Bildes bleibt unveraendert. */
  display: none;
}

.location-gallery__item:is(:hover, :focus-visible) img {
  filter: brightness(1.08);
  transform: scale(1.025);
}

.location-gallery__item:focus-visible {
  z-index: 2;
  outline: 3px solid var(--copper);
  outline-offset: -3px;
}

.location-gallery__item:is(:hover, :focus-visible)::after {
  border-color: rgba(248, 245, 238, 0.58);
}

.location-gallery__item:nth-child(1) img { object-position: 66% 52%; }
.location-gallery__item:nth-child(3) img { object-position: 42% center; }
.location-gallery__item:nth-child(4) img { object-position: 52% center; }
.location-gallery__item:nth-child(7) img { object-position: center 56%; }
.location-gallery__item:nth-child(9) img { object-position: 38% center; }
.location-gallery__item:nth-child(11) img { object-position: center 42%; }

body.gallery-open {
  overflow: hidden;
}

.location-lightbox {
  width: 100dvw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: rgba(7, 8, 8, 0.96);
}

.location-lightbox[open] {
  animation: gallery-reveal 180ms ease-out both;
}

.location-lightbox::backdrop {
  background: rgba(7, 8, 8, 0.92);
}

.location-lightbox__stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100dvh;
  place-items: center;
  padding: 4.5rem clamp(5rem, 9vw, 9rem) 2rem;
}

.location-lightbox figure {
  display: grid;
  width: min(100%, 96rem);
  height: calc(100dvh - 6.5rem);
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  touch-action: pan-y;
}

.location-lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  will-change: opacity, transform;
}

.location-lightbox__counter-window {
  display: block;
  min-width: 4.25rem;
  height: 1.45em;
  overflow: hidden;
}

.location-lightbox__counter-window [data-gallery-position] {
  display: block;
  will-change: opacity, transform;
}

.location-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  color: var(--steel);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.location-lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 0;
  color: var(--white);
  background: rgba(17, 17, 15, 0.84);
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.location-lightbox button:is(:hover, :focus-visible) {
  color: var(--ink);
  background: var(--copper);
  outline: 0;
}

.location-lightbox__close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem !important;
}

.location-lightbox__previous,
.location-lightbox__next {
  top: 50%;
  font-size: 1.4rem !important;
  transform: translateY(-50%);
}

.location-lightbox__previous { left: 1rem; }
.location-lightbox__next { right: 1rem; }

@keyframes gallery-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 5vw, 5.5rem) clamp(2rem, 4vw, 4.5rem);
}

.location-copy address {
  margin: clamp(2rem, 4vw, 3.25rem) 0 1.75rem;
  color: var(--steel);
  font-style: normal;
  line-height: 1.75;
}

.location-copy address strong {
  color: var(--white);
}

.location-actions {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.8fr) minmax(12rem, 1.2fr);
  border: 1px solid var(--line-light);
}

.location-actions a {
  display: grid;
  min-width: 0;
  min-height: 4.5rem;
  place-content: center;
  padding: 0.8rem 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.location-whatsapp {
  color: var(--ink);
  background: var(--copper);
}

.location-phone {
  border-left: 1px solid var(--line-light);
  color: var(--white);
  background: var(--ink);
  line-height: 1.25;
}

.location-phone span {
  color: var(--steel);
  font-family: "Public Sans", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.location-whatsapp:hover,
.location-phone:hover {
  color: var(--ink);
  background: var(--white);
}

.location-phone:hover span {
  color: var(--ink);
}

.opening-hours {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line-light);
  padding-block: 1.25rem;
}

.opening-hours > p {
  margin: 0 0 0.8rem;
  color: var(--copper);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.opening-hours dl {
  margin: 0;
}

.opening-hours dl > div {
  display: grid;
  grid-template-columns: minmax(5rem, 0.7fr) minmax(9.5rem, 1.3fr);
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(248, 245, 238, 0.12);
}

.opening-hours dt,
.opening-hours dd {
  margin: 0;
}

.opening-hours dt {
  color: var(--steel);
}

.opening-hours dd {
  text-align: right;
}

.opening-hours > strong {
  display: block;
  margin-top: 0.85rem;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  margin-top: 1.5rem;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.route-link:hover,
.route-link:focus-visible {
  color: var(--copper);
  text-decoration-color: var(--copper);
}

.about-reviews {
  padding: clamp(4rem, 8vw, 7rem) var(--page-pad) clamp(5rem, 9vw, 9rem);
}

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

.reviews-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--content);
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
}

.reviews-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-score__number {
  color: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.85;
}

.reviews-score__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.reviews-score__stars {
  color: var(--copper);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.reviews-score__meta a {
  border-bottom: 1px solid var(--copper);
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reviews-score__meta a:hover {
  color: var(--copper);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2rem);
  max-width: var(--content);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2.25rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--copper);
  box-shadow: 0 24px 48px -16px rgba(17, 17, 15, 0.22);
  z-index: 1;
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-card__source {
  flex-shrink: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid transparent;
}

.review-card__source:hover,
.review-card__source:focus-visible {
  color: var(--copper);
  border-color: var(--copper);
}

.review-card__stars {
  color: var(--copper);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.review-card p {
  margin: 1.5rem 0 0;
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  line-height: 1.7;
}

.review-card__meta {
  display: block;
  margin-top: 2rem;
  color: var(--steel);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  display: block;
  padding: clamp(3rem, 6vw, 5rem) var(--page-pad);
  color: var(--ink);
  background: var(--copper);
  text-align: center;
}

.contact-copy {
  max-width: var(--content);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 0;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 46rem;
  margin: 0 auto;
  border: 1px solid var(--ink);
}

.contact-options a {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  border-right: 1px solid var(--ink);
}

.contact-options a:last-child {
  border-right: none;
}

.contact-whatsapp {
  color: var(--white);
  background: var(--ink);
}

.contact-phone,
.contact-email {
  color: var(--ink);
  background: transparent;
}

.contact-options a:hover {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem) var(--page-pad);
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.site-footer::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 58%;
  width: min(68rem, 78vw);
  aspect-ratio: 7827 / 2671;
  background: url("assets/brand/rheinpark-logo.png") center / contain no-repeat;
  content: "";
  opacity: 0.1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.site-footer.is-reached::before {
  animation: footer-watermark-rise 1400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.site-footer p {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer span {
  display: block;
  color: var(--steel);
  font-size: 0.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-brand-contact {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  color: var(--steel);
  font-size: 0.75rem;
  transition: color 150ms ease;
}

.footer-brand-contact:hover,
.footer-brand-contact:focus-visible {
  color: var(--copper);
}

.footer-route {
  display: none;
}

.footer-route:hover,
.footer-route:focus-visible {
  color: var(--copper);
  text-decoration-color: var(--copper);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer p.footer-made-by {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: var(--steel);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
}

.footer-made-by a {
  color: var(--steel);
  transition: color 150ms ease;
}

.footer-made-by a:hover,
.footer-made-by a:focus-visible {
  color: var(--copper);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border: 0;
  padding: 0.45rem 0;
  color: var(--white);
  background: transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  cursor: pointer;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--copper);
  text-decoration-color: var(--copper);
}

.error-page {
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
}

.error-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 72rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: 3rem var(--page-pad);
}

.error-code {
  margin: 2rem 0 -2rem;
  color: rgba(201, 95, 33, 0.3);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(10rem, 32vw, 28rem);
  font-weight: 700;
  line-height: 0.68;
}

.error-shell h1 {
  position: relative;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 0.85;
  text-transform: uppercase;
}

.error-shell > p:not(.error-code) {
  color: var(--steel);
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.error-actions a {
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line-light);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes record-in {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-dossier-open {
  from {
    clip-path: inset(0 3% 0 0);
    filter: brightness(0.94) contrast(1.06) saturate(0.9);
    transform: scale(1.03);
  }
  to {
    clip-path: inset(0);
    filter: brightness(1.1) contrast(1.02) saturate(1);
    transform: none;
  }
}

@keyframes hero-dossier-open-mobile {
  from {
    clip-path: inset(0 3% 0 0);
    filter: brightness(1.128) contrast(1.06) saturate(0.9);
    transform: scale(1.03);
  }
  to {
    clip-path: inset(0);
    filter: brightness(1.32) contrast(1.02) saturate(1);
    transform: none;
  }
}

@keyframes hero-dossier-open-home-mobile {
  from {
    clip-path: inset(0 3% 0 0);
    filter: brightness(1.2972) contrast(1.06) saturate(0.9);
    transform: scale(1.03);
  }

  to {
    clip-path: inset(0);
    filter: brightness(2.00) contrast(1.02) saturate(1);
    transform: none;
  }
}

@keyframes hero-inspection-sweep {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  10% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(100vw + 2px));
  }
}

@keyframes hero-shutter-reveal {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(0.45rem);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@keyframes page-progress {
  to { transform: scaleX(1); }
}

@keyframes register-panel-forward {
  from { opacity: 0; clip-path: inset(0 8% 0 0); transform: translateX(2rem); }
  to { opacity: 1; clip-path: inset(0); transform: translateX(0); }
}

@keyframes register-panel-backward {
  from { opacity: 0; clip-path: inset(0 0 0 8%); transform: translateX(-2rem); }
  to { opacity: 1; clip-path: inset(0); transform: translateX(0); }
}

@keyframes inventory-bottom-scan {
  from { transform: translateX(0); }
  to { transform: translateX(520%); }
}

@keyframes service-ledger-progress {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes service-step-emphasis {
  0% { opacity: 0.72; }
  55%, 100% { opacity: 1; }
}

@keyframes service-number-emphasis {
  0%, 42% { color: #777169; }
  58%, 100% { color: var(--copper); }
}

@keyframes service-title-emphasis {
  0%, 42% { color: #777169; }
  58%, 100% { color: var(--ink); }
}

@keyframes service-copy-emphasis {
  0%, 42% { color: #8d877e; }
  58%, 100% { color: #5f5b53; }
}

@keyframes contact-sheet-assemble {
  from {
    opacity: 0.2;
    clip-path: inset(7%);
    transform: translate(var(--sheet-x), var(--sheet-y)) scale(0.985);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translate(0, 0) scale(1);
  }
}

@keyframes footer-watermark-rise {
  from { opacity: 0.035; transform: translate(-50%, calc(-50% + 16px)); }
  to { opacity: 0.1; transform: translate(-50%, -50%); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding-left: 0.85rem;
  }

  .primary-nav {
    gap: 0.1rem;
  }

  .primary-nav a {
    min-height: 2.5rem;
    padding-inline: 0.45rem;
    font-size: 0.82rem;
  }

  .header-phone {
    display: none;
  }

  .vehicle-panel {
    grid-template-columns: minmax(0, 1.42fr) minmax(21rem, 0.78fr);
  }

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

}

@media (max-width: 1199px) and (min-width: 761px) {
  .inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inventory-card:nth-child(n) {
    border-top: 0;
    border-left: 0;
  }

  .inventory-card:nth-child(-n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .inventory-card:nth-child(3n + 1) {
    border-left: 1px solid var(--line-light);
  }
}

@media (min-width: 901px) {
  .register-tab-label small {
    font-size: 0.75rem;
  }

  .vehicle-panel,
  .vehicle-media,
  .vehicle-media img,
  .vehicle-dossier {
    height: 43.5rem;
    min-height: 43.5rem;
  }

  .record-actions {
    grid-template-columns: minmax(0, 1fr) minmax(8.75rem, auto);
  }

  .record-actions > a:not(.action-primary) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
  }
}

@media (min-width: 901px) and (max-height: 1020px) {
  .vehicle-panel,
  .vehicle-media,
  .vehicle-media img,
  .vehicle-dossier {
    height: 40.5rem;
    min-height: 40.5rem;
  }
}

@media (min-width: 901px) and (max-height: 900px) {
  .featured-heading {
    margin-bottom: 1rem;
  }

  .register-tabs button {
    min-height: 3.5rem;
    padding-block: 0.4rem;
  }

  .vehicle-panel,
  .vehicle-media,
  .vehicle-media img,
  .vehicle-dossier {
    height: clamp(32.75rem, calc(50svh + 24.25vw - 8.25rem), 41rem);
    min-height: 0;
  }

  .vehicle-dossier {
    padding: 1rem;
  }

  .vehicle-dossier > div:nth-of-type(1) {
    margin-top: 0.5rem;
  }

  .vehicle-facts {
    margin-bottom: 0.5rem;
  }

  .vehicle-facts div {
    padding: 0.4rem 0.5rem;
  }

  .vehicle-price {
    margin-bottom: 0.5rem;
    font-size: clamp(2.6rem, 4vw, 4rem);
  }

  .record-actions .action-primary,
  .record-actions > a:not(.action-primary) {
    padding: 0.6rem 0.7rem;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 8rem;
  }

  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .site-header,
  .site-header.is-scrolled {
    top: 0;
    width: 100%;
    min-height: 4.5rem;
    padding: 0.65rem var(--page-pad);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--ink);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-self: end;
  }

  .header-spacer,
  .header-actions {
    display: none;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 0;
  }

  .brand img {
    width: min(11.5rem, 44vw);
    height: 2.85rem;
    object-position: left center;
  }

  .primary-nav {
    position: fixed;
    top: 4.5rem;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-self: auto;
    gap: 0;
    height: calc(100dvh - 4.5rem);
    padding: 1.5rem var(--page-pad) calc(4.75rem + max(0.75rem, env(safe-area-inset-bottom)));
    overflow-y: auto;
    border: 0;
    background: var(--ink);
    box-shadow: none;
  }

  .primary-nav.open {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .mobile-contact-bar {
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    flex: 0 0 auto;
    align-items: center;
    min-height: 4.75rem;
    padding: 0;
    border-bottom: 1px solid var(--line-light);
    color: var(--white);
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    text-align: left;
    justify-content: flex-start;
  }

  .primary-nav a::after {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0.5rem;
    padding: 0.5rem max(0.5rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
    border-top: 1px solid var(--line-light);
    background: var(--ink);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 3.5rem;
    padding: 0.75rem 0.6rem;
    border: 1px solid var(--line-light);
    border-radius: 0.35rem;
    color: var(--white);
    background: var(--ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mobile-contact-bar .mobile-whatsapp {
    border-color: var(--copper);
    color: var(--ink);
    background: var(--copper);
  }

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

  .featured-heading h2 {
    max-width: 11ch;
    white-space: normal;
  }

  .section-heading h2 {
    white-space: normal;
  }

  .hero {
    min-height: clamp(36rem, calc(100svh - 8.5rem), 42rem);
  }

  .hero-photo {
    object-position: 59% 49%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 8, 0.76) 0%, rgba(7, 8, 8, 0.5) 58%, rgba(7, 8, 8, 0.12) 100%),
      linear-gradient(0deg, rgba(7, 8, 8, 0.64) 0%, transparent 52%);
  }

  .register-tabs {
    width: 100%;
  }

  .vehicle-panel {
    grid-template-columns: 1fr;
  }

  .vehicle-media,
  .vehicle-media img {
    min-height: clamp(20rem, 66vw, 34rem);
  }

  .vehicle-dossier {
    min-height: auto;
  }

  .vehicle-dossier > div:nth-of-type(1) {
    margin-top: 2.5rem;
  }

  .vehicle-facts {
    margin-top: 3rem;
  }

  .services-section {
    grid-template-columns: 1fr;
  }

  .services-intro {
    position: static;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .about-media {
    order: 1;
    align-self: stretch;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0.5rem 0 var(--copper);
  }

  .about-heading {
    order: 2;
    max-width: 34.375rem;
    margin: 0;
    padding: clamp(3.5rem, 10vw, 5rem) var(--page-pad) 0;
    text-align: left;
  }

  .about-copy {
    order: 3;
    max-width: 34.375rem;
    margin: 0;
    padding: 1.5rem var(--page-pad) clamp(4rem, 11vw, 5.5rem);
  }

  .about-heading h2 {
    max-width: 14ch;
  }

  .about-facts {
    flex-wrap: wrap;
  }

  .location-section {
    grid-template-columns: 1fr;
  }

  .location-gallery {
    height: clamp(48rem, 100vw, 60rem);
    min-height: 0;
    border-right: 0;
    border-top: 1px solid var(--line-light);
  }

  .location-copy {
    order: -1;
    min-height: 0;
  }

  .reviews-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

/* Auf flachen Viewports würde die höhere Unterseiten-Intro unter dem
   Sichtfeld festkleben und die WhatsApp-Aktion unerreichbar machen. */
@media (max-width: 760px) {
  :root {
    --page-pad: 1rem;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    margin: 0;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.425rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.425rem) rotate(-45deg);
  }

  .header-spacer {
    display: none;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
  }

  .brand img {
    width: min(11.5rem, 44vw);
    height: 2.85rem;
    padding: 0;
    object-position: left center;
  }


  .hero {
    min-height: 38rem;
  }

  .hero-photo {
    object-position: 67% 50%;
    animation-name: hero-dossier-open-mobile;
  }

  .hero:not(.hero--subpage) .hero-photo {
    animation-name: hero-dossier-open-home-mobile;
  }

  .hero-copy {
    align-self: start;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 18vw, 5.35rem);
    line-height: 0.96;
  }

  .hero-copy > p:not(.hero-claim) {
    max-width: 27rem;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 21rem;
  }

  .hero-concept-note {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
  }

  .hero--subpage .hero-copy {
    align-self: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .mobile-contact-bar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-contact-bar.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .featured-section {
    display: none;
  }

  .inventory-section {
    padding-top: clamp(4rem, 14vw, 5.5rem);
  }

  .featured-heading h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .register-meta {
    font-size: 0.57rem;
  }

  .register-tabs button {
    flex-direction: column;
    align-items: flex-start;
    min-height: 4.5rem;
    padding: 0.65rem;
  }

  .register-tab-label {
    margin-inline-start: 0;
    text-align: left;
  }

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

  .register-tabs button [data-slot-number] {
    font-size: 1.25rem;
  }

  .vehicle-media,
  .vehicle-media img {
    min-height: 19rem;
  }

  .vehicle-media::after {
    inset: 0.65rem;
  }

  .vehicle-dossier {
    padding: 1.5rem 1rem;
  }

  .record-number {
    top: 1.25rem;
    font-size: 9rem;
  }

  .vehicle-dossier h3 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .vehicle-facts {
    margin-top: 2.75rem;
  }

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

  .record-actions > a:not(.action-primary) {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading h2,
  .services-intro h2,
  .services-intro h1,
  .location-copy h2,
  .contact-copy h2,
  .about-section h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .inventory-card a {
    grid-template-rows: 17rem auto;
    min-height: 0;
  }

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

  .inventory-card:nth-child(n) {
    border-top: 0;
    border-left: 1px solid var(--line-light);
  }

  .inventory-card:first-child {
    border-top: 1px solid var(--line-light);
  }

  .inventory-copy h3 {
    font-size: 2.2rem;
  }

  .inventory-source {
    gap: 0.5rem;
    min-height: 5.5rem;
    padding-inline: 1rem;
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .service-ledger li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .service-ledger::before,
  .service-ledger::after {
    left: 3rem;
  }

  .service-ledger h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .location-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-rows: clamp(7rem, 31vw, 9.5rem);
    height: auto;
    min-height: 0;
  }

  .location-gallery .location-gallery__item {
    grid-area: auto;
  }

  .location-gallery .location-gallery__item--lead {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .location-gallery .location-gallery__item--wide {
    grid-column: 1 / -1;
  }

  .location-gallery__item::after {
    inset: 0.35rem;
  }

  .location-gallery__item > span {
    right: 0.55rem;
    bottom: 0.5rem;
    min-width: 1.75rem;
    min-height: 1.75rem;
    font-size: 0.78rem;
  }

  .location-lightbox__stage {
    padding: 4.25rem 0.75rem 5.5rem;
  }

  .location-lightbox figure {
    height: calc(100dvh - 9.75rem);
  }

  .location-lightbox figcaption {
    font-size: 0.78rem;
  }

  .location-lightbox__previous,
  .location-lightbox__next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .location-copy {
    min-height: 0;
    padding: 3.25rem 1rem;
  }

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

  .location-phone {
    border-top: 0;
    border-left: 1px solid var(--line-light);
  }

  .opening-hours dl > div {
    grid-template-columns: minmax(3.5rem, 0.6fr) minmax(0, 1.4fr);
    gap: 0.5rem;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-options a {
    border-right: none;
    border-bottom: 1px solid var(--ink);
  }

  .contact-options a:last-child {
    border-bottom: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }

  .footer-navigation,
  .footer-contact {
    display: none;
  }

  .footer-brand {
    gap: 0.5rem;
  }

  .footer-route {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2.75rem;
    margin-top: 0.75rem;
    color: var(--white);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.3em;
    transition: color 150ms ease, text-decoration-color 150ms ease;
  }

  .footer-legal {
    gap: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-light);
  }

  .footer-legal > p {
    display: none;
  }

  .footer-legal .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-legal .footer-nav li + li {
    border-left: 1px solid var(--line-light);
  }

  .footer-legal .footer-nav a {
    min-height: 2.75rem;
    border-bottom: 0;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .site-footer::before {
    left: 50%;
    width: 120%;
    opacity: 0.045;
  }

  .error-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .location-actions a {
    padding-inline: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }

  .opening-hours dl > div {
    font-size: 0.9rem;
  }

  .opening-hours dd {
    white-space: nowrap;
  }

  .register-tab-label small {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* initServicePanelMotion() setzt [data-panel-motion] hier gar nicht erst;
     das ist die zweite Sicherung, falls das Flag doch gesetzt sein sollte. */
  .service-panel__media img,
  .service-panel__no,
  .service-panel__no::after,
  .service-panel__copy h2,
  .service-panel__copy p {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-photo {
    animation: none !important;
    clip-path: none;
    filter: brightness(0.96) contrast(1.03);
    transform: none;
  }

  .hero-inspection-line {
    display: none;
  }

  .hero-copy h1 {
    animation: none !important;
    clip-path: none;
    transform: none;
  }

  .hero-actions,
  .showcase-desktop__gallery,
  .location-gallery__item,
  .site-footer::before {
    animation: none !important;
  }

  .showcase-reel,
  .showcase-gallery__track,
  .showcase-dossier--compact .showcase-actions a {
    transition: none !important;
    transform: none !important;
  }

  .page-progress {
    display: none;
    animation: none !important;
  }

  .service-ledger li {
    animation: none !important;
    opacity: 1;
  }

  .service-ledger::after {
    animation: none !important;
    transform: scaleY(1);
  }

  .service-no {
    animation: none !important;
    color: var(--copper);
  }

  .service-ledger h3 {
    animation: none !important;
    color: var(--ink);
  }

  .service-ledger p {
    animation: none !important;
    color: #5f5b53;
  }

  .site-footer::before {
    opacity: 0.1;
    transform: translate(-50%, -50%);
  }

  .showcase-gallery__image {
    transform: none !important;
    transition: none !important;
  }
}

/* ===========================================================
   Aufbereitung — Vollbild-Leistungspanels + Pakete
   =========================================================== */

:root {
  /* deckt sich mit html { scroll-padding-top } — Panel endet exakt am Viewportrand */
  --panel-header-h: 5.5rem;
}

.service-stage {
  color: var(--white);
  background: var(--ink);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: calc(100svh - var(--panel-header-h));
  border-bottom: 1px solid var(--line-light);
  scroll-snap-align: start;
}

.service-panel:last-child {
  border-bottom: 0;
}

.service-panel__media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

/* Absolut positioniert, damit das Seitenverhaeltnis des Bildes die
   Panel-Hoehe nicht ueberschreibt (sonst diktiert 1120x1400 die Zeile). */
.service-panel__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-panel:nth-child(even) .service-panel__media {
  order: 2;
}

.service-panel__copy {
  display: flex;
  align-self: center;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.service-panel__no {
  position: relative;
  align-self: flex-start;
  padding-bottom: 0.5rem;
  color: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.service-panel__copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 5rem);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: break-word;
  /* Nur an gesetzten &shy;-Stellen trennen — auto trennte "INNENRAUMAUFBEREI-TUNG". */
  hyphens: manual;
}

.service-panel__copy p {
  max-width: 34rem;
  margin: 0;
  color: rgba(248, 245, 238, 0.72);
}

.service-panel__desktop-detail {
  display: none;
}

/* --- Panel-Motion ----------------------------------------------------
   Zeitbasiert statt scroll-getrieben, ausgeloest von initServicePanelMotion().
   Grund: Die Panels rasten per scroll-snap ein — eine scroll-gescrubbte
   Animation steht an genau dieser Ruheposition immer schon auf 100 % und ist
   damit unsichtbar, weil der Nutzer nur dort anhaelt. Ausserdem laeuft
   `animation-timeline: view()` praktisch nur in Chromium.
   `[data-panel-motion]` setzt erst das JS; ohne JS bleibt alles sichtbar. */
[data-panel-motion] .service-panel__media img {
  transform: scale(1.07);
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-panel-motion] .service-panel__no,
[data-panel-motion] .service-panel__copy h2,
[data-panel-motion] .service-panel__copy p {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-panel-motion] .service-panel__no {
  color: #6f6961;
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    color 620ms ease;
}

[data-panel-motion] .service-panel__no::after {
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-panel-motion] .service-panel.is-active .service-panel__media img {
  transform: scale(1);
}

[data-panel-motion] .service-panel.is-active .service-panel__no,
[data-panel-motion] .service-panel.is-active .service-panel__copy h2,
[data-panel-motion] .service-panel.is-active .service-panel__copy p {
  opacity: 1;
  transform: translateY(0);
}

[data-panel-motion] .service-panel.is-active .service-panel__no {
  color: var(--copper);
  transition-delay: 60ms;
}

[data-panel-motion] .service-panel.is-active .service-panel__no::after {
  transform: scaleX(1);
  transition-delay: 220ms;
}

[data-panel-motion] .service-panel.is-active .service-panel__copy h2 {
  transition-delay: 150ms;
}

[data-panel-motion] .service-panel.is-active .service-panel__copy p {
  transition-delay: 260ms;
}

/* Ein Wisch = eine Leistung. Nur wo ein Panel wirklich in den Viewport passt. */
@media (prefers-reduced-motion: no-preference) and (min-height: 40rem) {
  html:has(.service-panel) {
    scroll-snap-type: y proximity;
  }

}

/* Der Hero ist nur dort ein Snap-Ziel, wo der Header klebt. Unter 761px
   scrollt der Header mit — dann zoege das Snapping ihn beim Laden sofort
   aus dem Bild und der Seitenkopf waere nie erreichbar. */
@media (prefers-reduced-motion: no-preference) and (min-height: 40rem) and (min-width: 761px) {
  .hero--subpage {
    scroll-snap-align: start;
  }
}

/* --- Pakete --- */

.packages {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--page-pad);
  scroll-snap-align: start;
}

.packages__intro {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.packages__intro h2 {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 4.5rem);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
}

.packages__intro > p {
  margin: 0;
  color: #5f5b53;
}

.packages__intro .placeholder-note {
  margin: 1.1rem 0 0;
  color: var(--copper);
}

.package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  background: var(--paper);
}

.package--featured {
  border: 2px solid var(--ink);
  background: var(--white);
}

.package--featured::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.42rem;
  background: var(--copper);
  content: "";
}

.package__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.75rem;
}

.package__no {
  color: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.package__flag {
  border: 1px solid var(--ink);
  padding: 0.32rem 0.55rem;
  color: var(--ink);
  background: var(--copper);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.package h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.package__lead {
  margin: 0;
  color: #5f5b53;
}

.package__items {
  display: grid;
  gap: 0.42rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.package__items li {
  position: relative;
  padding-left: 1.25rem;
  color: #3d3a35;
  font-size: 0.94rem;
}

.package__items li::before {
  position: absolute;
  left: 0;
  color: var(--copper);
  content: "✓";
}

.package__prices {
  display: grid;
  gap: 0.4rem;
  margin: auto 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
}

.package__prices > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.package__prices dt {
  color: #5f5b53;
  font-size: 0.92rem;
}

.package__prices dd {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  line-height: 1.1;
  white-space: nowrap;
}

.package--featured .package__prices dd {
  color: var(--copper);
  font-weight: 600;
}

.package__tbd {
  color: var(--copper);
}

.package__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.package__action span {
  margin-left: 0.9rem;
}

.package__action--secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.package__action--primary {
  border: 1px solid var(--copper);
  color: var(--ink);
  background: var(--copper);
}

.package__action--secondary span {
  color: var(--copper);
}

.package__action--primary span {
  color: var(--ink);
}

.package__action:is(:hover, :focus-visible) {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.package__action:is(:hover, :focus-visible) span {
  color: var(--copper);
}

@media (max-width: 1180px) {
  :root {
    --panel-header-h: 7.9rem;
  }
}

@media (min-width: 901px) {
  .service-panel__copy {
    gap: 1.1rem;
  }

  .service-panel__no {
    font-size: 1.85rem;
  }

  .service-panel__copy h2 {
    font-size: clamp(2.75rem, 4.6vw, 5.35rem);
  }

  .service-panel__copy p {
    max-width: 38rem;
    font-size: clamp(1.08rem, 1.25vw, 1.25rem);
    line-height: 1.62;
  }

  .service-panel__desktop-detail {
    display: inline;
  }
}
@media (max-width: 900px) {
  .service-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 40svh) auto;
  }

  .service-panel:nth-child(even) .service-panel__media {
    order: 0;
  }

  .service-panel__copy {
    padding-block: clamp(1.75rem, 5vw, 2.75rem);
  }

  .package-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .package__prices {
    margin-top: 0.4rem;
  }
}

@media (max-width: 760px) {
  :root {
    --panel-header-h: 0rem;
  }

  /* Header scrollt hier mit (position: relative) — kein Offset noetig. */
  html:has(.service-panel) {
    scroll-padding-top: 0;
    scroll-snap-type: y proximity;
  }

  /* Header + Hero bilden den ersten mobilen Viewport. Danach rastet jede
     Leistung und jede Paketkarte einzeln ein; der Touch-Controller begrenzt
     auch schnelle Gesten auf genau einen Schritt. */
  .hero--subpage {
    min-height: calc(100svh - 4.25rem);
  }

  .service-panel {
    scroll-snap-stop: always;
  }

  /* Absolut positioniert lief die Bildzeile in den WhatsApp-Button.
     Auf Mobil laeuft sie deshalb im Fluss unter der Aktion mit. */
  .hero--subpage .hero-concept-note {
    position: static;
    align-self: end;
    max-width: none;
    margin: 0 var(--page-pad) 1.1rem;
  }

  .packages {
    position: relative;
    max-width: none;
    padding: 0;
    scroll-snap-align: none;
  }

  .packages__intro {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    margin: 0;
    padding: clamp(1.35rem, 5vw, 2rem) var(--page-pad) 0;
    pointer-events: none;
  }

  .packages__intro h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .packages__intro > p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .packages__intro .placeholder-note {
    margin-top: 0.6rem;
  }

  .package-list {
    display: grid;
    gap: 0;
    border: 0;
    background: transparent;
  }

  .package {
    box-sizing: border-box;
    border-width: 0 0 1px;
    padding: clamp(1.5rem, 6vw, 2.2rem) var(--page-pad);
  }

  .package:first-child {
    border-top: 1px solid var(--line-dark);
  }

  .package--featured {
    border: 2px solid var(--ink);
  }

  .package__prices {
    margin-top: 0.4rem;
  }

  .contact-section {
    scroll-snap-align: start;
  }

}

/* Kurze Handy-Viewports behalten trotzdem genau eine Paketkarte pro Schritt.
   Die Abstaende werden nur dort verdichtet, nicht der Inhalt entfernt. */
@media (max-width: 760px) and (max-height: 43rem) {
  .packages__intro {
    padding-top: 1rem;
  }

  .packages__intro h2 {
    margin-bottom: 0.35rem;
    font-size: 2rem;
  }

  .packages__intro > p {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .packages__intro .placeholder-note {
    margin-top: 0.35rem;
  }

  .package {
    gap: 0.5rem;
    padding-top: 1.1rem;
    padding-bottom: calc(4.25rem + max(0.5rem, env(safe-area-inset-bottom)));
  }

  .package:first-child {
    padding-top: 10rem;
  }

  .package__items {
    gap: 0.28rem;
    margin-top: 0.2rem;
  }

  .package__prices {
    gap: 0.25rem;
    padding-top: 0.85rem;
  }

  .package__action {
    margin-top: 0.45rem;
  }
}
