/*
 * Bausteine der Website (Block 236, Konzept docs/konzept/Website2.md):
 * Herausforderungen und Loesungen, Funktionsraster, Modulkacheln,
 * Symbolkarten, Rollen, Vorher-nachher, Aufforderungsband, Funktionsuebersicht,
 * Navigation mit grossen Aufklappern und der Fuss mit fuenf Spalten.
 *
 * Laedt nach lp-start.css und nutzt nur dessen Farben (Variablen auf :root,
 * hell und dunkel nach Systemeinstellung) -- keine eigenen Farbwerte, damit
 * die Kontrastpruefung von lp-start.css auch hier gilt. Mobil zuerst,
 * Klassen mit Praefix lp-b- (Bausteine) bzw. lp-nav- (Navigation).
 * Bewegung nur ohne "reduce motion"; Fokus bleibt sichtbar (:focus-visible).
 *
 * Abschnitte am Ende fuer die Bloecke 237 und 238 -- jeder Block ergaenzt nur
 * seinen Abschnitt, damit parallele Zweige nicht dieselben Zeilen aendern.
 */

/* ------------------------------------------------------------- Grundlagen */

.lp-b-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--akzent-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.lp-b-link:hover {
  text-decoration: underline;
}

.lp-b-link:focus-visible,
.lp-b-kachel-link:focus-visible {
  outline: 3px solid var(--akzent-text);
  outline-offset: 3px;
}

.lp-b-sym {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--akzent-weich);
  color: var(--akzent-text);
}

.lp-b-etikett {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-b-etikett-ja {
  color: var(--ja);
}

.lp-b-zwischen {
  margin: 56px 0 18px;
  font-size: 1.35rem;
}

.lp-b-weiter {
  margin-top: 32px;
}

.lp-b-claim {
  margin-top: 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.lp-b-hero-ohne-bild {
  grid-template-columns: minmax(0, 1fr);
}

.lp-b-hero-ohne-bild .lp-hero-text {
  max-width: 820px;
}

@media (min-width: 1000px) {
  .lp-hero .lp-b-hero-ohne-bild {
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-hero.lp-b-hero-schmal {
    padding: 64px 0 72px;
  }
}

/* ---------------------------------------------- Herausforderungen -> Loesung */

.lp-b-hl {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .lp-b-hl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lp-b-hl-karte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
  scroll-margin-top: calc(var(--kopf) + 16px);
}

.lp-b-hl-karte:target {
  border-color: var(--akzent-rand);
  box-shadow: var(--schatten-2);
}

.lp-b-hl-heute,
.lp-b-hl-loesung {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
}

.lp-b-hl-heute .lp-b-sym {
  margin-bottom: 6px;
}

.lp-b-hl-heute h3 {
  font-size: 1.2rem;
}

.lp-b-hl-heute p:not(.lp-b-etikett) {
  color: var(--text-2);
}

.lp-b-hl-loesung {
  flex: 1;
  align-content: start;
  border-top: 1px dashed var(--akzent-rand);
  background: color-mix(in srgb, var(--akzent-weich) 60%, var(--flaeche));
}

.lp-b-hl-loesung h4 {
  font-size: 1.1rem;
}

.lp-b-hl-loesung p:not(.lp-b-etikett) {
  color: var(--text-2);
  font-size: 0.975rem;
}

.lp-b-hl-loesung .lp-b-link {
  margin-top: 4px;
}

/* ---------------------------------------------------------- Vorher-nachher */

.lp-b-vn {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--akzent-rand);
  border-radius: var(--rund-gross);
  background:
    radial-gradient(600px 200px at 100% 0%, rgb(20 184 166 / 0.1), transparent 70%),
    var(--akzent-weich);
}

.lp-b-vn-spalte {
  padding: 18px 20px;
  border-radius: var(--rund);
  background: var(--flaeche);
  box-shadow: var(--schatten-1);
}

.lp-b-vn-spalte h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.lp-b-vn-spalte ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.95rem;
}

.lp-b-vn-vorher li {
  padding-left: 16px;
  border-left: 3px solid var(--linie);
}

.lp-b-vn-nachher li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.lp-b-vn-nachher .lp-sym-klein {
  margin-top: 3px;
  color: var(--akzent-text);
}

.lp-b-vn-pfeil {
  display: grid;
  place-items: center;
  color: var(--akzent-text);
  transform: rotate(90deg);
}

.lp-b-vn-satz {
  color: var(--text-2);
}

@media (min-width: 900px) {
  .lp-b-vn {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    padding: 28px;
  }
  .lp-b-vn-pfeil {
    transform: none;
  }
  .lp-b-vn-satz {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------- Funktionsraster */

.lp-b-raster {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .lp-b-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lp-b-karte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
  box-shadow: var(--schatten-1);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-b-karte:hover {
  border-color: var(--akzent-rand);
  box-shadow: var(--schatten-2);
}

.lp-b-karte-bild {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--linie);
  border-radius: 0;
  box-shadow: none;
}

/* Handy-Bilder: oben angeschnitten in einer getoenten Flaeche gleicher Hoehe wie die Desktop-Bilder (16:10). */
.lp-b-karte-bild.ist-handy {
  display: flex;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding-top: 18px;
  background: var(--akzent-weich);
}

.lp-b-karte-bild.ist-handy img {
  width: 42%;
  height: auto;
  align-self: flex-start;
  border-radius: 16px 16px 0 0;
  box-shadow: var(--schatten-2);
}

.lp-b-karte-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
}

.lp-b-karte-text h3 {
  font-size: 1.3rem;
}

.lp-b-karte-text > p:not(.lp-b-etikett):not(.lp-b-karte-fuss) {
  color: var(--text-2);
}

.lp-b-karte-text .lp-liste {
  font-size: 0.95rem;
}

.lp-b-karte-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--linie);
}

