/* Neue Marketing-Sektionen aus mockup.html (Pain, Was-Wie/Contrast, Format) */
/* Card-Label (kleines farbiges Tag innerhalb einer .box, z. B. "Eltern wünschen sich") */
.card-label {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  /* var(--muted) statt Akzentfarbe direkt auf Weiß: sichert WCAG-AA-Kontrast
     (Mockup-Pendant .eyebrow-small nutzt aus demselben Grund var(--ink-soft)) */
  color: var(--muted);
  margin-bottom: 14px;
}

.card-label--amber {
  color: var(--muted);
}

/* Zitat-Absätze innerhalb einer Card-Label-Box (bewusst kein .generic-p,
   dessen min-height:100px bei mehreren gestapelten Absätzen zu viel Leerraum erzeugt) */
.quote-text {
  font-size: 1rem;
  color: var(--ink);
  margin-top: 14px;
}

.quote-text:first-of-type {
  margin-top: 0;
}

/* "Zwei Seiten des Lernens": zwei gleich hohe Karten statt frei schwebendem Text.
   "Das Was." bleibt neutral, "Das Wie." trägt den Orange-Rahmen der aktiven
   Preiskarte – der inhaltliche Kontrast ist damit auch sichtbar. */
.contrast-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.contrast-col {
  flex: 1 1 0;
  min-width: 0;
  max-width: 460px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--spring);
}

.contrast-col--accent {
  border: 2px solid var(--amber);
  box-shadow: var(--shadow-active);
}

.contrast-col:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* var(--muted) statt Akzentfarbe: sichert WCAG-AA-Kontrast auf Weiß (wie .card-label) */
.contrast-label {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.contrast-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}

.contrast-col--accent .contrast-title {
  color: var(--amber-dark);
}

.contrast-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}

/* "+" statt Pfeil: beide Seiten gehören zusammen, sie folgen nicht aufeinander */
.contrast-plus {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--teal-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

/* Claim als Statement; Marker-Unterlegung statt Farbtext, da Orange auf dem
   Sand-Panel das Kontrastminimum verfehlen würde */
.contrast-claim {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  color: var(--ink);
}

.contrast-claim span {
  font-family: inherit;
  white-space: nowrap;
  background: linear-gradient(transparent 62%, rgba(255, 122, 69, 0.4) 62%);
}

/* Format-Section ("So läuft das Programm ab.") */
.format-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.format-item {
  flex: 1 1 180px;
  max-width: 220px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 16px;
  transition: transform 0.3s var(--spring), background-color 0.3s ease;
}

.format-item:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.5);
}

.format-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
}

.format-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}

/* "Warum Rein Campus?" – zentriert wie die übrigen Sektionen und in drei Stufen
   gegliedert: Einleitung, Kernsatz als Statement, die drei Lücken als Karten.
   Heller Sektionston + Glow bleiben als Hintergrund erhalten. */
#warum {
  background: var(--paper-soft);
  position: relative;
  overflow: hidden;
}

#warum::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 92% -15%, rgba(95, 216, 206, 0.16), transparent 60%);
  pointer-events: none;
}

#warum .container {
  position: relative;
}

#warum .generic-p {
  line-height: 1.6;
}

.why-statement {
  margin-top: 40px;
}

/* Kernsatz: Volltonfarbe mit Orange-Akzent wie in der Hero-Headline */
.why-key {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
  margin: 8px 0 20px;
}

.why-key span {
  font-family: inherit;
  color: var(--amber-dark);
}

.why-gaps {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 860px;
  margin: 28px auto 40px;
}

.why-gaps li {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--spring);
}

.why-gaps li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.why-gaps li:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Ruhiger Hinweiskasten (Teal statt Orange, um nicht mit den Testimonials zu konkurrieren) */
#warum .info-block {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

#warum .info-block .generic-p {
  padding: 24px 28px;
  background: var(--white);
  border-left-color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
}

/* Marken-Abschlusszitat ("Geben Sie Ihrem Kind …") */
.brand-quote-section {
  padding: var(--space-18) 0 var(--space-12);
  background: var(--paper);
}

.brand-quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 22px);
  font-style: italic;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.6;
}

.brand-quote .mark {
  color: var(--amber);
}

/* Testimonials (aus components.css hierher verschoben – nur index.html nutzt sie) */
.testimonial {
  border-left: 4px solid var(--amber);
  position: relative;
  padding-left: 40px;
}

.testimonial .generic-p {
  font-style: italic;
  color: var(--muted);
}

/* Deko-Anführungszeichen der Testimonial-Karten (sitzt im 40px-Innenabstand links) */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  left: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--amber);
  opacity: 0.5;
}
