body { margin: 0; overflow-x: hidden; }

/* Besonderer Sternenhimmel-Hintergrund + Sternschnuppen beim Scrollen (Betreiberauftrag
   2026-08-06) - zusaetzlich zum bestehenden, statischen Sternenmuster aus design-tokens.css
   (body background), das app-weit unveraendert bleibt. Diese Ebene ist eigenstaendig, nur auf
   Seiten mit den passenden Containern (aktuell: Startseite) wirksam, rein dekorativ
   (aria-hidden, pointer-events:none) und respektiert prefers-reduced-motion doppelt
   abgesichert (JS erzeugt bei reduzierter Bewegung nur statische Sterne UND keine
   Sternschnuppen; falls JS aus irgendeinem Grund nicht laeuft, verhindert die Media Query
   unten zusaetzlich jede Animation). Erzeugung der einzelnen Sterne/Sternschnuppen: stars.js. */
.starfield,
.shooting-stars {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.5;
  animation: twinkle-page 3.2s ease-in-out infinite;
}
.star--gold {
  background: var(--gold-soft);
  box-shadow: 0 0 4px 1px rgba(240, 207, 154, 0.5);
}
.star--static { opacity: 0.28; animation: none; }
@keyframes twinkle-page {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.95; }
}

.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold-soft);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(240, 207, 154, 0.85);
  animation: shoot 1.3s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}
.shooting-star::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 110px;
  height: 1px;
  background: linear-gradient(to left, rgba(240, 207, 154, 0.9), transparent);
  transform: translateY(-50%) rotate(180deg);
  transform-origin: right center;
}
@keyframes shoot {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(360px, 230px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .star { animation: none; opacity: 0.3; }
  .shooting-star { display: none; }
}

/* Stellt sicher, dass echter Inhalt ueber der fixierten Sternen-Ebene liegt (z-index:0) -
   ohne eigenen Stapelkontext wuerden Klicks/Text sonst zwar sichtbar, aber die Reihenfolge
   waere vom Layout-Zufall abhaengig statt bewusst festgelegt. */
.site-nav, main, footer {
  position: relative;
  z-index: 1;
}

/* Barrierefreiheit: Sprung-Link, per Tastatur als erstes fokussierbares Element erreichbar,
   sonst unsichtbar (Muster: visuell versteckt, aber nicht aus dem Fokus-Baum entfernt). */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #241a0a;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-small) 0;
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* Kopfnavigation - auf den Unterseiten (wie-funktionierts.html etc.) bewusst nicht vorhanden,
   dort genuegt der bestehende .hero-Header; die Startseite als Haupteinstieg bekommt die
   vollstaendige Navigation. */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  flex-wrap: wrap;
}
.site-nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.site-nav-brand span { color: var(--gold-soft); }
.site-nav nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-nav nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
}
.site-nav nav a:hover { color: var(--gold-soft); }
.site-nav-cta { white-space: nowrap; }

.hero {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(160deg, rgba(44, 34, 89, 0.6), transparent);
}
.hero h1 { font-size: 40px; margin-bottom: 8px; }
.hero p { max-width: 560px; margin: 0 auto 32px; color: var(--text-muted); }

/* Zentrierter Hero (Betreiberauftrag 2026-08-06: Anfangstext mittig, kein Bild mehr an dieser
   Stelle - vormals zweispaltiges Layout mit Illustration). */
.hero-centered {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  text-align: center;
}
.hero-centered .hero-copy { max-width: none; }
.hero-centered h1 {
  font-size: 40px;
  line-height: 1.18;
  text-wrap: balance;
  margin: 8px auto 16px;
}
.hero-centered .hero-copy > p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

/* Bild-Platzhalter (Betreiberauftrag): ersetzt die vorherige Illustration, bis echte
   Missionsfotos vorliegen - bewusst eindeutig als Platzhalter erkennbar (gestrichelter
   Rahmen), damit er nie mit einem fertigen Bild verwechselt wird. */
.hero-image-placeholder {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px;
  border: 2px dashed rgba(244, 236, 219, 0.25);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.02);
}
.hero-image-placeholder-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.hero-image-placeholder p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero-centered { padding: 40px 20px 48px; }
  .hero-centered h1 { font-size: 30px; }
  .hero-centered .hero-copy > p { font-size: 15.5px; }
  .hero-image-placeholder { padding: 40px 20px; }
}

