/* Grundschulen lead-magnet — LevelUp catalogue aesthetic (waves, blobs, alternating bands).
   Extends shared/styles.css brand tokens. */

section { margin: 0; }

.lu-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem; /* extra bottom room so the wave divider clears content */
}

body { color: var(--lu-deep); }

h2, section h2 { /* `section h2` matches shared/styles.css specificity so this size actually wins */
  font-family: 'Changa One', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem); /* one consistent size for every section title */
  font-weight: 400; /* Changa One is a single-weight display face */
  color: var(--lu-deep);
  text-align: center;
  margin: 0 0 1.5rem;
  letter-spacing: 0.01em;
}

.lu-h2-xl { /* legacy modifier — size now unified on h2, kept as a no-op so markup stays valid */ }

.lu-accent-word { color: var(--lu-purple-500); }
.lu-band--mid .lu-accent-word,
.lu-band--deep .lu-accent-word { color: var(--lu-deep); }

.lu-lead {
  max-width: 60ch;
  margin: 0 auto 2rem;
  text-align: center;
  color: #5a4a72;
  font-size: 1.05rem;
}
.lu-band--deep .lu-lead { color: var(--lu-deep); } /* readable lead text on the purple band */

/* ---------- Wave dividers between bands ---------- */
.lu-wave-top { position: relative; }
.lu-wave-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 68px;
  transform: translateY(-99%);
  background-color: var(--lu-white); /* default band = white; overridden per band below */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 68' preserveAspectRatio='none'%3E%3Cpath d='M0,68 L1200,68 L1200,32 C1120,58 1030,6 920,26 C818,46 720,2 600,26 C488,50 380,4 270,28 C168,48 78,14 0,34 Z' fill='%23000'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 68' preserveAspectRatio='none'%3E%3Cpath d='M0,68 L1200,68 L1200,32 C1120,58 1030,6 920,26 C818,46 720,2 600,26 C488,50 380,4 270,28 C168,48 78,14 0,34 Z' fill='%23000'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}

/* Wave BOTTOM — a section's own colour dips DOWN into the section below (mirror of wave-top).
   Used so a solid section can wave cleanly over a patterned one (no flat-colour seam). */
.lu-wave-bottom { position: relative; z-index: 2; }
.lu-wave-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 68px;
  transform: translateY(99%);
  background-color: var(--lu-white); /* matches the section it belongs to */
  filter: drop-shadow(0 4px 6px rgba(45, 19, 84, 0.13)); /* soft depth where the section overlaps the pattern below */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 68' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1200,0 L1200,36 C1120,10 1030,62 920,42 C818,22 720,66 600,42 C488,18 380,64 270,40 C168,20 78,54 0,34 Z' fill='%23000'/%3E%3C/svg%3E") top/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 68' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1200,0 L1200,36 C1120,10 1030,62 920,42 C818,22 720,66 600,42 C488,18 380,64 270,40 C168,20 78,54 0,34 Z' fill='%23000'/%3E%3C/svg%3E") top/100% 100% no-repeat;
}

