/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
ol, ul { list-style: none; }
body { -webkit-text-size-adjust: none; line-height: 1; }
u { text-decoration: underline; }
strong { color: inherit; font-weight: bolder; }
em { font-style: italic; }
s { text-decoration: line-through; }
a { color: inherit; text-decoration: underline; transition: color 0.25s ease; }
mark { background-color: transparent; color: inherit; }

/* ── BASE ── */
html { font-size: 17pt; }

:root {
  --bg: #121212;
  --yellow: #FFD900;
  --yellow-h: #FFE552;
}

body {
  background-color: var(--bg);
  color: #fff;
  font-family: 'Inter', sans-serif;
  min-width: 320px;
  overflow-x: hidden;
  word-wrap: break-word;
}

/* ── DIAMOND BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'%3E%3Cg stroke='rgba(255,255,255,0.07)' stroke-width='1' fill='none'%3E%3Cline x1='600' y1='450' x2='0' y2='0'/%3E%3Cline x1='600' y1='450' x2='1200' y2='0'/%3E%3Cline x1='600' y1='450' x2='0' y2='900'/%3E%3Cline x1='600' y1='450' x2='1200' y2='900'/%3E%3Cline x1='600' y1='450' x2='600' y2='0'/%3E%3Cline x1='600' y1='450' x2='600' y2='900'/%3E%3Cline x1='600' y1='450' x2='0' y2='450'/%3E%3Cline x1='600' y1='450' x2='1200' y2='450'/%3E%3C/g%3E%3Cpolygon points='600,80 970,450 600,820 230,450' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Cpolygon points='600,190 860,450 600,710 340,450' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Cpolygon points='600,300 750,450 600,600 450,450' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ── LAYOUT ── */
.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

.inner {
  width: 55rem;
  max-width: 100%;
  padding: 5rem 4rem;
  position: relative;
}

.inner > * {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.inner > *:first-child { margin-top: 0 !important; }
.inner > *:last-child  { margin-bottom: 0 !important; }

/* ── TEXT: EYEBROW (style-4) ── */
.t4 {
  text-transform: uppercase;
  color: var(--yellow);
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.12rem;
  font-size: 1.1em;
  line-height: 1.75;
  font-weight: 600;
}

/* ── TEXT: BIG HEADING (style-2) ── */
.t2 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 5.75em;
  line-height: 1;
  font-weight: 600;
}
.t2 .zero { color: rgba(255, 255, 255, 0.078); }

/* ── TEXT: BODY (style-1) ── */
.t1 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.075rem;
  font-size: 1.5em;
  line-height: 1.25;
  font-weight: 300;
}
.t1 p + p { margin-top: 0.875rem; }

/* ── TEXT: SECTION HEADING (style-7) ── */
.t7 {
  color: var(--yellow);
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.025rem;
  font-size: 2.25em;
  line-height: 1.25;
  font-weight: 500;
}

/* ── TEXT: FOOTER (style-3) ── */
.t3 {
  color: rgba(255, 255, 255, 0.29);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.025rem;
  font-size: 0.875em;
  line-height: 2.125;
  font-weight: 200;
}

/* ── BUTTON ── */
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16.75rem;
  height: 3.5rem;
  padding: 0 0.5rem 0 calc(0.3rem + 0.5rem);
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3rem;
  font-size: 0.75em;
  font-weight: 500;
  border-radius: 2rem;
  background: var(--yellow);
  color: #000;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn:hover {
  background: var(--yellow-h);
  transform: scale(1.0425);
}

/* Outline-Variante (z.B. Email-Button) */
.btn--outline {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
}
.btn--outline svg { fill: var(--yellow); }
.btn--outline:hover {
  background: transparent;
  border-color: var(--yellow-h);
  color: var(--yellow-h);
}
.btn--outline:hover svg { fill: var(--yellow-h); }
.btn svg {
  display: block;
  fill: #000;
  flex-shrink: 0;
  width: 1.5625em;
  height: 100%;
  min-width: 18px;
  margin-left: -0.125em;
  margin-right: calc(0.5em + 0.3rem);
}

/* ── DIVIDER ── */
.divider {
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 1px;
  background: rgba(255, 255, 255, 0.122);
  border: none;
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
}

/* ── VIDEO ── */
.video-outer {
  display: flex;
  justify-content: center;
}

.video-wrap {
  position: relative;
  width: 38.875rem;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}
.video-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
  z-index: 1;
}
.video-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.video-btn svg {
  width: 3.5rem;
  height: 3.5rem;
  opacity: 0.75;
  transition: opacity 0.125s ease;
}
.video-wrap:hover .video-btn svg { opacity: 1; }
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── HEX NAV ARROW (between sections) ── */
.hex-nav { display: flex; justify-content: center; }

.hex-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  font-size: 2.25em;
  text-decoration: none;
  transition: transform 0.25s ease;
  cursor: pointer;
}
.hex-btn:hover { transform: scale(1.0775); }