/* ------------------------------------------------------------- Modulkacheln */

.lp-b-kacheln {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .lp-b-kacheln {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lp-b-kacheln {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-b-kachel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-b-kachel.ist-zusatz {
  border-style: dashed;
}

.lp-b-kachel:hover,
.lp-b-kachel:focus-within {
  border-color: var(--akzent-rand);
  box-shadow: var(--schatten-2);
}

.lp-b-kachel h3 {
  margin-top: 4px;
  font-size: 1.1rem;
}

.lp-b-kachel-link {
  color: inherit;
  text-decoration: none;
}

/* Die ganze Kachel ist der Link. */
.lp-b-kachel-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.lp-b-kachel > p:not(.lp-b-kachel-fuss) {
  color: var(--text-2);
  font-size: 0.95rem;
}

.lp-b-kachel-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.lp-b-mehr {
  color: var(--akzent-text);
}

/* ------------------------------------------------------------ Symbolkarten */

.lp-b-symbolkarten {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .lp-b-symbolkarten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .lp-b-symbolkarten {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lp-b-symbolkarte {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--flaeche);
}

.lp-b-symbolkarte > div {
  display: grid;
  gap: 6px;
}

.lp-b-symbolkarte h3 {
  font-size: 1.02rem;
}

.lp-b-symbolkarte p:not(.lp-b-etikett) {
  color: var(--text-2);
  font-size: 0.925rem;
}

/* ------------------------------------------------------------------ Rollen */

.lp-b-rollen {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .lp-b-rollen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .lp-b-rollen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-b-rollen .lp-rolle {
  scroll-margin-top: calc(var(--kopf) + 16px);
}

.lp-b-rollen .lp-rolle:target {
  border-color: var(--akzent-rand);
  box-shadow: var(--schatten-2);
}

.lp-b-rollen .lp-b-link {
  margin-top: 10px;
}

/* ---------------------------------------------------------------- Schritte */

.lp-b-schritt-titel {
  font-size: 1.15rem;
}

/* ------------------------------------------------------ Aufforderungsband */

.lp-b-cta {
  padding: 56px 0;
  background:
    radial-gradient(700px 300px at 90% 0%, rgb(20 184 166 / 0.18), transparent 70%),
    var(--akzent-weich);
  border-top: 1px solid var(--akzent-rand);
}

.lp-b-cta-innen {
  display: grid;
  gap: 22px;
  align-items: center;
}

.lp-b-cta h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 750;
}

.lp-b-cta p {
  margin-top: 10px;
  color: var(--text-2);
}

.lp-b-cta-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 900px) {
  .lp-b-cta-innen {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* --------------------------------------------------- Funktionsuebersicht */

.lp-b-sprung {
  position: sticky;
  top: var(--kopf);
  z-index: 40;
  border-bottom: 1px solid var(--linie);
  background: color-mix(in srgb, var(--grund) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-b-sprung ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.lp-b-sprung a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  text-decoration: none;
}

.lp-b-sprung a:hover {
  border-color: var(--akzent-rand);
  color: var(--text);
}

.lp-b-sprung .lp-sym-klein {
  color: var(--akzent-text);
}

.lp-b-bereich {
  scroll-margin-top: calc(var(--kopf) + 60px);
}

.lp-b-module {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .lp-b-module {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lp-b-modul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
}

.lp-b-modul.ist-zusatz {
  border-style: dashed;
}

.lp-b-modul h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 1.15rem;
}

.lp-b-modul > p {
  color: var(--text-2);
}

.lp-b-punkte {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--linie);
  list-style: none;
  color: var(--text-2);
  font-size: 0.95rem;
}

.lp-b-punkte li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.lp-b-punkte .lp-sym-klein {
  margin-top: 3px;
  color: var(--akzent-text);
}

.lp-b-punkte b {
  color: var(--text);
}

.lp-b-neu-marke {
  display: inline-block;
  margin-left: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--ja-weich);
  color: var(--ja);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ------------------------------------------- Navigation: grosse Aufklapper */

.lp-nav-arten-liste ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-nav-arten-liste ul a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-nav-arten-liste .lp-sym-klein {
  color: var(--akzent-text);
}

.lp-nav-gruppe {
  margin: 6px 12px 4px;
  color: var(--text-3);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-nav-mega .lp-nav-arten-liste {
  width: min(640px, calc(100vw - 40px));
}

.lp-nav-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-nav-spalten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Im Handy-Menue: eine Spalte, aufgeklappt statt schwebend. */
.lp-nav-arten-menue.lp-nav-mega .lp-nav-arten-liste {
  width: auto;
}

.lp-nav-arten-menue .lp-nav-raster,
.lp-nav-arten-menue .lp-nav-spalten {
  grid-template-columns: minmax(0, 1fr);
}

.lp-menue-liste {
  min-width: min(320px, calc(100vw - 40px));
  max-height: calc(100vh - var(--kopf) - 24px);
  overflow-y: auto;
}

.lp-menue-liste details {
  width: 100%;
}

/* ----------------------------------------------------- Fuss: fuenf Spalten */

@media (min-width: 640px) {
  .lp-fuss-innen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-fuss-marke {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .lp-fuss-innen {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1160px) {
  .lp-fuss-innen {
    grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr));
  }
  .lp-fuss-marke {
    grid-column: auto;
  }
}

/* ------------------------------------------------------------- Bewegung */

@media (prefers-reduced-motion: reduce) {
  .lp-b-karte,
  .lp-b-kachel {
    transition: none;
  }
}

/* ------------------------------------------- Block 237: Modulseiten */

/* Hero einer Modulseite: die Überschrift ist ein Satz, deshalb kleiner als auf der Startseite. */
.lp-hero.lp-m-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.1;
}

/* Hero-Bild einer Modulseite:ein Desktop-Bild oder ein Handy-Bild (ohne das schwebende Handy der Startseite). */
.lp-m-hero-bild {
  margin: 0;
}

.lp-m-hero-bild.ist-handy {
  display: flex;
  justify-content: center;
}

.lp-m-hero-bild.ist-handy .lp-va-bild-handy {
  width: min(100%, 280px);
  box-shadow: var(--schatten-3);
}

.lp-m-hero-bild .lp-va-bild-hero {
  box-shadow: var(--schatten-3);
}

/* „So läuft es ab“: drei oder vier Schritte in einer Reihe (die Startseite hat genau drei). */
@media (min-width: 1000px) {
  .lp-m-ablauf .lp-schritte {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Nutzen-Zeile in der Funktionskarte. */
.lp-b-modul > .lp-m-nutzen {
  color: var(--akzent-text);
  font-weight: 600;
}

/* Paket und Preis. */
.lp-m-preis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
  color: var(--text-2);
}

.lp-m-einfuehrung {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--warn-weich);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Passende Vereinsarten als Liste von Marken. */
.lp-m-arten {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-m-arten a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.lp-m-arten a:hover {
  border-color: var(--akzent-rand);
  color: var(--akzent-text);
}

.lp-m-arten a:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
}

.lp-m-arten .lp-sym-klein {
  color: var(--akzent-text);
}

/* ------------------------------------------- Block 238: Lösungen, Rollen, Umstieg, Sicherheit */

/* Lokale Bausteine der Lösungs-, Rollen- und Infoseiten (loesung-seite.ts, rolle-seite.ts, info-seiten.ts). */

.lp-b238-bilder {
  margin-top: 40px;
}

.lp-b238-unter {
  margin: 28px 0 12px;
  font-size: 1.1rem;
}

.lp-b238-hinweis {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 0.95rem;
}

/* Hero nur mit Handy-Bild (Rollen Eltern und Mitglieder). */
.lp-b238-hero-handy {
  display: flex;
  justify-content: center;
  padding-bottom: 0;
}

.lp-b238-hero-handy .lp-va-bild-handy {
  width: min(100%, 280px);
}

/* Weitere Lösungen / Rollen: eine Reihe Chips. */
.lp-b238-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-b238-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--akzent-text);
  font-weight: 600;
  text-decoration: none;
}

.lp-b238-links a:hover {
  border-color: var(--akzent-rand);
}

.lp-b238-links a:focus-visible {
  outline: 3px solid var(--akzent-text);
  outline-offset: 3px;
}

/* Rechte: Oberfläche, „sieht und darf“ und „sieht nicht“ (auch „Was mitkommt“ auf dem Umstieg). */
.lp-b238-oberflaeche {
  margin: 0 0 18px;
}

.lp-b238-rechte {
  display: grid;
  gap: 18px;
}

.lp-b238-rechte-spalte {
  padding: 22px;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--flaeche);
}

.lp-b238-rechte-spalte h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.lp-b238-nicht .lp-sym-klein {
  color: var(--text-3);
}

@media (min-width: 760px) {
  .lp-b238-rechte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Sicherheit: Aussagen je Gruppe als Karten. */
.lp-b238-gruppen {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-b238-gruppe {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--flaeche);
}

.lp-b238-gruppe h3 {
  margin: 0;
  font-size: 1.15rem;
}

.lp-b238-gruppe .lp-liste li {
  align-items: flex-start;
}

@media (min-width: 900px) {
  .lp-b238-gruppen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Sicherheit: Dienste als Liste mit drei Angaben. */
.lp-b238-dienste {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-b238-dienste li {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--flaeche);
}

.lp-b238-wann {
  color: var(--text-3);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .lp-b238-dienste li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: baseline;
    gap: 16px;
  }
}

/* Hero der Unterseiten: längere Überschriften (Sorge als Frage) -- etwas kleiner als auf der Startseite. */
.lp-hero.lp-b238-hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.1rem);
}

/* ------------------------------------------------ Block 247: Fotos */

/*
 * Fotos aus dem Vereinsleben (Register fotos.ts): abgerundet, weicher Schatten,
 * Ausschnitt ueber die Klassen fokus-… (object-position), beim Darueberfahren
 * leicht vergroessert -- nur ohne "reduce motion". Fotos zeigen Gefuehl, die
 * Bildschirmfotos daneben die Software. Der Verlauf ueber dem Hero-Foto ist
 * die einzige eigene Farbe hier: ein fast schwarzes Petrol, auf dem weisse
 * Schrift in hell und dunkel deutlich ueber 4,5 : 1 liegt.
 */

.lp-foto {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--grund-2);
  box-shadow: var(--schatten-2);
}

.lp-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.lp-foto.lp-foto-natur img {
  aspect-ratio: auto;
  height: auto;
}

.fokus-mitte img { object-position: 50% 50%; }
.fokus-oben img { object-position: 50% 22%; }
.fokus-unten img { object-position: 50% 78%; }
.fokus-links img { object-position: 28% 50%; }
.fokus-rechts img { object-position: 72% 50%; }
.fokus-links-oben img { object-position: 30% 22%; }
.fokus-rechts-oben img { object-position: 70% 22%; }

@media (prefers-reduced-motion: no-preference) {
  .lp-gs-foto img,
  .lp-rolle-foto img,
  .lp-b-vn-foto img {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .lp-gs-zeile:hover .lp-gs-foto img,
  .lp-rolle.mit-foto:hover .lp-rolle-foto img,
  .lp-b-vn-spalte:hover .lp-b-vn-foto img {
    transform: scale(1.04);
  }
}

/* ---------------------------------- Hero der Startseite: Foto ueber die ganze Breite */

.lp-hero.lp-fh {
  padding: 0;
  background: var(--grund);
}

.lp-fh-foto {
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% - 120px);
  overflow: hidden;
}

.lp-fh-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dunkler Verlauf: unten und links kraeftig (dort steht die Schrift), oben rechts bleibt das Foto hell. */
.lp-fh-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(3 22 24 / 0.35) 0%, rgb(3 22 24 / 0.55) 55%, rgb(3 22 24 / 0.92) 100%);
}

