/* Die Anmeldeseite, anmelden.html.
   Farben, Schrift, Kopf, Karte mit Punktraster und der Knopf "flow" sind
   von atventures.io uebernommen, Stand 29.09.2026, und gekuerzt: ohne
   Buehne, Navigation und Menue. Aendert sich die Website, hier von Hand
   nachziehen. Die Felder hat die Website nicht, sie folgen dem Knopf. */

@font-face {
  font-family: Geist; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("schrift/geist-latin.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: 300 800; font-display: swap;
  src: url("schrift/geist-latin-ext.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;
}

:root {
  --grund: #FAF7F1; --karte: #FFFFFF; --tief: #12100D; --schrift: #211E19;
  --leise: #4E4841; --still: #6B655B;
  --linie: rgba(18,16,13,.08); --linie-stark: rgba(18,16,13,.16);
  --akzent: #14524F; --akzent-tief: #0C3B39; --akzent-hauch: rgba(20,82,79,.07);
  --ton: #B4552B; --gelb: #F5D327;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --rund: 999px;
  --schatten-feld: 0 1px 2px rgba(18,16,13,.06), 0 26px 50px -30px rgba(18,16,13,.5);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--grund); color: var(--schrift); font-family: var(--font);
  -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.55;
}

.seite {
  display: flex; flex-direction: column; gap: 20px;
  min-height: 100vh; min-height: 100svh;
  max-width: 1360px; margin: 0 auto; padding: 16px 24px 24px;
}

/* ---------- Kopf als Pille ---------- */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 12px 12px 20px; background: var(--karte);
  border: 1px solid var(--linie); border-radius: var(--rund); color: var(--tief);
  box-shadow: 0 1px 2px rgba(18,16,13,.05), 0 12px 28px -18px rgba(18,16,13,.45);
}
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; min-width: 0; }
.kreis {
  display: flex; align-items: flex-end; justify-content: center; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%; background: var(--akzent); overflow: hidden;
}
.kreis svg { display: block; width: 100%; height: 100%; }
.kreis svg path { stroke: #fff; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wort { font-size: 19px; letter-spacing: -.032em; white-space: nowrap; }
.wort .a { font-weight: 700; }
.wort .v { font-weight: 300; }
.marke {
  margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--linie-stark);
  font-size: 15px; font-weight: 500; color: var(--still); white-space: nowrap;
}

/* ---------- Karte mit Punktraster ---------- */
.kb {
  position: relative; flex: 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--karte); border: 1px solid var(--linie); border-radius: 28px;
  box-shadow: var(--schatten-feld); text-align: center;
  padding: 72px 40px 56px;
}
.kb-punkte {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(18,16,13,.2) 1px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 62% at 50% 45%, #000 30%, transparent 100%);
}
.kb-inhalt { position: relative; width: 100%; max-width: 760px; }

h1 {
  margin: 0 auto 40px; color: var(--tief);
  font-size: clamp(34px, 4.4vw, 58px); font-weight: 800;
  letter-spacing: -.045em; line-height: 1.08; text-wrap: balance;
}
h1 span { color: var(--still); }

/* ---------- Formular ---------- */
.formular {
  display: flex; flex-direction: column; text-align: left;
  width: 100%; max-width: 380px; margin: 0 auto;
}
label { font-size: 13px; font-weight: 600; color: var(--leise); margin: 0 0 6px 4px; }
input {
  width: 100%; height: 52px; margin: 0 0 18px; padding: 0 18px;
  font: inherit; font-size: 17px; color: var(--tief);
  background: #fff; border: 1.5px solid var(--linie-stark); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:hover { border-color: rgba(18,16,13,.3); }
input:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 4px var(--akzent-hauch); }
input[aria-invalid="true"] { border-color: var(--ton); }

.meldung { min-height: 1.5em; margin: -6px 4px 12px; font-size: 14.5px; font-weight: 500; color: var(--ton); }
.meldung:empty { min-height: 0; margin: 0; }

