:root {
  --navy: #0F172A;
  --navy-2: #111F36;
  --gold: #D4AF37;
  --gold-dark: #B78E1E;
  --text: #334155;
  --muted: #64748B;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.hidden, .svg-sprite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 10px 14px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  color: var(--white);
  background: rgba(15,23,42,.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: .25s ease;
}
.site-header.scrolled { background: rgba(15,23,42,.94); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand-mark { color: var(--gold); font-size: 30px; line-height: 1; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #E2B93B, var(--gold-dark));
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(212,175,55,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(212,175,55,.34); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.button-full { width: 100%; color: var(--navy); }

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; background: url("../assets/images/hero.jpg") center/cover no-repeat; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,14,27,.96) 0%, rgba(6,14,27,.84) 40%, rgba(6,14,27,.28) 78%, rgba(6,14,27,.14) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 100px; }
.eyebrow { margin: 0 0 10px; color: #F2C94C; font: 800 clamp(34px, 5vw, 60px)/1 "Montserrat", sans-serif; letter-spacing: -.04em; }
.hero h1, h2, h3 { color: var(--navy); }
.hero h1 {
  margin: 0 0 24px;
  max-width: 780px;
  color: var(--white);
  font: 800 clamp(46px, 6vw, 82px)/1.05 "Montserrat", sans-serif;
  letter-spacing: -.045em;
}
.event-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 26px; font-weight: 600; }
.event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta svg { color: var(--gold); }
.hero-copy { max-width: 620px; margin: 0 0 12px; font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.9); }
.hero .button { margin-top: 18px; }

.section { padding: 110px 0; }
.section-muted { background: var(--surface); }
.section-heading { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.section-heading p:last-child { max-width: 680px; margin-inline: auto; }
.kicker { margin: 0 0 10px; color: var(--gold-dark); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin: 0 0 18px; font: 700 clamp(34px, 5vw, 52px)/1.13 "Poppins", sans-serif; letter-spacing: -.035em; }
h3 { font-size: 22px; line-height: 1.25; }
.feature-grid, .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.icon-box {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: rgba(212,175,55,.12);
  color: var(--gold-dark);
}
.icon-box svg { width: 34px; height: 34px; }
.feature-card h3 { margin: 0 0 12px; }
.feature-card p { margin: 0; }

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.team-card:hover { transform: translateY(-8px); }
.team-card > img { width: 100%; height: 210px; object-fit: cover; }
.team-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.team-title { display: flex; align-items: center; gap: 14px; }
.team-title h3 { margin: 0; }
.icon-small { width: 48px; height: 48px; margin: 0; border-radius: 15px; flex: 0 0 auto; }
.icon-small svg { width: 27px; height: 27px; }
.details { display: grid; gap: 3px; padding: 16px 0; margin-top: 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.details strong { color: var(--navy); }
.tagline { color: var(--gold-dark); font-style: italic; font-weight: 500; }
.text-link { margin-top: auto; color: var(--navy); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--gold-dark); }

.registration-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.registration-intro { position: sticky; top: 120px; }
.check-list { padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; margin: 14px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 800; }

.form-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid label, fieldset { font-weight: 600; color: var(--navy); }
.form-grid label span, legend span, .privacy b { color: #C2413B; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  background: #FBFDFF;
  padding: 13px 14px;
  outline: none;
  color: var(--navy);
  transition: border .2s, box-shadow .2s;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.14); }
fieldset { margin: 28px 0 22px; padding: 0; border: 0; }
legend { margin-bottom: 12px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-weight: 400; color: var(--text); }
.checkbox input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--gold-dark); }
.checkbox a { color: var(--gold-dark); }
.field-error { min-height: 22px; margin: 8px 0 0; color: #B42318; font-size: 14px; }
.form-note { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 0; }

.section-thanks { padding-top: 40px; }
.thanks-card {
  max-width: 900px;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.thanks-card > div {
  padding: 50px;
}
.success-icon { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; color: var(--gold-dark); background: rgba(212,175,55,.13); }
.success-icon svg { width: 38px; height: 38px; }

.footer { padding: 70px 0 24px; background: var(--navy); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer h3 { color: var(--white); margin-top: 0; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-brand { color: var(--white)!important; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .team-grid { max-width: 680px; margin-inline: auto; }
  .registration-layout { grid-template-columns: 1fr; gap: 38px; }
  .registration-intro { position: static; }
  .thanks-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

  .nav {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    gap: 7px;
    min-width: 0;
  }

  .brand span,
  .brand span:last-child,
  .footer-brand span,
  .footer-brand span:last-child {
    display: inline !important;
    visibility: visible !important;
    white-space: nowrap;
  }

  .site-header .brand span {
    font-size: 13px;
    line-height: 1.2;
  }

  .button-small,
  .site-header .button-small {
    padding: 9px 13px;
    font-size: 13px;
    flex: 0 0 auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-overlay { background: linear-gradient(90deg, rgba(6,14,27,.94), rgba(6,14,27,.64)); }
  .section { padding: 78px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .form-card { padding: 24px 18px; }
  .thanks-card > div { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; }

  .footer-brand span {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; }
  .reveal { opacity: 1; transform: none; }
}

/* Logo im Header und Footer */
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.footer-brand .brand-logo { width: 52px; height: 52px; }

/* Umfangreiche Team-Informationen */
.team-info { display: grid; gap: 0; margin-top: 10px; }
.info-block { display: grid; gap: 5px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-block:last-child { border-bottom: 1px solid var(--line); }
.info-block strong { color: var(--navy); }
.info-block small { color: var(--muted); line-height: 1.55; }
.info-block ul { margin: 2px 0 0; padding-left: 20px; }
.info-block li + li { margin-top: 5px; }
.video-link {
  width: fit-content;
  margin-top: 6px;
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}
.video-link.is-placeholder { opacity: .62; cursor: default; }

/* Formularstatus */
.button:disabled {
  background: #E2E8F0;
  color: #94A3B8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.legal-link, .footer-legal-link {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-legal-link { text-decoration: none; }
.footer-legal-link:hover, .legal-link:hover { color: var(--gold-dark); }

/* Danke-Bereich und WhatsApp Links */
.section-thanks[hidden] { display: none; }
.whatsapp-links {
  max-width: 720px;
}
.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.whatsapp-link:hover { border-color: var(--gold); transform: translateY(-1px); }

/* Rechtliche Pop-ups */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,14,28,.76); backdrop-filter: blur(5px); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(86vh, 850px);
  overflow-y: auto;
  padding: 38px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.modal-panel-large { width: min(100%, 900px); }
.modal-panel h2 { font-size: clamp(30px, 5vw, 46px); }
.modal-panel h3 { margin: 30px 0 6px; }
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }

@media (max-width: 620px) {
  .brand-logo { width: 40px; height: 40px; }
  .modal { padding: 12px; }
  .modal-panel { padding: 26px 20px; border-radius: 18px; }
}


/* Video-Buttons und Video-Pop-up */
button.video-link {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
button.video-link:hover {
  color: var(--navy);
  text-decoration: underline;
}
.video-modal-panel {
  width: min(100%, 960px);
  padding: 28px;
  overflow: hidden;
}
.video-modal-panel h2 {
  margin: 0 56px 20px 0;
  font-size: clamp(24px, 4vw, 36px);
}
#video-player {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(90vh - 120px);
  margin: 0 auto;
  border-radius: 16px;
  background: #000;
}
.video-modal-panel {
  max-height: 94vh;
  overflow-y: auto;
}
@media (max-width: 620px) {
  .video-modal-panel { padding: 20px 14px; }
  #video-player { max-height: calc(92vh - 100px); }
}


@media (max-width:390px){
  .site-header .brand span{
    font-size:12px;
  }

  .site-header .button-small{
    padding-inline:11px;
    font-size:12px;
  }

  .hero h1{
    font-size:clamp(26px, 8vw, 34px);
  }
}

@media (max-width: 620px) {
  .thanks-card > div {
    padding: 32px 24px;
  }
}