/* ==========================================================================
   MM-Fahrzeugtechnik — Premium Design System
   Dark Automotive · Montserrat · Conversion-Optimized
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg:         #0a0a0c;
  --color-surface:    #111115;
  --color-surface-2:  #18181f;
  --color-border:     rgba(255,255,255,0.07);
  --color-border-md:  rgba(255,255,255,0.12);

  --color-accent:     #7a6535;
  --color-accent-mid: #8f7540;
  --color-accent-glow:#ab945e;
  --color-accent-line:#c4ae7a;

  --color-white:      #ffffff;
  --color-off-white:  #e8eaf0;
  --color-muted:      rgba(232,234,240,0.55);
  --color-subtle:     rgba(232,234,240,0.35);

  --color-cta:        #ab945e;
  --color-cta-hover:  #c4ae7a;

  /* Typography Scale */
  --font-primary:     'Montserrat', sans-serif;

  --size-hero:        clamp(2.8rem, 6vw, 5.5rem);
  --size-h1:          clamp(2rem, 4vw, 3.8rem);
  --size-h2:          clamp(1.6rem, 3vw, 2.6rem);
  --size-h3:          clamp(1.1rem, 2vw, 1.4rem);
  --size-body:        1rem;
  --size-small:       1rem;
  --size-xs:          0.75rem;

  --weight-thin:      300;
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-black:     800;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-2xl:  10rem;

  /* Effects */
  --shadow-card:   0 4px 40px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 60px rgba(171,148,94,0.15);
  --shadow-hover:  0 8px 60px rgba(0,0,0,0.8);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;

  /* Layout */
  --nav-height:   72px;
  --container-max: 1280px;
}


/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}


/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }


/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.label {
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-glow);
}

.label::before {
  content: '—';
  margin-right: 0.6em;
  opacity: 0.6;
}
/* h1 used as visually-styled label (SEO: single h1 per page) */
h1.label {
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  font-style: normal;
  line-height: inherit;
  color: var(--color-accent-glow);
}


h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: var(--weight-black);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0;
}

.headline-hero {
  font-size: var(--size-hero);
  font-weight: var(--weight-black);
  font-style: italic;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--color-white);
}

.headline-hero em {
  font-style: italic;
  color: var(--color-accent-glow);
}

.headline-section {
  font-size: var(--size-h2);
  font-style: italic;
  color: var(--color-white);
}

.headline-section span {
  color: var(--color-accent-glow);
}

.body-text {
  font-size: var(--size-body);
  color: var(--color-muted);
  line-height: 1.8;
  font-weight: var(--weight-regular);
  max-width: 600px;
}

.body-text--wide {
  max-width: 780px;
}


/* --------------------------------------------------------------------------
   5. Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-primary);
  font-weight: var(--weight-semibold);
  font-size: var(--size-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9em 2.2em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-white);
  border: 1px solid var(--color-cta);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(171,148,94,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-border-md);
}

.btn--outline:hover {
  border-color: var(--color-accent-line);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-off-white);
  border: 1px solid transparent;
  padding: 0.7em 0;
}

.btn--ghost:hover {
  color: var(--color-white);
  gap: 1em;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* CTA Phone button */
.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: 1.05rem;
  color: var(--color-white);
  padding: 0.8em 1.8em;
  background: var(--color-cta);
  border-radius: 4px;
  transition: var(--transition);
}

.btn--phone:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(171,148,94,0.4);
}


/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav--scrolled {
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.site-nav__logo {
  height: 54px;
  width: auto;
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav__link {
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-glow);
  transition: width var(--transition);
}

.site-nav__link:hover {
  color: var(--color-white);
}

.site-nav__link:hover::after {
  width: 100%;
}

.site-nav__cta {
  margin-left: 1rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: var(--weight-bold);
  color: var(--color-muted);
  letter-spacing: 0;
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-white);
}

.mobile-menu__contact {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu__phone {
  font-size: 1.1rem;
  font-weight: var(--weight-semibold);
  color: var(--color-off-white);
}


/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,12,0.92) 0%,
    rgba(10,10,12,0.7) 55%,
    rgba(10,10,12,0.2) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  max-width: 700px;
}

