/* exsos Design-System – Event-Landingpage (additiv zu exsos.css)
   ════════════════════════════════════════════════════════════════
   Styling für das Template _includes/events/event-online-exsos.njk.
   Wichtig: Die Klassen des geteilten Wizard-Partials
   (form-wizard-online.njk) und von event-online.js/main.js bleiben
   unverändert – hier werden sie nur im exsos-Look gestylt.
   ════════════════════════════════════════════════════════════════ */

/* ───────── LP-Topbar (schlank, sticky, ohne Site-Nav) ───────── */
.lp-topbar{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--sand) 92%,transparent);
  backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--hair)}
.lp-topbar__in{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;height:68px}
.lp-topbar__date{display:inline-flex;align-items:center;gap:.5rem;font-size:.88rem;font-weight:600;
  color:var(--forest);font-variant-numeric:tabular-nums}
.lp-topbar__date svg{width:17px;height:17px;stroke:var(--green);fill:none;stroke-width:1.8}
.lp-topbar__right{display:flex;align-items:center;gap:1.1rem}
@media (max-width:760px){.lp-topbar__date{display:none}
  .lp-topbar .btn{padding:.65rem 1.15rem;font-size:.9rem;white-space:nowrap}
  .lp-topbar .brand__label,.lp-topbar .brand__div{display:none}}

/* ───────── Hero: Split (Text links, Formular rechts) ───────── */
.lp-hero{position:relative;background:var(--forest);overflow:hidden;
  padding:clamp(2.6rem,5vw,4.6rem) 0 clamp(2.8rem,5vw,4.8rem)}
.lp-hero__bg{position:absolute;inset:0}
.lp-hero__bg img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.lp-hero__scrim{position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(0,48,47,.9) 0%,rgba(0,48,47,.72) 45%,rgba(0,48,47,.55) 100%)}
.lp-hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;
  gap:clamp(1.8rem,4vw,3.4rem);align-items:center}
.lp-hero__text{color:var(--sand)}
.lp-hero__text .eyebrow{color:var(--mint)}
.lp-hero__text h1{color:#f6efe2;font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.08}
.lp-hero__text h1 em{font-style:normal;color:var(--mint)}
.lp-hero__desc{color:#dfeae4;font-size:clamp(1rem,1.4vw,1.12rem);line-height:1.6;
  max-width:52ch;margin:1.1rem 0 1.4rem}
.lp-hero__badges{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.3rem}
.lp-badge{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:700;
  color:#eaf6ef;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);
  padding:.38rem .8rem;border-radius:999px;backdrop-filter:blur(4px)}
.lp-hero__meta{display:flex;flex-direction:column;gap:.6rem;margin:0 0 1.6rem}
.lp-hero__meta span{display:flex;align-items:center;gap:.65rem;color:#eef5f0;font-size:1rem;font-weight:600}
.lp-hero__meta svg{width:19px;height:19px;stroke:var(--mint);fill:none;stroke-width:1.8;flex:none}
.lp-hero__logos{display:flex;align-items:center;gap:clamp(1.1rem,2.6vw,1.9rem);flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.2);padding-top:1.2rem}
.lp-hero__logos img{height:26px;width:auto;object-fit:contain;opacity:.92}
.lp-hero__logos-label{flex-basis:100%;font-size:.68rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(255,255,255,.55);margin-bottom:-.35rem}

/* Betreiber-Einordnung unter der Kennzahlen-Bar (exsos = Entwickler/Bauherr) */
.lp-operator-note{max-width:62ch;margin:1.5rem auto 0;text-align:center;color:var(--muted);
  font-family:var(--serif);font-size:1.02rem;line-height:1.55}

/* ───────── Formular-Karte (IDs/Klassen aus dem geteilten Wizard) ───────── */
.hero-form{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg);
  padding:clamp(1.4rem,2.6vw,2rem);max-width:520px;width:100%;justify-self:end}
.hero-form__title{font-size:1.35rem;color:var(--forest);margin:0 0 .25rem}
.hero-form__subtitle{color:var(--muted);font-size:.92rem;margin:0 0 1.1rem}
.hero-form__note{font-size:.78rem;color:var(--muted);text-align:center;margin:1rem 0 0}

/* Step-Indikator */
.form-steps{display:flex;align-items:center;gap:.5rem;margin:0 0 1.2rem}
.form-steps__item{display:flex;align-items:center;gap:.45rem;color:var(--muted)}
.form-steps__num{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font-size:.8rem;font-weight:700;background:var(--sand);color:var(--muted);
  border:1.5px solid var(--hair);transition:all .2s ease}