.demo {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px 48px;
  text-align: center;
}
.demo h2 { margin-bottom: 4px; }
.demo > p { margin-bottom: 32px; }
.demo-phones {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.demo-phone { width: 240px; }
.demo-screen {
  background: var(--ink2);
  border-radius: var(--radius-large);
  border: 1px solid var(--border-soft);
  padding: 20px 16px;
  min-height: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  color: var(--text);
}
.demo-narrative {
  color: var(--gold-soft);
  font-style: italic;
  font-size: 14px;
  margin: 0;
}
.demo-task-card {
  background: rgba(23, 17, 48, 0.5);
  border-radius: var(--radius-standard);
  padding: 16px;
}
.demo-task-card p { margin: 8px 0 12px; font-weight: 600; }
.demo-task-category {
  display: inline-block;
  background: var(--gold);
  color: #241a0a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-small);
}
.demo-task-option {
  min-height: var(--touch-target-min);
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-small);
  background: var(--color-success);
  color: white;
  font-weight: 600;
  margin-bottom: 8px;
}
.demo-task-option-muted {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(244, 236, 219, 0.25);
}
.demo-screen-finale {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--dusk), var(--dusk2));
}
.demo-finale-emoji { font-size: 40px; margin: 0; }
.demo-finale-text { font-weight: 700; font-size: 18px; margin: 0; color: var(--text); }
.demo-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 12px;
}

.pricing {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 48px 24px;
  flex-wrap: wrap;
}
.pricing .card { width: 280px; }
.pricing .card.featured { border: 2px solid var(--gold); }
.price { font-size: 32px; font-weight: 700; color: var(--gold-soft); font-family: var(--font-display); }

/* Gemeinsame Section-Rhythmik fuer die neuen Startseiten-Abschnitte (8-Punkt-Grid, konsistente
   Ueberschriftenhierarchie: ein H1 im Hero, danach ausschliesslich H2 pro Abschnitt). */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}
.section-eyebrow { display: block; margin-bottom: 12px; }
.section h2 {
  font-size: 30px;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-lead {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}
.feature-card {
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-standard);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.feature-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}
.feature-card p { margin: 0; color: var(--text-muted); line-height: 1.55; font-size: 14.5px; }

.demo-task-button {
  min-height: var(--touch-target-min);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 219, 0.35);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}
.task-card {
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-standard);
  padding: 24px;
}
.task-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 10px 0 8px;
  color: var(--text);
}
.task-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.task-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-small);
}
.task-badge-foto { background: var(--gold); color: #241a0a; }
.task-badge-video { background: var(--rose); color: #2a0f16; }

.audience { max-width: 800px; }
.audience .section-lead { max-width: none; margin-bottom: 0; }
.audience strong { color: var(--gold-soft); }

.pricing-section .pricing-heading { margin-bottom: 40px; }
.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-cards .card {
  width: 300px;
  text-align: left;
  position: relative;
}
.pricing-cards .card.featured { border: 2px solid var(--gold); }
.pricing-cards .card h3 { font-size: 20px; margin: 0 0 4px; }
.pricing-cards .card ul { padding-left: 20px; color: var(--text-muted); line-height: 1.9; }
.pricing-cards .card .btn { width: 100%; margin-top: 8px; }
.pricing-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--gold);
  color: #241a0a;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing-footnote { margin-top: 32px; }

.faq-teaser { max-width: 760px; }
.faq-list { text-align: left; margin-bottom: 24px; }
.faq-item {
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-standard);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--gold-soft);
  font-weight: 700;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-muted); margin: 12px 0 0; line-height: 1.6; }

/* Beispiel-Momente / Bewertungssektions-Vorschau (Betreiberauftrag 2026-08-06, zweiter
   Nachtrag) - optisch eine vollstaendige Bewertungskarte (Sterne, Zitat, Attribution), damit
   der Prototyp Investoren den finalen Look zeigt, aber bewusst OHNE erfundenen Personennamen:
   "Beispiel"-Badge klar sichtbar auf jeder Karte statt versteckt im Quelltext-Kommentar,
   Attribution nennt nur eine Rolle (z. B. "Geburtstagskind"), keine Identitaet. */
