/* Kraevo Homepage: Schrift lokal (Sora, Geist, Geist Mono, SIL OFL 1.1), keine externen Anfragen. Regeln: CI v1.1 (03.11.2026, abgeglichen mit der App): Raster 4/8/12/16/24/32/48, Karten 14, Knoepfe und Felder 12 */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(sora-latin-ext-5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(sora-latin-6.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(geist-latin-ext-1.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(geist-latin-2.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(geist-mono-latin-4.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #e9ebf0; --text: #1a1c22; --dim: #545a66; --line: rgba(20, 25, 40, .10); --card: #f6f7f9;
  --accent: #457000; --accent-ink: #f2f4f7; --shadow: 0 10px 30px rgba(20, 25, 40, .08); --fehler: #b02a37;
  --plakette: #0a0a0b; --feld: #e9ebf0;
  --sans: 'Sora', 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Consolas, monospace;
}
/* Immer hell, auch wenn das Handy auf Dunkel steht (Nutzer 04.11.2026). */
:root { color-scheme: light; }
* { box-sizing: border-box; }
[hidden], .formular[hidden], .voll[hidden], .danke[hidden] { display: none; }   /* das hidden-Attribut muss auch gegen display: grid gewinnen */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: var(--text); text-underline-offset: 4px; }
a:focus-visible, .cta:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }

.seite { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 48px 16px 32px; }
.kopf { display: flex; align-items: center; gap: 24px; margin-bottom: 48px; }   /* Schutzraum: mindestens die halbe Icon-Hoehe (20 px) Luft um das Zeichen */
.kopf img { width: 40px; height: 40px; border-radius: 12px; background: var(--plakette); }
.kopf b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }

.pille { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 7vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance; }
.lead { color: var(--dim); font-size: 18px; line-height: 1.55; max-width: 52ch; margin: 0 0 32px; text-wrap: pretty; }
.lead.kurz { font-size: 16px; margin: 0; }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.cta:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
button.cta { border: 0; cursor: pointer; font-family: inherit; }
button.cta:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.hinweis { color: var(--dim); font-size: 14px; margin: 12px 0 0; }

/* Film als schmale Zeile (der Ausschnitt mit dem Zeichen in der Mitte) */
.band { position: relative; margin: 48px 0 0; height: 112px; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow); }
/* Hochformat-Film mittig, die ganze Hantel sichtbar; die Seiten laufen weich ins Schwarz, damit keine Kante zu sehen ist */
.band video { position: absolute; left: 50%; top: 50%; width: 238px; aspect-ratio: 9 / 16; object-fit: cover; transform: translate(-50%, -50%); -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); }
@media (min-width: 600px) { .band { height: 160px; } .band video { width: 340px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .band video { animation: puls 2.4s ease-in-out infinite; }
  @keyframes puls { 0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); } 50% { transform: translate(-50%, -50%) scale(1.04); filter: brightness(1.18); } }
}

/* Ablauf: drei Karten im Stil der App (schwebend, ruhig, ein Akzent) */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.ablauf, .schluss { margin: 48px 0 0; }
.ablauf h2, .schluss h2 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; margin: 0 0 24px; text-wrap: balance; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.schritt { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: start; transition: transform .2s ease, box-shadow .2s ease; }
.schritt:hover { transform: translateY(-2px); }
.schritt .nr { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.schritt b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 4px; }
.schritt p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.5; }
@media (min-width: 640px) { .seite.breit { max-width: 960px; } .schritte { grid-template-columns: repeat(3, 1fr); } }

/* kleine Bausteine, wie sie in der App aussehen */
.mini { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 56px; }
.chip { display: inline-grid; justify-items: center; min-width: 64px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--feld); font-weight: 700; font-size: 18px; line-height: 1.3; }
.chip small { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; }
.tag { display: grid; justify-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--dim); }
.tag i { display: block; width: 100%; aspect-ratio: 1 / 1; max-width: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--feld); }
.tag i.an { background: var(--accent); border-color: var(--accent); }
.fortschritt { display: grid; gap: 8px; width: 100%; }
.fortschritt .balken { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.fortschritt .balken i { display: block; height: 8px; border-radius: 999px; background: var(--feld); border: 1px solid var(--line); }
.fortschritt span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  .js .einblenden.da { opacity: 1; transform: none; }
  .js .schritte .einblenden:nth-child(2) { transition-delay: .08s; } .js .schritte .einblenden:nth-child(3) { transition-delay: .16s; }
}

/* Anmeldung als Fenster */
.fenster { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); box-shadow: 0 24px 64px rgba(0, 0, 0, .25); }
.fenster::backdrop { background: rgba(10, 10, 11, .55); }
.fenster-innen { padding: 24px; display: grid; gap: 16px; }
.fenster h2 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; margin: 0; padding-right: 48px; }
.zu { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--dim); font-size: 24px; line-height: 1; cursor: pointer; font-family: inherit; }
.zu:hover { color: var(--text); background: var(--feld); }
.formular { display: grid; gap: 16px; }
.feld { display: grid; gap: 8px; }
.feld label { font-size: 14px; font-weight: 500; }
.feld input { height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--text); background: var(--feld); border: 1px solid var(--line); border-radius: 12px; width: 100%; min-width: 0; }
.feld input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--dim); line-height: 1.5; min-height: 44px; cursor: pointer; }
.haken input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.haken a { color: var(--text); }
.fehler { margin: 0; font-size: 14px; color: var(--fehler); }
.danke { margin: 0; font-weight: 500; }
.voll { display: grid; gap: 8px; justify-items: start; }
.voll b { font-size: 18px; font-weight: 600; }
.voll p { margin: 0; color: var(--dim); }
@media (min-width: 480px) { .formular button.cta { justify-self: start; } }
@media (max-width: 479px) { .formular button.cta { width: 100%; } }

