:root {
  --bg: #000000;
  --white: #ffffff;
  --gray: #999999;
  --accent: #c4d600;
  --accent-rgb: 196, 214, 0;
  --border: rgba(255, 255, 255, 0.25);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f8f3e9;
  --white: #000000;
  --gray: #5c5850;
  --accent: #000000;
  --accent-rgb: 0, 0, 0;
  --border: rgba(0, 0, 0, 0.2);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 48px) clamp(24px, 6vw, 64px);
}

/* Header */
.site-header {
  display: flex;
  justify-content: flex-end;
}

.brand-logo svg {
  width: clamp(210px, 24vw, 330px);
  height: auto;
}

.brand-logo svg path {
  fill: var(--white);
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
  padding: clamp(24px, 5vh, 64px) 0;
}

.hero-copy {
  width: 100%;
  max-width: 600px;
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
}

.hero-copy-top {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Both elements sit inside the headline artwork's own tight bounding box,
   whose left edge is the flare of the "V" - inset by 4.72% (measured from
   the SVG) to align flush with the "K" stroke instead. */
.lede,
.video-btn {
  margin-left: 4.72%;
}

.headline {
  margin: 0 0 clamp(16px, 3vh, 28px);
}

.headline-svg {
  width: 100%;
  height: auto;
  display: block;
}

.headline-svg .vk-word {
  fill: var(--white);
}

.headline-svg .vk-icon {
  fill: var(--accent);
}

.lede {
  margin-top: 0;
  margin-bottom: clamp(24px, 4vh, 40px);
  max-width: 480px;
  color: var(--gray);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
}

.lede .accent {
  color: var(--accent);
}

.video-btn {
  appearance: none;
  border: none;
  background: var(--accent);
  color: #111;
  width: clamp(56px, 6vw, 72px);
  height: clamp(56px, 6vw, 72px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5), 0 0 40px 6px rgba(var(--accent-rgb), 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}

.video-btn .film-icon {
  width: 62%;
  height: 62%;
  fill: var(--bg);
}

.video-btn:hover,
.video-btn:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6), 0 0 56px 10px rgba(var(--accent-rgb), 0.7);
  outline: none;
}

html[data-theme="light"] .video-btn,
html[data-theme="light"] .video-btn:hover,
html[data-theme="light"] .video-btn:focus-visible {
  box-shadow: none;
}

.hero-right {
  flex: 0 1 auto;
  align-self: flex-end;
}

.wvmm-svg {
  width: clamp(150px, 16vw, 220px);
  height: auto;
}

.wvmm-svg path {
  fill: var(--white);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(14px, 2vh, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-spacer {
  flex: 1 1 0;
}

.footer-nav {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--gray);
}

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

.footer-nav .dot {
  color: var(--gray);
}

/* Theme toggle (light switch) */
.theme-toggle {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.theme-toggle svg {
  width: clamp(20px, 2.4vw, 28px);
  height: auto;
}

.theme-toggle svg path {
  fill: var(--white);
}

.theme-toggle .icon-on {
  display: none;
}

html[data-theme="light"] .theme-toggle .icon-off {
  display: none;
}

html[data-theme="light"] .theme-toggle .icon-on {
  display: block;
}

.theme-toggle:hover svg,
.theme-toggle:focus-visible svg {
  opacity: 0.75;
}

/* Fullscreen video overlay */
.video-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.video-overlay.is-open {
  display: flex;
}

.video-player {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  outline: none;
}

.video-close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: background 0.2s ease;
}

.video-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive breakpoints */
@media (max-width: 900px) {
  /* Logo centered at the top on mobile, and larger than the desktop size */
  .site-header {
    justify-content: center;
    margin-top: clamp(16px, 4vh, 36px);
  }

  .brand-logo svg {
    width: clamp(270px, 68vw, 320px);
  }

  /* Headline a bit smaller than full-bleed and kept flush left */
  .headline-svg {
    width: 82%;
  }

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

  /* Dissolve the copy wrapper so headline, claim and film button become
     direct flex items of the hero and can be reordered per the mockup:
     headline + text at the top, the claim right-aligned and the film
     button at the bottom left. */
  .hero-copy {
    display: contents;
  }

  .hero-copy-top {
    order: 1;
    flex: 0 1 auto;
    justify-content: flex-start;
    margin-top: clamp(24px, 6vh, 56px);
  }

  .hero-right {
    order: 2;
    align-self: flex-end;
    margin-top: auto;
    text-align: right;
  }

  .video-btn {
    order: 3;
    align-self: flex-start;
    margin-top: clamp(28px, 5vh, 52px);
  }
}

@media (max-width: 560px) {
  .lede {
    max-width: none;
  }

  .footer-nav {
    font-size: 0.7rem;
  }
}

/* Legal pages (Kontakt, Impressum, Datenschutz) */
.legal-main {
  flex: 1;
  padding: clamp(32px, 7vh, 72px) 0 clamp(24px, 6vh, 56px);
}

.legal-back {
  display: inline-block;
  margin-bottom: clamp(24px, 4vh, 40px);
  color: var(--gray);
  font-size: 0.8rem;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-content {
  max-width: 720px;
}

.legal-content.is-centered {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.legal-content h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(20px, 4vh, 36px);
  color: var(--white);
}

.legal-content h2 {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 2.2em 0 0.6em;
}

.legal-content.is-centered h2 {
  margin-top: 1.4em;
}

.legal-content h3 {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 700;
  color: var(--white);
  margin: 1.6em 0 0.5em;
}

.legal-content p {
  color: var(--gray);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.75;
  margin: 0 0 1.1em;
}

.legal-content ul {
  color: var(--gray);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.75;
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}

.legal-content li {
  margin: 0.4em 0;
}

.legal-content strong {
  color: var(--white);
  font-weight: 700;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content h1 + h2 {
  margin-top: 0;
}