/* ---------- Bands ---------- */
.lu-band { background: var(--lu-white); }
.lu-band--lavender { background: var(--lu-purple-200); }
.lu-band--lavender.lu-wave-top::before { background-color: var(--lu-purple-200); }
.lu-band--mid { background: var(--lu-purple-300); }
.lu-band--mid.lu-wave-top::before { background-color: var(--lu-purple-300); }
.lu-wave-over.lu-wave-top::before { filter: drop-shadow(0 -4px 6px rgba(45, 19, 84, 0.13)); } /* depth where a section overlaps the swirl above it */
.lu-band--deep { background: var(--lu-purple-400); }
.lu-band--deep.lu-wave-top::before { background-color: var(--lu-purple-400); }
/* Brand marble swirl texture (feTurbulence SVG) — used behind the social-proof band */
.lu-swirl-bg {
  background-color: #e5dcff; /* the SVG's light tone — hides hairline seams between paths */
  /* official brand swirl (academies waves), vector — razor-sharp at any size, zoom or DPI */
  background-image: url("/shared/assets/academies-waves.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* match the wave divider to the swirl's average lavender tone */
.lu-swirl-bg.lu-wave-top::before { background-color: #d0baf7; }
/* the solid section above the swirl (its wave-bottom) dips down in its own colour */
.lu-band--deep.lu-wave-bottom::after { background-color: var(--lu-purple-400); }
/* keep the heading accent readable on the swirl */
.lu-swirl-bg .lu-accent-word { color: var(--lu-deep); }
/* extra top room so the heading clears the wave dipping in from the section above */
.lu-swirl-bg .lu-container { padding-top: 5.5rem; }
.lu-band--soft { background: var(--lu-purple-100); }
.lu-band--soft.lu-wave-top::before { background-color: var(--lu-purple-100); }

/* ---------- Buttons ---------- */
.cta-button {
  display: inline-block;
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.cta-button:hover { transform: translateY(-2px); }
.lu-cta-solid {
  background: var(--lu-purple-500);
  color: var(--lu-white);
  box-shadow: 0 6px 18px rgba(139, 111, 217, 0.4);
}
.lu-cta-solid:hover { background: #7a5cd0; }
.lu-cta-outline {
  background: transparent;
  color: var(--lu-purple-500);
  border-color: var(--lu-purple-500);
}
.lu-cta-outline:hover { background: rgba(139, 111, 217, 0.1); }
.lu-cta-outline--light { color: var(--lu-white); border-color: rgba(255, 255, 255, 0.6); }
.lu-cta-outline--light:hover { background: rgba(255, 255, 255, 0.12); }

.lu-cta-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.lu-hero {
  position: relative;
  overflow: hidden;
  background: var(--lu-purple-50);
  text-align: center;
}
.lu-hero-waves {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 380px;
  background:
    radial-gradient(120% 90% at 20% -10%, rgba(139,111,217,0.28), transparent 60%),
    radial-gradient(90% 70% at 95% 0%, rgba(201,177,240,0.5), transparent 55%);
  pointer-events: none;
}
.lu-hero .lu-container { position: relative; z-index: 1; padding-top: 1.5rem; }
.lu-logo { height: 84px; margin-bottom: 1.25rem; }
.lu-hero-title {
  font-family: 'Changa One', system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  color: var(--lu-deep);
  margin: 0 auto 1.1rem;
  letter-spacing: 0.01em;
}
.lu-subhead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #4a3a68;
  max-width: 44ch;
  margin: 0 auto 1.25rem;
}
.lu-hero .lu-cta-row { margin-bottom: 1.75rem; }

/* hero photo cluster + stat — even, aligned grid of uniform rounded tiles */
.lu-blob { overflow: hidden; }
.lu-hero-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}
.lu-hero-photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(45, 19, 84, 0.2);
}
.lu-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lu-hero-photo--b img { object-position: 30% 74%; }
.lu-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--lu-purple-100);
  border: 2px dashed var(--lu-purple-400);
  color: var(--lu-purple-500);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: none;
}
/* 97% proof pill — distinct from the photo tiles, sits below the row */
.lu-hero-statline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 92vw;
  margin: 0 auto 1.5rem;
  padding: 0.45rem 1.1rem 0.45rem 0.95rem;
  background: var(--lu-white);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(45, 19, 84, 0.1);
}
.lu-statline-num {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--lu-purple-700);
}
.lu-statline-text {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lu-deep);
  line-height: 1.25;
}
.lu-statline-text small { color: var(--lu-purple-500); font-weight: 600; white-space: nowrap; }
.lu-stat-blob {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 280px;
  max-width: 80vw;
  aspect-ratio: 1.35 / 1;
  border-radius: 50%;
  background: var(--lu-deep);
  color: var(--lu-white);
  text-align: center;
  padding: 1.5rem;
}
.lu-stat-blob small { color: var(--lu-purple-300); }

.lu-stat-big {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--lu-deep);
  line-height: 1;
}
.lu-stat-blob .lu-stat-big { color: var(--lu-cream); }

.lu-pull-quote {
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--lu-deep);
  border: 0;
  padding: 0;
}
.lu-pull-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--lu-purple-500);
}

