:root {
  --bg: #0a1628;
  --bg-soft: #101f35;
  --card: rgba(255, 255, 255, 0.075);
  --text: #fff;
  --muted: #b9c4d6;
  --gold: #f0a500;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --danger: #ff8a8a;
  --success: #d8ffe6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 165, 0, 0.18), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

.top-nav,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-nav a,
.footer a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.top-nav a:hover,
.footer a:hover {
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 38px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 6vw, 4.85rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h1 strong {
  color: var(--gold);
}

.sub {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2.3vw, 1.22rem);
  line-height: 1.6;
}

.bullets {
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.bullets li {
  display: flex;
  gap: 11px;
  color: #eef3fb;
  font-weight: 500;
  line-height: 1.45;
}

.check {
  display: grid;
  flex: 0 0 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 165, 0, 0.18);
  color: var(--gold);
  font-weight: 800;
}

.optin {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.optin h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.optin > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

/* Brevo */
.brevo-form,
.brevo-form .sib-form-container,
.brevo-form #sib-form-container {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.brevo-embedded-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  width: 100%;
}

.form-field {
  min-width: 0;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #f5f7fb;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
}

.form-label span {
  color: var(--gold);
}

.brevo-form input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

.brevo-form input[type="email"]::placeholder {
  color: #aab5c6;
}

.brevo-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.16);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  cursor: pointer;
}

.checkbox-row .input_replaced {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.checkbox-row .checkbox {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.checkbox-row .input_replaced:focus-visible + .checkbox {
  outline: 3px solid rgba(240, 165, 0, 0.32);
  outline-offset: 3px;
}

.checkbox-row .input_replaced:checked + .checkbox {
  border-color: var(--gold);
  background: var(--gold);
}

.checkbox-row .input_replaced:checked + .checkbox::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #121212;
  border-bottom: 2px solid #121212;
  transform: rotate(45deg);
}

.checkbox-copy {
  color: #eef3fb;
  font-size: 0.9rem;
  line-height: 1.55;
}

.checkbox-copy a,
.brevo-declaration a {
  color: #fff;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.form-help {
  margin: 8px 0 0 33px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.brevo-declaration {
  padding-top: 2px;
  border-top: 1px solid var(--line);
}

.brevo-declaration p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.captcha-field {
  min-height: 78px;
  overflow-x: auto;
}

.g-recaptcha {
  transform-origin: left top;
}

.brevo-form button[type="submit"] {
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(240, 165, 0, 0.24);
  color: #121212;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.brevo-form button[type="submit"]:hover {
  transform: translateY(-2px);
  background: #ffb31a;
  box-shadow: 0 18px 40px rgba(240, 165, 0, 0.33);
}

.brevo-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.brevo-message {
  display: none;
  width: 100%;
  max-width: none !important;
  margin: 0 0 14px !important;
  padding: 13px 14px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  font: inherit !important;
  line-height: 1.45;
}

.brevo-message--error {
  border-color: rgba(255, 73, 73, 0.42) !important;
  background: rgba(255, 73, 73, 0.12) !important;
  color: #ffdada !important;
}

.brevo-message--success {
  border-color: rgba(34, 197, 94, 0.35) !important;
  background: rgba(34, 197, 94, 0.12) !important;
  color: var(--success) !important;
}

.brevo-message .sib-form-message-panel__text,
.brevo-message .sib-form-message-panel__inner-text {
  color: inherit !important;
  font: inherit !important;
}

.field-error {
  display: block;
  margin-top: 7px;
  border: 0 !important;
  background: transparent !important;
  color: var(--danger) !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.input--hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.progress-indicator__icon {
  width: 20px;
  height: 20px;
  margin-right: 9px;
  fill: currentColor;
}

.sib-hide-loader-icon {
  display: none;
}

/* Restliche Seite */
button,
.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(240, 165, 0, 0.24);
  color: #121212;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  background: #ffb31a;
  box-shadow: 0 18px 40px rgba(240, 165, 0, 0.33);
}

.secondary {
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.building {
  position: absolute;
  bottom: 0;
  width: 24%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(240, 165, 0, 0.9), rgba(240, 165, 0, 0.18));
}

.b1 {
  left: 12%;
  height: 52%;
}

.b2 {
  left: 39%;
  height: 72%;
}

.b3 {
  left: 66%;
  height: 44%;
}

.building::before {
  content: "";
  position: absolute;
  inset: 18px;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.55) 2px, transparent 2px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.55) 2px, transparent 2px);
  background-size: 28px 32px;
  opacity: 0.75;
}