@media (min-width: 900px) {
  .lp-fh-foto {
    height: calc(100% - 200px);
  }
  .lp-fh-foto::after {
    background:
      linear-gradient(90deg, rgb(3 22 24 / 0.9) 0%, rgb(3 22 24 / 0.72) 38%, rgb(3 22 24 / 0.2) 75%, rgb(3 22 24 / 0.08) 100%),
      linear-gradient(180deg, transparent 60%, rgb(3 22 24 / 0.55) 100%);
  }
}

.lp-fh-innen {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 40px;
}

.lp-fh .lp-hero-text {
  max-width: 640px;
}

.lp-fh h1,
.lp-fh .lp-b-claim,
.lp-fh .lp-hero-punkte {
  color: #fff;
}

.lp-fh h1 {
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}

.lp-fh h1 span,
.lp-fh .lp-hero-punkte .lp-sym-klein {
  background: none;
  color: #99f6e4;
  -webkit-text-fill-color: currentcolor;
}

.lp-fh .lp-hero-unter {
  color: rgb(255 255 255 / 0.9);
}

.lp-fh .lp-dachzeile {
  border-color: rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lp-fh .lp-knopf-zweit {
  border-color: rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  box-shadow: none;
}

.lp-fh .lp-knopf-zweit:hover {
  background: rgb(255 255 255 / 0.2);
  border-color: #fff;
}

/* Das Produkt ragt aus dem Foto heraus: Cockpit mittig, die Vereins-App rechts davor. */
.lp-fh-produkt {
  position: relative;
  z-index: 1;
  max-width: 940px;
  padding-bottom: 56px;
}

.lp-fh-produkt .lp-hero-bild .lp-va-bild-hero {
  width: 100%;
}

@media (min-width: 640px) {
  .lp-fh-produkt .lp-hero-bild .lp-va-bild-hero {
    width: 88%;
  }
  .lp-fh-produkt .lp-hero-bild .lp-hero-handy {
    width: 22%;
  }
}

@media (min-width: 900px) {
  .lp-fh-innen {
    padding-top: 112px;
    padding-bottom: 72px;
  }
  .lp-fh-produkt {
    padding-bottom: 88px;
  }
}

/* ------------------------- Hero der Unterseiten: Foto mit schwebender Bildschirmkarte */

.lp-fb-buehne {
  position: relative;
  padding-bottom: 64px;
}

.lp-fb-buehne.lp-fb-nur-foto {
  padding-bottom: 0;
}

.lp-fb-foto {
  border-radius: 24px;
  box-shadow: var(--schatten-3);
}

.lp-fb-foto:not(.lp-foto-natur) img {
  aspect-ratio: 4 / 3;
}

.lp-fb-karte {
  position: absolute;
  left: -4%;
  bottom: 0;
  width: 62%;
}

/* Die Karte ist das Bildschirmfoto selbst -- ohne das schwebende Handy und ohne eigene Polsterung. */
.lp-fb-karte .lp-hero-bild,
.lp-fb-karte .lp-m-hero-bild {
  padding: 0;
}

.lp-fb-karte .lp-hero-bild .lp-hero-handy {
  display: none;
}

.lp-fb-karte .lp-va-bild-hero,
.lp-fb-karte .lp-hero-bild .lp-va-bild-hero {
  width: 100%;
  border: 4px solid var(--flaeche);
  border-radius: 14px;
  box-shadow: var(--schatten-3);
}

/* Handy-Bild als Karte: schmal, unten links. */
.lp-fb-karte.ist-handy {
  left: 2%;
  width: 30%;
}

.lp-fb-karte .lp-va-bild-handy,
.lp-fb-karte .lp-b238-hero-handy .lp-va-bild-handy,
.lp-fb-karte .lp-m-hero-bild.ist-handy .lp-va-bild-handy {
  width: 100%;
  border: 4px solid var(--flaeche);
  border-radius: 22px;
  box-shadow: var(--schatten-3);
}

@media (max-width: 639px) {
  .lp-fb-buehne {
    padding-bottom: 0;
  }
  .lp-fb-karte {
    position: relative;
    left: auto;
    width: 84%;
    margin: -56px auto 0;
  }
  .lp-fb-karte.ist-handy {
    left: auto;
    width: 46%;
  }
}

/* Ein Foto mit leerem Handy-Bildschirm (hand-smartphone): das Handy-Bild sitzt im Bildschirm.
   Lage in Prozent des ganzen Fotos, gemessen am Original (3168 x 2169), um 15 Grad gedreht. */
.lp-fb-schirm {
  position: absolute;
  overflow: hidden;
  background: #fff;
}

.lp-bildschirm-hand-smartphone .lp-fb-schirm {
  left: 26.8%;
  top: 14.2%;
  width: 20.8%;
  height: 62.9%;
  border-radius: 9% / 4.4%;
  transform: rotate(15deg);
}

.lp-fb-schirm img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

/* Hero der Unterseiten mit Foto: etwas mehr Luft, Text oben ausgerichtet wie das Foto. */
@media (min-width: 1000px) {
  .lp-hero.lp-fb-hero .lp-hero-innen {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .lp-hero.lp-fb-hero.lp-b-hero-schmal {
    padding: 72px 0 96px;
  }
}

/* ------------------------------------------------ Vorher-nachher mit Fotos */

/* Auf der Startseite steht das Paar vor den Karten der Herausforderungen. */
.lp-b-vn.mit-fotos {
  margin: 0 0 56px;
}

.lp-b-vn.mit-fotos .lp-b-vn-spalte {
  padding: 0 0 20px;
  overflow: hidden;
}

.lp-b-vn.mit-fotos .lp-b-vn-spalte > :not(.lp-foto) {
  margin-left: 20px;
  margin-right: 20px;
}

.lp-b-vn-foto {
  margin-bottom: 18px;
  border-radius: var(--rund) var(--rund) 0 0;
  box-shadow: none;
}

.lp-b-vn-foto img {
  aspect-ratio: 16 / 9;
}

.lp-b-vn-vorher .lp-b-vn-foto img {
  filter: saturate(0.55);
}

/* --------------------------------------- Geschichten: Bild und Text im Wechsel */

.lp-gs {
  display: grid;
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-gs-zeile {
  display: grid;
  gap: 28px;
  align-items: center;
}

.lp-gs-bild {
  position: relative;
}

.lp-gs-foto img {
  aspect-ratio: 4 / 3;
}

.lp-gs-karte {
  position: absolute;
  right: -2%;
  bottom: -28px;
  width: 46%;
  overflow: hidden;
  border: 4px solid var(--flaeche);
  border-radius: 14px;
  background: var(--flaeche);
  box-shadow: var(--schatten-3);
}

.lp-gs-karte.ist-handy {
  width: 26%;
  border-radius: 20px;
}

.lp-gs-karte img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-gs-text h3 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lp-gs-text p:not(.lp-b-etikett) {
  margin: 14px 0 18px;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .lp-gs {
    gap: 112px;
  }
  .lp-gs-zeile {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 72px;
  }
  .lp-gs-gespiegelt .lp-gs-bild {
    order: 2;
  }
  .lp-gs-gespiegelt .lp-gs-karte {
    right: auto;
    left: -2%;
  }
}

/* ------------------------------------------------------ Rollenkarten mit Foto */

.lp-rolle.mit-foto {
  flex-direction: column;
  gap: 0;
  padding: 0 0 24px;
  overflow: hidden;
}

.lp-rolle.mit-foto .lp-rolle-foto {
  border-radius: 0;
  box-shadow: none;
}

.lp-rolle-foto img {
  aspect-ratio: 16 / 10;
}

/* Das Symbol sitzt halb auf dem Foto. */
.lp-rolle.mit-foto .lp-rolle-sym {
  position: relative;
  margin: -26px 0 12px 20px;
  border: 3px solid var(--flaeche);
}

.lp-rolle.mit-foto > div {
  padding: 0 20px;
}

/* ------------------------------------------------------- Momentaufnahme (Band) */

.lp-fb-band {
  padding: 8px 0 72px;
}

.lp-fb-band-foto img {
  aspect-ratio: 21 / 9;
}

.lp-fb-band-foto figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 64px 28px 24px;
  background: linear-gradient(180deg, transparent, rgb(3 22 24 / 0.85));
  color: #fff;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 639px) {
  .lp-fb-band-foto img {
    aspect-ratio: 4 / 3;
  }
}

/* ------------------------------------------------------------ Fuss: Bildnachweis */

.lp-fuss-quelle {
  opacity: 0.85;
}
