/* =========================================================
   NEST-Partnerseite (/kooperation)
   Ergänzt bb.css (Redesign: flache Karten, 1px-Rand, keine
   Schatten, große Typografie). Vorlagen (Mobbin):
   - GitBook / Aboard: gleich hohe Karten mit Symbol oben links
   - Circle: ansteigende Kurve mit vier Stationen
   - Linear / Charma: Pakete als dunkle Karten, Personenzahl
     direkt unter dem Preis
   ========================================================= */

/* ---------- Hero: wie Startseite und Schulen, Phone-Mockup rechts ----------
   Vorlagen (Mobbin): Beside (Phone mit schwebenden Hinweisen),
   American Airlines (2×2-Kacheln „Book with our partners"),
   Swiggy (Buchungskarte mit Status), Superpower (Assistent-Eingabe) */

.np-hero-visual { margin-right: 40px; }
.np-hp { gap: 9px; }
.np-hp svg { width: 100%; height: 100%; display: block; }
.np-hp-booking { background: var(--navy); border-radius: 12px; padding: 10px 11px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.np-hp-booking-top { display: flex; justify-content: space-between; align-items: center; font-size: 8.5px; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.np-hp-ok { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); letter-spacing: .5px; text-transform: uppercase; }
.np-hp-ok svg { width: 9px; height: 9px; stroke-width: 3; }
.np-hp-booking b { font-size: 13px; font-weight: 800; line-height: 1.2; }
.np-hp-booking small { font-size: 9.5px; color: rgba(255,255,255,0.65); }
.np-hp-label { font-size: 8px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-mute); margin-top: 2px; }
.np-hp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.np-hp-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--gold-dark); }
.np-hp-tile svg { width: 16px; height: 16px; }
.np-hp-tile b { font-size: 9.5px; font-weight: 800; color: var(--navy); }
.np-hp-contact { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; }
.np-hp-avatar { flex-shrink: 0; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); }
.np-hp-contact-tx { flex: 1; min-width: 0; }
.np-hp-contact-tx b { display: block; font-size: 9.5px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.np-hp-contact-tx small { display: block; font-size: 8px; color: var(--text-mute); line-height: 1.3; }
.np-hp-contact-btn { flex-shrink: 0; width: 24px; height: 24px; padding: 6px; border-radius: 8px; background: var(--navy); color: var(--gold); }
.np-hp-ask { background: #fff; border: 1px solid var(--line); border-radius: 9999px; padding: 7px 12px; font-size: 9.5px; color: var(--text-mute); }

/* schwebende Hinweise neben dem Phone */
.np-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: var(--navy);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35); white-space: nowrap; pointer-events: none;
}
.np-float b { display: block; font-family: var(--font-alt); font-size: 13px; font-weight: 800; line-height: 1.2; }
.np-float small { display: block; font-size: 11.5px; color: var(--text-mute); line-height: 1.3; }
.np-float-ic { flex-shrink: 0; width: 32px; height: 32px; padding: 8px; border-radius: 10px; background: var(--gold); color: var(--navy); }
.np-float-ic svg { width: 100%; height: 100%; display: block; }
.np-float-ic--navy { background: var(--navy); color: var(--gold); }
.np-float--top { top: 118px; left: -150px; }
.np-float--bottom { bottom: -8px; right: -28px; }

@media (max-width: 1100px) {
  .np-hero-visual { margin-right: 0; }
  .np-float--bottom { right: 0; }
}
@media (max-width: 860px) {
  .np-float { display: none; }
}

