/* TYPfrage im Look 2.0 (Brandsheet vom 27.11.2026).
   Hell zuerst. Coral nur als ein Wort pro Bildschirm, keine roten Flächen.
   Poppins führt, Instrument Serif nur als Oberzeile, Space Mono nur als Etikett. */

@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/fonts/SpaceMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --coral: #FF2647;
  --text: #1E1E1E;
  --weiss: #FAFAFA;
  --grau: #ECEEF1;
  --papier: #F6F6F4;
  --linie: #E3E4E6;
  --dunkel: #2A2A2A;
  --leise: #66686C;
  --poppins: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--poppins);
  font-size: 17px;
  line-height: 1.55;
  /* Kästchenpapier */
  background-color: var(--papier);
  background-image: linear-gradient(var(--linie) 1px, transparent 1px), linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 28px 28px;
}

.seite { max-width: 560px; margin: 0 auto; padding: 28px 20px 96px; }
p { margin: 0 0 16px; }
a { color: inherit; text-underline-offset: 3px; }

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

.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--leise); margin: 0 0 22px; }
.ober { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin: 0 0 6px; }
.ober em { font-style: italic; }
.gross { font-weight: 700; font-size: clamp(38px, 11.2vw, 60px); line-height: 0.95; letter-spacing: -0.06em; text-transform: lowercase; margin: 0 0 22px; }
.mittel { font-weight: 700; font-size: 23px; line-height: 1.05; letter-spacing: -0.045em; text-transform: lowercase; margin: 26px 0 8px; }
.karte > .mittel:first-child, .karte > .etikett + .mittel { margin-top: 0; }
.frage { font-weight: 700; font-size: 25px; line-height: 1.12; letter-spacing: -0.04em; margin: 0 0 20px; }
.lauf { font-size: 18px; margin-bottom: 26px; }
.klein { font-size: 14px; line-height: 1.5; color: var(--leise); }
.mitte { text-align: center; }
.coral { color: var(--coral); }
/* Abkürzungen wie PS bleiben groß, auch in klein gesetzten Überschriften. */
.versal { text-transform: none; }
.etikett { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--weiss); background: var(--text); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Die Wortmarke TYPfrage, gebaut wie das Logo: Poppins Bold plus Instrument Serif kursiv in Coral ---------- */

