/* Bausteine aus site.css (App-Vorführung, Formular, Terminwahl, FAQ, Rechner, Sprachwahl) – für die Startseite body.pro. Farben setzt pro.css. */
/* ---------- Die App ---------- */
.app {
  position: relative; display: grid; grid-template-columns: 236px 1fr; grid-template-rows: 1fr auto;
  height: min(640px, 76vh); min-height: 520px; border-radius: 20px; background: var(--a-bg);
  border: 1px solid var(--a-border-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(62, 207, 163, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.app-side { grid-row: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; background: var(--a-bg-2); border-right: 1px solid var(--a-border); border-radius: 20px 0 0 0; overflow: hidden; }
.side-brand { display: flex; align-items: center; gap: 9px; padding: 2px 8px 14px; font-weight: 650; letter-spacing: -.02em; }
.side-new { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--a-border-2); background: var(--a-surface); font-size: 13.5px; font-weight: 600; cursor: default; }
.side-new svg, .side-nav svg { width: 17px; height: 17px; }
.side-nav { display: flex; flex-direction: column; gap: 1px; }
.side-nav span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; color: var(--fg-2); }
.side-nav span svg { color: var(--a-muted); }
.side-nav .on { background: rgba(18, 154, 120, .16); color: var(--fg); }
.side-nav .on svg { color: var(--mint); }
.side-h { margin: 16px 10px 6px; font: 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--a-subtle); }
.side-chats { display: flex; flex-direction: column; gap: 2px; }
.sc { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 9px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; overflow: hidden; transition: background .2s; }
.sc b { font-size: 13.5px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc small { font-size: 11.5px; color: var(--a-subtle); }
.sc:hover { background: var(--a-surface); }
.sc[aria-selected="true"] { background: var(--a-surface-2); }
.sc[aria-selected="true"] b { color: var(--fg); }
.sc-bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--mint); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); opacity: 0; }
.sc[aria-selected="true"] .sc-bar { opacity: .8; }
.sc:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }

.app-main { grid-row: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.app-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 9px 18px; border-top: 1px solid var(--a-border);
  background: linear-gradient(180deg, #0c1714, #08110f); border-radius: 0 0 20px 20px; font: 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--a-subtle); }
.app-foot span { display: flex; align-items: center; gap: 8px; }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* Eli sitzt auf dem Fenster */
.hero-eli { position: absolute; z-index: 3; right: 180px; top: -86px; width: 92px; pointer-events: none; }
.hero-eli svg { width: 100%; overflow: visible; }
.e-tail { transform-box: view-box; transform-origin: 74.4px 136.4px; animation: tail 3.4s ease-in-out infinite alternate; }
@keyframes tail { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
.e-body { transform-box: view-box; transform-origin: 60px 146px; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scaleY(1.02); } }
.e-eyes { transform-box: view-box; transform-origin: 60px 55px; animation: lid 5.2s infinite; }
@keyframes lid { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }
.e-ear-l { transform-box: view-box; transform-origin: 30px 60px; animation: earL 7s ease-in-out infinite; }
.e-ear-r { transform-box: view-box; transform-origin: 90px 60px; animation: earR 7s ease-in-out 1.3s infinite; }
@keyframes earL { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-9deg); } 94% { transform: rotate(3deg); } }
@keyframes earR { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(9deg); } 94% { transform: rotate(-3deg); } }
.e-nose { transform-box: view-box; transform-origin: 60px 69px; animation: sniff 9s ease-in-out 2s infinite; }
@keyframes sniff { 0%, 90%, 100% { transform: translateY(0); } 92%, 96% { transform: translateY(-.8px) scaleX(1.12); } 94% { transform: translateY(0); } }
.e-look { transition: transform .35s var(--ease); }