.hero__label {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero__headline {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero__sub {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s ease forwards;
}

.hero__badges {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1s ease forwards;
}

.hero__badge-num {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0;
}

.hero__badge-label {
  font-size: var(--size-xs);
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3em;
}

/* Typewriter */
.typewriter {
  display: inline-block;
  border-right: 3px solid var(--color-accent-glow);
  white-space: nowrap;
  overflow: hidden;
  animation: cursor-blink 0.75s step-end infinite;
  color: var(--color-accent-glow);
  font-style: normal;
  min-width: 1ch;
}

@keyframes cursor-blink {
  0%, 100% { border-color: var(--color-accent-glow); }
  50%       { border-color: transparent; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.5;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-white), transparent);
}

.scroll-indicator__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-white);
}


/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services {
  background: var(--color-surface);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-md), transparent);
}

.services__header {
  margin-bottom: var(--space-lg);
}

.services__header .label {
  margin-bottom: 1rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--color-border);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--color-surface);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--transition);
  cursor: default;
}

.service-card:hover {
  background: var(--color-surface-2);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  width: 0;
  height: 2px;
  background: var(--color-accent-glow);
  transition: width var(--transition);
}

.service-card:hover::after {
  width: calc(100% - 4rem);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  color: var(--color-accent-glow);
}

.service-card__title {
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}

.service-card__text {
  font-size: var(--size-small);
  color: var(--color-muted);
  line-height: 1.65;
}

/* Services CTA strip */
.services__cta-strip {
  margin-top: var(--space-lg);
  padding: 2.5rem 3rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.services__cta-text {
  font-size: 1.15rem;
  font-weight: var(--weight-semibold);
  color: var(--color-white);
}

.services__cta-text span {
  color: var(--color-accent-glow);
}


/* --------------------------------------------------------------------------
   9. Quality / About Section
   -------------------------------------------------------------------------- */
.quality {
  background: var(--color-bg);
  overflow: hidden;
}

.quality__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.quality__visual {
  position: relative;
}

.quality__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.quality__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.quality__img-wrap:hover img {
  transform: scale(1.04);
}

.quality__img-badge {
  position: absolute;
  bottom: 2rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 160px;
}

.quality__img-badge-num {
  font-size: 2.2rem;
  font-weight: var(--weight-black);
  line-height: 1;
  letter-spacing: 0;
}

.quality__img-badge-text {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3em;
}

.quality__content {
  padding-left: var(--space-md);
}

.quality__content .label {
  margin-bottom: 1.5rem;
}

.quality__content .headline-section {
  margin-bottom: 1.5rem;
}

.quality__content .body-text {
  margin-bottom: 2rem;
}

.quality__points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quality__point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.quality__point-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-accent-glow);
}

.quality__point-text {
  font-size: var(--size-small);
  color: var(--color-muted);
  line-height: 1.6;
}

.quality__point-title {
  font-weight: var(--weight-semibold);
  color: var(--color-off-white);
  display: block;
  margin-bottom: 0.15em;
}


/* --------------------------------------------------------------------------
   10. Stats / Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.trust-stat {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.trust-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.trust-stat__num {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0;
}

.trust-stat__num span {
  color: var(--color-accent-glow);
}

.trust-stat__label {
  font-size: var(--size-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}


/* --------------------------------------------------------------------------
   11. Perfection / Why Us Section
   -------------------------------------------------------------------------- */
.why-us {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.why-us__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-us__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.08;
}

.why-us__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.why-us__content .label {
  margin-bottom: 1.5rem;
}

.why-us__content .headline-section {
  margin-bottom: 1.5rem;
}

.why-us__content .body-text {
  margin-bottom: 2.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  color: var(--color-off-white);
}

.feature-item__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(171,148,94,0.25);
  border: 1px solid var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-glow);
  font-size: 10px;
  font-weight: var(--weight-bold);
}