.hex-btn .hicon {
  width: 50%;
  height: 50%;
  fill: #fff;
  display: block;
  position: relative;
  z-index: 1;
  transition: fill 0.25s ease;
  flex-shrink: 0;
}
.hex-btn:hover .hicon { fill: var(--yellow-h); }

.hex-btn .hborder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1px;
  transition: stroke 0.25s ease, transform 0.25s ease;
}
.hex-btn:hover .hborder {
  stroke: var(--yellow-h);
  transform: scale(1.0775);
}

/* ── SOCIAL ICONS ── */
.socials {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  font-size: 1.75em;
}

.sicon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.sicon:hover { transform: translateY(-7.75%); }

.sicon .hicon {
  width: 50%;
  height: 50%;
  fill: #fff;
  display: block;
  position: relative;
  z-index: 1;
  transition: fill 0.25s ease;
  flex-shrink: 0;
}
.sicon:hover .hicon { fill: var(--yellow-h); }

.sicon .hborder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1px;
  transition: stroke 0.25s ease, transform 0.25s ease;
}
.sicon:hover .hborder {
  stroke: var(--yellow-h);
  transform: translateY(-7.75%);
}

/* ── ARROW LIST ── */
.alist {
  color: #fff;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.025rem;
  font-size: 1.5em;
  line-height: 1.625;
  font-weight: 300;
}
.alist ul {
  display: inline-block;
  text-align: left;
  max-width: 31rem;
}
.alist ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 1rem;
}
.alist ul li:first-child { margin-top: 0; }
.alist ul li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 1.40625rem;
  height: 2.4375rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M12.9,32.4L25.3,20L13,7.6c-.2-.2-.2-.5,0-.7l1.6-1.6c.2-.2.5-.2.7,0L29.8,20L15.1,34.6c-.2.2-.5.2-.7,0l-1.6-1.6c-.2-.1-.2-.4,0-.6z' fill='%23FFD900'/%3E%3C/svg%3E");
  background-position: left 60%;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 0.9375rem;
}

/* ── KONTAKT BLÖCKE ── */
.kontakt-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
.kontakt-block {
  border-left: 2px solid var(--yellow);
  padding-left: 1.25rem;
}
.kontakt-block-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7em;
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  margin-bottom: 0.35rem;
  display: block;
}
.kontakt-block-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.075rem;
}

/* ── NEWSLETTER SIGNUP FORM ── */
.signup-form {
  width: 100%;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* E-Mail-Zeile */
.signup-row {
  display: flex;
  gap: 0.625rem;
}

.signup-input {
  flex: 1;
  height: 3.5rem;
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82em;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 0;
}
.signup-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.signup-input:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.09);
}

.signup-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 2rem;
  background: var(--yellow);
  color: #000;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}
.signup-btn:hover { background: var(--yellow-h); transform: scale(1.04); }
.signup-btn:active { transform: scale(0.98); }
.signup-btn__spinner { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* DSGVO Checkbox */
.signup-consent {
  margin-top: 0.875rem;
}
.signup-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}
.signup-consent__check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.signup-consent__box {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  cursor: pointer;
}
.signup-consent__check:checked + .signup-consent__box {
  background: var(--yellow);
  border-color: var(--yellow);
}
.signup-consent__check:checked + .signup-consent__box::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 2px solid #000;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.signup-consent__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.72em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.signup-consent__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  transition: color 0.2s;
}
.signup-consent__link:hover { color: var(--yellow); }

/* Brevo-Pflichthinweis */
.signup-brevo-note {
  margin-top: 0.625rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65em;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.6;
}

/* Erfolgs- / Fehlermeldung */
.signup-msg {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  font-weight: 300;
  margin-bottom: 1rem;
}
.signup-msg--ok {
  background: rgba(19, 206, 102, 0.1);
  border: 1px solid rgba(19, 206, 102, 0.3);
  color: #5debb8;
}
.signup-msg--err {
  background: rgba(255, 73, 73, 0.1);
  border: 1px solid rgba(255, 73, 73, 0.3);
  color: #ff8080;
}

/* Mobile: Formular-Layout */
@media (max-width: 736px) {
  .signup-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .signup-input {
    width: 100%;
    height: 3.5rem;
    font-size: 1rem;
    border-radius: 2rem;
  }
  .signup-btn {
    width: 100%;
    height: 3.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
  }
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#lightbox.open {
  display: flex;
}
#lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
  animation: lb-fade-in 0.25s ease;
}
#lightbox-inner {
  position: relative;
  width: 100%;
  max-width: min(90vw, 1200px);
  aspect-ratio: 16 / 9;
  animation: lb-scale-in 0.3s ease;
  z-index: 1;
}
#lightbox-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
#lightbox-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}
#lightbox-close:hover { color: #fff; }

