/* leibchen.app · Landingpage · Version 0.2.0 · Stand 04.12.2026
   Entwurf. Zuerst für schmale Bildschirme. Schwarz ist die Heimat der Marke, die Seite ist immer dunkel.
   Überschriften: Barlow SemiBold (wie die Wortmarke). Fließtext: Schrift des Geräts, es wird sonst nichts nachgeladen. */

@font-face {
  font-family: "Barlow";
  src: url("schrift/Barlow-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --grund: #0B0B0B;
  --flaeche: #151515;
  --flaeche2: #1E1E1E;
  --text: #FFFFFF;
  --leise: rgba(255, 255, 255, 0.66);
  --linie: rgba(255, 255, 255, 0.14);
  --gelb: #D9F23A;
  --gelb-tief: #B4D800;
  --dunkel: #141414;
  --orange: #FF7A1A;
  --tuerkis: #2EC4B6;
  --sonne: #FFD23F;
  --kreide: #F5F1E8;
  --marke: "Barlow", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 6px; }

.innen {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

h1, h2, h3, .knopf, .marke-schrift {
  font-family: var(--marke);
  font-weight: 600;
}

h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }

/* Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 11, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linie);
}

.kopf .innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

/* Die Wortmarke bringt ihren Schutzraum in der Datei mit (120 von 615 je Seite). */
.wortmarke { height: 56px; width: auto; margin-left: -11px; }

.kopf nav { display: none; gap: 28px; font-size: 0.9875rem; }
.kopf nav a { color: var(--leise); text-decoration: none; }
.kopf nav a:hover { color: var(--text); }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 14px;
  background: var(--gelb);
  color: var(--dunkel);
  text-decoration: none;
  font-size: 1.0625rem;
  line-height: 1.15;
  white-space: nowrap;
  transition: transform 0.08s ease, background 0.15s ease;
}
.knopf:hover { background: #E4F85C; }
.knopf:active { transform: scale(0.98); }
.knopf.klein { min-height: 40px; padding: 8px 16px; font-size: 0.9875rem; border-radius: 12px; }
.knopf.leer { background: transparent; color: var(--text); border: 2px solid rgba(255, 255, 255, 0.35); }
.knopf.leer:hover { border-color: var(--text); background: transparent; }

/* Auftakt */
.auftakt { padding-block: 48px 56px; }
.auftakt .innen { display: grid; gap: 40px; }

.stand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--leise);
}
.stand::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); }

h1 {
  font-size: clamp(2.6rem, 11.5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
h1 em { display: block; font-style: normal; color: var(--gelb); }

.unterzeile {
  margin-top: 22px;
  max-width: 34em;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--leise);
}

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.geraete { margin-top: 18px; font-size: 0.9375rem; color: var(--leise); }

/* Bild im Auftakt: gezeichnete Oberfläche, kein Bildschirmfoto */
.buehne {
  border-radius: 22px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  padding: 12px;
  box-shadow: 0 30px 80px -30px rgba(217, 242, 58, 0.22);
}
.buehne svg { width: 100%; height: auto; border-radius: 12px; }
.bildhinweis { margin-top: 10px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* Abschnitte */
.abschnitt { padding-block: 56px; border-top: 1px solid var(--linie); }

.vorspann {
  font-family: var(--marke);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gelb);
  margin-bottom: 12px;
}

h2 { font-size: clamp(2rem, 7.5vw, 3.1rem); line-height: 1.04; letter-spacing: -0.01em; }
.abschnitt > .innen > .einleitung { margin-top: 16px; max-width: 38em; color: var(--leise); font-size: 1.125rem; }

/* Drei Schritte am Spieltag */
.ablauf { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: schritt; }
.ablauf li {
  counter-increment: schritt;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 20px;
  padding: 22px;
}
.ablauf li::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gelb);
  color: var(--dunkel);
  font-family: var(--marke);
  font-weight: 600;
  font-size: 1.25rem;
}
.ablauf h3, .kachel h3 { font-size: 1.375rem; line-height: 1.15; margin-bottom: 8px; }
.ablauf p, .kachel p { color: var(--leise); font-size: 1rem; }

/* Funktionen: Bild und Text im Wechsel */
.paar { display: grid; gap: 28px; align-items: center; margin-top: 44px; }
.paar + .paar { margin-top: 64px; }
.paar h3 { font-size: clamp(1.6rem, 5.5vw, 2.1rem); line-height: 1.08; margin-bottom: 12px; }
.paar p { color: var(--leise); }
.punkte { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.punkte li { position: relative; padding-left: 28px; }
.punkte li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--gelb);
  border-bottom: 2.5px solid var(--gelb);
  transform: rotate(-45deg) translateY(-2px);
}
.zeichnung {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 22px;
  padding: 12px;
}
.zeichnung svg { width: 100%; height: auto; border-radius: 12px; }

