/* Zusätzliche Bausteine für die echte Anmeldung (Sprachwahl, Einwilligung, Köderfeld, Fehlermeldung).
   Übernimmt Farben und Formen der bestehenden Seite; Antons styles.css bleibt unverändert. */

#signup-form .lang-choice {
  border: 0;
  margin: 6px 0 14px;
  padding: 0;
}

#signup-form .lang-choice legend {
  font-size: 11px;
  padding: 0;
  margin-bottom: 8px;
}

#signup-form .lang-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#signup-form .lang-choice legend {
  flex: 0 0 100%;
}

#signup-form .lang-option {
  position: relative;
  display: inline-flex;
  margin: 0;
  font-size: 13px;
}

#signup-form .lang-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

#signup-form .lang-option span {
  display: inline-block;
  border: 1px solid #bfcbb5;
  border-radius: 99px;
  padding: 9px 18px;
  background: var(--paper);
  color: var(--ink);
}

#signup-form .lang-option input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

#signup-form .lang-option input:focus-visible + span {
  outline: 3px solid var(--petrol);
  outline-offset: 2px;
}

#signup-form .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
}

#signup-form .consent-field input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

#signup-form .consent-field input[aria-invalid="true"] {
  outline: 2px solid #9b3a37;
  outline-offset: 2px;
}

#signup-form .consent-field a {
  color: inherit;
  text-underline-offset: 3px;
}

/* Köderfeld: für Menschen unsichtbar und nicht erreichbar, Bots füllen es aus. */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  text-align: center;
  padding-top: 10px;
}

.signup-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.site-footer a.footer-link {
  text-decoration: none;
}

.site-footer a.footer-link:hover {
  text-decoration: underline;
}

/* Kopfleiste: breiter (näher am Rand, weniger gequetscht) und Logo mit Blitz vor dem Schriftzug. */
.product-chrome .site-header.wrap {
  width: min(1680px, calc(100% - 80px));
  gap: 28px;
}

.product-chrome .site-header nav {
  gap: 32px;
}

.product-chrome .brand {
  width: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-chrome .brand img {
  width: auto;
  aspect-ratio: auto;
}

/* Blitz: Form des Symbols, aber einfarbig und flach (ohne Verlauf), wie im Film. */
.product-chrome .brand-bolt {
  display: block;
  height: 27px;
  aspect-ratio: 1205 / 1306;
  background: #7ad39d;
  -webkit-mask: url("assets/symbol-green.png") center / contain no-repeat;
  mask: url("assets/symbol-green.png") center / contain no-repeat;
}

.product-chrome .brand-word {
  height: 26px;
}

@media (max-width: 1000px) {
  .product-chrome .site-header.wrap {
    width: calc(100% - 48px);
  }

  .product-chrome .site-header nav {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .product-chrome .site-header.wrap {
    width: calc(100% - 32px);
    gap: 12px;
  }

  .product-chrome .site-header nav {
    gap: 9px;
  }

  .product-chrome .brand {
    width: auto;
    gap: 6px;
  }

  .product-chrome .brand-bolt {
    height: 24px;
  }

  .product-chrome .brand-word {
    height: 22px;
  }
}
