:root {
  --bg: #030303;
  --bg-elevated: #0a0a0a;
  --bg-card: #101010;
  --surface: #161616;
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --accent: #e8c547;
  --accent-hover: #f5d65c;
  --accent-dim: rgba(232, 197, 71, 0.14);
  --border: rgba(232, 197, 71, 0.42);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  --font: "Montserrat", system-ui, sans-serif;
  --font-hpx: "Montserrat", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Montserrat", sans-serif;
  --font-script: "Allura", "Segoe Script", cursive;
  --skew: -8deg;
  --max: 74rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Header – Lamborghini style */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header--hero:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

.site-header.is-scrolled {
  background: rgba(3, 3, 3, 0.88);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-header.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.header-inner--lambo {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  justify-self: start;
}

.menu-trigger__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 1.25rem;
}

.menu-trigger__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-trigger__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo--center {
  justify-self: center;
}

.logo--center img {
  width: min(260px, 38vw);
  height: auto;
}

.site-header .logo--center img {
  width: min(340px, 54vw);
  max-height: 3.25rem;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.header-action svg {
  width: 1.15rem;
  height: 1.15rem;
}

.header-action:hover {
  opacity: 1;
  color: var(--accent);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: min(300px, 46vw);
  height: auto;
}

.logo--footer img {
  width: min(240px, 60vw);
}

/* Brand typography */
.brand-hpx,
.headline,
.hero h1,
.section-head h2,
.split__content h2,
.contact-intro h2,
.service-card h3,
.step h3,
.page-legal h1 {
  font-family: var(--font-hpx);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

.brand-hpx {
  display: inline-block;
  letter-spacing: 0.04em;
  transform: skewX(var(--skew));
}

.brand-hpx--inline {
  color: var(--text);
}

.brand-script,
.quote footer {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
}

.brand-script {
  display: inline-block;
  font-size: 1.35em;
  color: var(--accent);
  transform: skewX(-4deg) translateY(0.08em);
}

.brand-script--inline {
  font-size: 1.15em;
  color: var(--accent);
  text-transform: none;
}

.headline {
  display: grid;
  gap: 0.15em;
  transform: skewX(var(--skew));
  transform-origin: left center;
}

.headline span {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav--overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100dvh;
  margin: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: calc(var(--header-h) + 1.5rem) 0 2rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  z-index: 900;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.header-inner--lambo .main-nav.is-open,
.main-nav--overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  padding-right: var(--nav-scrollbar, 0);
}

body.nav-open .site-header {
  z-index: 910;
  padding-right: var(--nav-scrollbar, 0);
  transition: none;
}

body.nav-open .main-nav--overlay {
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

body.inquiry-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.header-inner--lambo .main-nav a,
.main-nav--overlay a {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.16em;
  text-align: center;
  color: #fff;
  white-space: nowrap;
}

.header-inner--lambo .main-nav a:hover,
.header-inner--lambo .main-nav a.is-active,
.main-nav--overlay a:hover,
.main-nav--overlay a.is-active {
  color: var(--accent);
  transform: none;
}

.header-inner--lambo .main-nav .nav-cta,
.main-nav--overlay .nav-cta {
  margin: 0;
  padding: 1rem 1.5rem;
  text-align: center;
  color: var(--accent) !important;
  border: none;
  border-top: 1px solid rgba(232, 197, 71, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(232, 197, 71, 0.08);
}

.header-inner--lambo .main-nav .nav-cta:hover,
.main-nav--overlay .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000 !important;
}

.main-nav__soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.main-nav__soon-label {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.main-nav__soon-hint {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
  transform: skewX(-4deg);
}

.nav-cta {
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: #000 !important;
}

.nav-toggle {
  display: inline-flex;
}

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

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

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

/* Hero – Lamborghini layout */
.hero--lambo {
  position: relative;
  min-height: 100svh;
  display: block;
  padding: 0;
}

.hero--lambo .hero__media img,
.hero--lambo .hero__fallback {
  object-fit: cover;
  object-position: 38% center;
  animation: none !important;
}

.hero--lambo .hero__video {
  display: none !important;
}

.hero--lambo .hero__overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.35) 72%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 35%, transparent 70%, rgba(0, 0, 0, 0.45) 100%);
}

.hero__media--plain {
  background:
    radial-gradient(ellipse 90% 70% at 75% 35%, rgba(232, 197, 71, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(232, 197, 71, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, #050505 0%, #0c0a06 45%, #030303 100%);
}

.hero__media--plain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: repeating-linear-gradient(
    -14deg,
    transparent,
    transparent 32px,
    rgba(232, 197, 71, 0.035) 32px,
    rgba(232, 197, 71, 0.035) 33px
  );
  pointer-events: none;
}

.hero__stage {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}

html.js .hero--lambo .hero__copy {
  animation: hero-rise 0.85s var(--ease) 0.12s both;
}

html.js .hero--lambo .hero__cta-wrap {
  animation: hero-rise 0.85s var(--ease) 0.28s both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stat-pop {
  from {
    opacity: 0;
    transform: skewX(var(--skew)) translateY(16px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: skewX(var(--skew)) translateY(0) scale(1);
  }
}

html.js .hero-stats-bar.is-visible .stat {
  animation: stat-pop 0.65s var(--ease) both;
}

html.js .hero-stats-bar.is-visible .stat:nth-child(1) {
  animation-delay: 0.05s;
}

html.js .hero-stats-bar.is-visible .stat:nth-child(2) {
  animation-delay: 0.15s;
}

html.js .hero-stats-bar.is-visible .stat:nth-child(3) {
  animation-delay: 0.25s;
}

.hero__copy {
  max-width: min(100%, 52rem);
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.brand-hpx--hero {
  font-family: var(--font-hpx);
  font-weight: 900;
  font-style: italic;
  color: var(--text);
  transform: none;
}

.brand-script--hero {
  font-size: 1.5em;
  color: var(--accent);
  transform: none;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 400;
  font-style: normal;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  transform: none;
}

.hero__cta-wrap {
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 0.35rem;
}

.btn--lambo {
  min-height: 3.25rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  clip-path: none;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
}

.btn--lambo:hover {
  background: var(--accent-hover);
  transform: none;
}

.btn--lambo span {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.2s;
}

.btn--lambo:hover span {
  transform: translateX(4px);
}

.hero-stats-bar {
  background: var(--accent);
  border-bottom: none;
}

.hero-stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
}

.hero-stats-bar .stat {
  text-align: center;
}

.hero-stats-bar .stat__value {
  transform: skewX(var(--skew));
  color: #000;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

.hero-stats-bar .stat__label {
  margin-top: 0.5rem;
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.88);
}

/* Legacy hero (legal pages) */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media:has(.hero__video) .hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media:has(.hero__video) .hero__video {
  z-index: 1;
}

.hero__hex {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 0l28 16v32l-28 16L0 48V16z' fill='none' stroke='%23e8c547' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
}

.headline--hero {
  max-width: 12ch;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
}

.headline--hero span {
  display: block;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: none;
  font-size: inherit;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.65) 0%, rgba(3, 3, 3, 0.25) 40%, rgba(3, 3, 3, 0.95) 100%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.88) 0%, rgba(3, 3, 3, 0.35) 50%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), transparent);
  transform: skewY(-6deg);
}

.hero__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 15ch;
  font-size: clamp(2.35rem, 6.5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-hpx);
  font-size: 0.8125rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

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

.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 12px 40px rgba(232, 197, 71, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 16px 48px rgba(232, 197, 71, 0.35);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 40rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero__stats .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.stat__value {
  display: block;
  font-family: var(--font-hpx);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  transform: skewX(var(--skew));
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--dark {
  background: var(--bg);
}

.section--accent {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #0d0d0d 100%);
}

.section--gold {
  background: var(--accent);
  color: #000;
}

.section--gold .section-label {
  color: rgba(0, 0, 0, 0.55);
}

.section--gold .headline,
.section--gold .headline span {
  color: #000;
}

.section--gold .brand-script--inline {
  color: #000;
}

.section--gold .icon-card {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
}

.section--gold .icon-card h3 {
  color: #000;
}

.section--gold .icon-card p {
  color: rgba(0, 0, 0, 0.72);
}

.section--gold .icon-card__icon {
  color: #000;
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.05);
}

.section--border {
  border-top: 1px solid var(--border-subtle);
}

.section--contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-intro {
  margin-inline: auto;
}

.section-label {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-hpx);
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transform: skewX(-4deg);
}

.section-head h2,
.split__content h2,
.contact-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.02;
  transform-origin: left center;
}

.section-intro {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-8px) skewX(-1deg);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.service-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.media-slot {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, #080808 0%, #121212 55%, #0a0906 100%);
  border-bottom: 2px solid rgba(232, 197, 71, 0.35);
}

.media-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 26px,
    rgba(232, 197, 71, 0.04) 26px,
    rgba(232, 197, 71, 0.04) 27px
  );
  pointer-events: none;
}