.moments { max-width: 980px; }
.moments-disclaimer {
  font-size: 13px;
  font-style: italic;
  max-width: 560px;
}
.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
  margin-top: 8px;
}
.moment-card {
  position: relative;
  background: var(--ink2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-standard);
  padding: 30px 22px 22px;
}
.moment-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--ink);
  border: 1px dashed rgba(244, 236, 219, 0.4);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.moment-stars {
  display: block;
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 15px;
  margin-bottom: 12px;
}
.moment-icon { font-size: 24px; display: block; margin-bottom: 12px; }
.moment-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  font-style: italic;
}
/* Hoehere Spezifitaet (Klasse + Element) statt !important, um die allgemeine
   ".moment-card p"-Regel gezielt fuer die Attributionszeile zu ueberschreiben. */
.moment-card p.moment-attribution {
  margin: 14px 0 0;
  color: var(--gold-soft);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
}

.final-cta {
  background: linear-gradient(160deg, var(--dusk), var(--dusk2));
  border-radius: var(--radius-large);
  max-width: 900px;
  padding: 56px 32px;
  margin: 0 auto 72px;
}
.final-cta h2 { max-width: 560px; margin-left: auto; margin-right: auto; }

footer {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 14px;
}
footer a { color: var(--gold-soft); margin: 0 8px; }

/* SEO-Skill, Abschnitt 3 (Betreiberauftrag): Rechts-/Infoseiten bestanden bisher aus reinem
   Fliesstext ohne h1/h2/p ("white-space: pre-wrap" simulierte Absaetze ueber Zeilenumbrueche
   im Rohtext) - jetzt echtes semantisches HTML (h1/h2/p/ol/ul), daher "pre-wrap" entfernt
   (wuerde sonst zusaetzlich zu den Absatz-Raendern die Zeilenumbrueche im Quelltext anzeigen)
   und stattdessen echte Ueberschriften-/Listen-Abstaende ergaenzt. */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  line-height: 1.6;
}
.legal h1 { font-size: 28px; margin: 0 0 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 12px; }
.legal p { margin: 0 0 16px; }
.legal ol, .legal ul { margin: 0 0 16px; padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }

/* Vertiefte Mobile-Optimierung (Betreiberauftrag 2026-08-06) - Dokument 35 Paragraph 8
   verlangt ohnehin Mobile First; dieser Block schaerft gezielt die Stellen nach, die beim
   Bau der Startseite zunaechst nur grob (auto-fit-Grids) fuer schmale Viewports gedacht waren:
   Navigation, Section-Abstaende, Ueberschriftengroessen, Kartenraender, Touch-Ziele. */
@media (max-width: 640px) {
  .site-nav {
    padding: 12px 16px;
    justify-content: center;
    text-align: center;
  }
  .site-nav-brand { font-size: 18px; }
  .site-nav nav {
    gap: 4px 16px;
    justify-content: center;
    width: 100%;
    order: 3;
  }
  .site-nav nav a { font-size: 14px; }
  .site-nav-cta { order: 2; }

  .section { padding: 48px 16px; }
  .section h2 { font-size: 24px; }
  .section-lead { font-size: 15px; margin-bottom: 28px; }
  .section-eyebrow { font-size: 11px; }

  .feature-grid, .task-grid { gap: 14px; }
  .feature-card, .task-card { padding: 20px 18px; }

  .pricing-cards .card { width: 100%; max-width: 340px; }
  .pricing-badge { top: -12px; right: 16px; font-size: 10px; }

  .faq-item { padding: 14px 16px; }

  .final-cta { padding: 40px 20px; margin-bottom: 48px; }
  .final-cta h2 { font-size: 22px; }
  .final-cta .btn { width: 100%; }

  .hero-actions .btn { flex: 1 1 auto; }

  footer { padding: 24px 16px; font-size: 13px; }
  footer nav a { display: inline-block; padding: 4px 0; }
}

/* Sehr schmale Geraete (aeltere/kleine Smartphones) - verhindert, dass Buttons/Karten an den
   Rand stossen oder Text zu eng umbricht. */
@media (max-width: 380px) {
  .hero-centered h1 { font-size: 26px; }
  .section h2 { font-size: 21px; }
}
