/* ══════════════════════════════════════════════════════════════════════
   B2B — b2b.html, AVOLYA für Unternehmen (Entwurf 21.10.2026)
   Aufbau nach der Landingpage aus dem Entwurf, Gestaltung wie die Startseite:
   Serifen-Überschriften, dunkles Grün, Lime als Akzent. Formular aus bewerbung.css.
   Baut auf /css/home.css (Tokens, sec-head, mk) und /css/bewerbung.css auf.
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1 · Titelbereich ─────────────────────────────────── */
.b2b-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  margin-top: 18px;
  padding: clamp(40px, 5.5vw, 84px) clamp(24px, 5vw, 80px);
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream-text);
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(46, 120, 86, 0.28), transparent 70%),
    linear-gradient(180deg, #071e16 0%, #051a13 60%, #041711 100%);
}

.b2b-hero-glass {
  position: absolute;
  right: -60px;
  bottom: -90px;
  z-index: -1;
  width: min(46%, 520px);
  height: auto;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}

.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(209, 248, 67, 0.5);
  background: rgba(209, 248, 67, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.b2b-badge .ic { width: 13px; height: 13px; stroke-width: 2.6; }

.b2b-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--cream-text);
  text-wrap: balance;
}

.b2b-hero h1 em,
.b2b-statement h2 em {
  font-style: italic;
  color: var(--lime-400);
}

.b2b-lead {
  margin: 24px 0 0;
  max-width: 34em;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(239, 231, 216, 0.8);
}

.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.b2b-textlink {
  font-weight: 700;
  color: var(--cream-text);
  text-decoration: underline;
  text-decoration-color: rgba(209, 248, 67, 0.6);
  text-underline-offset: 5px;
}

.b2b-textlink:hover { color: var(--lime-400); }

.b2b-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(239, 231, 216, 0.78);
}

.b2b-trust li { display: inline-flex; align-items: center; gap: 8px; }
.b2b-trust .ic { width: 16px; height: 16px; color: var(--lime-400); }

/* Aufklapper "Legacy Programm (was ist enthalten?)" im Titelbereich */
.b2b-whatsin { margin-top: 30px; }

.b2b-whatsin summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--lime-400);
}

.b2b-whatsin summary::-webkit-details-marker { display: none; }
.b2b-whatsin summary .ic { flex: none; width: 18px; height: 18px; }
.b2b-whatsin summary:hover { color: var(--lime-300); }
.b2b-whatsin summary:focus-visible { outline: 2px solid var(--lime-400); outline-offset: 4px; border-radius: 6px; }
.b2b-whatsin-chev { transition: transform 0.2s ease; }
.b2b-whatsin[open] .b2b-whatsin-chev { transform: rotate(45deg); }

.b2b-whatsin-panel {
  margin-top: 16px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(209, 248, 67, 0.3);
  background: rgba(209, 248, 67, 0.06);
}

.b2b-whatsin-lead { margin: 0 0 18px; line-height: 1.6; color: rgba(239, 231, 216, 0.88); }
.b2b-whatsin dl { display: grid; gap: 14px; margin: 0; }
.b2b-whatsin dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.b2b-whatsin dt .ic { width: 16px; height: 16px; color: var(--lime-400); }
.b2b-whatsin dd { margin: 4px 0 0 24px; font-size: 0.94rem; line-height: 1.55; color: rgba(239, 231, 216, 0.7); }

.b2b-gets {
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.b2b-gets-kicker {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.b2b-gets ul { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.b2b-gets li { display: flex; gap: 14px; align-items: flex-start; }
.b2b-gets strong { display: block; font-size: 1rem; color: #fff; }
.b2b-gets li span:not(.b2b-ico) { display: block; margin-top: 3px; font-size: 0.9rem; line-height: 1.5; color: rgba(239, 231, 216, 0.66); }

.b2b-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(209, 248, 67, 0.12);
  color: var(--lime-400);
}

.b2b-ico .ic { width: 19px; height: 19px; }

/* ── 2 · So funktioniert's ────────────────────────────── */
.b2b-steps { padding-top: var(--sec-space); scroll-margin-top: 90px; }

.b2b-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-step-grid li {
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 63, 53, 0.08);
  background: #fff;
}

.b2b-step-top { display: flex; align-items: center; justify-content: space-between; }
.b2b-step-top .ic { width: 24px; height: 24px; color: var(--green-500); }

.b2b-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest-900);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime-400);
}

.b2b-step-grid h3 { margin: 22px 0 0; font-size: 1.2rem; font-weight: 800; color: var(--forest-800); }
.b2b-step-grid p { margin: 8px 0 0; line-height: 1.6; color: var(--ink-700); }

/* ── 3 · Das Legacy-Programm ──────────────────────────── */
.b2b-legacy {
  margin-top: var(--sec-space);
  padding: clamp(48px, 6vw, 96px) clamp(20px, 4.5vw, 72px);
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(70% 80% at 90% 0%, rgba(209, 248, 67, 0.08), transparent 60%),
    linear-gradient(180deg, var(--legacy-bg-top) 0%, var(--legacy-bg-mid) 60%, var(--legacy-bg-bottom) 100%);
}

.b2b-legacy .eyebrow-x { color: var(--lime-400); }
.b2b-legacy .eyebrow-x::before { box-shadow: 0 0 0 3px rgba(209, 248, 67, 0.18); }
.b2b-legacy .sec-title { color: #fff; }
.b2b-legacy .sec-title em { color: var(--lime-400); }

.b2b-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-feat-grid li {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 24px;
  border: 1px solid var(--legacy-border);
  background: rgba(0, 26, 16, 0.55);
}

.b2b-feat-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-400);
  color: var(--forest-900);
}