.media-slot__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-hpx);
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  color: rgba(232, 197, 71, 0.22);
  letter-spacing: 0.08em;
  transform: skewX(-6deg);
}

.media-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slot:has(img) .media-slot__num {
  display: none;
}

.media-slot:has(img)::before {
  display: none;
}

/* OFF-Leistungen: Produktbilder auf schwarzem 16:10-Canvas */
.off-photo-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border-bottom: 2px solid rgba(232, 197, 71, 0.35);
}

.off-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .off-photo-tile img,
.leistung-card--off:hover .off-photo-tile img {
  transform: scale(1.04);
}

.off-photo-tile--page {
  border: 1px solid var(--border-subtle);
}

/* OFF-Leistungen: gelbe Icon-Kacheln (Fallback) */
.off-icon-tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--accent);
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.off-icon-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 26px,
    rgba(0, 0, 0, 0.06) 26px,
    rgba(0, 0, 0, 0.06) 27px
  );
  pointer-events: none;
}

.off-icon-tile.media-slot {
  background: var(--accent);
}

.off-icon-tile .media-slot__num {
  display: none;
}

.off-icon-tile .icon {
  position: relative;
  z-index: 1;
  width: clamp(5.5rem, 22vw, 8.75rem);
  height: clamp(5.5rem, 22vw, 8.75rem);
  color: #000;
  transition: transform 0.35s var(--ease);
}