.marke-neu {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(217, 242, 58, 0.5);
  color: var(--gelb);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

/* Kacheln */
.kacheln { display: grid; gap: 14px; margin-top: 36px; }
.kachel {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 20px;
  padding: 22px;
}
.kachel svg.zeichen {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--gelb);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sportarten */
.sportarten { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.sportarten li {
  padding: 9px 16px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-family: var(--marke);
  font-weight: 600;
  font-size: 1.0625rem;
}
.sportarten li.pilot { border-color: var(--gelb); color: var(--gelb); }

/* Grundsätze */
.saetze { display: grid; gap: 28px; margin-top: 36px; }
.saetze h3 { font-size: 1.375rem; line-height: 1.15; margin-bottom: 8px; }
.saetze p { color: var(--leise); font-size: 1rem; }
.saetze > div { padding-left: 18px; border-left: 3px solid var(--gelb); }

/* Schluss */
.schluss { padding-block: 64px; border-top: 1px solid var(--linie); }
.schluss .kasten {
  background: var(--gelb);
  color: var(--dunkel);
  border-radius: 28px;
  padding: 36px 26px;
}
.schluss h2 { font-size: clamp(2rem, 8vw, 3.25rem); }
.schluss p { margin-top: 14px; max-width: 34em; font-size: 1.125rem; color: rgba(20, 20, 20, 0.78); }
.schluss .knopf { margin-top: 26px; background: var(--dunkel); color: var(--text); }
.schluss .knopf:hover { background: #2A2A2A; }

/* Noch fehlende Angabe. Vor dem Ausliefern darf keine mehr übrig sein. */
.offen {
  background: #FFF3C4;
  color: #5A4300;
  border: 1px dashed #C99A00;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9375rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.schluss .offen-zeile { margin-top: 16px; font-size: 0.9375rem; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding-block: 28px 36px; font-size: 0.9375rem; color: var(--leise); }
.fuss .innen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.fuss .recht { margin-right: auto; }
.fuss a { text-decoration: none; padding: 8px 0; }
.fuss a:hover { color: var(--text); }

/* Ab Tablet */
@media (min-width: 720px) {
  .kopf nav { display: flex; }
  .auftakt { padding-block: 72px 80px; }
  .abschnitt { padding-block: 88px; }
  .ablauf { grid-template-columns: repeat(3, 1fr); }
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .saetze { grid-template-columns: repeat(3, 1fr); }
  .schluss .kasten { padding: 56px 52px; }
  .sportarten li { font-size: 1.1875rem; padding: 10px 20px; }
}

/* Ab Desktop */
@media (min-width: 1000px) {
  .auftakt .innen { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; }
  .paar { grid-template-columns: 1fr 1fr; gap: 64px; }
  .paar.gedreht .zeichnung { order: 2; }
  .paar + .paar { margin-top: 96px; }
  .kacheln { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}

/* Zwei Ansichten: Trainer und Eltern (0.2.0) */
.ansichten { display: grid; gap: 14px; margin-top: 36px; }
.ansicht { border-radius: 24px; padding: 26px 24px; border: 1px solid var(--linie); background: var(--flaeche); }
.ansicht.trainer { border-color: rgba(217, 242, 58, 0.55); }
.ansicht .rolle {
  font-family: var(--marke);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gelb);
  margin-bottom: 8px;
}
.ansicht h3 { font-size: clamp(1.6rem, 5.5vw, 2rem); line-height: 1.08; margin-bottom: 10px; }
.ansicht p, .ansicht li { color: var(--leise); font-size: 1rem; }
.ansichten + .paar { margin-top: 64px; }
.vorspann .marke-neu { text-transform: none; letter-spacing: 0.02em; }

/* Formular „Mittesten“ (0.2.0) */
.formseite { padding-block: 40px 72px; }
.formseite .innen { max-width: 640px; }
.formseite h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
.formseite .unterzeile { font-size: 1.0625rem; }
.formular { display: grid; gap: 20px; margin-top: 36px; }
.feld { display: grid; gap: 8px; }
/* Ohne diese Zeile schlägt „display: grid“ das Attribut hidden, und die Nachfragefelder stehen immer da. */
.feld[hidden] { display: none; }
.feld label, .feld legend { font-family: var(--marke); font-weight: 600; font-size: 1.0625rem; }
.feld .wahlfrei { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.875rem; color: var(--leise); margin-left: 6px; }
.feld input, .feld select, .feld textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  -webkit-appearance: none;
  appearance: none;
}
.feld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 22px;
  padding-right: 46px;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gelb); }
.paarfeld { display: grid; gap: 20px; }
.formular .knopf { border: 0; cursor: pointer; width: 100%; min-height: 56px; font-size: 1.1875rem; }
.kleingedrucktes { font-size: 0.9375rem; color: var(--leise); }
.kleingedrucktes a { text-underline-offset: 3px; }

@media (min-width: 720px) {
  .ansichten { grid-template-columns: 1fr 1fr; }
  .ansicht { padding: 32px; }
  .paarfeld { grid-template-columns: 1fr 1fr; }
}

/* Formular: Versand im Hintergrund (0.4.0) */
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { font-size: 1rem; }
.meldung[hidden], .danke[hidden], .formular[hidden] { display: none; }
.meldung.fehler { padding: 14px 16px; border-radius: 14px; border: 2px solid var(--orange); color: var(--text); }
.formular .knopf[disabled] { opacity: 0.6; cursor: default; }
.danke { margin-top: 36px; padding: 32px 26px; border-radius: 24px; background: var(--flaeche); border: 1px solid rgba(217, 242, 58, 0.55); }
.danke svg { width: 44px; height: 44px; margin-bottom: 14px; fill: none; stroke: var(--gelb); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.danke h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
.danke p { margin-top: 10px; color: var(--leise); }
.danke .knopf { margin-top: 22px; }

/* Absatz nach einer Liste (statt eines Stils im HTML: die Seite erlaubt keine eingebetteten Stile) */
.paar .nachsatz { margin-top: 18px; }
