:root {
  --cyb-bg: #071526;
  --cyb-bg-soft: #0b1d33;
  --cyb-card: rgba(16, 42, 69, 0.94);
  --cyb-card-2: rgba(13, 36, 61, 0.92);
  --cyb-field: rgba(255, 255, 255, 0.085);
  --cyb-field-focus: rgba(255, 255, 255, 0.12);
  --cyb-accent: #1f8fff;
  --cyb-accent-2: #55aaff;
  --cyb-text: #ffffff;
  --cyb-muted: #b8c7d9;
  --cyb-border: rgba(255, 255, 255, 0.14);
  --cyb-border-strong: rgba(255, 255, 255, 0.24);
  --cyb-success: #3ddc97;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 143, 255, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(85, 170, 255, 0.10), transparent 30%),
    linear-gradient(135deg, #071526 0%, #0a1c30 48%, #020812 100%);
  color: var(--cyb-text);
}

a {
  color: var(--cyb-accent-2);
}

/* Seitenrahmen */
.page,
.page-wrap {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 42px 20px 30px;
}

/* Kopfbereich */
.header,
.page-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 14px;
  border: 1px solid var(--cyb-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cyb-muted);
  font-size: 14px;
  font-weight: 650;
}

.logoBox {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
}

.logo,
.logoBox img {
  display: block;
  width: min(320px, 100%);
  max-width: 320px;
  height: auto;
}

/* Karten */
.card {
  background: var(--cyb-card);
  border: 1px solid var(--cyb-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
}

.card + .card {
  margin-top: 20px;
}

.company {
  color: var(--cyb-muted);
  line-height: 1.65;
}

.company strong {
  color: #fff;
  font-size: 18px;
}

.form {
  margin-top: 20px;
}

/* Typografie */
h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--cyb-muted);
  line-height: 1.65;
}

p {
  line-height: 1.6;
}

/* Formular */
fieldset {
  margin: 0 0 26px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--cyb-border);
}

fieldset:first-of-type {
  border-top: 0;
  padding-top: 0;
}

legend {
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.helpText {
  margin: -8px 0 18px;
  color: var(--cyb-muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 18px 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
.fieldLabel {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

label input,
label select,
label textarea {
  margin-top: 8px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--cyb-border);
  background: var(--cyb-field);
  color: #ffffff;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

select {
  appearance: auto;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyb-accent);
  box-shadow: 0 0 0 4px rgba(31, 143, 255, 0.20);
  background: var(--cyb-field-focus);
}

/* Volle Breite für einzelne Felder */
.full,
.signature {
  display: block;
  margin-top: 18px;
  width: 100%;
}

/* Options- und Checkboxen sauber ausrichten */
.optionGroup {
  margin: 4px 0 18px;
  padding: 18px;
  border: 1px solid var(--cyb-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.optionGroup .fieldLabel {
  margin-bottom: 12px;
  color: var(--cyb-muted);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 12px 0;
  padding: 0;
  color: var(--cyb-muted);
  font-weight: 600;
  line-height: 1.5;
}

.checkbox input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--cyb-accent);
}

.checkbox span {
  display: block;
  padding-top: 0;
}

/* Hinweisbox */
.notice,
.info-box {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--cyb-border);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cyb-muted);
}

.notice h2 {
  color: #fff;
  margin-bottom: 10px;
}

.notice p {
  margin: 0 0 10px;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* Honeypot unsichtbar */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Button */
button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 10px;
  padding: 15px 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyb-accent), #006fd6);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(31, 143, 255, 0.25);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

button:active,
.btn:active {
  transform: translateY(0);
}

/* Danke-Seite */
.success-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.13);
  border: 1px solid rgba(61, 220, 151, 0.35);
  color: var(--cyb-success);
  font-size: 34px;
  font-weight: 900;
}

/* Footer */
footer,
.footer {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  text-align: center;
}

footer p {
  margin: 0;
}

/* Mobile */
@media (max-width: 780px) {
  .page,
  .page-wrap {
    padding: 28px 14px 22px;
  }

  .header,
  .page-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .logoBox {
    min-width: 0;
    order: -1;
  }

  .logo,
  .logoBox img {
    max-width: 300px;
  }

  .card {
    padding: 24px 18px;
    border-radius: 20px;
  }

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

  fieldset {
    margin-bottom: 24px;
  }
}

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

  .logo,
  .logoBox img {
    max-width: 250px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
  }
}