.radar {
  position: absolute;
  top: 40px;
  right: 28px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(240, 165, 0, 0.45);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 42px rgba(240, 165, 0, 0.05),
    inset 0 0 0 86px rgba(240, 165, 0, 0.035);
}

.radar::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 98px;
  height: 3px;
  background: var(--gold);
  transform-origin: left center;
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.trust-card,
.legal-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
}

.trust-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 1.05rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.thankyou {
  display: none;
  min-height: 76vh;
  place-items: center;
  text-align: center;
}

.thankyou-card {
  max-width: 720px;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.thankyou h2 {
  margin: 20px 0 18px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.thankyou p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.affiliate-note {
  margin-top: 16px;
  font-size: 0.86rem !important;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #07101f;
  box-shadow: var(--shadow);
}

.cookie p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.legal-page {
  max-width: 900px;
}

.legal-card h1 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: -0.06em;
}

.legal-card h2 {
  margin-top: 28px;
  color: var(--gold);
}

.legal-card h3 {
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-card a {
  color: #fff;
}

.notice {
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid rgba(240, 165, 0, 0.3);
  border-radius: 16px;
  background: rgba(240, 165, 0, 0.12);
  color: #ffe6a6 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 24px, 560px);
    padding-top: 18px;
  }

  .site-header {
    margin-bottom: 28px;
  }

  .top-nav {
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .visual {
    order: -1;
    min-height: 270px;
    border-radius: 24px;
  }

  .radar {
    top: 26px;
    right: 18px;
    width: 150px;
    height: 150px;
  }

  button,
  .btn {
    width: 100%;
    min-height: 58px;
  }

  .trust {
    grid-template-columns: 1fr;
  }

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

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }

  .footer nav {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  .optin {
    padding: 14px;
  }

  .trust-card,
  .legal-card {
    padding: 16px;
  }

  .form-help {
    margin-left: 0;
  }
}


/* Consent-Management */
body.consent-open {
  overflow: hidden;
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(5px);
}

.consent-dialog {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #07101f;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.consent-dialog[hidden],
.consent-backdrop[hidden] {
  display: none;
}

.consent-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.consent-eyebrow {
  margin: 0 0 5px !important;
  color: var(--gold) !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.consent-dialog h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.consent-dialog > p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.55;
}

.consent-dialog a {
  color: #fff;
  text-underline-offset: 3px;
}

.consent-close {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 1.6rem;
}

.consent-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.consent-option span {
  display: grid;
  gap: 4px;
}

.consent-option strong {
  color: #fff;
}

.consent-option small {
  color: var(--muted);
  line-height: 1.4;
}

.consent-option input {
  width: 21px;
  min-height: 21px;
  flex: 0 0 21px;
  accent-color: var(--gold);
}

.consent-option--locked {
  cursor: default;
  opacity: .82;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.footer-link-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
}

.footer-link-button:hover {
  transform: none;
  background: none;
  box-shadow: none;
  color: #fff;
}


@media (max-width: 620px) {
  .consent-dialog {
    bottom: 8px;
    max-height: calc(100vh - 16px);
    padding: 17px;
  }

  .consent-actions {
    grid-template-columns: 1fr;
  }

  .consent-option {
    align-items: flex-start;
  }
}