/* ---------- Kennzeichnung „im Beitrag" / „zubuchbar" ---------- */
.np-tag { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 9999px; white-space: nowrap; line-height: 1.3; }
.np-tag--inkl { background: #eef1f6; color: var(--bb-navy); }
.np-tag--zu { background: rgba(239,165,0,0.16); color: #8a5e00; }

/* ---------- Weg der Partnerschaft: ansteigende Kurve (Vorlage: Circle) ----------
   Die Punkte liegen genau über den vier Spalten: viewBox 1052 = Inhaltsbreite
   des Containers, Spalten mit 32px Abstand. */
/* Nahtloser Übergang: Der Hero dieser Seite hat keine Goldkante, der
   Abschnitt beginnt im selben Ton (--navy-deep) und hellt nach unten auf. */
/* Kompakter Hero: Beim Aufruf sollen Kurve und Stationen direkt sichtbar sein,
   deshalb weniger Abstand und ein etwas kleineres Phone als auf den anderen Seiten. */
.np-hero { padding: 32px 0 8px; min-height: 0; }
@media (min-width: 861px) { .np-hero-visual { zoom: 0.8; } }
/* Niedrige Fenster (Laptops): noch etwas kompakter */
@media (min-width: 861px) and (max-height: 820px) {
  .np-hero { padding-top: 20px; }
  .np-hero-visual { zoom: 0.7; }
  .np-hero h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
  .np-hero p.lead { margin-bottom: 22px; }
}
@media (min-width: 861px) and (max-height: 760px) {
  .np-hero { padding-top: 12px; }
  .np-hero .hero-badge { margin-bottom: 12px; }
  .np-hero-visual { zoom: 0.62; }
  .np-hero h1 { font-size: clamp(2rem, 3vw, 2.3rem); }
  .np-curve { margin-top: -64px; }
}
.np-hero::after { display: none; }
.np-curve-sec { position: relative; overflow: hidden; padding-top: 24px; background: radial-gradient(ellipse 55% 40% at 18% 62%, rgba(77,110,190,0.22), rgba(77,110,190,0) 70%), radial-gradient(ellipse 45% 35% at 88% 48%, rgba(239,165,0,0.07), rgba(239,165,0,0) 70%), linear-gradient(180deg, #0c1829 0%, #0e1d3a 45%, #0F2145 100%); }
/* Das auslaufende Kurvenende darf auf breiten Fenstern nach oben über den Abschnitt hinausragen */
@supports (overflow-x: clip) { .np-curve-sec { overflow-x: clip; overflow-y: visible; } }
.np-curve-sec::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1052px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.10), rgba(255,255,255,0)); }
.np-curve { position: relative; z-index: 0; margin-top: -56px; pointer-events: none; }
.np-curve-svg { display: block; width: 100%; height: auto; overflow: visible; }
.np-curve-line, .np-curve-glow { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.np-curve-glow { stroke-width: 14; opacity: 0.45; }
.np-curve-label { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 3px; }
.np-curve-label--finden { fill: #EFA500; }
.np-curve-label--halten { fill: #9EC2FF; }
.np-drop { stroke: rgba(255,255,255,0.28); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.np-dot { stroke: #0F2145; stroke-width: 3; }
.np-dot--finden { fill: #EFA500; }
.np-dot--halten { fill: #8DB7FF; }
.np-dot-halo { opacity: 0.22; }
.np-dot-halo--finden { fill: #EFA500; }
.np-dot-halo--halten { fill: #8DB7FF; }
@media (prefers-reduced-motion: no-preference) {
  .np-curve-line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: np-draw 2.2s ease-out 0.2s forwards; }
  .np-curve-glow { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: np-draw 2.2s ease-out 0.2s forwards; }
  @keyframes np-draw { to { stroke-dashoffset: 0; } }
}

.np-stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; column-gap: 32px; margin-top: 6px; }
/* Subgrid: Kicker, Titel, Untertitel und Liste stehen in allen Spalten auf gleicher Höhe */
.np-stop { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; min-width: 0; }
.np-stop-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #EFA500; margin-bottom: 10px; }
.np-stop--halten .np-stop-kicker { color: #9EC2FF; }
.np-stop h3 { margin: 0 0 6px; font-size: clamp(21px, 1.9vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.np-stop-lead { margin: 0 0 20px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.72); }
.np-offers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.np-offers li { font-size: 14.5px; line-height: 1.5; color: var(--bb-text); padding-top: 12px; border-top: 1px solid var(--bb-line); }
.np-offers li div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 3px; }
.np-offers li b { color: var(--bb-ink); font-size: 15.5px; font-weight: 600; }
.np-curve-sec .np-tag--inkl { background: rgba(255,255,255,0.10); color: #fff; }
.np-curve-sec .np-tag--zu { background: rgba(239,165,0,0.18); color: #FFC94A; }
.np-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 36px; font-size: 13px; color: var(--bb-muted); }
.np-legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.np-curve-sec .np-login { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }

/* Tablet und Handy: Kurve ausblenden, Stationen mit Punkt und Linie */
@media (max-width: 900px) {
  .np-curve { display: none; }
  .np-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 40px 28px; margin-top: 44px; }
  .np-stop { position: relative; display: flex; flex-direction: column; grid-row: auto; padding-top: 30px; }
  .np-stop h3 { font-size: 24px; }
  .np-stop::before { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #EFA500; box-shadow: 0 0 0 6px rgba(239,165,0,0.2); }
  .np-stop--halten::before { background: #8DB7FF; box-shadow: 0 0 0 6px rgba(141,183,255,0.2); }
  .np-stop::after { content: ''; position: absolute; top: 7px; left: 28px; right: 0; height: 2px; background: linear-gradient(90deg, rgba(239,165,0,0.5), rgba(239,165,0,0)); }
  .np-stop--halten::after { background: linear-gradient(90deg, rgba(141,183,255,0.5), rgba(141,183,255,0)); }
}
@media (max-width: 600px) {
  .np-stops { grid-template-columns: 1fr; }
}

/* ---------- Partner-Login ---------- */
.np-login {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 24px 48px; align-items: center;
  margin-top: 40px; padding: 36px 40px; border-radius: 24px; background: var(--bb-navy); color: #fff;
  position: relative; overflow: hidden;
  --bb-ink: #fff; --bb-text: rgba(255,255,255,0.74); --bb-hl: #EFA500;
}
.np-login::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--bb-gold); }
.np-login .bb-kicker { margin-bottom: 8px; }
.np-login-h { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; color: #fff; }
.np-login-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.np-login-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,0.86); }
.np-login-ic { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.08); color: var(--bb-gold); }
.np-login-ic svg { width: 17px; height: 17px; }
@media (max-width: 980px) {
  .np-login { grid-template-columns: 1fr; padding: 32px 26px; }
  .np-login-btn { justify-self: start; }
}

/* ---------- Pakete ---------- */
.np-seat {
  display: flex; align-items: center; gap: 16px; margin: -16px 0 28px; padding: 16px 20px;
  border: 1px solid rgba(239,165,0,0.45); border-radius: 16px; background: rgba(239,165,0,0.08);
}
.np-seat-ic { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bb-gold); color: var(--bb-navy); }
.np-seat-ic svg { width: 20px; height: 20px; }
.np-seat p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,0.86); }
.np-seat b { color: #fff; }
/* Kein Paket hervorgehoben: Welches passt, hängt nur von der Zahl der Azubis ab. */
.np-plans .bb-plan:nth-child(2) { border-color: var(--bb-card-line); }
.np-plan-seats { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 28px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,0.06); font-size: 15px; color: var(--bb-muted); }
.np-plan-seats b { font-size: 18px; font-weight: 700; color: #fff; }

.np-addons {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--bb-line);
}
.np-addons-head { grid-column: 1 / -1; }
.np-addons-head b { font-size: 17px; font-weight: 600; color: var(--bb-ink); }
.np-addon { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 18px; background: var(--bb-card); border: 1px solid var(--bb-gold); }
.np-addon-name { font-size: 17px; font-weight: 600; color: var(--bb-ink); }
.np-addon-price { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--bb-gold); line-height: 1.2; }
.np-addon-price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--bb-muted); }
.np-addon-note { font-size: 14.5px; line-height: 1.55; color: var(--bb-text); }
@media (max-width: 760px) { .np-addons { grid-template-columns: 1fr; } }