/* ---------- Stat rows ---------- */
.lu-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 2rem auto 0;
  text-align: center;
}
.lu-stat { display: flex; flex-direction: column; gap: 0.35rem; }
.lu-stat span:not(.lu-stat-big) { font-size: 0.9rem; color: #5a4a72; }
.lu-band--lavender .lu-stat span:not(.lu-stat-big),
.lu-band--mid .lu-stat span:not(.lu-stat-big),
.lu-band--deep .lu-stat span:not(.lu-stat-big) { color: var(--lu-deep); }

/* ---------- Videos / photo blobs (social proof) ---------- */
.lu-video-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.lu-video-row .lu-video {
  height: 380px;
  width: auto;
  max-width: 90vw;
  border-radius: 20px;
  background: var(--lu-deep);
  box-shadow: 0 10px 30px rgba(45, 19, 84, 0.2);
}
.lu-photo-blob {
  display: block;
  width: 240px;
  max-width: 90vw;
  height: 300px;
}
.lu-photo-blob img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  box-shadow: 0 10px 30px rgba(45, 19, 84, 0.2);
}

/* ---------- Chips ---------- */
.lu-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.lu-chip {
  background: var(--lu-purple-50);
  color: var(--lu-deep);
  border: 1px solid var(--lu-purple-200);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Format cards ---------- */
.lu-format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.lu-format-card {
  background: var(--lu-white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 28px rgba(45, 19, 84, 0.1);
  display: flex;
  flex-direction: column;
}
.lu-format-card--dark { background: var(--lu-deep); color: var(--lu-white); }
.lu-format-tag {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lu-purple-500);
  margin: 0 0 0.4rem;
}
.lu-format-card--dark .lu-format-tag { color: var(--lu-cream); }
.lu-format-card h3 { margin: 0 0 0.75rem; font-size: 1.4rem; color: inherit; }
.lu-format-card > p { color: #5a4a72; margin: 0 0 1rem; }
.lu-format-card--dark > p { color: rgba(255,255,255,0.85); }
.lu-format-card ul { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.lu-format-card li { color: #5a4a72; }
.lu-format-card--dark li { color: rgba(255,255,255,0.85); }
/* Inline link inside a format card (used by the hub page's Schulform cards) */
.lu-card-link {
  display: inline-block;
  font-weight: 700;
  color: var(--lu-purple-500);
  text-decoration: none;
}
.lu-card-link:hover { text-decoration: underline; }
.lu-format-card--dark .lu-card-link { color: var(--lu-cream); }

/* Price block — big number + label + note, in a soft rounded box (catalogue style) */
.lu-format-price {
  margin-top: auto; /* sits at the bottom of the card */
  background: var(--lu-purple-50);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}
.lu-price-big { display: block; font-size: 1.9rem; font-weight: 800; color: var(--lu-purple-500); line-height: 1; }
.lu-price-label { display: block; font-weight: 700; color: var(--lu-purple-500); font-size: 0.9rem; margin-top: 0.35rem; }
.lu-price-note { display: block; color: #5a4a72; font-size: 0.85rem; margin-top: 0.55rem; line-height: 1.4; }
.lu-format-card--dark .lu-format-price { background: rgba(255, 255, 255, 0.08); }
.lu-format-card--dark .lu-price-big { color: var(--lu-gold); }
.lu-format-card--dark .lu-price-label { color: var(--lu-cream); }
.lu-format-card--dark .lu-price-note { color: rgba(255, 255, 255, 0.85); }

/* ---------- Destinations (compact blobs) ---------- */
.lu-dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.lu-dest { margin: 0; text-align: center; }
.lu-photo-blob-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  box-shadow: 0 8px 22px rgba(45, 19, 84, 0.16);
}
.lu-dest figcaption { margin-top: 0.75rem; display: flex; flex-direction: column; }
.lu-dest figcaption strong { color: var(--lu-deep); }
.lu-dest figcaption span { font-size: 0.85rem; color: var(--lu-purple-500); }
.lu-dest-more { text-align: center; color: #5a4a72; margin-top: 2rem; font-size: 0.95rem; }

/* ---------- Trust grid ---------- */
.lu-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.lu-trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--lu-white);
  border-radius: 18px;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 12px 30px rgba(45, 19, 84, 0.2);
  border-bottom: 3px solid var(--lu-purple-400);
}
.lu-trust-item svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--lu-white);
  background: var(--lu-purple-500);
  padding: 0.6rem;
  border-radius: 12px;
  box-sizing: content-box;
  box-shadow: 0 4px 12px rgba(139, 111, 217, 0.45);
}
.lu-trust-item p { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--lu-deep); }