.form-steps__label{font-size:.78rem;font-weight:600}
.form-steps__item.is-active .form-steps__num{background:var(--green);border-color:var(--green);color:#fff}
.form-steps__item.is-active{color:var(--forest)}
.form-steps__item.is-done .form-steps__num{background:var(--forest);border-color:var(--forest);color:#fff}
.form-steps__divider{flex:1;height:2px;background:var(--hair);border-radius:2px}
.form-steps__divider.is-done{background:var(--green)}

/* Steps ein-/ausblenden (Wizard-Logik aus event-online.js) */
.form-step{display:none}
.form-step.is-active{display:block;animation:lpStepIn .3s ease}
@keyframes lpStepIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Felder */
.form-group{margin:0 0 .95rem}
.form-group--row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.form-group label{display:block;font-size:.84rem;font-weight:600;color:var(--forest);margin:0 0 .3rem}
.form-group__heading{font-size:.84rem;font-weight:700;color:var(--forest)}
.form-group input,.form-select{width:100%;font-family:var(--sans);font-size:1rem;
  padding:.72rem .85rem;border:1px solid var(--hair);border-radius:8px;
  background:var(--sand);color:var(--ink)}
.form-group input:focus,.form-select:focus{outline:2px solid var(--green);border-color:var(--green)}
.form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6f68' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .8rem center}

/* Radio-Karten (Ticket-Wahl + Ja/Nein) */
.attendance-type__options{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:.45rem}
.radio-card{position:relative;display:flex;flex-direction:column;gap:.15rem;cursor:pointer;
  border:1.5px solid var(--hair);border-radius:10px;padding:.8rem .9rem;background:var(--surface);
  transition:border-color .18s ease,background .18s ease}
.radio-card input{position:absolute;opacity:0;pointer-events:none}
.radio-card__label{font-weight:700;font-size:.95rem;color:var(--forest)}
.radio-card__desc{font-size:.78rem;color:var(--muted);line-height:1.35}
.radio-card:hover{border-color:var(--green)}
.radio-card:has(input:checked){border-color:var(--green);background:color-mix(in srgb,var(--green) 8%,#fff);
  box-shadow:inset 0 0 0 1px var(--green)}
.radio-card--sm{flex-direction:row;justify-content:center;padding:.65rem .9rem}

/* Wizard-Navigation + Buttons */
.btn--full{width:100%}
.form-step__nav{display:flex;gap:.7rem;margin-top:1.1rem}
.form-step__nav .btn{flex:1}
.form-step__next{margin-top:.3rem}
.timeslot-section__heading{font-weight:700;color:var(--forest);font-size:1.02rem;margin:0 0 .2rem}
.timeslot-section__subtext{color:var(--muted);font-size:.86rem;margin:0 0 1rem}

/* Zusammenfassung (Schritt 3) */
.form-step__summary{background:var(--sand);border:1px solid var(--hair);border-radius:10px;
  padding:1rem 1.1rem}
.form-step__summary-title{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);margin:0 0 .5rem}
.form-step__summary-row{font-size:.95rem;color:var(--ink);padding:.15rem 0}
.form-step__summary-row:empty{display:none}

/* Checkboxen + Info-Tooltip */
.form-checkbox{display:flex;gap:.6rem;align-items:flex-start;font-size:.82rem;color:var(--muted);line-height:1.45}
.form-checkbox input{margin-top:.2rem;accent-color:var(--green);flex:none;width:16px;height:16px}
.form-checkbox a{color:var(--green-deep);text-decoration:underline}
.info-toggle{background:none;border:0;cursor:pointer;color:var(--green-deep);font-size:.9rem;padding:0 .15rem}
.info-tooltip{display:none;margin-top:.5rem;font-size:.76rem;color:var(--muted);background:var(--sand);
  border:1px solid var(--hair);border-radius:8px;padding:.7rem .8rem;line-height:1.5}
.info-tooltip--visible{display:block}

/* Ticket-Bestätigung nach Absenden (Fallback vor Redirect) */
.ticket-confirmation{display:none}
.ticket-confirmation.is-active{display:block}
.ticket-card{border:1px solid var(--hair);border-radius:var(--radius);overflow:hidden}
.ticket-card__header{background:var(--green);color:#fff;text-align:center;padding:1.4rem 1.2rem}
.ticket-card__header-icon{font-size:1.9rem;margin-bottom:.3rem}
.ticket-card__header h3{color:#fff;font-size:1.2rem;margin:0 0 .25rem}
.ticket-card__header p{margin:0;font-size:.88rem;color:#eaf6ef}
.ticket-card__body{padding:1.3rem 1.2rem;background:var(--surface)}
.ticket-card__name{font-weight:700;font-size:1.08rem;color:var(--forest)}
.ticket-card__meta{display:flex;gap:1rem;flex-wrap:wrap;color:var(--muted);font-size:.9rem;
  margin:.4rem 0 .9rem;font-variant-numeric:tabular-nums}
.ticket-card__slots{border-top:1px solid var(--hair);padding-top:.9rem}
.ticket-card__slots-title{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin:0 0 .4rem}
.ticket-card__slots ul{margin:0;padding-left:1.15rem;font-size:.9rem;color:var(--ink)}
.ticket-card__slots li{margin:.25rem 0}
.ticket-card__note{font-size:.82rem;color:var(--muted);margin:.9rem 0 0;line-height:1.5}

/* ───────── Hosts ───────── */
.lp-hosts__grid{display:grid;grid-template-columns:repeat(2,minmax(0,420px));gap:1.3rem;justify-content:center}
.lp-host{background:var(--surface);border:1px solid var(--hair);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:1.8rem;text-align:center;display:flex;flex-direction:column;
  align-items:center;gap:.35rem}
.lp-host__photo{width:104px;height:104px;border-radius:50%;overflow:hidden;margin-bottom:.7rem;
  border:3px solid var(--green);background:var(--sand)}
.lp-host__photo img{width:100%;height:100%;object-fit:cover}
.lp-host__role{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green-deep)}
.lp-host__name{font-size:1.22rem;font-weight:700;color:var(--forest)}
.lp-host__bio{font-family:var(--serif);font-style:italic;color:var(--muted);font-size:.95rem;
  line-height:1.5;margin:.35rem 0 0}

/* ───────── Curriculum („Das lernen Sie") ───────── */
.lp-curr__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem}
.lp-curr__card{background:var(--surface);border:1px solid var(--hair);border-left:5px solid var(--green);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:1.5rem 1.5rem 1.4rem}
.lp-curr__num{font-size:.78rem;font-weight:700;letter-spacing:.14em;color:var(--green-deep)}
.lp-curr__q{font-size:1.08rem;line-height:1.3;color:var(--forest);margin:.45rem 0 .5rem}
.lp-curr__teaser{font-size:.92rem;color:var(--muted);line-height:1.5;margin:0}

/* ───────── Ablauf (Timeline) ───────── */
.lp-agenda{max-width:640px;margin:0 auto;display:flex;flex-direction:column}
.lp-agenda__item{display:grid;grid-template-columns:88px 26px 1fr;gap:0 1rem;position:relative;
  padding-bottom:1.9rem}
.lp-agenda__item:last-child{padding-bottom:0}
.lp-agenda__time{font-weight:700;color:var(--green-deep);font-size:.95rem;text-align:right;
  font-variant-numeric:tabular-nums;padding-top:.1rem}
.lp-agenda__dot{position:relative;display:flex;justify-content:center}
.lp-agenda__dot::before{content:"";width:14px;height:14px;border-radius:50%;background:var(--green);
  border:3px solid #fff;box-shadow:0 0 0 1.5px var(--green);z-index:1;margin-top:.25rem}
.lp-agenda__item:not(:last-child) .lp-agenda__dot::after{content:"";position:absolute;top:1rem;bottom:-.4rem;
  width:2px;background:var(--hair)}
.lp-agenda__title{font-weight:700;color:var(--forest);font-size:1.05rem}
.lp-agenda__text{color:var(--muted);font-size:.94rem;line-height:1.55;margin:.25rem 0 0}

/* ───────── FAQ ───────── */
.lp-faq{max-width:760px;margin:0 auto}
.lp-faq__group-heading{font-size:.82rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--green-deep);margin:2rem 0 .8rem}
.lp-faq details{background:var(--surface);border:1px solid var(--hair);border-radius:10px;
  margin:0 0 .6rem;overflow:hidden}
.lp-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem;
  align-items:center;font-weight:600;color:var(--forest);font-size:1rem;padding:1rem 1.2rem}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq summary::after{content:"+";font-size:1.3rem;color:var(--green);font-weight:700;flex:none;
  transition:transform .2s ease}
.lp-faq details[open] summary::after{transform:rotate(45deg)}
.lp-faq details>div{padding:0 1.2rem 1.1rem;color:var(--muted);font-size:.95rem;line-height:1.6}

/* ───────── Scroll-Reveal (main.js: .fade-in → .is-visible) ───────── */
.fade-in{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.fade-in.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.fade-in{opacity:1;transform:none;transition:none}}

/* ───────── Responsive ───────── */
@media (max-width:1020px){
  .lp-hero__grid{grid-template-columns:1fr}
  .hero-form{justify-self:stretch;max-width:640px;margin:0 auto}
  .lp-curr__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .lp-hosts__grid,.lp-curr__grid{grid-template-columns:1fr}
  .form-group--row,.attendance-type__options{grid-template-columns:1fr}
  .lp-agenda__item{grid-template-columns:64px 22px 1fr;gap:0 .7rem}
  .form-steps__label{display:none}
  .form-steps__item.is-active .form-steps__label{display:inline}
}