.service-card--off:hover .off-icon-tile .icon {
  transform: scale(1.06);
}

.off-icon-tile--page {
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.off-icon-tile--page .icon {
  width: clamp(6rem, 26vw, 10rem);
  height: clamp(6rem, 26vw, 10rem);
}

.kb-figure--off {
  margin-bottom: 2rem;
}

.leistung-card__visual.off-icon-tile {
  border-bottom: none;
}

.leistung-card__visual.off-photo-tile {
  border-bottom: none;
}

.leistung-card .off-photo-tile img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}

.leistung-card--off:hover .off-icon-tile .icon {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__num {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transform: skewX(-4deg);
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.service-card h3 a {
  color: inherit;
  transition: color 0.2s;
}

.service-card h3 a:hover {
  color: var(--accent);
}

.service-card__more {
  margin-top: 1rem;
}

.service-card__more a {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card__more a:hover {
  color: var(--accent-hover);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__content p {
  color: var(--text-muted);
}

.split__content--full {
  max-width: 48rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-hpx);
  font-size: 0.9375rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.feature-list span {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.visual-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.visual-panel__badge {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.visual-panel__badge span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.visual-panel__badge strong {
  font-family: var(--font-hpx);
  font-size: 1.25rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.step__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-hpx);
  font-size: 2.25rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  transform: skewX(var(--skew));
}

.step h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  transform: skewX(-4deg);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.quote {
  margin: 0;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
}

.quote p {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
}

.quote footer {
  font-size: 1.25rem;
  color: var(--accent);
  transform: skewX(-4deg);
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.about-meta__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

#ueber-uns {
  position: relative;
  overflow: hidden;
}

#ueber-uns::before {
  display: none;
}

#ueber-uns::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 45%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

#ueber-uns .container {
  position: relative;
  z-index: 1;
}

.about-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.about-logo {
  width: min(100%, 22rem);
  height: auto;
  filter: brightness(0);
  opacity: 1;
}

#ueber-uns .split__content p {
  color: rgba(0, 0, 0, 0.78);
}

#ueber-uns .about-meta {
  border-top-color: rgba(0, 0, 0, 0.14);
}

#ueber-uns .about-meta__label {
  color: rgba(0, 0, 0, 0.52);
}