/* ---------- Fensterteile (Hero und Kapitel) ---------- */
.win-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--a-border); }
.win-title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-st { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--a-muted); }
.win-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-subtle); transition: background .3s; }
.win-st.busy i { background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: blink 1s infinite; }
.win-st.wait i { background: #f5b14a; box-shadow: 0 0 10px #f5b14a; }
.win-st.busy span { color: var(--mint-hi); }
.win-st.fertig i { background: var(--mint); }

.chat-body { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 18px 22px 8px; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(transparent 0, #000 22px); mask-image: linear-gradient(transparent 0, #000 22px); }
.chat { display: flex; flex-direction: column; gap: 12px; }
.app .chat:not(.is-active) { display: none; }

.msg-u { align-self: flex-end; max-width: 82%; padding: 10px 16px; border-radius: 18px 18px 6px 18px; background: #0e7c60; color: #fff; font-size: 14.5px; line-height: 1.45; }
.take { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #a9bab4; }
.av { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #3f6b2d; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.av-b { background: #2a6fb5; } .av-s { background: #a35a1f; } .av-l { background: #b4485c; } .av-n { background: #4b62c9; }

.steps { align-self: flex-start; width: fit-content; max-width: min(94%, 34rem); min-width: min(18rem, 100%); border: 1px solid var(--a-border); border-radius: 12px; background: var(--a-surface); overflow: hidden; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .6); }
.st { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; font-size: 13px; line-height: 18px; }
.steps .st + .st { border-top: 1px solid var(--a-border); }
.st p { flex: 1; min-width: 0; margin: 5px 0 0; }
.st p b { margin-right: 4px; font-weight: 600; }
.st p span { color: var(--a-muted); }
.st time { margin-top: 5px; flex: none; font-size: 11.5px; color: var(--a-subtle); font-variant-numeric: tabular-nums; }
.ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex: none; }
.ic svg { width: 16px; height: 16px; }
.c-crm { background: rgba(59, 130, 246, .16); color: #7fb0ff; }
.c-mail { background: rgba(139, 92, 246, .17); color: #b49bff; }
.c-cal { background: rgba(249, 115, 22, .16); color: #ffa366; }
.c-nas { background: rgba(99, 102, 241, .18); color: #9ea4ff; }
.c-net { background: rgba(6, 182, 212, .15); color: #4fd8ee; }
.c-web { background: rgba(14, 165, 233, .16); color: #5cc4f6; }
.c-pc { background: rgba(148, 163, 184, .14); color: #b4c0cf; }
.c-team { background: rgba(20, 184, 166, .16); color: #4fe0cc; }
.c-form { background: rgba(245, 158, 11, .15); color: #f8c35a; }
.c-reg { background: rgba(236, 72, 153, .14); color: #f58cc0; }
.c-doc { background: rgba(245, 158, 11, .15); color: #f8c35a; }
.c-chart { background: rgba(62, 207, 163, .14); color: var(--mint); }
.c-db { background: rgba(236, 72, 153, .14); color: #f58cc0; }
.c-term { background: rgba(148, 163, 184, .14); color: #b4c0cf; }

/* Status je Zeile: run (Spinner) · wait (Uhr) · done (Häkchen) · lock (Schloss) */
.ok { width: 16px; height: 16px; margin-top: 6px; flex: none; border-radius: 50%; background: center / 16px no-repeat; }
.st .st-run, .st .st-wait, .st .st-res { display: none; }
.st[data-s="run"] .st-run, .st[data-s="wait"] .st-wait, .st[data-s="done"] .st-res, .st[data-s="lock"] .st-res, .st:not([data-s]) .st-res { display: inline; }
.st[data-s="run"] time { visibility: hidden; }
.st[data-s="run"] .ok { border: 2px solid rgba(62, 207, 163, .25); border-top-color: var(--mint); animation: spin .7s linear infinite; }
.st[data-s="wait"] .ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a6a0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.st[data-s="done"] .ok, .st:not([data-s]) .ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322b08b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12.5 2.8 2.8L16.5 9'/%3E%3C/svg%3E"); animation: pop .35s var(--ease); }
.st[data-s="lock"] .ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b14a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='11' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.st[data-s="wait"] .st-wait { color: #f5c17a; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* Freigabe-Karte (wie FreigabeKarte im Chat) */
.fg { align-self: flex-start; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; width: fit-content; max-width: 94%; padding: 12px 14px; border: 1px solid var(--a-border-2); border-radius: 12px; background: var(--a-surface); box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .8); }
.fg-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(18, 154, 120, .18); color: var(--mint); }
.fg-ic svg { width: 18px; height: 18px; }
.fg-tx { display: flex; flex-direction: column; min-width: 0; }
.fg-tx b { font-size: 13.5px; font-weight: 600; }
.fg-tx small { font-size: 12px; color: var(--a-muted); }
.fg-btns { display: flex; gap: 6px; }
.fg-send, .fg-later { position: relative; display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.fg-send { background: var(--accent); color: #fff; transition: transform .15s, background .15s; }
.fg-send.is-pressed { transform: scale(.92); background: var(--accent-hover); }
.fg-later { border: 1px solid var(--a-border-2); color: var(--fg-2); font-weight: 500; }
.fg-done { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: rgba(18, 154, 120, .18); color: var(--mint); font-size: 12.5px; font-weight: 600; }
/* Zeiger, der auf «Senden» klickt */
.ptr { position: absolute; right: -16px; bottom: -20px; width: 22px; height: 22px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.5L10 19z' fill='%23fff' stroke='%23050d0b' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.js .ptr.is-on { animation: ptrIn .6s var(--ease) both; }
@keyframes ptrIn { from { transform: translate(40px, 40px); opacity: 0; } }

/* Antwort */
.ans { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); max-width: 94%; }
.ans p { margin: 0 0 6px; }
.ans b { color: var(--fg); font-weight: 600; }
.ans .ans-h { margin: 2px 0 6px; font-size: 14.5px; font-weight: 650; color: var(--fg); }
.ans ul { margin: 0 0 8px; padding-left: 18px; }
.ans li { margin: 2px 0; }
.ans li::marker { color: var(--a-subtle); }
.tbl { border-collapse: collapse; margin: 4px 0 10px; font-size: 13px; width: 100%; max-width: 26rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--a-muted); font-size: 12px; padding: 5px 10px 5px 0; border-bottom: 1px solid var(--a-border-2); }
.tbl td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--a-border); font-variant-numeric: tabular-nums; }

/* Eingang (Webformular) */
.event { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(245, 158, 11, .4); background: rgba(245, 158, 11, .05); }
.event small { display: block; font: 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #f8c35a; }
.event b { display: block; font-size: 14px; margin: 2px 0 3px; }
.event p { margin: 0; font-size: 13.5px; color: var(--fg-2); }

/* Arbeitsplan */
.plan { border: 1px solid var(--a-border); border-radius: 14px; background: var(--a-surface); overflow: hidden; }
.plan-h { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; font: 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--a-muted); border-bottom: 1px solid var(--a-border); }
.plan-h svg { width: 15px; height: 15px; color: var(--mint); }
.pl { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; }
.pl + .pl { border-top: 1px solid var(--a-border); }
.av-lg { width: 30px; height: 30px; font-size: 13px; }
.pl-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-tx b { font-size: 14px; }
.pl-tx small { font-size: 12px; color: var(--a-muted); }
.pl-tx p { margin: 2px 0 5px; font-size: 13px; color: var(--fg-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 9px; border-radius: 999px; background: var(--a-surface-3); font-size: 11.5px; color: var(--fg-2); }
.tag-w { background: rgba(18, 154, 120, .16); color: var(--mint); font-weight: 600; }
.pl-res { margin-top: 5px; font-size: 12.5px; color: var(--mint-hi) !important; }
.pl[data-s="done"] .pl-res { display: block; }
.pl .ok { margin-top: 9px; }

/* Mitteilung aufs iPhone */
.push { position: absolute; z-index: 4; left: 50%; top: 58px; width: min(92%, 380px); display: flex; gap: 12px; padding: 12px 14px; border-radius: 20px;
  background: rgba(36, 48, 45, .97); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); transform: translateX(-50%); }
.push-ic { flex: none; width: 38px; height: 38px; border-radius: 9px; background: #050d0b; display: grid; place-items: center; }
.push p { margin: 0; font-size: 13px; line-height: 1.4; color: #e9f1ee; }
.push-h { display: flex; justify-content: space-between; gap: 8px; }
.push-h small { color: rgba(233, 241, 238, .6); font-size: 12px; }
.js .push.is-on { animation: pushIn .7s var(--ease) both; }
@keyframes pushIn { from { transform: translate(-50%, -140%); opacity: 0; } }

/* Eingabefeld (Composer) */
.cmp { margin: 8px 16px 14px; border: 1px solid var(--a-border-2); border-radius: 16px; background: var(--a-surface); padding: 10px 12px 8px; }
.cmp-in { position: relative; display: flex; align-items: center; min-height: 24px; margin: 0 0 8px; padding: 0 4px; font-size: 14.5px; }
.cmp-ph { color: var(--a-subtle); }
.cmp-tx { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: clip; direction: rtl; text-align: left; unicode-bidi: plaintext; }
.cmp.typing .cmp-ph { display: none; }
.caret { display: none; width: 2px; height: 18px; margin-left: 1px; background: var(--mint); animation: blink .9s steps(1) infinite; }
.cmp.typing .caret { display: inline-block; }
.cmp-bar { display: flex; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; font-size: 12px; color: var(--fg-2); background: var(--a-surface-2); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; color: var(--a-muted); }
.sp { flex: 1; }
.sym { width: 24px; text-align: center; font-size: 13px; color: var(--a-subtle); }
.send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--a-surface-3); color: var(--a-muted); transition: background .2s, color .2s; }
.send svg { width: 16px; height: 16px; }
.cmp.typing .send { background: var(--accent); color: #fff; }

/* Animierte Elemente: erst sichtbar, wenn ihr Moment da ist */
.js [data-at]:not(.beat):not(.is-on) { display: none; }
.js .ptr[data-at]:not(.is-on) { display: block; opacity: 0; }
.js .is-on:is(.msg-u, .take, .steps, .st, .fg, .ans, .event, .plan, .pl, .fg-done) { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.js [data-hide].is-gone { display: none !important; }

/* Kapitel-Chips am Handy (statt Seitenleiste) */
.scene-chips { display: none; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.lines { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.lines a, .lines span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg-2); }
.lines svg { color: var(--mint); }
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; border-radius: 20px; background: var(--a-bg); border: 1px solid var(--a-border-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.pilot label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--fg-2); }
.pilot .full { grid-column: 1 / -1; }
.termin-reihe { position: relative; display: grid; grid-template-columns: 1fr; gap: 10px; }
.termin-wahl[hidden] { display: none; }
/* Der offene Kalender liegt frei: die Film-Leiste weicht, solange er offen ist */
body.termin-offen .tour:not(.playing) { opacity: 0; pointer-events: none; transform: translate(-50%, 30px); }
.termin-hinweis { font-weight: 400; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.termin-feld.ist-offen > .termin-hinweis { opacity: 0; }
.pilot input, .pilot select, .pilot textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--a-border-2); background: var(--a-surface); color: var(--fg); }
.pilot input:focus, .pilot select:focus, .pilot textarea:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(62, 207, 163, .2); }
.pilot textarea { min-height: 130px; resize: vertical; }
.pilot .hint { font-size: 13.5px; color: var(--muted); align-self: center; }
.pilot .hint.ok { color: var(--mint); font-weight: 600; }
.pilot .hint.err { color: #ff8a80; font-weight: 600; }
.pilot .hint a { color: var(--mint); }
.pilot .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.pilot .consent a { color: var(--mint); }
.pilot .consent input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--accent); }
.pilot .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pilot button { justify-self: end; }
.pilot button:disabled { opacity: .7; cursor: default; }

/* ---------- Terminwunsch: eigener Kalender und Zeitfenster ---------- */
.termin-feld { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; font-size: 13.5px; font-weight: 600; color: var(--fg-2); }
.termin-feld legend { padding: 0; }
.pilot .termin-wahl, .pilot .termin-tag { justify-self: stretch; }
/* Das Blatt hängt auf dem Handy direkt im body: die Breiten-Regeln dürfen nicht am Formular hängen */
.termin-wahl, .termin-tag, .termin-slot { justify-self: stretch; }
.termin-wahl, .termin-tag, .termin-slot, .termin-blatt, .termin-zu, .termin-weg, .termin-fertig { touch-action: manipulation; }
.termin-wahl { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px 12px 12px 14px; border-radius: 12px; border: 1px solid var(--a-border-2); background: var(--a-surface); font-weight: 400; font-size: 16px; line-height: 1.2; text-align: left; color: var(--fg); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.termin-wahl:hover { border-color: #3d564e; background: var(--a-surface-2); }
.termin-wahl:focus-visible { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(62, 207, 163, .2); }
.termin-wahl.ist-offen { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(62, 207, 163, .16); }
.termin-wahl[aria-invalid="true"] { border-color: #ff8a80; }
.termin-ic { color: var(--mint); }
.termin-wert { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.termin-wahl.ist-gesetzt .termin-wert { color: var(--fg); font-weight: 500; }
.termin-pfeil { color: var(--subtle); transition: transform .2s var(--ease); }
.termin-wahl.ist-offen .termin-pfeil { transform: rotate(180deg); }

.termin-panel { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 10px); display: grid; grid-template-columns: minmax(0, 1fr) 156px; grid-template-areas: "kopf kopf" "kalender zeiten" "fuss fuss"; gap: 16px 20px; padding: 16px 16px 14px; border-radius: 16px; border: 1px solid var(--a-border-2); background: linear-gradient(180deg, #12201c, #0b1512 72%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); animation: termin-auf .18s var(--ease); }
.termin-panel[hidden] { display: none; }
@keyframes termin-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Handy und Tablet: der Kalender passt nicht unter das Feld, dort öffnet er als Blatt von unten */
.termin-tuch { position: fixed; inset: 0; z-index: 70; background: rgba(3, 8, 7, .64); touch-action: none; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: termin-tuch-auf .2s var(--ease); }
.termin-tuch[hidden] { display: none; }
@keyframes termin-tuch-auf { from { opacity: 0; } to { opacity: 1; } }
.termin-panel.ist-blatt { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 71; max-height: 94vh; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "kalender" "zeiten" "fuss"; align-content: start; gap: 12px; padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 20px 20px 0 0; box-shadow: 0 -30px 70px -24px rgba(0, 0, 0, .95); animation: termin-blatt-auf .22s var(--ease); }
.termin-panel.ist-blatt .termin-monat { margin-bottom: 8px; }
.termin-panel.ist-blatt .termin-zeiten { border-left: 0; border-top: 1px solid var(--a-border); padding: 12px 0 0; }
.termin-panel.ist-blatt .termin-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.termin-panel.ist-blatt .termin-slot { padding: 11px 0; border-radius: 12px; font-size: 16px; }
.termin-panel.ist-blatt .termin-tag { height: 42px; border-radius: 12px; font-size: 16px; }
.termin-panel.ist-blatt .termin-tage { gap: 6px 4px; }
.termin-panel.ist-blatt .termin-fertig { padding: 12px 26px; font-size: 15px; }
.termin-panel.ist-blatt .termin-weg { font-size: 14px; }
.termin-panel.ist-blatt { padding-bottom: 0; }
.termin-panel.ist-blatt .termin-fuss { position: sticky; bottom: 0; z-index: 2; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #0c1613; }
.termin-panel.ist-blatt .termin-kopf { position: sticky; top: -14px; z-index: 2; margin: -14px -16px 0; padding: 14px 16px 10px; background: #111e1a; border-bottom: 1px solid var(--a-border); }
.termin-panel.ist-blatt .termin-zeiten { scroll-margin-bottom: calc(84px + env(safe-area-inset-bottom)); }
@keyframes termin-blatt-auf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.termin-kopf { grid-area: kopf; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.termin-titel { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.termin-kopf .termin-titel { font-size: 11.5px; color: var(--mint-hi); }
.termin-wahl-jetzt { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.termin-wahl-jetzt:empty { display: none; }
.termin-zu { display: grid; place-items: center; width: 26px; height: 26px; margin: -4px -4px -4px 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--subtle); cursor: pointer; }
.termin-zu:hover { background: var(--a-surface-2); color: var(--fg); }

.termin-kalender { grid-area: kalender; min-width: 0; }
.termin-monat { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.termin-monat-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--fg); }
.termin-blatt { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 9px; border: 1px solid var(--a-border); background: transparent; color: var(--fg-2); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.termin-blatt:hover:not(:disabled) { background: var(--a-surface-2); border-color: var(--a-border-2); color: var(--fg); }
.termin-blatt:disabled { opacity: .3; cursor: default; }
.termin-wochentage, .termin-tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.termin-wochentage { margin-bottom: 4px; }
.termin-wochentage span { text-align: center; font: 500 10.5px/1.9 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.termin-luecke { display: block; }
.termin-tag { display: grid; place-items: center; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--fg-2); font-size: 14.5px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
@media (hover: hover) { .termin-tag:hover:not(:disabled):not([aria-pressed="true"]) { background: var(--a-surface-2); border-color: var(--a-border); color: var(--fg); } }
.termin-tag:disabled { color: rgba(143, 163, 157, .42); cursor: default; }
.termin-tag[data-heute] { box-shadow: inset 0 0 0 1px var(--a-border-2); }
.termin-tag[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--night); font-weight: 650; box-shadow: 0 6px 16px -8px rgba(62, 207, 163, .9); }
.termin-tag:focus-visible { outline: 0; box-shadow: 0 0 0 2px #0d1715, 0 0 0 4px var(--mint); }

.termin-zeiten { grid-area: zeiten; border-left: 1px solid var(--a-border); padding-left: 18px; }
.termin-zeiten .termin-titel { display: flex; align-items: center; height: 30px; margin-bottom: 10px; }
.termin-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.termin-slot { padding: 7px 0; border-radius: 8px; border: 1px solid var(--a-border); background: transparent; color: var(--fg-2); font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
@media (hover: hover) { .termin-slot:hover:not([aria-pressed="true"]) { background: var(--a-surface-2); border-color: var(--a-border-2); color: var(--fg); } }
.termin-slot[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--night); font-weight: 650; }
.termin-slot:focus-visible { outline: 0; box-shadow: 0 0 0 2px #0d1715, 0 0 0 4px var(--mint); }
.termin-zeiten .termin-hinweis { margin: 10px 0 0; }

.termin-fuss { grid-area: fuss; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--a-border); }
.termin-weg { padding: 6px 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; }
.termin-weg:hover:not(:disabled) { color: var(--mint-hi); }
.termin-weg:disabled { color: rgba(143, 163, 157, .35); cursor: default; }
.termin-fertig { padding: 8px 18px; border-radius: 999px; border: 0; background: var(--mint); color: var(--night); font-size: 13.5px; font-weight: 650; cursor: pointer; transition: background .2s; }
.termin-fertig:hover { background: var(--mint-hi); }
.termin-fehler { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: #ff8a80; }
.termin-fehler:empty { display: none; }

/* FAQ */
.narrow-wrap { width: min(860px, calc(100% - 32px)); }
.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 24px var(--mono); color: var(--mint); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 20px; font-size: 16px; color: var(--fg-2); }

/* Fuss */
.legal { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; color: var(--muted); background: var(--night); }
.legal .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.lg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; }
.lg-links a { margin-left: 18px; color: var(--fg-2); text-decoration: none; display: inline-block; padding: 8px 0; }
.lg-links a[hidden] { display: none; }
.lg-links a:hover { color: var(--fg); }
/* =========================================================
   Hero: Branche wählen, eigener Auftrag, Vorschläge
   ========================================================= */
.hero-ctl { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 14px; }
.ctl-l { display: inline-flex; align-items: center; gap: 10px; font: 12.5px/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.ctl-r { margin-left: auto; font: 12px/1 var(--mono); color: var(--subtle); }
.branch { display: flex; gap: 6px; flex-wrap: wrap; }
.branch button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--fg-2); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.branch button:hover { border-color: rgba(143, 240, 207, .45); color: var(--fg); }
.branch button[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--night); font-weight: 600; }
.cmp-field { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font: inherit; font-size: 14.5px; padding: 0; }
.cmp-field::placeholder { color: var(--a-subtle); }
.cmp-live:focus-within { border-color: rgba(62, 207, 163, .6); box-shadow: 0 0 0 3px rgba(62, 207, 163, .15); }
.cmp-live .send { border: 0; cursor: pointer; }
.cmp-live:focus-within .send, .cmp-live .send:hover { background: var(--accent); color: #fff; }
.hero-sug { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sug-l { font: 12px/1 var(--mono); color: var(--subtle); margin-right: 2px; }
.hero-sug button { padding: 7px 13px; border-radius: 12px 12px 12px 4px; border: 1px solid rgba(62, 207, 163, .25); background: rgba(18, 154, 120, .1); color: var(--fg); font-size: 13px; cursor: pointer; text-align: left; transition: background .2s, border-color .2s; }
.hero-sug button:hover { background: rgba(18, 154, 120, .2); border-color: rgba(62, 207, 163, .5); }
.demo-note { align-self: center; margin: 0; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--a-border-2); font: 11px/1.3 var(--mono); letter-spacing: .03em; color: var(--a-muted); }
.ans a { color: var(--mint); font-weight: 600; text-decoration: none; }
.ans a:hover { text-decoration: underline; }
.br.is-sel { border-color: rgba(62, 207, 163, .8); background: rgba(18, 154, 120, .22); box-shadow: 0 0 0 3px rgba(62, 207, 163, .12); }
@media (max-width: 900px) {
  .hero-ctl { padding-right: 0; }
  .ctl-r { display: none; }
  .branch { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; width: calc(100% + 32px); }
  .branch::-webkit-scrollbar { display: none; }
  .branch button { flex: none; }
  .hero-sug { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .hero-sug::-webkit-scrollbar { display: none; }
  .hero-sug button { flex: none; max-width: 260px; }
  .cmp-field { font-size: 16px; }
}
.to-top { position: fixed; z-index: 55; right: 18px; bottom: 18px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10, 19, 17, .82); color: var(--mint); cursor: pointer; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(62, 207, 163, .6); background: rgba(18, 154, 120, .25); }
.to-top:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* Eli, das Maskottchen: dieselbe Figur wie auf /eli */
.eli-host { position: absolute; pointer-events: auto; --surface: #fffdf8; }
.eli-host:empty { pointer-events: none; }
/* ---------- Sprachwahl in der Kopfzeile: ruhige Pille wie der Film-Knopf, folgt Nacht und Tag ---------- */
.top-rechts { display: flex; align-items: center; gap: 10px; flex: none; }
.sprache { position: relative; }
.sprache > summary { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--fg); font-size: 13px; font-weight: 600; letter-spacing: .02em; cursor: pointer; list-style: none; user-select: none; transition: border-color .2s, background .2s; }
.sprache > summary::-webkit-details-marker { display: none; }
.sprache > summary:hover, .sprache[open] > summary { border-color: rgba(143, 240, 207, .45); }
.sprache > summary svg { flex: none; }
.sprache .sp-pfeil { transition: transform .2s; opacity: .7; }
.sprache[open] .sp-pfeil { transform: rotate(180deg); }
.sprache ul { position: absolute; top: calc(100% + 8px); right: 0; min-width: 164px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; border: 1px solid rgba(190, 240, 222, .14); background: #0b1815; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .65); }
.sprache li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 11px; border-radius: 9px; color: #dbe7e3; font-size: 14px; font-weight: 500; text-decoration: none; }
.sprache li a small { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: #8fa39d; }
.sprache li a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lg-sprachen { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lg-sprachen a { text-decoration: none; }
.lg-sprachen a:hover { text-decoration: underline; }
.lg-sprachen a[aria-current] { font-weight: 600; }
.pilot > .btn { align-self: center; }
.rechner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; align-items: start; }
.r-ein, .r-aus { padding: 26px 28px; border-radius: 20px; border: 1px solid var(--line-2); background: #fffdf8; }
.r-ein label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 8px; font-size: 14.5px; font-weight: 500; color: var(--fg-2); }
.r-ein label:not(:first-child) { margin-top: 22px; }
.r-ein .r-wert { flex: none; font: 600 15px var(--mono); color: #0b6350; white-space: nowrap; }
.r-ein input[type=range] { display: block; width: 100%; height: 24px; margin: 0; accent-color: #0b6350; cursor: pointer; }
.r-aus { background: #0a1014; border-color: rgba(11, 99, 80, .45); box-shadow: 0 24px 60px -30px rgba(11, 99, 80, .6); }
.r-aus .r-lab { margin: 0; font: 500 11.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8aa79c; }
.r-aus .r-lab:not(:first-child) { margin-top: 18px; }
.r-aus .r-gross { margin: 6px 0 0; font-size: clamp(26px, 3vw, 38px); font-weight: 650; line-height: 1.05; letter-spacing: -.04em; color: #fff; }
.r-aus .r-gross b { font-weight: 650; color: #8ff0cf; }
.r-aus .r-hinweis { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: #a9bcb4; }
.r-aus .r-mitt { margin: 6px 0 0; font-size: 17px; font-weight: 600; color: #cfe7df; }
.r-aus .r-mitt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: #7f948c; }