.hinweis { margin: 22px 0 0; font-size: 14px; color: var(--still); text-wrap: balance; }

/* ---------- Knopf "flow" von der Website ---------- */
.flow {
  --rand: rgba(33,30,25,.38); --text: var(--schrift); --kreis: var(--akzent);
  --texthover: #fff; --pfeil: var(--schrift);
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  font: inherit; font-size: 16.5px; font-weight: 620; letter-spacing: -.1px; line-height: 1.3;
  color: var(--text); text-decoration: none;
  padding: 15px 44px 15px 36px; border-radius: 100px;
  border: 1.5px solid var(--rand); background: transparent; cursor: pointer;
  transition: border-color .6s cubic-bezier(.23,1,.32,1), color .6s cubic-bezier(.23,1,.32,1),
    border-radius .6s cubic-bezier(.23,1,.32,1), transform .15s ease, background .4s ease;
}
.flow .txt { position: relative; z-index: 2; transform: translateX(-6px); transition: transform .8s ease-out; }
.flow .fkreis {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 16px; height: 16px;
  border-radius: 50%; background: var(--kreis); opacity: 0; transform: translate(-50%, -50%);
  transition: width .8s cubic-bezier(.19,1,.22,1), height .8s cubic-bezier(.19,1,.22,1),
    opacity .8s cubic-bezier(.19,1,.22,1);
}
.flow svg {
  position: absolute; z-index: 3; width: 17px; height: 17px; fill: none;
  stroke: var(--pfeil); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: left .8s cubic-bezier(.34,1.56,.64,1), right .8s cubic-bezier(.34,1.56,.64,1), stroke .8s;
}
.flow .p-rein { left: -30%; }
.flow .p-raus { right: 16px; }
.flow:hover, .flow:focus-visible { border-color: transparent; color: var(--texthover); border-radius: 14px; }
.flow:hover .txt, .flow:focus-visible .txt { transform: translateX(14px); }
.flow:hover .fkreis, .flow:focus-visible .fkreis { width: 340px; height: 340px; opacity: 1; }
.flow:hover .p-rein, .flow:focus-visible .p-rein { left: 18px; stroke: var(--texthover); }
.flow:hover .p-raus, .flow:focus-visible .p-raus { right: -30%; stroke: var(--texthover); }
.flow:active { transform: scale(.97); }
.flow:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; }
.flow.kraeftig {
  --rand: var(--akzent); --text: #fff; --kreis: var(--akzent-tief);
  --texthover: #fff; --pfeil: #fff; background: var(--akzent);
}
.flow.mini { font-size: 15px; padding: 10px 30px 10px 22px; }
.flow.mini svg { width: 15px; height: 15px; }
.flow.mini:hover .fkreis, .flow.mini:focus-visible .fkreis { width: 280px; height: 280px; }

/* Im Formular so breit wie die Felder, wie die breiten Knoepfe der Website. */
.formular .flow { width: 100%; justify-content: center; font-size: 17px; padding: 16px 30px 16px 26px; margin-top: 4px; }
.formular .flow:hover .fkreis, .formular .flow:focus-visible .fkreis { width: 900px; height: 900px; }
.flow:disabled { cursor: progress; opacity: .7; }

@media (hover: none) {
  .flow:hover { border-color: var(--rand); color: var(--text); border-radius: 100px; }
  .flow:hover .fkreis { width: 16px; height: 16px; opacity: 0; }
  .flow:hover .txt { transform: translateX(-6px); }
  .flow:hover .p-rein { left: -30%; }
  .flow:hover .p-raus { right: 16px; stroke: var(--pfeil); }
}

@media (max-width: 640px) {
  .seite { padding: 12px 16px 16px; gap: 16px; }
  .kopf { padding: 8px 8px 8px 14px; }
  .kb { border-radius: 20px; padding: 48px 20px 36px; align-items: flex-start; }
  h1 { margin-bottom: 32px; }
}
@media (max-width: 400px) {
  .kopf .flow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flow, .flow * { transition: none !important; }
}