/* ---------- FAQ ---------- */
.lu-faq .lu-container { max-width: 760px; }
.lu-faq details {
  background: var(--lu-white);
  border: 1px solid var(--lu-purple-200);
  border-radius: 16px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.lu-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--lu-deep);
  padding: 1rem 3rem 1rem 1.25rem;
  list-style: none;
  position: relative;
}
.lu-faq summary::-webkit-details-marker { display: none; }
.lu-faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--lu-purple-500);
}
.lu-faq details[open] summary::after { content: "–"; }
.lu-faq-body { padding: 0 1.25rem 1.1rem; }
.lu-faq-body p { margin: 0; color: #5a4a72; }
.lu-faq-body p + p { margin-top: 0.7rem; }

/* ---------- Katalog card ---------- */
.lu-katalog-card {
  background: var(--lu-white);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 12px 40px rgba(45, 19, 84, 0.12);
}
.lu-katalog-card > p { color: #5a4a72; max-width: 52ch; margin: 0 auto 1.5rem; }
.lu-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; max-width: 520px; margin: 0 auto 1.25rem; text-align: left; }
.lu-form-grid label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 700; color: var(--lu-deep); }
.lu-optional { font-weight: 400; color: #8a7ba0; }
.lu-form-grid input {
  font-family: var(--font-body); font-size: 1rem; color: var(--lu-deep);
  background: var(--lu-purple-50); border: 1px solid var(--lu-purple-200);
  border-radius: 12px; padding: 0.7rem 0.9rem;
}
.lu-form-grid input:focus { outline: 2px solid var(--lu-purple-500); outline-offset: 1px; }
.lu-form-submit { border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem; }
.lu-form-error { color: #b3261e; font-weight: 700; margin: 1rem 0 0; }
.lu-form-privacy { font-size: 0.8rem; color: #8a7ba0; max-width: 46ch; margin: 1.1rem auto 0; }

/* ---------- Final CTA band ---------- */
.lu-cta-band { background: var(--lu-deep); color: var(--lu-white); text-align: center; }
.lu-cta-band .lu-container { padding-bottom: 0.5rem; } /* no wave below — trim the dead space above the footer */
.lu-cta-band.lu-wave-top::before { background-color: var(--lu-deep); }
.lu-cta-band h2 { color: var(--lu-white); }
.lu-cta-band .lu-accent-word { color: var(--lu-purple-300); }
.lu-urgency { color: var(--lu-gold); font-weight: 700; margin: 0 0 1.5rem; }
.lu-cta-band .lu-cta-row { margin-bottom: 1.5rem; }
.lu-contact-line { font-size: 0.95rem; }
.lu-contact-line, .lu-contact-line a { color: var(--lu-white); }
.lu-logo-minimal { height: 84px; margin-top: 1.25rem; opacity: 0.92; }
.lu-tagline { margin-top: 0.6rem; font-size: 0.85rem; color: var(--lu-purple-300); letter-spacing: 0.03em; }

/* ---------- Footer ---------- */
.lu-footer {
  background: var(--lu-deep);
  color: rgba(255,255,255,0.75);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem 1.5rem;
  margin-top: 0; /* sit flush against the deep CTA band — no white gap */
}
.lu-footer a { color: rgba(255,255,255,0.75); }

/* ---------- Sticky mobile CTA ---------- */
.lu-sticky-cta { display: none; }
@media (max-width: 720px) {
  .lu-sticky-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    gap: 0.6rem; padding: 0.6rem 0.8rem;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(45, 19, 84, 0.97); backdrop-filter: blur(6px);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  }
  .lu-sticky-cta .cta-button { flex: 1; text-align: center; padding: 0.75rem 0.5rem; font-size: 0.95rem; }
  body { padding-bottom: 4.5rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .lu-stat-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .lu-format-grid { grid-template-columns: 1fr; }
  .lu-dest-grid { grid-template-columns: 1fr 1fr; }
  .lu-video-row .lu-video, .lu-photo-blob { height: auto; width: 100%; max-width: 320px; }
  .lu-photo-blob img { height: 380px; }
  .lu-hero-cluster { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; max-width: 440px; }
  .lu-hero-photo--c { grid-column: 1 / -1; aspect-ratio: 16 / 10; } /* workshop photo spans full width below the two portraits */
  .lu-hero-statline { gap: 0.6rem; padding: 0.5rem 1rem; }
  .lu-statline-num { font-size: 1.7rem; }
  .lu-statline-text { font-size: 0.82rem; }
  .lu-form-grid { grid-template-columns: 1fr; } /* stack fields so they don't overflow the card on mobile */
}