.marke { margin: 0; line-height: 0.9; white-space: nowrap; color: var(--text); }
.marke-hart { font-family: var(--poppins); font-weight: 700; letter-spacing: -0.045em; }
.marke-kursiv { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--coral); font-size: 1.2em; letter-spacing: -0.01em; margin-left: 0.02em; }
.marke-gross { font-size: clamp(60px, 19vw, 104px); margin: 2px 0 22px; }
.marke-klein { font-size: 26px; margin: 0 0 22px; }
/* Auf der Startseite steht die Marke groß, die kleine entfällt dort. */
.seite:has(#start:not([hidden])) #kopfmarke { display: none; }
/* Die Schriftgröße richtet sich nach der Breite, damit die zweite Zeile auch am Handy in einer Zeile bleibt. */
.haken { font-weight: 700; font-size: clamp(17px, 5.4vw, 32px); line-height: 1.08; letter-spacing: -0.05em; text-transform: lowercase; margin: 0 0 18px; }
.haken .zeile { display: block; white-space: nowrap; }

/* ---------- Karten ---------- */

.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: 22px; padding: 24px 22px; margin: 0 0 18px; box-shadow: 0 10px 30px rgba(30, 30, 30, 0.05); }
.karte p:last-child { margin-bottom: 0; }
.karte.dunkel { background: var(--dunkel); border-color: var(--dunkel); color: var(--weiss); }
.karte.dunkel .klein { color: #C9CBCF; }

/* ---------- Knöpfe ---------- */

.knopf { display: block; width: 100%; appearance: none; border: 1.5px solid var(--text); background: var(--text); color: var(--weiss); font: 600 17px/1.2 var(--poppins); letter-spacing: -0.01em; text-align: center; text-decoration: none; border-radius: 999px; padding: 17px 24px; cursor: pointer; transition: transform 0.12s ease, opacity 0.12s ease; }
.knopf:hover { opacity: 0.88; }
.knopf:active { transform: scale(0.985); }
.knopf:disabled { opacity: 0.5; cursor: default; }
.knopf.hell { background: var(--weiss); border-color: var(--weiss); color: var(--text); margin: 6px 0 14px; }
.knopf.rand { background: transparent; border-color: var(--weiss); color: var(--weiss); }
.knopf.rand-dunkel { background: transparent; color: var(--text); }
.knopfreihe { display: grid; gap: 10px; margin: 16px 0 12px; }
.zurueck { appearance: none; background: none; border: 0; font: 400 14px var(--poppins); color: var(--leise); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.dunkel :focus-visible { outline-color: var(--weiss); }

/* ---------- Startseite ---------- */

.start { padding-top: 34px; }
/* Die Oberzeile bleibt auch am Handy in einer Zeile. */
.start .ober { font-size: clamp(16px, 5.6vw, 26px); white-space: nowrap; }
.start .knopf { margin-bottom: 18px; }

/* ---------- Fragen ---------- */

.fortschritt { height: 4px; background: var(--linie); border-radius: 999px; overflow: hidden; margin: 6px 0 20px; }
.fortschritt span { display: block; height: 100%; width: 0; background: var(--text); border-radius: 999px; transition: width 0.3s ease; }
/* Steht unter der Frage und sagt klar: eine Antwort. */
.frage:has(+ .hinweis:not([hidden])) { margin-bottom: 10px; }
.hinweis { font-size: 15px; line-height: 1.45; color: var(--text); margin: 0 0 18px; padding-left: 12px; border-left: 3px solid var(--text); }

.antworten { display: grid; gap: 10px; }
.antwort { appearance: none; width: 100%; text-align: left; background: var(--weiss); color: var(--text); border: 1.5px solid var(--linie); border-radius: 16px; font: 400 17px/1.4 var(--poppins); padding: 15px 18px; cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease; }
/* Nur mit Maus. Am Handy bliebe der Rahmen sonst nach dem Tippen auf der nächsten Frage stehen. */
@media (hover: hover) { .antwort:hover { border-color: var(--text); } }
.antwort[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--weiss); }

.feld { display: block; margin: 0 0 16px; }
.feld > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="number"], textarea { width: 100%; font: 400 17px/1.4 var(--poppins); color: var(--text); background: var(--grau); border: 1.5px solid var(--grau); border-radius: 14px; padding: 14px 16px; }
input:focus, textarea:focus { outline: none; border-color: var(--text); background: var(--weiss); }
textarea { resize: vertical; min-height: 130px; }
::placeholder { color: #8C8F94; opacity: 1; }
.ungueltig { border-color: var(--text) !important; }
.feld-check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.feld-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--text); }
.feld-check > span { font-size: 14px; font-weight: 400; margin: 0; }
.datum { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fehler { background: var(--weiss); border: 1.5px solid var(--text); border-radius: 14px; padding: 12px 16px; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
#b-geburt .knopf, #b-wer .knopf, #b-ziel .knopf { margin-bottom: 14px; }

/* ---------- Warten ---------- */

.warten { text-align: center; padding: 90px 0; }
.warten .mittel { margin-top: 6px; }
.puls { width: 14px; height: 14px; border-radius: 50%; background: var(--text); margin: 30px auto 0; animation: puls 1.1s ease-in-out infinite; }
@keyframes puls { 0%, 100% { transform: scale(0.6); opacity: 0.35; } 50% { transform: scale(1.5); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .puls { animation: none; } .fortschritt span, .knopf { transition: none; } }

/* ---------- Ergebnis ---------- */

.typ-kopf { padding: 26px 2px 10px; }
.typ-wort { margin-bottom: 14px; }
.typ-wort .artikel { display: block; }
.typ-wort .coral { display: block; white-space: nowrap; }
.typ-wort .coral::after { content: "."; }
.subline { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 24px; }
.morgen { font-weight: 600; }
/* Kurzes Ergebnis: ein ganzer Satz als Überschrift, deshalb etwas kleiner. */
.kurz-kopf { font-size: clamp(30px, 8.6vw, 46px); line-height: 1; margin-bottom: 18px; }
.kurz-kopf .coral::after { content: "."; }
#kurz .karte .knopf { margin-top: 6px; }
.hinweis-kasten { background: var(--weiss); border: 1px solid var(--linie); border-radius: 14px; padding: 12px 16px; }
#teilkarte { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 14px; border: 1px solid var(--linie); }
.gadget .glueckszahl { font-family: var(--mono); font-size: 40px; letter-spacing: 0.22em; line-height: 1.1; margin: 4px 0 10px; }
.gadget .mission { font-weight: 600; margin-bottom: 4px; }
.schluss { padding: 10px 2px 0; }
.schluss .knopf { margin-bottom: 10px; }

/* ---------- Fuß ---------- */

.fuss { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--linie); font-size: 13px; color: var(--leise); text-align: center; }
.fuss p { margin-bottom: 8px; }
.logo { color: var(--text); line-height: 1; margin-bottom: 14px !important; }
.logo-ceo { font-weight: 700; font-size: 26px; letter-spacing: -0.04em; }
.logo-flow { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--coral); }
.logo-academy { display: block; font-size: 10px; letter-spacing: 0.6em; text-transform: uppercase; margin-top: 6px; padding-left: 0.6em; }

/* ---------- Zustimmung zum Meta-Pixel ---------- */

.zustimmung { position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 536px; margin: 0 auto; background: var(--weiss); border: 1px solid var(--linie); border-radius: 18px; box-shadow: 0 14px 40px rgba(30, 30, 30, 0.18); padding: 16px 18px; font-size: 14px; z-index: 10; }
.zustimmung p { margin-bottom: 12px; }
.zustimmung-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zustimmung .knopf { padding: 12px 16px; font-size: 15px; }

@media (min-width: 600px) {
  .seite { padding-top: 48px; }
  .karte { padding: 30px 30px; }
  .knopfreihe { grid-template-columns: 1.4fr 1fr 1fr; }
}