/* --------------------------------------------------------------------------
   12. Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-md), transparent);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact__info .label {
  margin-bottom: 1.5rem;
}

.contact__info .headline-section {
  margin-bottom: 1rem;
}

.contact__info .body-text {
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-glow);
}

.contact-detail__label {
  font-size: var(--size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  margin-bottom: 0.25rem;
}

.contact-detail__value {
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  font-size: 1rem;
}

.contact-detail__value a {
  color: var(--color-white);
  transition: color var(--transition-fast);
}

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

.contact__opening {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.contact__opening-title {
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-glow);
  margin-bottom: 0.75rem;
}

.contact__opening-hours {
  font-size: var(--size-body);
  color: var(--color-off-white);
  font-weight: var(--weight-medium);
}

.contact__opening-break {
  font-size: var(--size-small);
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Contact Map / CTA Box */
.contact__action-box {
  padding: 3rem;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__action-title {
  font-size: 1.4rem;
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: 1.3;
}

.contact__action-title span {
  color: var(--color-accent-glow);
}

.contact__action-text {
  font-size: var(--size-small);
  color: var(--color-muted);
  line-height: 1.7;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__map {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 0.5rem;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(85%);
  opacity: 0.85;
}


/* --------------------------------------------------------------------------
   13. Sticky CTA Bar
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition);
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-cta);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: var(--weight-semibold);
  font-size: var(--size-small);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 30px rgba(171,148,94,0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.sticky-cta__btn:hover {
  background: var(--color-cta-hover);
  transform: scale(1.04);
  box-shadow: 0 6px 30px rgba(0,0,0,0.5), 0 0 40px rgba(171,148,94,0.3);
}

.sticky-cta__icon {
  font-size: 1rem;
}


/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0 var(--space-md);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand .site-footer__logo {
  height: 36px;
  margin-bottom: 1.25rem;
}

.footer__brand-text {
  font-size: var(--size-small);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer__heading {
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-subtle);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: var(--size-small);
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__contact-item {
  font-size: var(--size-small);
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.footer__contact-item a {
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--color-white);
}

.site-footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--size-xs);
  color: var(--color-subtle);
  letter-spacing: 0.04em;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.875rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer__social-link:hover {
  border-color: var(--color-accent-line);
  color: var(--color-white);
  background: var(--color-accent);
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: var(--size-xs);
  color: var(--color-subtle);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   15. Animations & Scroll Effects
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }


/* --------------------------------------------------------------------------
   16. Sub-Pages (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.subpage-hero {
  min-height: 22vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-md);
}

.subpage-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.subpage-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.subpage-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg) 15%, rgba(10,10,12,0.7) 100%);
  z-index: 1;
}

.subpage-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 1.5rem);
}

.subpage-hero__breadcrumb {
  font-size: var(--size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  margin-bottom: 1rem;
}

.subpage-hero__breadcrumb a {
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.subpage-hero__breadcrumb a:hover {
  color: var(--color-white);
}

.subpage-content {
  padding: var(--space-lg) 0 var(--space-xl);
  background: var(--color-bg);
}

.prose {
  max-width: 820px;
}

.prose h3 {
  font-size: 1.4rem;
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.prose h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose h4 {
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  color: var(--color-off-white);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  font-size: var(--size-body);
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose strong {
  color: var(--color-off-white);
  font-weight: var(--weight-semibold);
}

.prose a {
  color: var(--color-accent-glow);
  text-decoration: underline;
  text-decoration-color: rgba(171,148,94,0.4);
  transition: color var(--transition-fast);
}

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

.prose .caps {
  font-size: 0.8rem;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   17. Section Dividers
   -------------------------------------------------------------------------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-md), transparent);
  margin: 0;
}


/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .quality__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .quality__content {
    padding-left: 0;
  }

  .quality__img-badge {
    right: 1rem;
  }

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

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

  .trust-stat:nth-child(2)::after {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  /* Nav */
  .site-nav__links,
  .site-nav__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Ensure nav inner doesn't overflow */
  .site-nav__inner {
    padding: 0 1.25rem;
  }

  .site-nav__logo {
    height: 44px;
  }

  /* Hero */
  .hero__content {
    max-width: 100%;
  }

  .headline-hero {
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  .hero__badges {
    gap: 1.5rem;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services__cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }

  /* Grids */
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Trust bar */
  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Contact action box */
  .contact__action-box {
    padding: 2rem 1.25rem;
  }

  /* Footer */
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Sticky CTA */
  .sticky-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .sticky-cta__btn {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 480px) {
  /* Typography – Mobile Headline Optimierung */
  :root {
    --size-hero: clamp(2.2rem, 9vw, 3.2rem);
    --size-h1:   clamp(1.7rem, 7vw, 2.4rem);
    --size-h2:   clamp(1.4rem, 6vw, 2rem);
    --size-h3:   clamp(1rem, 4.5vw, 1.25rem);
  }

  h1, h2, h3, h4 {
    line-height: 1.15;
  }

  .headline-hero {
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .headline-section {
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  /* Abstände unter Headlines harmonisieren */
  .quality__content .headline-section,
  .why-us__content .headline-section,
  .contact__info .headline-section {
    margin-bottom: 1.25rem;
  }

  /* Container padding auf kleinen Screens */
  .container {
    padding: 0 1.25rem;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Trust Bar */
  .trust-bar__inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-stat {
    padding: 1rem 0.5rem;
  }

  /* Trust-stat divider deaktivieren auf Mobile (kein Overflow) */
  .trust-stat::after {
    display: none;
  }

  /* Hero */
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

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

  .hero__badges {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Quality badge bleibt innerhalb */
  .quality__img-badge {
    right: 0.75rem;
    bottom: 1rem;
    padding: 1rem 1.25rem;
    min-width: 130px;
  }

  .quality__img-badge-num {
    font-size: 1.7rem;
  }

  /* Contact */
  .contact__action-box {
    padding: 1.75rem 1.25rem;
  }

  /* Sticky CTA kleiner auf Phone */
  .sticky-cta__btn span:not(.sticky-cta__icon) {
    display: none;
  }

  .sticky-cta {
    bottom: 1rem;
    right: 0.75rem;
  }
}


/* --------------------------------------------------------------------------
   19. Custom Cursor
   -------------------------------------------------------------------------- */

/* Hide native cursor site-wide */
*, *::before, *::after {
  cursor: none !important;
}

/* Cursor elements */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  mix-blend-mode: difference;
}

/* Outer ring */
.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease,
              border-color 0.25s ease;
}

/* Inner dot */
.cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  mix-blend-mode: difference;
  transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
}

/* Hover state: links & buttons */
.cursor--hover .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: var(--color-accent-glow);
  opacity: 0.85;
}

.cursor--hover .cursor__dot,
.cursor--dot-hover {
  width: 10px;
  height: 10px;
}

/* Click state */
.cursor--click .cursor__ring {
  width: 28px;
  height: 28px;
  opacity: 0.6;
}

/* Hidden when leaving window */
.cursor--hidden .cursor__ring,
.cursor--hidden + .cursor__dot {
  opacity: 0;
}

/* Restore pointer on interactive elements (cursor still custom) */
a, button, [role="button"], label, input, textarea, select, .btn,
.nav-toggle, .service-card, .footer__social-link {
  cursor: none !important;
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor__dot { display: none; }
  *, *::before, *::after { cursor: auto !important; }
  a, button, [role="button"] { cursor: pointer !important; }
}


/* --------------------------------------------------------------------------
   Team Section — exakt im bestehenden Design-System
   -------------------------------------------------------------------------- */

.team {
  background: var(--color-bg);
}

/* Grid: 3 Spalten auf Desktop, 1 auf Mobile — analog services__grid */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: 0;
}

/* Card — gleiche Basis wie service-card */
.team-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.team-card:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border-md);
}

/* Accent-Linie unten — identisch zu service-card::after */
.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  width: 0;
  height: 2px;
  background: var(--color-accent-glow);
  transition: width var(--transition);
}

.team-card:hover::after {
  width: calc(100% - 4rem);
}

/* Bild — gleiche overflow/transition wie quality__img-wrap */
.team-card__img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-surface-2);
}

.team-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
  display: block;
}

.team-card:hover .team-card__img-wrap img {
  transform: scale(1.04);
}

/* Placeholder wenn kein Foto vorhanden */
.team-card__img-wrap img[src=""],
.team-card__img-wrap img:not([src]) {
  visibility: hidden;
}

/* Text-Bereich */
.team-card__body {
  padding: 1.5rem 2rem 1.75rem;
}

.team-card__name {
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  color: var(--color-white);
  letter-spacing: 0;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.team-card__role {
  font-size: var(--size-small);
  color: var(--color-accent-glow);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--size-xs);
}

/* Responsive */
@media (max-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .team__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}