#ueber-uns .about-meta__value,
#ueber-uns .about-meta__value strong {
  color: #000;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-intro p {
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-list__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-list a {
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-form {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.contact-form-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-form__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-form__steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-form__steps li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  font-family: var(--font-hpx);
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  color: #000;
  background: var(--accent);
  transform: skewX(-6deg);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 24rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-brand img {
  width: min(240px, 60vw);
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-contact strong {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-nav {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-powered {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-powered a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-powered a:hover {
  color: var(--accent-hover);
}

/* Legal pages */
.page-legal {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.page-legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  transform: skewX(var(--skew));
  transform-origin: left center;
}

.page-legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  color: var(--accent);
  text-transform: uppercase;
}

.page-legal p,
.page-legal li {
  color: var(--text-muted);
}

.page-legal a {
  color: var(--accent);
}

.page-legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.page-legal .legal-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}

.page-legal code {
  font-size: 0.875em;
  color: var(--accent);
}

/* Text ticker */
.text-ticker {
  position: relative;
  z-index: 4;
  border-block: 1px solid rgba(232, 197, 71, 0.35);
  background: #000;
}

.text-ticker__viewport {
  height: 2.5rem;
  overflow: hidden;
}

.text-ticker__track {
  display: flex;
  width: max-content;
  animation: text-ticker 24s linear infinite;
}

.text-ticker__item {
  flex-shrink: 0;
  padding-inline: 2rem;
  height: 2.5rem;
  line-height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

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

/* Full-width visual banner */
.visual-banner {
  position: relative;
  height: clamp(220px, 32vw, 420px);
  overflow: hidden;
}

.visual-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,3,3,0.9) 0%, transparent 40%, transparent 60%, rgba(3,3,3,0.9) 100%);
}

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

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%);
}

.service-card__num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-hpx);
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* Icon feature grid */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.icon-card {
  padding: 1.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.3s, transform 0.3s;
}

.icon-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.icon-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  border: 1px solid var(--border);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

.icon-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-hpx);
  font-size: 0.9375rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.icon-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* SEO content */
.section--seo {
  border-top: 1px solid var(--border-subtle);
}

.prose-seo h3 {
  margin: 1.75rem 0 0.75rem;
  font-family: var(--font-hpx);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.prose-seo h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prose-seo p {
  color: var(--text-muted);
}

.seo-split {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 22rem);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.seo-split__visual {
  margin: 0;
  height: 100%;
  min-height: 100%;
}

.seo-split__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(232, 197, 71, 0.22);
  border-left: 3px solid var(--accent);
}

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

  .seo-split__visual {
    order: -1;
    max-width: 14rem;
    margin-inline: auto;
    height: auto;
    min-height: 0;
  }

  .seo-split__visual img {
    height: auto;
    aspect-ratio: 576 / 1024;
    min-height: 0;
  }
}

.seo-image {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.seo-image--small {
  margin-top: 1rem;
  max-height: 220px;
}

.split__visual .about-image {
  width: 100%;
  margin-top: 1.25rem;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.faq-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
}

.faq-item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-hpx);
  font-size: 1rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.faq-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about-meta__value {
  margin: 0;
}

.contact-form__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-hpx);
  font-size: 1.125rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.section-head header,
header.section-head {
  margin-bottom: 3rem;
}

@media (prefers-reduced-motion: reduce) {
  .text-ticker__track {
    animation: none;
  }
}

/* Animations */
html.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}

html.js .reveal-stagger:not(.is-visible) > * {
  opacity: 0;
}

html.js .reveal-stagger.is-visible > * {
  animation: reveal-up 0.65s var(--ease) both;
}

html.js .reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0.04s; }
html.js .reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.12s; }
html.js .reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.2s; }
html.js .reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.28s; }
html.js .reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 0.36s; }
html.js .reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 0.44s; }

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fade-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid,
  .card-grid--2,
  .steps,
  .icon-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-items: start;
  }

  .split--reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-h: 4rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .header-inner--lambo {
    grid-template-columns: auto 1fr auto;
    width: min(100% - 1.5rem, var(--max));
  }

  .logo--center {
    justify-self: center;
  }

  .logo--center img {
    width: min(200px, 42vw);
  }

  .menu-trigger__label {
    display: none;
  }

  .hero__stage {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero__cta-wrap {
    align-self: stretch;
  }

  .btn--lambo {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-bar__inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .hero-stats-bar .stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .hero-stats-bar .stat:last-child {
    border-bottom: 0;
  }

  .hero-stats-bar .stat__label {
    margin-top: 0;
  }

  .hero__title {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

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

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

  .kb-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .header-inner--lambo .main-nav a,
  .main-nav--overlay a {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
  }
  .card-grid,
  .card-grid--2,
  .steps,
  .icon-grid,
  .faq-grid,
  .about-meta {
    grid-template-columns: 1fr;
  }
}

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

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card:hover,
  .btn:hover {
    transform: none;
  }

  .hero--lambo .hero__copy,
  .hero--lambo .hero__cta-wrap,
  .hero-stats-bar .stat,
  .reveal-stagger.is-visible > * {
    animation: none !important;
  }
}

/* Wissensdatenbank */
.site-header--kb {
  background: rgba(3, 3, 3, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-header--kb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.header-inner--sub {
  background: transparent;
  border-bottom: none;
  width: min(100% - 2.5rem, var(--max));
}

.kb-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.18) 0%, rgba(232, 197, 71, 0.06) 45%, transparent 100%);
  border-bottom: 1px solid rgba(232, 197, 71, 0.22);
}