@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lb-scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── SECTION-INTERNES SPACING ── */
/*
  Die .inner > * Regel greift nur für direkte Kinder.
  Elemente innerhalb von #one / #two / #three brauchen
  eigene Abstände — hier wird das typografisch differenziert.
*/

/* Grundabstand: jedes Element nach dem ersten bekommt Luft */
#one > * + *,
#two > * + *,
#three > * + * {
  margin-top: 2rem;
}

/* Kapitelzahl (01. / 02. / 03.) → Abschnittstitel: enger */
.t2 + .t7 { margin-top: 1.25rem; }

/* Abschnittstitel → Fließtext oder Liste: eng */
.t7 + .t1,
.t7 + .alist { margin-top: 0.875rem; }

/* Fließtext oder Liste → nächste Unterüberschrift: weit (neuer Unterabschnitt) */
.t1 + .t7,
.alist + .t7 { margin-top: 2.75rem; }

/* Fließtext → Video */
.t1 + .video-outer { margin-top: 2rem; }

/* Video → Hexagon-Pfeil */
.video-outer + .hex-nav { margin-top: 2.25rem; }

/* Liste oder Text → Hexagon-Pfeil (Ende des Abschnitts) */
.alist + .hex-nav,
.t1 + .hex-nav { margin-top: 2.75rem; }

/* Text oder Liste → Buttons */
.t1 + .btn-group,
.alist + .btn-group { margin-top: 2rem; }

/* Mobile: Abstände etwas kompakter */
@media (max-width: 736px) {
  #one > * + *,
  #two > * + *,
  #three > * + * { margin-top: 1.5rem; }

  .t2 + .t7         { margin-top: 1rem; }
  .t7 + .t1,
  .t7 + .alist      { margin-top: 0.75rem; }
  .t1 + .t7,
  .alist + .t7      { margin-top: 2rem; }
  .video-outer + .hex-nav { margin-top: 1.75rem; }
  .alist + .hex-nav,
  .t1 + .hex-nav    { margin-top: 2rem; }
}

/* ── SCROLL ANIMATIONS ── */
.anim { opacity: 0; }
.anim.fi  { transition: opacity 1s ease; }
.anim.fu  { transition: opacity 0.75s ease, transform 0.75s ease; transform: translateY(1.5rem); }
.anim.fd  { transition: opacity 0.75s ease, transform 0.75s ease; transform: translateY(-1.5rem); }
.anim.on  { opacity: 1; transform: none; }

/* ── VIDEO FALLBACK (greift wenn externes Thumbnail nicht lädt) ── */
.video-wrap {
  background-color: #1a1a1a;
}
.video-wrap img {
  /* Zeigt Fallback-Hintergrund, wenn Bild nicht geladen werden kann */
  min-height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1680px) { html { font-size: 12pt; } }
@media (max-width: 980px)  { html { font-size: 11pt; } }

/* Tablet */
@media (max-width: 736px) {
  html { font-size: 11pt; }
  .inner { padding: 3.5rem 2rem; }
  .inner > * { margin-top: 2rem; margin-bottom: 2rem; }

  .t2 { font-size: 3.5em; }

  /* Letter-spacing reduzieren auf kleinen Screens */
  .t4 {
    letter-spacing: 0.1rem;
    font-size: 0.85em;
  }

  /* FIX 3: Divider-Abstände auf Mobile spürbar verkleinern */
  .divider { margin-top: 3rem !important; margin-bottom: 3rem !important; }

  .video-wrap { width: 100%; }
}

/* Smartphone */
@media (max-width: 480px) {
  html { font-size: 10pt; }
  .inner { padding: 3rem 1.5rem; }

  .btn { max-width: 32rem; width: 100%; }

  /* Letter-spacing auf kleinstem Breakpoint */
  .t4 {
    letter-spacing: 0.08rem;
    font-size: 0.78em;
  }

  /* FIX 3: Divider noch kompakter */
  .divider { margin-top: 2.25rem !important; margin-bottom: 2.25rem !important; }

  /* FIX 2: Touch-Targets der Social-Icons auf min. 44px anheben */
  .socials {
    font-size: 1.45em;   /* Icons selbst bleiben proportional */
    gap: 0.5rem;
  }
  .sicon {
    /* Unsichtbarer Tap-Bereich über das Icon hinaus */
    padding: 0.35rem;
    width: calc(2em + 0.7rem);
    height: calc(2em + 0.7rem);
    min-width: 44px;
    min-height: 44px;
  }

  /* Hex-Nav-Pfeil ebenfalls sicher tappbar */
  .hex-btn {
    padding: 0.4rem;
    width: calc(2em + 0.8rem);
    height: calc(2em + 0.8rem);
    min-width: 44px;
    min-height: 44px;
  }
}

/* Kleinstes Format (320px) */
@media (max-width: 360px) {
  .inner { padding: 2.5rem 1.25rem; }
  .t2 { font-size: 3em; }
  .t4 { letter-spacing: 0.1rem; }
}
