/* The funnel (Timo 2026-11-02). An overlay over any page since 16:00 ("smoother in transition"): funnel.js builds .fn-ov,
   opens it over the blurred page and closes it the same way; kontakt.html only opens it at once.
   Composition from his login-screen reference: one screen, no scroll, the steps in a column on the left, the dot field
   (funnel-field-worker.js, field lab idea B) filling the right. White page, black field. Text, fields and buttons follow
   the website (SF Pro 500 with tight tracking, violet accent) and the hub (12px boxes with a hairline and a second
   hairline just outside, a selected item is a faint fill, things arrive with one expo-out curve). */
.fn-ov { --bg: #fff; --ink: #0b0b0c; --dim: #5f6168; --mute: #9a9ca3; --line: #e3e3e6; --outer: rgba(0,0,0,.04);
  --panel: #fff; --sel: rgba(0,0,0,.05); --ac: #9850F3; --go-bg: #0b0b0c; --go-ink: #fff; --e-out: cubic-bezier(.16, 1, .3, 1);
  position: fixed; inset: 0; z-index: 10050; color: var(--ink); cursor: auto; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.fn-ov[hidden] { display: none; }
/* the site's own cursor rules (styles.css) never reach in here: the system arrow, the hand on what can be clicked */
.fn-ov, .fn-ov * { cursor: auto; }
.fn-ov :is(a, button, label:has(input)) { cursor: pointer; }
.fn-ov .fn-in { cursor: text; }
.fn-ov button:disabled { cursor: default; }
html.fn-lock, html.fn-lock body { overflow: hidden; }        /* the page underneath stands still while the funnel is open */
body.fn-page { margin: 0; background: #fff; }                 /* kontakt.html: nothing but the open overlay */

/* opening (funnel.js adds .fn-on): the page behind blurs under a light veil while the funnel fades in sharp over it
   (Timo 2026-11-02 16:07 picked "C · Weich" in the opening lab https://claude.ai/artifact/HPiqApRUni9ZMpZeXrGS3M);
   closing runs it backwards. The first step rises in after the screen stands; the field has its own intro. */
.fn-fx { position: absolute; inset: 0; pointer-events: none; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); background: rgba(255,255,255,0);
  transition: backdrop-filter .5s ease, -webkit-backdrop-filter .5s ease, background .5s ease; }
.fn-ov.fn-on .fn-fx { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(255,255,255,.35); }
.fn { background: var(--bg); opacity: 0; transform: scale(.985); transition: opacity .3s ease, transform .3s ease; }
.fn-ov.fn-on .fn { opacity: 1; transform: none; transition: opacity .6s var(--e-out) .2s, transform .8s var(--e-out) .2s; }
.fn-ov.fn-instant :is(.fn, .fn-fx) { transition: none !important; }

.fn { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
.fn-l { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(24px, 3.4vw, 48px) clamp(24px, 7vw, 120px);
  min-height: 0; }
.fn-art { position: absolute; top: 0; right: 0; width: 54%; height: 100%; }   /* 54 %: Timo's field editor, 2026-11-02   /* takes the pointer: the field answers it */
.fn-art .fn-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* each picture in its own layer, so the old one can fade out while the new one fades in (funnel.js look()) */
.fn-art-l { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.fn-art-l.is-on { opacity: 1; }
/* while the look changes, every colour turns over the same 0.7 s: the screen, the text, the boxes, the logo */
.fn-ov.fn-swap .fn, .fn-ov.fn-swap .fn * { transition: background-color .7s ease, color .7s ease, border-color .7s ease, outline-color .7s ease, filter .7s ease !important; }
.fn-ov.fn-swap .fn-art-l { transition: opacity .7s ease !important; }

.fn-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fn-brand { padding: 0; border: 0; background: none; }
.fn-brand img { display: block; height: 22px; width: auto; filter: invert(1); }
.fn-close { font: inherit; font-size: 13px; color: var(--dim); background: none; border: 0; padding: 6px 0; transition: color .3s var(--e-out); }
.fn-close:hover { color: var(--ink); }
.fn-bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; }
.fn-bar i { display: block; height: 100%; width: 0; background: var(--ac); transition: width .6s var(--e-out); }
.fn-alt { margin: 0; font-size: 12px; color: var(--mute); }
.fn-alt a { color: var(--dim); }

/* the step: arrives with a rise and fade, never a cut */
.fn-card { align-self: center; width: min(440px, 100%); max-height: 100%; overflow: auto; display: grid; gap: 18px; padding: 24px 0;
  animation: fn-in .6s var(--e-out) both; scrollbar-width: none; }
.fn-card::-webkit-scrollbar { display: none; }
/* leaving: the step sinks away with an ease-in, the mirror of fn-in (funnel.js show()) */
.fn-card.is-out { animation: fn-out .24s cubic-bezier(.5, 0, .75, 0) both; pointer-events: none; }
@keyframes fn-out { from { opacity: 1; transform: none; filter: none; } to { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
@keyframes fn-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.fn-step { font-size: 13px; letter-spacing: .02em; color: var(--mute); }
.fn-h { margin: 0; font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.fn-sub { margin: -6px 0 0; font-size: 15px; line-height: 1.55; color: var(--dim); }

/* boxes: the hub's 12px card with a hairline and a second hairline just outside */
.fn-opt, .fn-in, .fn-chip { color: var(--ink); background: var(--panel); border: 1px solid var(--line); outline: 1px solid var(--outer);
  outline-offset: 4px; font-family: inherit; transition: background .3s var(--e-out), border-color .3s var(--e-out), color .3s var(--e-out); }
.fn-pick { display: grid; gap: 14px; }
.fn-opt { display: grid; gap: 6px; text-align: left; font: inherit; border-radius: 12px; padding: 18px 20px; cursor: pointer; }
.fn-opt:hover, .fn-opt:focus-visible { background: var(--sel); border-color: var(--dim); }
.fn-opt b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.fn-opt span { font-size: 14px; line-height: 1.5; color: var(--dim); }

.fn-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fn-chip { font-size: 14px; line-height: 1; border-radius: 12px; padding: 12px 15px; cursor: pointer; }
.fn-chip:hover { border-color: var(--dim); }
.fn-chip[aria-pressed="true"] { background: var(--sel); border-color: var(--ink); }
.fn-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.fn-scale .fn-chip { padding: 13px 0; text-align: center; }
.fn-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); margin-top: -8px; }

.fn-f { display: grid; gap: 14px; }
.fn-f label { display: grid; gap: 8px; font-size: 13px; color: var(--dim); }
.fn-in { font-size: 15px; line-height: 1.4; border-radius: 12px; padding: 13px 15px; width: 100%; box-sizing: border-box; }
.fn-in:focus { border-color: var(--ink); background: var(--sel); }
.fn-in:focus-visible { outline: 1px solid var(--outer); }
textarea.fn-in { resize: none; min-height: 104px; }
.fn-in::placeholder { color: var(--mute); }
.fn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* booking, like Calendly in the site's look: the month as one step (7 columns, max 340 px), the day's times as the next */
.fn-cal { width: 100%; display: grid; gap: 12px; }
.fn-cal-h { display: flex; align-items: center; gap: 8px; }
.fn-cal-h b { order: -1; margin-right: auto; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
/* every box here is the scale's chip (.fn-chip): the hairline, the second hairline outside, 12px corners, 13px high padding */
.fn-cal-nav, .fn-cd { font: inherit; font-size: 14px; line-height: 1; color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  outline: 1px solid var(--outer); outline-offset: 4px; border-radius: 12px; padding: 13px 0; text-align: center;
  transition: background .3s var(--e-out), border-color .3s var(--e-out), color .3s var(--e-out), opacity .3s var(--e-out); }
.fn-cal-nav { width: 40px; padding: 11px 0 13px; color: var(--dim); }
.fn-cal-nav:hover:not(:disabled), .fn-cd:hover:not(:disabled) { border-color: var(--dim); }
.fn-cal-nav:disabled { opacity: .35; }
.fn-cal-w, .fn-cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fn-cal-w span { text-align: center; font-size: 12px; color: var(--mute); }
.fn-cd { position: relative; font-variant-numeric: tabular-nums; }
.fn-cd:disabled { color: var(--mute); background: none; border-color: transparent; outline-color: transparent; }
.fn-cd[aria-pressed="true"] { background: var(--sel); border-color: var(--ink); }
.fn-cd.is-today::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--ac); }
.fn-slot-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: 46vh; overflow: auto; padding: 5px; margin: -5px; scrollbar-width: none; }
.fn-slot-list::-webkit-scrollbar { display: none; }
/* a time is the scale's chip; picked, it splits in place: the time slides into the left half, the black check grows in on the right */
.fn-slot { display: flex; height: 42px; box-sizing: border-box; background: var(--panel); border: 1px solid var(--line); outline: 1px solid var(--outer);
  outline-offset: 4px; border-radius: 12px; overflow: hidden; transition: border-color .3s var(--e-out); }
.fn-slot:hover { border-color: var(--dim); }
.fn-slot.is-on { border-color: var(--ink); }
.fn-slot-t { flex: 1 1 100%; min-width: 0; font: inherit; font-size: 14px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink);
  background: none; border: 0; padding: 0; transition: flex-basis .55s var(--e-out); }
