/* ══════════════════════════════════════════════════════════════════════
   BEWERBUNG — partner.html, coach.html (10/2026)
   Dunkles Gruen mit weisser Schrift, Lime fuer Akzente und den Button.
   Baut auf /css/home.css auf (Tokens, Kicker, Icons).
   ══════════════════════════════════════════════════════════════════════ */

.apply {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin: 18px 0 clamp(64px, 8vw, 110px);
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4.5vw, 72px);
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(46, 120, 86, 0.22), transparent 70%),
    linear-gradient(180deg, #071e16 0%, #051a13 60%, #041711 100%);
}

/* ── Linke Spalte ─────────────────────────────────────── */
.apply-intro {
  position: sticky;
  top: 120px;
}

.apply-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
  color: #fff;
}

.apply-lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.apply-facts {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.apply-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.apply-facts .ic {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  stroke-width: 3;
  background: var(--lime-400);
  color: var(--forest-900);
}

.apply-glass {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-top: 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}

/* ── Formular-Karte ───────────────────────────────────── */
.apply-card {
  padding: clamp(22px, 3vw, 40px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.fld { display: flex; flex-direction: column; gap: 7px; }
.fld--full { grid-column: 1 / -1; }

.apply-form label,
.apply-links legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
}

.req { color: var(--lime-400); }

.fld-opt {
  margin-left: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="url"],
.apply-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.apply-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.apply-form ::placeholder { color: rgba(255, 255, 255, 0.38); }

.apply-form input:hover,
.apply-form textarea:hover { border-color: rgba(255, 255, 255, 0.28); }

.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--lime-400);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(209, 248, 67, 0.16);
}

.apply-form [aria-invalid="true"] {
  border-color: #ff9d8f !important;
  box-shadow: 0 0 0 4px rgba(255, 157, 143, 0.14) !important;
}

.fld-hint {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

.fld-err {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ffb4a8;
}

.apply-links {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-links legend {
  float: left;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.apply-links legend + .apply-grid { clear: both; }

.apply-form > .fld--full { margin-top: 22px; }

/* Honeypot: aus dem Sichtfeld, aber nicht display:none (manche Bots ueberspringen das) */
.apply-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.apply-check input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--lime-400);
  cursor: pointer;
}

.apply-check label {
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.apply-check a {
  color: var(--lime-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.apply-check + .fld-err { margin: 8px 0 0 34px; }

.apply-error {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 157, 143, 0.12);
  border: 1px solid rgba(255, 157, 143, 0.4);
  font-size: 0.92rem;
  line-height: 1.5;
  color: #ffd4cd;
}

.apply-submit {
  width: 100%;
  margin-top: 24px;
}

.apply-submit:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.apply-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Erfolg ───────────────────────────────────────────── */
.apply-done {
  padding: clamp(20px, 4vw, 48px) 8px;
  text-align: center;
  outline: none;
}

.apply-done-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--forest-900);
  box-shadow: 0 0 0 10px rgba(209, 248, 67, 0.14);
}

.apply-done-icon .ic { width: 28px; height: 28px; stroke-width: 3; }

.apply-done h2 {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.apply-done p {
  margin: 10px 0 26px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .apply { grid-template-columns: 1fr; }
  .apply-intro { position: static; }
  .apply-glass { display: none; }
}

@media (max-width: 640px) {
  .apply { border-radius: 30px; padding: 28px 16px 20px; }
  .apply-card { padding: 20px 16px; border-radius: 24px; }
  .apply-grid { grid-template-columns: 1fr; }
}
