/*
 * The sign-up in Flow's own look: the frame of Flow's invitation steps (tobim90/flow, components/willkommen/willkommen.css,
 * Tobi's design flow-einladung of 19.11.2026), copied with its sizes and colours. Left the step, right a preview of Flow,
 * below the step dots. Always dark, as Flow's sign-in and invitation pages. The classes keep Flow's names ("wk-"), so a
 * change there can be carried over line by line. What Flow does not have (a checkbox, errors at a field, the address field,
 * the small footer) is added at the end in the same values. System fonts: the page loads nothing from elsewhere.
 */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #101010; }

.wk-seite { color-scheme: dark; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 32px;
  background-color: #101010; background-image: radial-gradient(75% 60% at 50% 0%, #262626 0%, #181818 45%, #101010 100%); background-repeat: no-repeat;
  color: #ededed; font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif; font-size: 13px; letter-spacing: normal; -webkit-font-smoothing: antialiased;
  scrollbar-color: rgba(237,237,237,0.22) transparent; }
.wk-seite button, .wk-seite input { font-family: inherit; letter-spacing: inherit; }
.wk-seite svg.wk-i { width: 1em; height: 1em; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* Centred; in a window that is too low the page scrolls instead of cutting off the top. */
.wk-mitte { width: 100%; margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.wk-rahmen { width: min(1180px, 100%); height: min(720px, calc(100dvh - 110px)); min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; background: #141414; border: 1px solid rgba(255,255,255,0.07); box-shadow: 0 8px 32px rgba(0,0,0,0.06); overflow: hidden; position: relative; }

/* The left half: the step */
.wk-links { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px 72px; min-width: 0; }
.wk-marke { position: absolute; top: 30px; left: 72px; display: flex; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }
.wk-marke span { font-size: 10px; font-weight: 400; letter-spacing: normal; color: rgba(237,237,237,0.45); }
.wk-schritt { max-width: 440px; width: 100%; animation: wk-ein 0.25s ease; }
@keyframes wk-ein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wk-schritt { animation: none; } }
.wk-seite h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; line-height: normal; margin: 0 0 8px; color: #ededed; }
.wk-seite h1.gross { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 10px; }
.wk-unter { margin: 0 0 26px; color: rgba(237,237,237,0.55); line-height: 1.55; font-size: 13px; }
.wk-unter b { color: #ededed; font-weight: 500; }
.wk-feld { margin-bottom: 16px; min-width: 0; }
.wk-feld label { display: block; font-size: 12.5px; color: rgba(237,237,237,0.75); margin: 0 0 7px; }
.wk-ein { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09); color: #ededed; font-size: 13.5px; outline: none; transition: border-color 0.15s ease; }
.wk-ein:focus { border-color: rgba(255,255,255,0.3); }
.wk-ein::placeholder { color: rgba(237,237,237,0.3); }

.wk-knopf { width: 100%; height: 40px; border-radius: 10px; cursor: pointer; font-size: 13.5px; font-weight: 500; line-height: normal; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 0 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f6 46%, #e6e6e4 100%); color: #0a0a0a; border: 1px solid; border-color: #fff #f1f1f0 #cfcfcd; text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 #fff, inset 0 -10px 14px -12px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.55), 0 8px 22px -8px rgba(0,0,0,0.5);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, transform 0.1s ease; }
.wk-knopf:hover:not(:disabled):not(.zweit) { background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 46%, #eeeeec 100%); border-color: #fff #f6f6f5 #d8d8d6;
  box-shadow: inset 0 1px 0 #fff, inset 0 -10px 14px -12px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.55), 0 10px 26px -8px rgba(0,0,0,0.55), 0 0 18px rgba(255,255,255,0.07); }
.wk-knopf:active:not(:disabled):not(.zweit) { background: linear-gradient(180deg, #ebebe9 0%, #f3f3f2 100%); border-color: #dcdcda #e6e6e4 #f0f0ef;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.45), 0 1px 1px rgba(0,0,0,0.5); }
.wk-knopf:active:not(:disabled) { transform: translateY(1px); }
.wk-knopf:disabled { opacity: 0.35; cursor: default; }
.wk-knopf:focus-visible { outline: 2px solid rgba(237,237,237,0.75); outline-offset: 2px; }
.wk-knopf.zweit { background: linear-gradient(180deg, #2b2c30 0%, #222326 100%); color: #ededed; text-shadow: none; border-color: rgba(255,255,255,0.09); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 2px rgba(0,0,0,0.5); }
.wk-hinweis { font-size: 12px; color: rgba(237,237,237,0.45); margin: 14px 0 0; line-height: 1.5; text-align: center; }
.wk-fehler { font-size: 13px; color: #F2B8B5; margin: 14px 0 0; line-height: 1.45; text-align: center; }

.wk-fertig { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.wk-fertig div { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.35; }
.wk-fertig p { margin: 0; min-width: 0; }
.wk-fertig svg { font-size: 16px; margin-top: 1px; color: #8fdcae; }
.wk-fertig span { margin-left: 6px; color: rgba(237,237,237,0.5); }

/* Initials */
.wk-av { width: 24px; height: 24px; border-radius: 50%; background: #2a2a2a; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.wk-av.eck { border-radius: 7px; background: #ededed; color: #0b0b0b; }
.wk-av.gross { width: 52px; height: 52px; flex-basis: 52px; font-size: 19px; margin-left: -10px; border: 3px solid #141414; }
.wk-av.eck.gross { border-radius: 14px; margin-right: 8px; }
.wk-stapel { display: flex; margin-bottom: 26px; padding-left: 10px; }

/* The right half: a preview of Flow */
.wk-rechts { position: relative; overflow: hidden; background: radial-gradient(80% 70% at 70% 60%, rgba(120,140,255,0.07), transparent 70%), #121212; border-left: 1px solid rgba(255,255,255,0.05); }
.wk-rechts::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 70%, #121212 100%), linear-gradient(180deg, transparent 80%, #121212 100%); }
.wk-vorschau { position: absolute; top: 64px; left: 48px; width: 760px; height: 620px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); background: #0e0e0e; display: grid; grid-template-columns: 210px 1fr; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.wk-vl { border-right: 1px solid rgba(255,255,255,0.06); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wk-vm { padding: 70px 34px 0; position: relative; min-width: 0; }
.wk-firma, .wk-ich { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 10px; border: 1px solid transparent; font-size: 13px; font-weight: 500; min-height: 40px; }
.wk-firma span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-ich { margin-top: auto; }
.wk-ich span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-strich { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.wk-nav { display: flex; align-items: center; gap: 10px; padding: 8px 9px; font-size: 15px; color: rgba(237,237,237,0.4); }
.wk-nav .name { font-size: 12.5px; color: rgba(237,237,237,0.7); }
.wk-chats { margin: 14px 9px 0; display: flex; flex-direction: column; gap: 2px; }
.wk-chats span { font-size: 12.5px; color: rgba(237,237,237,0.6); padding: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-chats.leer { gap: 10px; }
.wk-chats.leer .wk-strich { padding: 0; }
.wk-gruss { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; min-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-gruss2 { font-size: 13px; color: rgba(237,237,237,0.5); margin-bottom: 18px; min-height: 20px; white-space: nowrap; }
.wk-feldbild { border-radius: 14px; border: 1px solid rgba(255,255,255,0.09); background: #161616; padding: 14px; height: 108px; display: flex; flex-direction: column; justify-content: space-between; }
.wk-feldbild .platz { font-size: 13px; color: rgba(237,237,237,0.35); white-space: nowrap; }
.wk-feldbild .leiste { display: flex; align-items: center; gap: 10px; }
.wk-feldbild .plus { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(237,237,237,0.6); }
.wk-beispiele { margin-top: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.07); padding: 6px; display: flex; flex-direction: column; }
.wk-beispiele div { display: flex; align-items: center; gap: 10px; padding: 10px 10px; font-size: 13px; color: rgba(237,237,237,0.85); border-radius: 9px; white-space: nowrap; }
.wk-beispiele svg { font-size: 15px; color: rgba(237,237,237,0.5); }

/* The preview lights up what the field in focus fills in */
.wk-hl { transition: opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.wk-vorschau.fokus .wk-hl { opacity: 0.28; }
.wk-vorschau.fokus .wk-hl.hell { opacity: 1; border-color: rgba(150,170,255,0.45); box-shadow: 0 0 0 4px rgba(120,140,255,0.08), 0 0 40px rgba(120,140,255,0.18); }
.wk-vorschau.fokus .wk-hl.hell.weich { border-color: transparent; box-shadow: none; }

.wk-punkte { display: flex; gap: 6px; align-items: center; }
.wk-punkte span { width: 6px; height: 6px; border-radius: 999px; background: rgba(237,237,237,0.25); transition: all 0.25s ease; }
.wk-punkte span.an { width: 24px; background: #ededed; }
.wk-punkte span.war { background: rgba(237,237,237,0.55); }

@media (max-width: 900px) {
  .wk-rahmen { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .wk-rechts { display: none; }
  .wk-links { padding: 104px 28px 40px; }
  .wk-marke { left: 28px; }
}
@media (max-width: 520px) {
  .wk-seite { padding: 16px; }
  .wk-links { padding: 88px 16px 32px; }
  .wk-marke { left: 16px; }
  .wk-seite h1.gross { font-size: 24px; }
}

/*
 * What the sign-up needs beyond Flow's steps, in the same values: the form fits the frame's height, so its fields stand a
 * little closer than in Flow (12 px instead of 16 px); errors stand at their field in Flow's error colour; the checkbox
 * is drawn like Flow's choices (16 px, a white tick); links are underlined like on Flow's sign-in page.
 */
/* A form is taller than Flow's steps: the frame keeps Flow's height as its least height and grows with the form. */
.wk-rahmen { height: auto; min-height: max(560px, min(720px, calc(100dvh - 110px))); }
@media (max-width: 900px) { .wk-rahmen { min-height: 0; } }
/* Taller steps than Flow's: more room under the name at the top. */
@media (min-width: 901px) { .wk-links { padding-top: 88px; padding-bottom: 48px; } }
.wk-formular .wk-feld { margin-bottom: 12px; }
.wk-feld .wk-feldfehler { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #F2B8B5; }
.wk-feld.fehlt .wk-ein, .wk-feld.fehlt .wk-adresse { border-color: rgba(242,184,181,0.55); }
.wk-seite a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.wk-seite a:focus-visible { outline: 2px solid rgba(237,237,237,0.75); outline-offset: 2px; border-radius: 4px; }
a.wk-knopf { text-decoration: none; }

/* The address with its ending in one field, only when the ending is known before the server exists (a ZONE) */
.wk-adresse { display: flex; align-items: center; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09); transition: border-color 0.15s ease; overflow: hidden; }
.wk-adresse:focus-within { border-color: rgba(255,255,255,0.3); }
.wk-adresse .wk-ein { border: 0; background: transparent; flex: 1; min-width: 0; height: 38px; }
.wk-adresse .endung { padding: 0 12px 0 0; font-size: 13.5px; color: rgba(237,237,237,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }

.wk-zustimmung { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 4px; }
.wk-zustimmung input { appearance: none; -webkit-appearance: none; flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; border-radius: 5px; border: 1.5px solid rgba(237,237,237,0.35); background: transparent; cursor: pointer; display: grid; place-content: center; }
.wk-zustimmung input::after { content: ""; width: 9px; height: 5px; border: solid #0b0b0b; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.wk-zustimmung input:checked { background: #ededed; border-color: #ededed; }
.wk-zustimmung input:checked::after { opacity: 1; }
.wk-zustimmung input:focus-visible { outline: 2px solid rgba(237,237,237,0.75); outline-offset: 2px; }
.wk-zustimmung label { font-size: 12.5px; line-height: 1.5; color: rgba(237,237,237,0.6); cursor: pointer; }
.wk-zustimmung.fehlt input { border-color: rgba(242,184,181,0.8); }
.wk-zustimmung + .wk-feldfehler { margin: 2px 0 0 26px; font-size: 12.5px; line-height: 1.45; color: #F2B8B5; }

/* After the confirmation: the steps done with Flow's tick, the open ones with an empty circle */
.wk-fertig .offen svg { color: rgba(237,237,237,0.35); }
.wk-fertig .offen p { color: rgba(237,237,237,0.6); }

.wk-fuss { display: flex; gap: 16px; font-size: 12px; color: rgba(237,237,237,0.4); }
.wk-fuss a { color: rgba(237,237,237,0.5); text-decoration: none; }
.wk-fuss a:hover { color: rgba(237,237,237,0.8); }

/* Flow sets these widths and the hidden row inline; the CSP here allows no inline styles, so classes carry them. */
.wk-chats.leer .wk-strich:nth-child(1) { width: 80%; }
.wk-chats.leer .wk-strich:nth-child(2) { width: 64%; }
.wk-chats.leer .wk-strich:nth-child(3) { width: 88%; }
.wk-chats.leer .wk-strich:nth-child(4) { width: 56%; }
.wk-ich.leer { visibility: hidden; }
.wk-hinweis.links { text-align: left; }

/* The package step: Flow's choice rows (willkommen.css, "Auswahl in Zeilen") as real radio buttons, so the form works
   without a script and with the keyboard; the chosen row as Flow's ".an". On the right the price, or "Bald verfügbar". */
.wk-gruppe { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.wk-gruppe legend { padding: 0; font-size: 12.5px; color: rgba(237,237,237,0.75); margin: 0 0 7px; }
.wk-wahlen { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; }
.wk-wahl { position: relative; width: 100%; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 13.5px; line-height: normal; transition: background 0.12s ease; }
.wk-wahl + .wk-wahl { border-top: 1px solid rgba(255,255,255,0.06); }
.wk-wahl:hover { background: rgba(255,255,255,0.025); }
.wk-wahl input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wk-wahl .rund { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(237,237,237,0.35); flex: 0 0 16px; }
.wk-wahl:has(input:checked) { background: rgba(255,255,255,0.05); }
.wk-wahl:has(input:checked) .rund { border: 5px solid #ededed; }
.wk-wahl:has(input:focus-visible) { outline: 2px solid rgba(237,237,237,0.75); outline-offset: -2px; }
.wk-wahl .text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wk-wahl .text b { font-weight: 500; font-size: 13.5px; }
.wk-wahl .text span { font-size: 12px; line-height: 1.4; color: rgba(237,237,237,0.5); }
.wk-wahl .preis { flex: none; font-size: 12.5px; color: rgba(237,237,237,0.85); white-space: nowrap; }
.wk-wahl .bald { flex: none; font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); color: rgba(237,237,237,0.55); white-space: nowrap; }
.wk-wahl.aus { cursor: default; }
.wk-wahl.aus:hover { background: transparent; }
.wk-wahl.aus .rund, .wk-wahl.aus .text { opacity: 0.45; }
.wk-summe { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; padding: 12px 2px 2px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: rgba(237,237,237,0.6); }
.wk-summe b { font-size: 15px; font-weight: 600; color: #ededed; }

/* The chosen package above the details and on the confirmation page */
.wk-paket { display: flex; align-items: center; gap: 10px; margin: 4px 0 22px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); font-size: 12.5px; color: rgba(237,237,237,0.7); }
.wk-paket span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-paket b { font-weight: 500; color: #ededed; white-space: nowrap; }
.wk-paket a { font-size: 12px; color: rgba(237,237,237,0.6); }
.wk-unter + .wk-paket { margin-top: -10px; }

/* Readability (Fred, 2026-11-29: "really pale and a bit hard to read"): no fade-in, so the step never shows half
   transparent, and every grey that carries words at least 4.5:1 against the frame (#141414, WCAG AA for small text).
   Options that are not available yet stay readable: only their radio circle fades. */
.wk-schritt { animation: none; }
.wk-unter { color: rgba(237,237,237,0.72); }
.wk-feld label, .wk-gruppe legend { color: rgba(237,237,237,0.85); }
.wk-ein::placeholder { color: rgba(237,237,237,0.42); }
.wk-hinweis { color: rgba(237,237,237,0.62); }
.wk-zustimmung label { color: rgba(237,237,237,0.75); }
.wk-wahl .text span { color: rgba(237,237,237,0.65); }
.wk-wahl.aus .rund { opacity: 0.4; }
.wk-wahl.aus .text { opacity: 0.75; }
.wk-wahl .bald { color: rgba(237,237,237,0.72); border-color: rgba(255,255,255,0.16); }
.wk-summe { color: rgba(237,237,237,0.72); }
.wk-paket { color: rgba(237,237,237,0.8); }
.wk-paket a { color: rgba(237,237,237,0.75); }
.wk-fertig .offen p { color: rgba(237,237,237,0.72); }
.wk-fertig .offen svg { color: rgba(237,237,237,0.5); }
.wk-fertig span { color: rgba(237,237,237,0.62); }
.wk-marke span { color: rgba(237,237,237,0.6); }
.wk-fuss a { color: rgba(237,237,237,0.62); }
