/* ── SCHRIFTEN (selbst gehostet statt Google Fonts CDN — kein externer
     Request/IP-Uebertragung beim Laden der Seite; beide sind Variable
     Fonts, je eine Datei deckt alle verwendeten Schnitte 200-600 ab) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200 600;
  font-display: swap;
  src: url('fonts/inter-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/sora.woff2') format('woff2');
}

/* ── 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.035)' 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.03)' stroke-width='1'/%3E%3Cpolygon points='600,190 860,450 600,710 340,450' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'/%3E%3Cpolygon points='600,300 750,450 600,600 450,450' fill='none' stroke='rgba(255,255,255,0.02)' 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.75rem;
  margin-bottom: 2.75rem;
}
.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); }

/* Grosse Kapitelzahlen (01./02./...) sollen orientieren, aber nicht
   lauter wirken als die eigentliche Abschnittsüberschrift daneben.
   Nur H2 betroffen (= Sektionszahlen); die Hero-Ueberschrift "Banden
   bilden" ist ein H1 mit derselben .t2-Klasse und bleibt unveraendert. */
h2.t2 {
  font-size: 3.25em;
  color: rgba(255, 255, 255, 0.5);
}
h2.t2 .zero { color: rgba(255, 255, 255, 0.1); }

/* ── 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; }

/* Lesbare, linksbündige Textspalte für längere Erklärabschnitte
   (Eckdaten, Ziel, Voraussetzungen etc.) - Hero/Kerngedanken bleiben
   zentriert. max-width in px gedeckelt (~660px), damit die Zeilenlänge
   auch auf breiten Screens im gut lesbaren Bereich bleibt, statt mit
   dem rem-basierten Rest der Typografie unbegrenzt zu wachsen. */
.t1--col {
  display: block;
  text-align: left;
  max-width: min(42rem, 660px);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}
.t1--col p + p { margin-top: 1.1rem; }

/* ── TEXT: SECTION HEADING (style-7) ── */
/* Standard jetzt Weiss statt Gelb, damit Gelb nicht mehr an jeder
   Zwischenueberschrift gleichzeitig "ruft". .t7--accent hebt gezielt
   die wenigen wichtigsten Stellen weiterhin gelb hervor. */
.t7 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.025rem;
  font-size: 2.25em;
  line-height: 1.25;
  font-weight: 500;
}
.t7--accent { color: var(--yellow); }

/* ── 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: 18rem;
  height: 3.75rem;
  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); }

/* Hero-CTA: eigener, ruhigerer Textstil, sonst wie .btn (bleibt gelb).
   Bewusst nur hier, nicht global auf .btn, damit andere Buttons
   (z.B. "Konzept als PDF", "Bewerbung starten") unangetastet bleiben. */
.btn--hero {
  text-transform: none;
  letter-spacing: 0.02rem;
  font-size: 1.05em;
  font-weight: 600;
}

/* Kleine Zusatzzeile unter dem Hero-CTA */
.hero-cta-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-align: center;
  max-width: 20rem;
  line-height: 1.5;
}

/* Bildunterschrift unter dem Partner-Logo im Hero - weniger zurück-
   haltend als .hero-cta-note, aber immer noch klar untergeordnet
   gegenüber Haupttext/Fakten. */
.hero-partner-caption {
  font-family: 'Inter', sans-serif;
  font-size: 1.05em;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-align: center;
  line-height: 1.5;
}

/* Kleine gelbe Textzeile über Datum/Ort im Hero — bewusst reine
   Typografie, kein Badge/Pill/Sticker, damit es den gelben CTA-Button
   nicht optisch konkurrenziert. */
.hero-edition {
  display: block;
  color: var(--yellow);
  font-family: 'Inter', sans-serif;
  font-size: 1.15em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.35rem;
}

/* Sticky Bewerbungs-CTA: vorbereitet, aktuell per Konfiguration in
   site-interactions.js (STICKY_APPLICATION_CTA.enabled) deaktiviert. Solange
   deaktiviert, bleibt das Element unsichtbar/nicht interaktiv, egal
   was hier steht. Bewusst aus vorhandenen Farben/Radien/Schrift
   abgeleitet, keine neuen Effekte. */
.sticky-cta {
  position: fixed;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.375rem;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  right: max(1.25rem, env(safe-area-inset-right));
  border-radius: 2rem;
  background: var(--yellow);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.02rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sticky-cta:hover { background: var(--yellow-h); }
.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 736px) {
  .sticky-cta {
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: auto;
  }
}

/* Footer: Förderhinweis — ruhiger Partnerbereich, keine neuen
   dekorativen Elemente, nur bestehende Farben/Schrift. Die offizielle
   Förderhinweis-Grafik ist schwarz auf transparent; auf dem dunklen
   Footer wird sie per Filter invertiert statt auf eine helle Flaeche
   gelegt. Höhen bewusst in rem statt px: die Root-Schriftgröße dieser
   Seite skaliert selbst mit der Bildschirmgröße (siehe html-Regeln),
   dadurch wachsen/schrumpfen die Logos automatisch im selben Verhältnis
   wie der umgebende Fließtext, statt auf großen Screens winzig neben
   ihm zu wirken. */
.funding-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.funding-notice__logo {
  height: 5rem;
  width: auto;
  display: block;
}

/* Hero-Logo (KREATIVES SACHSEN): dezentes Wachsen bei Hover, gleiches
   Prinzip wie .btn:hover, nur zurückhaltender. */