.section--kb {
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.07) 0%, var(--bg) 100%);
}

.section--kb-gold {
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.14) 0%, rgba(232, 197, 71, 0.05) 50%, rgba(10, 10, 10, 0.95) 100%);
  border-top: 1px solid rgba(232, 197, 71, 0.25);
  border-bottom: 1px solid rgba(232, 197, 71, 0.15);
}

.kb-hero--compact {
  padding-bottom: 2rem;
}

.kb-hero--brand {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.92) 75%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 197, 71, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #050505 0%, #0c0a06 100%);
}

.kb-hero--brand[style*="--kb-brand-image"] {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.92) 75%),
    var(--kb-brand-image) center / cover no-repeat;
}

.kb-hero--brand .hero__title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin: 0.25rem 0 0.75rem;
}

.kb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.kb-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.kb-breadcrumb a:hover {
  color: var(--accent);
}

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

.kb-hero__lead {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.kb-card-grid {
  display: grid;
  gap: 1.25rem;
}

.kb-card {
  display: block;
  padding: 1.75rem;
  border: 1px solid rgba(232, 197, 71, 0.38);
  background: linear-gradient(145deg, rgba(232, 197, 71, 0.16) 0%, rgba(232, 197, 71, 0.06) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s, transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.kb-card:hover {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(232, 197, 71, 0.24) 0%, rgba(232, 197, 71, 0.1) 100%);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.kb-card--featured {
  max-width: 36rem;
}

.kb-card__label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
}

.kb-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-hpx);
  font-size: 1.375rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.kb-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.kb-card__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.brand-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: linear-gradient(160deg, rgba(232, 197, 71, 0.14) 0%, rgba(20, 18, 10, 0.92) 100%);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.brand-card h2,
.brand-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-hpx);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.brand-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.brand-card--live {
  text-decoration: none;
  color: inherit;
}

.brand-card--live:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232, 197, 71, 0.12);
}

.brand-card--soon {
  opacity: 0.78;
  border-color: rgba(232, 197, 71, 0.2);
  background: linear-gradient(160deg, rgba(232, 197, 71, 0.08) 0%, rgba(12, 12, 12, 0.95) 100%);
}

.brand-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
}

.brand-card__badge--soon {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
}

.kb-note {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.kb-note a {
  color: var(--accent);
  font-weight: 600;
}

.kb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.kb-article {
  min-width: 0;
}

.kb-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.kb-figure {
  margin: 0 0 2rem;
}

.kb-figure img {
  width: 100%;
  border: 1px solid var(--border-subtle);
}

.kb-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.kb-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.kb-list li + li {
  margin-top: 0.5rem;
}

.kb-list--ordered {
  list-style: decimal;
}

.kb-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid var(--accent);
  background: rgba(232, 197, 71, 0.05);
}

.kb-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-hpx);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.kb-cta p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.kb-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.kb-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.kb-sidebar__nav strong {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.kb-sidebar__nav strong:first-child {
  margin-top: 0;
}

.kb-sidebar__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.kb-sidebar__nav a:hover,
.kb-sidebar__nav a[aria-current="page"] {
  color: var(--accent);
}

.kb-sidebar__soon {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kb-layout {
    grid-template-columns: 1fr;
  }

  .kb-sidebar {
    position: static;
    order: -1;
  }
}

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

/* Leistungen Unterseiten */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.leistung-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: linear-gradient(160deg, rgba(232, 197, 71, 0.1) 0%, rgba(12, 12, 12, 0.95) 100%);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.leistung-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.leistung-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.leistung-card__body {
  padding: 1.5rem;
}

.leistung-card__num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-hpx);
  font-size: 0.8125rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent);
}

.leistung-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-hpx);
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
  color: var(--text);
}

.leistung-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.leistung-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* Inquiry wizard (3-step popup) */
.inquiry-wizard {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.inquiry-wizard[hidden] {
  display: none !important;
}

.inquiry-wizard__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inquiry-wizard__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  width: min(100%, 56rem);
  height: min(34rem, calc(100svh - 2rem));
  max-height: calc(100svh - 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.inquiry-wizard__visual {
  position: relative;
  background-size: cover;
  background-position: center;
}

.inquiry-wizard__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(135deg, rgba(232, 197, 71, 0.18) 0%, transparent 55%);
}

.inquiry-wizard__visual-copy {
  position: absolute;
  inset: auto 1.25rem 1.5rem;
  z-index: 1;
}

.inquiry-wizard__visual-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.inquiry-wizard__visual-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inquiry-wizard__main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
}