.b2b-feat-ico .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.b2b-feat-grid h3 { margin: 20px 0 0; font-size: 1.08rem; font-weight: 800; color: #fff; }
.b2b-feat-grid p { margin: 8px 0 0; font-size: 0.95rem; line-height: 1.55; color: var(--legacy-ink-soft); }

.b2b-feat--accent {
  border-color: rgba(209, 248, 67, 0.45) !important;
  background: rgba(209, 248, 67, 0.1) !important;
}

.b2b-feat--accent h3 { color: var(--lime-400); }

/* ── 4 · Leitsatz ─────────────────────────────────────── */
.b2b-statement {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 24px;
  margin-top: var(--sec-space);
  padding: clamp(40px, 5vw, 80px) clamp(24px, 5vw, 80px);
  border-radius: 40px;
  overflow: hidden;
  color: var(--cream-text);
  background: linear-gradient(180deg, #071e16 0%, #041711 100%);
}

.b2b-statement h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--cream-text);
}

.b2b-statement h2 em { display: block; }
.b2b-statement-copy > p { margin: 22px 0 0; max-width: 32em; font-size: 1.1rem; line-height: 1.6; color: rgba(239, 231, 216, 0.82); }

.b2b-statement-checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
  padding: 26px 0 0;
  border-top: 2px solid var(--lime-400);
  width: fit-content;
  list-style: none;
}

.b2b-statement-checks li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; color: #fff; }
.b2b-muted { font-weight: 400; color: rgba(239, 231, 216, 0.6); }

.b2b-statement-glass {
  width: 100%;
  max-width: 420px;
  height: auto;
  justify-self: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 65%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 65%, transparent 100%);
}

/* ── 5 · Konditionen ──────────────────────────────────── */
.b2b-offer { padding-top: var(--sec-space); scroll-margin-top: 90px; }

.b2b-offer-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 30px;
  border: 1.5px solid var(--forest-800);
  border-top: 6px solid var(--lime-400);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.b2b-offer-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }

.b2b-offer-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.b2b-offer-head h3 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--forest-800);
}

.b2b-discount {
  margin: 0;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--forest-900);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lime-400);
  white-space: nowrap;
}

.b2b-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--sand-100);
}

.b2b-price-label {
  flex-basis: 100%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.b2b-price-num { font-size: 2rem; font-weight: 800; color: var(--forest-800); }
.b2b-price-unit { color: var(--ink-700); }

.b2b-price-was { flex-basis: 100%; font-size: 0.9rem; color: var(--ink-700); }
.b2b-price-was s { text-decoration-thickness: 1.5px; }

/* Tagespreis wie auf der Startseite (.price-day aus home.css), hier auf heller Karte */
.b2b-day { margin-top: 14px; }
.b2b-day .price-day-tag { border-color: rgba(12, 63, 53, 0.14); background: var(--sand-100); color: var(--forest-800); }
.b2b-day .price-day-tag .ic { color: var(--forest-600); }
.b2b-day .price-day-note { font-weight: 700; color: var(--forest-800); }

.b2b-offer-terms { margin: 22px 0 0; line-height: 1.6; color: var(--ink-900); }

.b2b-tax {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #f0dfb0;
  background: #fff8e6;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #6b4e12;
}

.b2b-tax .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.b2b-offer-cta { width: 100%; justify-content: center; margin-top: 26px; }

/* ── 6 · Datenschutz für Mitarbeitende ────────────────── */
.b2b-privacy {
  margin-top: var(--sec-space);
  padding: clamp(30px, 4vw, 52px) clamp(20px, 4.5vw, 72px);
  border-radius: 32px;
  background: var(--forest-900);
}

.b2b-privacy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-privacy li { display: flex; gap: 14px; align-items: flex-start; }
.b2b-privacy strong { display: block; font-size: 1rem; color: #fff; }
.b2b-privacy li div span { display: block; margin-top: 4px; font-size: 0.92rem; line-height: 1.5; color: rgba(239, 231, 216, 0.66); }

.b2b-ico-round {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(209, 248, 67, 0.4);
  color: var(--lime-400);
}

.b2b-ico-round .ic { width: 19px; height: 19px; }

/* ── 7 · Anfrage: Ergaenzungen zu bewerbung.css ───────── */
.b2b-apply { margin-top: var(--sec-space); scroll-margin-top: 90px; }

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

.apply-form select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d1f843' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.apply-form select option { color: var(--ink-900); background: #fff; }

.apply-form select:hover,
.apply-form input[type="date"]:hover { border-color: rgba(255, 255, 255, 0.28); }

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

.b2b-apply .apply-note a { color: rgba(255, 255, 255, 0.75); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .b2b-hero,
  .b2b-statement { grid-template-columns: minmax(0, 1fr); }
  .b2b-hero-glass { width: 70%; opacity: 0.22; }
  .b2b-step-grid,
  .b2b-privacy ul { grid-template-columns: 1fr; }
  .b2b-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2b-statement-glass { display: none; }
}

@media (max-width: 640px) {
  .b2b-hero,
  .b2b-legacy,
  .b2b-statement { border-radius: 30px; }
  .b2b-feat-grid { grid-template-columns: 1fr; }
  .b2b-offer-head { flex-direction: column-reverse; }
  /* "Gewichtsmanagement" passt sonst nicht in die Handybreite */
  .b2b-hero h1 { font-size: 2.35rem; -webkit-hyphens: auto; hyphens: auto; }
  .b2b-statement h2 { font-size: 2.1rem; }
}