.hero-partner-logo {
  transition: transform 0.3s ease;
}
.hero-partner-logo:hover {
  transform: scale(1.06);
}
.funding-notice__badge {
  display: block;
  height: 7.25rem;
  width: auto;
  filter: invert(1);
}

@media (max-width: 736px) {
  .funding-notice {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.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: 5.5rem !important;
  margin-bottom: 5.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;
  transition: transform 0.3s ease;
}
.video-wrap:hover img { transform: scale(1.05); }
.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;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.video-btn svg {
  width: 3rem;
  height: 3rem;
  opacity: 0.85;
  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%);
}

/* ── FAKTEN-GRID (Eckdaten + Wann & wo) ──
   Zwei ruhige Karten nebeneinander statt einer langen zentrierten
   Textwand - selber, bereits im Projekt verwendeter Kartenstil wie
   auf /bewerbung-test (dezenter Rahmen, kein neues visuelles Element).
   Mobil untereinander (siehe Media Query weiter unten). */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}
.facts-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  padding: 1.75rem 1.75rem;
}
.facts-card > * + * { margin-top: 1rem; }
.facts-card .t7 {
  font-size: 1.4em;
  margin: 0;
}
.facts-card .t1 {
  font-size: 1.05em;
  line-height: 1.45;
}
.facts-card .alist { font-size: 1.05em; }
.facts-card .alist ul { max-width: none; }

@media (max-width: 736px) {
  .facts-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── HINTERGRUND IN LESEBEREICHEN BERUHIGEN ──
   Die diagonalen Linien (body::before, fixiert) sollen im Hero grafischer
   wirken duerfen als in den langen Textabschnitten. Statt die Linien
   global zu veraendern, liegt hier ein Farbschleier in derselben
   Hintergrundfarbe ueber dem fixierten Muster - daempft die Linien
   optisch, ohne eine neue sichtbare Flaeche/Farbe einzufuehren. */
#one, #two, #faq { position: relative; }
#one::before, #two::before, #faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  z-index: -1;
  pointer-events: none;
}

/* ── 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;
}

/* ── ABLAUF ALS TAGES-RASTER (Modifier fuer .alist) ──
   Gleicher Listeninhalt/gleiche Pfeil-Bullet-Optik bleibt fuer Mobile
   erhalten; ab Tablet-Breite werden die drei Tage stattdessen als
   kompakte, nebeneinanderliegende Karten dargestellt. Muss NACH den
   .alist-Basisregeln stehen, da .alist--grid ul sonst bei gleicher
   Spezifitaet von der spaeteren .alist-ul-Regel ueberschrieben wird. */
@media (min-width: 737px) {
  .alist--grid ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 48rem;
  }
  .alist--grid ul li {
    display: block;
    margin-top: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    padding: 1.5rem 1.375rem;
  }
  .alist--grid ul li::before { display: none; }
  .alist--grid ul li p { font-size: 0.85em; line-height: 1.5; }
}

/* ── ERKLÄRSATZ ── */
.erklaer {
  color: rgba(255,255,255,0.55) !important;
  font-size: 1em !important;
  font-style: italic;
  font-weight: 300;
  max-width: 28rem;
  margin: 2.5rem auto 0 !important;
  line-height: 1.75;
  letter-spacing: 0.01rem;
}

/* ── 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: 2.25rem;
}

/* 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: 3.25rem; }

/* 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.75rem; }

  .t2 + .t7         { margin-top: 1rem; }
  .t7 + .t1,
  .t7 + .alist      { margin-top: 0.75rem; }
  .t1 + .t7,
  .alist + .t7      { margin-top: 2.25rem; }
  .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; }
}

/* ── EMAIL LINK ── */
a.email-link {
  color: var(--yellow);
  text-decoration: none;
}
a.email-link:hover { text-decoration: underline; }

/* ── FAQ AKKORDEON ── */
.faq-list {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.faq-item:first-child {
  border-top: none;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  border-top: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.075rem;
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--yellow); }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--yellow);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-q[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0 !important;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.faq-a.open {
  max-height: 20rem !important;
  padding-bottom: 1.25rem;
}
.faq-a p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  letter-spacing: 0.02rem;
  margin: 0;
}

/* ── HOME-BUTTON (Unterseiten) ──
   Wiederverwendbare, ruhige "Zur Startseite"-Komponente fuer alle
   Unterseiten ohne festen Header. Bewusst kein neuer Header/Menu -
   nur ein einzelner fixierter Link, zentriert oben (passt besser ins
   zentrierte Seitendesign als eine Ausrichtung an der Textkante). */
.home-btn {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 2rem;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,217,0,0.4);
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.home-btn:hover,
.home-btn:focus-visible {
  border-color: var(--yellow);
  color: #fff;
  background: rgba(0,0,0,0.72);
}
@media (max-width: 480px) {
  .home-btn { font-size: 0.7rem; padding: 0 0.875rem; }
}

/* Der fixierte Home-Button liegt ueber dem Seiteninhalt und nimmt
   dabei keinen Platz im Textfluss ein - die normalen, mit der
   Bildschirmbreite schrumpfenden .inner-Abstaende reichen auf kleinen
   Screens nicht mehr aus, damit die erste Ueberschrift nicht unter den
   Button rutscht. Px-Untergrenze statt reinem rem, da der Button selbst
   eine feste Pixelhoehe (44px) hat und mit kleinerem Root-Schriftgrad
   sonst schneller schrumpft als der Button. Nur auf Seiten mit
   Home-Button aktiv (struktureller Sibling-Selektor). */
.home-btn ~ .site-wrapper .inner {
  padding-top: max(4rem, 88px);
}