.inquiry-wizard__header {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.inquiry-wizard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.inquiry-wizard__top h2 {
  margin: 0;
  font-family: var(--font-hpx);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
  line-height: 1.25;
}

.inquiry-wizard__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.inquiry-wizard__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.inquiry-wizard__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.inquiry-wizard__progress span {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.25s var(--ease), box-shadow 0.25s;
}

.inquiry-wizard__progress span.is-active,
.inquiry-wizard__progress span.is-done {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(232, 197, 71, 0.45);
}

.inquiry-wizard__body {
  height: 100%;
  min-height: 0;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
}

.inquiry-step[hidden],
.inquiry-success[hidden] {
  display: none !important;
}

.inquiry-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-hpx);
  font-size: 1.125rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
}

.inquiry-step__lead {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.inquiry-fields {
  display: grid;
  gap: 1rem;
}

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

.inquiry-field {
  min-width: 0;
}

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

.inquiry-field label,
.inquiry-field legend {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.inquiry-field__optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(154, 154, 154, 0.85);
}

.inquiry-field input,
.inquiry-field textarea,
.inquiry-field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus,
.inquiry-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.25);
}

.inquiry-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.inquiry-field fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.inquiry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inquiry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.inquiry-chip:has(input:checked) {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
}

.inquiry-chip input {
  accent-color: var(--accent);
}

.inquiry-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.inquiry-privacy input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.inquiry-privacy a {
  color: var(--accent);
}

.inquiry-wizard__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.inquiry-wizard__footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.inquiry-wizard__footer .btn--back {
  background: rgba(232, 197, 71, 0.16);
  border: 1px solid rgba(232, 197, 71, 0.38);
  color: rgba(232, 197, 71, 0.92);
}

.inquiry-wizard__footer .btn--back:hover {
  background: rgba(232, 197, 71, 0.28);
  border-color: rgba(232, 197, 71, 0.65);
  color: #000;
}

.inquiry-wizard__footer .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.inquiry-wizard__status {
  margin: 0;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--text-muted);
}

.inquiry-wizard__status--error {
  color: #ff8a8a;
}

.inquiry-wizard__status--success {
  color: #7dcea0;
}

.inquiry-success {
  display: grid;
  place-content: center;
  gap: 1rem;
  min-height: 100%;
  text-align: center;
  padding: 1rem 0;
}

.inquiry-success h3 {
  margin: 0;
  font-family: var(--font-hpx);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  transform: skewX(-4deg);
  color: var(--accent);
}

.inquiry-success p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .inquiry-wizard__shell {
    grid-template-columns: 1fr;
    height: min(36rem, calc(100svh - 1.5rem));
  }

  .inquiry-wizard__visual {
    min-height: 7rem;
  }

  .inquiry-wizard__visual-copy {
    inset: auto 1rem 1rem;
  }

  .inquiry-wizard__visual-title {
    font-size: 1.5rem;
  }

  .inquiry-fields--2 {
    grid-template-columns: 1fr;
  }

  .inquiry-wizard__footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "status status"
      "back next";
  }

  .inquiry-wizard__status {
    grid-area: status;
  }

  .inquiry-wizard__footer [data-inquiry-back] {
    grid-area: back;
  }

  .inquiry-wizard__footer [data-inquiry-next] {
    grid-area: next;
  }

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

@media (max-width: 480px) {
  .inquiry-wizard {
    padding: 0;
  }

  .inquiry-wizard__shell {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    border: none;
  }
}

/* 10%-Aktion Popup */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.promo-popup[hidden] {
  display: none !important;
}

.promo-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.promo-popup__card {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 197, 71, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, #121212 0%, #080808 100%);
  border: 1px solid rgba(232, 197, 71, 0.45);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  animation: promo-pop 0.55s var(--ease) both;
}

@keyframes promo-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.promo-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.promo-popup__close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.promo-popup__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  transform: skewX(-6deg);
}

.promo-popup__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.promo-popup__text {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.promo-popup__date {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 197, 71, 0.85);
}

.promo-popup__dismiss {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}

.promo-popup__dismiss:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .promo-popup__card {
    animation: none;
  }
}