/* Rechtstexte */
.text ul { padding-left: 24px; margin: 8px 0; }
.text li { margin: 4px 0; }
.text h3 { font-size: 16px; margin: 24px 0 4px; font-weight: 600; }
.stand { color: var(--dim); font-size: 14px; margin: 0 0 24px; }
.tabelle { overflow-x: auto; }
.tabelle table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 520px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
.tabelle th { font-family: var(--mono); font-weight: 500; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.text h1 { font-size: 28px; letter-spacing: -.02em; }
.text h2 { font-size: 20px; margin: 32px 0 8px; font-weight: 700; }
.text p, .text li { color: var(--text); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 24px; margin: 16px 0; box-shadow: var(--shadow); }
.box p { margin: 4px 0; }
.box .dim { color: var(--dim); font-size: 14px; }

.fuss { max-width: 720px; width: 100%; margin: 0 auto; padding: 24px 16px 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--dim); }
.fuss a { color: var(--dim); display: inline-flex; align-items: center; min-height: 44px; }
.fuss a:hover { color: var(--text); }
.fuss .rechts { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 420px) { .fuss .rechts { margin-left: 0; width: 100%; } }

/* Kopf mit Knopf, Pfeil, Schluss-Karte, feste Leiste unten (Handy) */
.kopf { justify-content: space-between; }
.kopf .marke { display: flex; align-items: center; gap: 24px; }
.kopf-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.kopf-knopf:hover { background: var(--card); }
.cta .pfeil { display: inline-block; margin-left: 8px; transition: transform .15s ease; }
.cta:hover .pfeil { transform: translateX(4px); }
.hero .cta { min-height: 52px; }
@media (max-width: 639px) { .hero .cta { width: 100%; } }
.schluss-karte { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 24px; align-items: center; }
.schluss-karte h2 { margin: 0 0 8px; }
.schluss-karte p { margin: 0 0 24px; color: var(--dim); }
.plus { margin: 24px 0 0; color: var(--dim); font-size: 14px; }
.sozial { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.schluss-karte .sozial-kopf { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; }
.sozial-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf-sozial { flex: 1 1 160px; min-height: 56px; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.knopf-sozial b { font-size: 16px; font-weight: 700; }
.knopf-sozial span { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.knopf-sozial:hover { border-color: var(--accent); transform: translateY(-1px); }
.leiste-unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.leiste-unten.da { transform: none; }
.leiste-unten .cta { width: 100%; min-height: 52px; }
@media (min-width: 640px) { .leiste-unten { display: none; } }
body.mit-leiste { padding-bottom: 76px; }

/* Bausteine der drei Karten: Endzustand ohne Bewegung, mit Bewegung fuellen sie sich beim Einblenden */
.chip { grid-template-areas: "w" "u"; }
.chip .wert, .chip .nichts { grid-area: w; }
.chip small { grid-area: u; }
.chip .nichts { color: var(--dim); font-weight: 600; display: none; }
.balken i { position: relative; overflow: hidden; }
.balken i.an { background: var(--feld); }
.balken i.an::after { content: ''; position: absolute; inset: 0; background: var(--accent); border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  .js .chip .nichts { display: block; transition: opacity .2s ease; }
  .js .chip .wert { opacity: 0; transition: opacity .2s ease; }
  .js .da .chip .wert { opacity: 1; } .js .da .chip .nichts { opacity: 0; }
  .js .da .chip:nth-child(1) .wert, .js .da .chip:nth-child(1) .nichts { transition-delay: .15s; }
  .js .da .chip:nth-child(2) .wert, .js .da .chip:nth-child(2) .nichts { transition-delay: .3s; }
  .js .da .chip:nth-child(3) .wert, .js .da .chip:nth-child(3) .nichts { transition-delay: .45s; }
  .js .tag i.an { background: var(--feld); border-color: var(--line); transition: background .3s ease, border-color .3s ease; }
  .js .da .tag i.an { background: var(--accent); border-color: var(--accent); }
  .js .da .tag:nth-child(1) i.an { transition-delay: .1s; } .js .da .tag:nth-child(3) i.an { transition-delay: .22s; } .js .da .tag:nth-child(5) i.an { transition-delay: .34s; }
  .js .balken i.an::after { transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
  .js .da .balken i.an::after { transform: none; }
  .js .da .balken i:nth-child(2)::after { transition-delay: .15s; } .js .da .balken i:nth-child(3)::after { transition-delay: .3s; }
  .js .fortschritt span { opacity: 0; transition: opacity .3s ease .6s; } .js .da .fortschritt span { opacity: 1; }
}
@media (min-width: 640px) { .fuss.breit { max-width: 960px; } }
