/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg: #0C0C0D;
  --clr-bg-light: #141416;
  --clr-bg-card: #1a1a1c;
  --clr-white: #ffffff;
  --clr-gray: #69727d;
  --clr-gray-light: #e7e7e7;
  --clr-gray-mid: #b0b0b0;
  --clr-gold: #918148;
  --clr-ui: #32373c;
  --ff-primary: 'Jost', sans-serif;
  --max-width: 1140px;
  --section-pad: 80px 0;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-primary);
  background: var(--clr-bg);
  color: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-gray-light); text-decoration: none; transition: color .3s; }
a:hover { color: var(--clr-gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--clr-bg);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-links a {
  color: var(--clr-gray-light);
  font-size: .85rem;
  font-weight: 500;
  padding: 8px 12px;
  letter-spacing: .5px;
  transition: all .3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-gold);
}

.nav-links a.nav-cta {
  background: var(--clr-ui);
  color: var(--clr-white);
  font-weight: 600;
  padding: 10px 24px;
  margin-left: 8px;
}
.nav-links a.nav-cta:hover {
  background: var(--clr-white);
  color: var(--clr-bg);
}

.lang-switch {
  margin-left: 12px !important;
}
.lang-switch a {
  border: 1px solid rgba(255,255,255,.2) !important;
  padding: 6px 12px !important;
  font-size: .78rem !important;
  letter-spacing: 1px;
  font-weight: 600 !important;
}
.lang-switch a:hover {
  border-color: var(--clr-white) !important;
  color: var(--clr-white) !important;
}

/* Nav right (lang toggle + hamburger) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: none;
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 10px;
  font-size: .75rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.lang-toggle:hover {
  border-color: var(--clr-white);
  color: var(--clr-white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  margin: 5px 0;
  transition: all .3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,12,13,.65);
  z-index: 1;
}

.hero-content { max-width: 780px; position: relative; z-index: 2; }

.hero-b2b {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--clr-gold);
  color: var(--clr-gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  margin-bottom: 28px;
}

.hero-logo { max-width: 360px; margin: 0 auto 48px; }

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--clr-white);
}

.hero h1 .accent { color: var(--clr-white); }

.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--clr-gray-mid);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-ui);
  color: var(--clr-white);
  padding: 14px 32px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s;
}
.hero-cta:hover {
  background: var(--clr-white);
  color: var(--clr-bg);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--clr-gray-mid);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ===== MANUFACTURER SECTIONS ===== */
.manufacturer-section {
  padding: var(--section-pad);
  border-top: 1px solid rgba(255,255,255,.12);
}

.mfr-banner {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 40px;
  background: var(--clr-bg-card);
}

.mfr-banner-placeholder {
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
  background: var(--clr-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,.1);
}
.mfr-banner-placeholder span {
  color: var(--clr-gray);
  font-size: .85rem;
}

.mfr-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mfr-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mfr-origin {
  display: inline-block;
  color: var(--clr-gray);
  font-size: .8rem;
  font-weight: 500;
}

.mfr-text {
  color: var(--clr-gray-mid);
  font-size: .95rem;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 32px;
}

.mfr-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: .88rem;
  font-weight: 600;
  transition: all .3s;
  cursor: pointer;
  border: none;
  font-family: var(--ff-primary);
}

.btn-primary {
  background: var(--clr-ui);
  color: var(--clr-white);
}
.btn-primary:hover {
  background: var(--clr-white);
  color: var(--clr-bg);
}

.btn-outline {
  background: transparent;
  color: var(--clr-gray-light);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* ===== LEITFADEN ===== */
.leitfaden {
  padding: var(--section-pad);
  border-top: 1px solid rgba(255,255,255,.04);
}

.leitfaden-header { text-align: center; margin-bottom: 60px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.step {
  background: var(--clr-bg-card);
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.04);
}
.step:last-child { border-right: none; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--clr-ui);
  color: var(--clr-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.step p {
  color: var(--clr-gray);
  font-size: .82rem;
  line-height: 1.6;
}

.leitfaden-download {
  text-align: center;
  margin-top: 20px;
}

/* ===== KONTAKT ===== */
.kontakt {
  padding: var(--section-pad);
  border-top: 1px solid rgba(255,255,255,.04);
}

.kontakt-header { text-align: center; margin-bottom: 60px; }

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.kontakt-card {
  background: var(--clr-bg-card);
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.04);
}
.kontakt-card:last-child { border-right: none; }

.kontakt-card .avatar {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 auto 20px;
  background: var(--clr-bg);
}

.kontakt-card h3 { font-size: 1.1rem; margin-bottom: 4px; }

.kontakt-card .role {
  color: var(--clr-gray);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.kontakt-card .region {
  color: var(--clr-gray);
  font-size: .75rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.5;
}

.kontakt-card .info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kontakt-card .info a {
  color: var(--clr-gray-mid);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kontakt-card .info a:hover { color: var(--clr-gold); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--clr-bg-card);
  padding: 40px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  transform: translateY(20px);
  transition: transform .3s;
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--clr-gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color .3s;
}
.modal-close:hover { color: var(--clr-white); }

.modal h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  padding-right: 30px;
}

.modal-contact {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.modal-contact:last-child { border-bottom: none; }

.modal-contact h4 {
  font-size: .95rem;
  color: var(--clr-white);
  margin-bottom: 2px;
}

.modal-contact .mc-role {
  font-size: .78rem;
  color: var(--clr-gray);
  margin-bottom: 8px;
}

.modal-contact p {
  font-size: .85rem;
  color: var(--clr-gray-mid);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 0 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}

.footer-logo img { height: 36px; width: auto; margin-bottom: 16px; }

.footer-contact p {
  color: var(--clr-gray);
  font-size: .85rem;
  line-height: 1.8;
}
.footer-contact a { color: var(--clr-gray-mid); }
.footer-contact a:hover { color: var(--clr-white); }

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-nav-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-gray-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-nav-col ul { list-style: none; }
.footer-nav-col li { margin-bottom: 8px; }
.footer-nav-col a {
  color: var(--clr-gray);
  font-size: .85rem;
}
.footer-nav-col a:hover { color: var(--clr-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  color: var(--clr-gray);
  font-size: .78rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--clr-gray);
  transition: color .3s;
}
.footer-social a:hover { color: var(--clr-gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0; right: 0; bottom: 0;
    background: var(--clr-bg);
    padding: 20px;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open li {
    width: 100%;
  }
  .nav-links.open a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    white-space: normal;
  }
  .nav-links.open .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }
  .nav-links.open .lang-switch {
    display: none;
  }
  .lang-toggle { display: block; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .mfr-banner, .mfr-banner-placeholder { height: 260px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(255,255,255,.04); }

  .footer-top { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 32px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 60px 0; }

  .hero { min-height: auto; padding: 110px 20px 60px; }
  .hero-logo { max-width: 240px; }

  .mfr-banner, .mfr-banner-placeholder { height: 200px; }
  .mfr-buttons { flex-direction: column; }
  .mfr-buttons .btn { width: 100%; justify-content: center; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; }

  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.04); }
  .kontakt-card:last-child { border-bottom: none; }

  .modal { padding: 28px 20px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