.fn-slot-go { flex: 0 0 0; min-width: 0; margin: 3px 0; padding: 0; border: 0; border-radius: 9px; display: grid; place-items: center; overflow: hidden;
  color: var(--go-ink); background: var(--go-bg); opacity: 0;
  transition: flex-basis .55s var(--e-out), margin .55s var(--e-out), opacity .35s var(--e-out), background .3s var(--e-out); }
.fn-slot-go svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transform: scale(.6); transition: transform .55s var(--e-out) .08s; }
.fn-slot.is-on .fn-slot-t { flex-basis: 50%; }
.fn-slot.is-on .fn-slot-go { flex-basis: 50%; margin: 3px 3px 3px 0; opacity: 1; }
.fn-slot.is-on .fn-slot-go svg { transform: none; }
.fn-slot-go:hover { background: #2a2a2e; }
.fn-slot-go:disabled { cursor: default; }
.fn-slot-go.is-busy svg { animation: fn-pulse .9s ease-in-out infinite; }
@keyframes fn-pulse { 50% { opacity: .25; } }
.fn-note { margin: 0; font-size: 12px; color: var(--mute); }
.fn-err { margin: 0; font-size: 13px; color: #f08a2e; }

/* back + next: the website's call-to-action pill */
.fn-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.fn-back { font: inherit; font-size: 14px; color: var(--dim); background: none; border: 0; padding: 8px 0; cursor: pointer; transition: color .3s var(--e-out); }
.fn-back:hover { color: var(--ink); }
.fn-go { margin-left: auto; font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--go-ink); background: var(--go-bg);
  border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; text-decoration: none;
  transition: opacity .3s var(--e-out), background .3s var(--e-out); }
.fn-go:hover { background: #2a2a2e; }
.fn-go:disabled { opacity: .3; cursor: default; }

/* the hero journey (Timo 2026-11-03, after the reel): black, the wall of website screens on the right (funnel-wall.js);
   the same boxes and steps, turned to the dark (the hub's dark: a faint panel, a hairline, white ink) */
.fn-ov.fn-dark { --bg: #060606; --ink: #f7f8f8; --dim: #a2a6ad; --mute: #6b6f76; --line: rgba(255,255,255,.12); --outer: rgba(255,255,255,.05);
  --panel: rgba(255,255,255,.035); --sel: rgba(255,255,255,.09); --go-bg: #fff; --go-ink: #0b0b0c; }
.fn-ov.fn-dark .fn-fx { background: rgba(0,0,0,0); }
.fn-ov.fn-dark.fn-on .fn-fx { background: rgba(6,6,6,.4); }
.fn-ov.fn-dark .fn { transition: opacity .6s var(--e-out) .2s, transform .8s var(--e-out) .2s, background .5s ease; }
.fn-ov.fn-dark .fn-brand img { filter: none; }
.fn-ov.fn-dark .fn-go:hover { background: #e4e4e7; }
.fn-ov.fn-dark .fn-slot-go:hover { background: #e4e4e7; }
.fn-ov.fn-dark .fn-in { color-scheme: dark; }
.fn-art .fn-wall { cursor: default; }
/* the wall reaches under the form (Timo 09:25: "the sections can reach under the inputs"): its layer runs from the
   right half out to the screen's left edge (46 % of the screen = 46/54 of the art box); the fade is in the shader */
.fn-art-l.is-wall { left: calc(-100% * 46 / 54); }

/* phone: the field becomes a band across the top right, the steps below it */
@media (max-width: 760px) {
  .fn { grid-template-columns: 1fr; }
  .fn-art { width: 64%; height: 26%; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .fn-close { position: relative; z-index: 3; font-size: 12px; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
    border-radius: 999px; padding: 7px 12px; }     /* over the field's corner, a clear way out */
  .fn-l { padding: 20px 20px 18px; }
  .fn-card { align-self: end; padding-bottom: 12px; }
  .fn-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fn-slot-list { max-height: none; }
  .fn-cal-w, .fn-cal-g { gap: 6px; }
  .fn-cal-nav, .fn-cd { outline-offset: 3px; }
  .fn-ov.fn-dark .fn-art { width: 100%; height: 34%; }        /* the wall runs across the whole band, a little taller */
  .fn-art-l.is-wall { left: 0; }
}
@media (prefers-reduced-motion: reduce) { .fn-card, .fn-card.is-out { animation: none; } .fn-bar i { transition: none; } }

/* Hamza's review 2026-11-13: own answer under "Etwas anderes", the phone hint, the moment after booking */
.fn-own-w { margin-top: 12px; } .fn-own-w[hidden] { display: none; }
.fn-hint { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.4; }
.fn-cheer em { font-family: 'Very Vogue Display', Georgia, serif; font-style: italic; font-weight: 400; color: #c9b8ff; }
.fn-go[hidden] { display: none; }
