*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
main { display: block; }
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  /* Höhe der fixierten Kopfleiste – Hero rechnet damit */
  --header-h: 60px;
  /* Gemeinsame Textkante: 210/1920 aus dem Figma-Frame. Logo, Hero-Text
     und CTA hängen alle daran, damit sie auf jeder Breite bündig bleiben. */
  --ak-gutter: 10.94%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #000;
  color: #fff;
}
.site-header__inner {
  padding: 0 var(--ak-gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.site-header__wordmark {
  display: block;
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.site-header__logo img { height: 26px; width: auto; }

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 32px;
}
.site-header__link {
  position: relative;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: var(--text-label);
  font-weight: 500;
  padding: 4px 2px;
  white-space: nowrap;
  transition: color .2s;
}
.site-header__link:hover { color: #fff; }
.site-header__link--active { color: #fff; }
.site-header__nav .site-header__link--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.site-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header__mobile-nav {
  display: none;
  flex-direction: column;
  background: #000;
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--ak-gutter);
  transition: max-height .25s ease, padding .25s ease;
}
.site-header__mobile-nav--open {
  max-height: 400px;
  padding: 8px var(--ak-gutter) 20px;
}
.site-header__mobile-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.site-header__mobile-link:first-child { border-top: none; }
.site-header__mobile-link.site-header__link--active { color: var(--color-primary); }

main { padding-top: var(--header-h); }

/* Gestapeltes Layout: fester Rand statt prozentualer Textkante */
@media (max-width: 899px) {
  :root { --ak-gutter: 20px; }
}

@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .site-header__nav { display: none; }
  .site-header__burger { display: flex; }
  .site-header__mobile-nav { display: flex; }
  .site-header__wordmark { font-size: 22px; }
}

/* Video sections */
.video-section {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-section__bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
