/* app-demo.css — Interaktive App-Vorschau im Hero (inc/app-demo.php)
   Look = L4K-App (Runde 13): echtes Schwarz, Glas, Geist, Rot nur als Signal.
   Der Screen ist 393 × 852 gebaut und wird per --ad-s auf die Rahmenbreite skaliert. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.ad { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; width: 100%; }

/* ---------- iPhone ---------- */
.ad-phone {
  position: relative; width: min(100%, 330px, calc((78vh - 24px) * .4613)); min-width: 250px; padding: 4px; border-radius: 58px;
  background: #2B2B2E;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.6), 0 50px 110px -30px rgba(0,0,0,.95);
}
.ad-phone::before, .ad-phone::after { content: ""; position: absolute; width: 3px; background: #2B2B2E; }
.ad-phone::before { left: -3px; top: 18%; height: 9%; border-radius: 2px 0 0 2px; box-shadow: 0 calc(var(--ad-w, 330px) * .32) 0 #2B2B2E; }
.ad-phone::after { right: -3px; top: 27%; height: 13%; border-radius: 0 2px 2px 0; }
.ad-bezel { padding: 8px; border-radius: 54px; background: #060607; }
.ad-viewport {
  pointer-events: none; /* läuft wie ein Video, nicht bedienbar */
  position: relative; width: 100%; aspect-ratio: 393 / 852; border-radius: 46px; overflow: hidden; background: #000;
  -webkit-tap-highlight-color: transparent; isolation: isolate;
}
.ad-screen {
  --red: #E5352B; --red-t: #FF4A3F; --t1: #F5F5F7; --t2: #C7C7CC; --t3: #8A8A90; --t4: #55555A;
  --glass: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  --line: 1px solid rgba(255,255,255,.07);
  position: absolute; left: 0; top: 0; width: 393px; height: 852px;
  transform: scale(var(--ad-s, .79)); transform-origin: 0 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.3; color: var(--t1); background: #000;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
  overflow: hidden; user-select: none; -webkit-user-select: none;
}
.ad-screen button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.ad-screen svg { display: block; flex-shrink: 0; }
.ad-screen b { font-weight: 600; }
.ad-screen small { font-size: 13px; color: var(--t3); }

/* ---------- Ansichten ---------- */
.ad-view {
  position: absolute; inset: 0; padding: 62px 20px 120px; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .35s ease, transform .35s ease, visibility 0s .35s;
}
.ad-view.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
.ad-sheet {
  position: absolute; inset: 0; z-index: 20; background: #000; transform: translateY(102%);
  transition: transform .5s cubic-bezier(.22,1,.36,1); visibility: hidden;
}
.ad-sheet.ad-push { transform: translateX(102%); }
.ad-sheet.is-open { transform: none; visibility: visible; }
.ad-sheet:not(.is-open) { transition: transform .45s cubic-bezier(.22,1,.36,1), visibility 0s .45s; }
.ad-sheet-in { padding: 62px 20px 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Bausteine ---------- */
.ad-head { display: flex; justify-content: space-between; align-items: flex-end; min-height: 52px; }
.ad-head > div { display: flex; flex-direction: column; gap: 2px; }
.ad-h1 { font-size: 34px; font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.ad-sub { font-size: 13px; color: var(--t3); font-weight: 500; }
.ad-strong { font-size: 14px; color: var(--t2); font-weight: 600; }
.ad-block { display: block; margin-top: 4px; }
.ad-faint { font-size: 12px; color: var(--t4); }
.ad-flex { display: flex; align-items: center; gap: 6px; }
.ad-gap10 { gap: 10px; } .ad-gap12 { gap: 12px; } .ad-gap14 { gap: 14px; }
.ad-row-between { display: flex; justify-content: space-between; align-items: center; }
.ad-h44 { height: 44px; } .ad-w44 { width: 44px; }
.ad-17 { font-size: 17px; } .ad-14 { font-size: 14px !important; } .ad-22 { font-size: 22px; letter-spacing: -.03em; } .ad-30 { font-size: 30px !important; }
.ad-tab-num { font-variant-numeric: tabular-nums; }
.ad-red { color: var(--red-t); }
.ad-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--glass); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.ad-avatar-sm { width: 36px; height: 36px; font-size: 12px; background: rgba(255,255,255,.10); border: 0; }
.ad-avatar-lg { width: 48px; height: 48px; font-size: 15px; background: #2A2A2E; border: 0; }
.ad-chip { height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.ad-label { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; margin-bottom: -8px; font-size: 13px; font-weight: 500; color: var(--t3); }

.ad-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ad-day { height: 60px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.ad-day small { font-size: 11px; font-weight: 500; }
.ad-day b { font-size: 15px; font-weight: 500; color: var(--t4); }
.ad-day i { width: 5px; height: 5px; border-radius: 50%; }
.ad-day.is-done b { color: var(--t1); } .ad-day.is-done i { background: var(--t1); }
.ad-day.is-today { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.ad-day.is-today b { color: var(--t1); font-weight: 600; } .ad-day.is-today i { background: rgba(255,255,255,.28); }
.ad-day.is-today.is-done i { background: var(--t1); }

.ad-hero-card { border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.10); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ad-title { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.ad-meta { display: block; margin-top: 6px; font-size: 15px; color: var(--t2); }
.ad-btn-red, .ad-btn-white { height: 56px; width: 100%; border-radius: 28px !important; display: flex !important; align-items: center; justify-content: center; gap: 8px; font-size: 16px !important; font-weight: 600 !important; text-align: center !important; transition: transform .15s ease; }
.ad-btn-red { background: var(--red) !important; color: #fff !important; box-shadow: 0 8px 24px rgba(229,53,43,.4); }
.ad-btn-white { background: var(--t1) !important; color: #000 !important; }
.ad-bottom { position: absolute; left: 20px; right: 20px; bottom: 24px; width: auto; }

.ad-group { border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.ad-item { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 0 14px 0 16px; box-sizing: border-box; }
.ad-group > * + * { border-top: var(--line); }
.ad-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ad-item-text b { font-size: 16px; font-weight: 500; }
.ad-tile { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ad-letter { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.ad-new { height: 22px; padding: 0 8px; border-radius: 11px; background: var(--t1); color: #000; font-size: 11px; font-weight: 600; display: flex; align-items: center; }
.ad-item.is-cleared { opacity: .45; }
.ad-ring { --p: 50%; width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--t1) 0 var(--p), rgba(255,255,255,.12) var(--p) 100%); transition: --p .4s; }
.ad-ring > span { width: 28px; height: 28px; border-radius: 50%; background: #0D0D0E; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; }
.ad-ring-lg { width: 52px; height: 52px; } .ad-ring-lg > span { width: 42px; height: 42px; background: #000; font-size: 14px; }

.ad-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; border-radius: 14px; background: rgba(255,255,255,.06); }
.ad-seg button { padding: 8px 0 !important; border-radius: 10px !important; font-size: 14px; font-weight: 600; color: var(--t3) !important; text-align: center !important; transition: background .25s, color .25s; }
.ad-seg button[aria-selected="true"] { background: rgba(255,255,255,.14) !important; color: var(--t1) !important; }
.ad-pane { display: flex; flex-direction: column; gap: 16px; }
.ad-pane[hidden] { display: none; }

.ad-supp .ad-check { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); transition: background .25s, box-shadow .25s, color .25s; }
.ad-supp.is-done .ad-check { background: var(--t1); color: #000; box-shadow: none; }
.ad-supp.is-done .ad-item-text b { color: var(--t3); }
.ad-supp { min-height: 58px; }

.ad-macros { border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ad-macros > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.ad-big { font-size: 40px; font-weight: 300; letter-spacing: -.05em; }
.ad-macro-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ad-macro-row span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--t3); }
.ad-macro-row b { font-size: 16px; color: var(--t1); }

.ad-stat { display: flex; flex-direction: column; gap: 8px; }
.ad-num { display: flex; align-items: baseline; gap: 6px; font-size: 22px; color: var(--t3); }
.ad-num b { font-size: 68px; font-weight: 300; letter-spacing: -.055em; line-height: .95; color: var(--t1); }
.ad-delta { height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.ad-delta.ad-green { color: #4ADE80; background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.22); }
.ad-chart { width: 353px; height: auto; overflow: visible; font-family: inherit; }
.ad-chart text { font-family: "Geist", sans-serif; }
.ad-draw .ad-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ad-draw.is-drawing .ad-line { animation: adDraw 1.4s cubic-bezier(.4,0,.2,1) both; }
.ad-draw.is-drawing .ad-dots, .ad-draw.is-drawing .ad-pr { animation: adFadeIn .5s 1.1s both; }
.ad-draw.is-drawing .ad-pr-halo { animation: adHalo 1.6s 1.4s ease-out 2 both; }
@keyframes adDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes adFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes adHalo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.ad-pr-halo { transform-box: fill-box; transform-origin: center; }
.ad-legend { display: flex; gap: 16px; margin-top: -8px; font-size: 12px; color: var(--t4); }
.ad-legend span { display: flex; align-items: center; gap: 6px; }
.ad-lg-dot { width: 5px; height: 5px; border-radius: 50%; background: #6E6E73; }
.ad-lg-line { width: 14px; height: 2px; border-radius: 1px; background: var(--t1); }
.ad-lg-dash { width: 14px; border-top: 1.5px dashed var(--t3); }
.ad-stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.ad-stats3 span { display: flex; flex-direction: column; gap: 4px; }
.ad-stats3 span + span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.08); }
.ad-stats3 small { font-size: 12px; }
.ad-stats3 b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }

/* Tab-Leiste */
.ad-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: 9; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.92) 60%); }
.ad-tabs { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10; height: 64px; padding: 0 8px; box-sizing: border-box; border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 20px 40px rgba(0,0,0,.5); display: flex; align-items: center; gap: 4px; }
.ad-tab { height: 48px; border-radius: 24px !important; display: flex !important; align-items: center; justify-content: center; transition: background .3s, padding .3s; }
.ad-tab .ad-tab-off { width: 56px; height: 48px; display: flex; align-items: center; justify-content: center; }
.ad-tab .ad-tab-on { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 0 18px; }
.ad-tab.is-active { background: rgba(255,255,255,.14) !important; }
.ad-tab.is-active .ad-tab-off { display: none; }
.ad-tab.is-active .ad-tab-on { display: flex; }

/* Logbuch */
.ad-glass-btn { width: 44px; height: 44px; box-sizing: border-box; border-radius: 50% !important; background: var(--glass) !important; border: 1px solid rgba(255,255,255,.14) !important; display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
.ad-56 { width: 56px; height: 56px; }
.ad-glass-pill { height: 40px; padding: 0 16px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ad-ex { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.ad-mini-ic { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ad-chips span { height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(255,255,255,.07); display: flex; align-items: center; font-size: 12px; font-weight: 500; color: var(--t2); }
.ad-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: rgba(255,255,255,.03); }
.ad-note svg { margin-top: 1px; }
.ad-note > span { display: flex; flex-direction: column; gap: 2px; }
.ad-note small { font-size: 12px; }
.ad-note b { font-size: 14px; font-weight: 500; }
.ad-set { display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px 52px 46px; gap: 8px; align-items: center; height: 46px; padding: 0 14px; }
.ad-set-head { height: auto; padding: 10px 14px 8px; font-size: 11px; color: var(--t4); }
.ad-set-head span:nth-child(n+3) { text-align: center; }
.ad-mark { width: 26px; height: 26px; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--t3); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); transition: background .25s, color .25s, box-shadow .25s; }
.ad-last { font-size: 12px; color: var(--t3); white-space: nowrap; }
.ad-cell { height: 34px; border-radius: 10px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--t4); transition: color .25s, box-shadow .25s; }
.ad-set.is-done .ad-cell { color: var(--t1); font-weight: 600; }
.ad-set.is-done .ad-mark { background: var(--t1); color: #000; box-shadow: none; }
.ad-set.is-done.is-warm .ad-mark { background: rgba(255,255,255,.22); }
.ad-set.is-active { background: rgba(255,255,255,.04); }
.ad-set.is-active .ad-mark { box-shadow: inset 0 0 0 1.5px var(--t1); color: var(--t1); }
.ad-set.is-active .ad-cell:nth-child(3) { color: var(--t1); font-weight: 600; }
.ad-set.is-active .ad-cell:nth-child(4) { box-shadow: inset 0 0 0 1.5px var(--t1); }
.ad-set.is-active .ad-mark { animation: adPulse 1.8s ease-in-out infinite; }
@keyframes adPulse { 50% { box-shadow: inset 0 0 0 1.5px var(--t1), 0 0 0 5px rgba(255,255,255,.10); } }
.ad-cell.is-record { color: var(--red-t) !important; }
.ad-add { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--t2); }
.ad-pause { position: absolute; left: 12px; right: 12px; bottom: 92px; height: 62px; box-sizing: border-box; border-radius: 31px; background: rgba(30,30,32,.82); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 40px rgba(0,0,0,.5); padding: 0 9px 0 20px; display: flex; align-items: center; gap: 10px; animation: adUp .4s cubic-bezier(.22,1,.36,1); }
.ad-pause[hidden] { display: none; }
.ad-pause-txt { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ad-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.ad-bar i { display: block; height: 100%; width: 100%; border-radius: 2px; background: var(--red); transform-origin: left; transition: transform 1s linear; }
.ad-round { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.ad-next { position: absolute; left: 12px; right: 12px; bottom: 24px; display: flex; gap: 10px; }
.ad-next-pill { flex: 1; height: 56px; box-sizing: border-box; border-radius: 28px; background: var(--glass); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 10px; padding: 0 16px 0 20px; }
.ad-next-pill small { font-size: 11px; font-weight: 500; }
.ad-next-pill b { font-size: 15px; font-weight: 600 !important; }
@keyframes adUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Tagescheck */
.ad-field { height: 42px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px var(--t1); display: flex; align-items: center; gap: 4px; }
.ad-field b, .ad-value b { font-size: 19px; }
.ad-value { display: flex; align-items: baseline; gap: 4px; }
.ad-scale-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 54px; padding: 0 12px 0 16px; font-size: 15px; font-weight: 500; color: var(--t2); }
.ad-scale { display: flex; gap: 6px; }
.ad-scale button { width: 30px; height: 30px; box-sizing: border-box; border-radius: 50% !important; border: 1px solid rgba(255,255,255,.08) !important; background: rgba(255,255,255,.05) !important; color: var(--t3) !important; display: flex !important; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.ad-scale button.is-on { background: var(--t1) !important; color: #000 !important; }

/* Rückmeldung */
.ad-voice { border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.ad-play { width: 40px; height: 40px; border-radius: 50% !important; background: var(--red) !important; display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
.ad-play .ad-pause-i, .ad-voice.is-playing .ad-play-i { display: none; }
.ad-voice.is-playing .ad-pause-i { display: block; }
.ad-wave { flex: 1; height: 30px; display: flex; align-items: center; gap: 3px; }
.ad-wave i { width: 3px; border-radius: 2px; background: rgba(255,255,255,.3); transition: background .2s; }
.ad-wave i.is-on { background: var(--t1); }
.ad-text { margin: 0; font-size: 16px; line-height: 1.55; color: #E5E5EA; }
.ad-change { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; font-size: 15px; }
.ad-change > span { flex: 1; }
.ad-change s { font-size: 14px; color: var(--t4); }
.ad-change b { font-size: 15px; }

/* Rekord-Hinweis, Finger der Tour */
.ad-toast { position: absolute; left: 50%; top: 58px; z-index: 40; transform: translate(-50%, calc(-100% - 80px)); display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 22px; white-space: nowrap;
  background: rgba(30,30,32,.86); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: 0 20px 40px rgba(0,0,0,.6);
  transition: transform .5s cubic-bezier(.22,1,.36,1); }
.ad-toast.is-on { transform: translate(-50%, 0); }
.ad-toast > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.ad-toast b { font-size: 14px; } .ad-toast small { font-size: 12px; }
.ad-toast-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229,53,43,.25); }
.ad-finger { position: absolute; z-index: 50; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: rgba(255,255,255,.28); border: 1.5px solid rgba(255,255,255,.6); box-shadow: 0 6px 18px rgba(0,0,0,.4);
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .25s; }
.ad-finger.is-on { opacity: 1; }
.ad-finger.is-tap { animation: adTap .32s ease-out; }
@keyframes adTap { 50% { transform: var(--ad-pos) scale(.8); background: rgba(255,255,255,.45); } }
.ad-screen .is-pressed { transform: scale(.97); }

/* Unter dem Handy */

@media (max-width: 640px) {
  .ad-phone { width: min(82vw, 300px); border-radius: 52px; }
  .ad-bezel { border-radius: 48px; padding: 7px; }
  .ad-viewport { border-radius: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-view, .ad-sheet, .ad-toast, .ad-finger, .ad-ring, .ad-bar i { transition: none !important; }
  .ad-draw.is-drawing .ad-line, .ad-draw.is-drawing .ad-dots, .ad-draw.is-drawing .ad-pr, .ad-draw.is-drawing .ad-pr-halo, .ad-set.is-active .ad-mark, .ad-pause { animation: none !important; }
}

/* ======================================================================
   Hero mit Formbild (08.10.2026): Text links, Lasse rechts im LED-Raum.
   Bewusste Ausnahme von den Slop-Regeln vom August, nur im Hero.
   ====================================================================== */
.hero--form { isolation: isolate; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: grid; align-content: center; box-sizing: border-box; }
.hero--form .hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #030304; }
.hero--form .hero-bg > * { position: absolute; inset: 0; }

/* unscharfe Fassung des Raums über das ganze Hero */
.hb-ambient { background: url("hero-form-ambient.webp") 78% 60% / cover no-repeat; opacity: .5; transform: scale(1.12); }

/* Formbild: Breite ergibt sich aus der Bildhöhe (112 % des Hero) */
.hero--form .hb-figure { inset: auto; top: -4%; height: 112%; width: auto; right: calc((100vw - 1440px) * .5 + 23px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%), linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%), linear-gradient(180deg, #000 0%, #000 74%, transparent 100%); mask-composite: intersect;
  animation: hbZoom 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hb-figure img { display: block; height: 100%; width: auto; max-width: none; }
.hb-figure picture { display: contents; }
/* Seit 09.10. nur noch eine Pose (Fäuste vor dem Bauch, wie das WhatsApp-Profilbild); der Wechsel über Schwarz ist entfernt */
@keyframes hbZoom { from { transform: scale(1); } to { transform: scale(1.035); } }

.hb-grain { opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero--form .hero-bg-shade { background:
  linear-gradient(90deg, rgba(3,3,4,.88) 0%, rgba(3,3,4,.66) 36%, rgba(3,3,4,.12) 60%, rgba(3,3,4,0) 100%),
  linear-gradient(180deg, rgba(3,3,4,0) 0%, rgba(3,3,4,0) 72%, var(--bg, #0a0a0b) 100%); }

@media (max-width: 1100px) {
  .hero--form .hb-figure { right: -10vw; }
}
/* Handy: du oben groß im Bild, der Text darunter.
   Seit 09.10.: eigener Zuschnitt aus dem 4K-Original (hero-form-m.webp, Lasse exakt mittig), volle Breite ohne Verschieben/Seitenmaske.
   Im Bild (Breite W): Kopf bei 0,665 W, Hüfte bei 1,292 W. --hb-t = Textanfang; Hüfte sitzt 25 vw darüber,
   der Kopf aber nie höher als 40 px unter der Navigation (kleine Handys). */
@media (max-width: 860px) {
  .hero--form { --hb-t: calc(var(--nav-h, 68px) + 46svh);
    min-height: 0; align-content: start; padding-top: var(--hb-t); }
  .hero--form .hb-figure { inset: auto; left: 0; right: 0; width: 100%; height: auto; transform: none; animation: none;
    top: max(calc(var(--hb-t) - 154.2vw), calc(var(--nav-h, 68px) + 40px - 66.5vw));
    -webkit-mask-image: none; mask-image: none; }
  .hero--form .hb-figure img { width: 100%; height: auto; }
  .hero--form .hb-ambient, .hero--form .hb-grain { display: none; }
  .hero--form .hero-bg-shade { background: linear-gradient(180deg, rgba(10,10,11,.45) 0, rgba(10,10,11,0) calc(var(--nav-h, 68px) + 50px),
    rgba(10,10,11,0) calc(var(--hb-t) - 110px), rgba(10,10,11,.85) calc(var(--hb-t) + 20px), var(--bg, #0a0a0b) calc(var(--hb-t) + 110px)); }
  .hero--form .hero-bg { background: var(--bg, #0a0a0b); }
}
@media (prefers-reduced-motion: reduce) {
  .hb-figure { animation: none !important; }
}

/* Hero-CTA: klein und schlicht, nur WhatsApp */
.hero--form .hero-actions { align-items: center; }
.hero-wa { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem 1.1rem .55rem .55rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04);
  color: var(--text, #f7f7f6); font-size: var(--text-sm, .9375rem); font-weight: 600; text-decoration: none; transition: border-color .25s ease, background .25s ease; }
.hero-wa:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.hero-wa:focus-visible { outline: 2px solid var(--accent, #ff3b33); outline-offset: 3px; }
.hero-wa-ico { width: 30px; height: 30px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-wa-ico svg { width: 18px; height: 18px; }
.hero-wa-arrow { width: 16px; height: 16px; color: var(--text-2, #D8D8DD); transition: transform .25s ease; }
.hero-wa:hover .hero-wa-arrow { transform: translateX(3px); }
@media (max-width: 860px) { .hero--form .hero-actions { flex-direction: row; align-items: center; } .hero--form .hero-actions .hero-wa { width: auto; } }

/* ======================================================================
   Ablauf im neuen Look: Icons auf einer Linie, ein rotes Licht läuft durch
   ====================================================================== */
.st-grid { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.st-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); }
.st-grid::after { content: ""; position: absolute; top: 23px; left: -12%; width: 12%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(229,53,43,0), #FF4A3F, rgba(229,53,43,0)); filter: blur(.4px); animation: stRun 7s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes stRun { 0% { left: -12%; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.st { position: relative; }
.st-ico { position: relative; z-index: 1; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 15px; display: grid; place-items: center; color: var(--text, #f7f7f6);
  background: #0e0e10; border: 1px solid rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 30px -12px rgba(0,0,0,.8); }
.st-ico .ad-i { width: 22px; height: 22px; }
.st:first-child .st-ico { color: #FF6A60; border-color: rgba(229,53,43,.4); }
.st h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: var(--text-lg, 1.25rem); font-weight: 700; letter-spacing: -.01em; }
.st p { margin: 0; font-size: var(--text-sm, .9375rem); line-height: 1.6; color: var(--text-2, #D8D8DD); }
@media (max-width: 860px) {
  .st-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-grid::before { left: 24px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); }
  .st-grid::after { display: none; }
  .st { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .st-ico { grid-row: span 2; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .st-grid::after { display: none; } }

/* ======================================================================
   Kontakt (#kontakt) im neuen Look: Text + Chat-Vorschau (gewählt 08.10.)
   ====================================================================== */
.kx .title { margin: 18px 0 16px; }
.kx .lead { margin: 0; max-width: 34rem; }
.kx-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 9px 22px 9px 9px; min-height: 60px; box-sizing: border-box; border-radius: 999px; background: #F5F5F7; color: #000; text-decoration: none; font-weight: 600; font-size: var(--text-base, 1.0625rem);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 18px 50px -14px rgba(229,53,43,.45); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.kx-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 24px 60px -14px rgba(229,53,43,.6); }
.kx-btn:focus-visible { outline: 2px solid var(--accent, #ff3b33); outline-offset: 4px; }
.kx-btn-ico { width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kx-btn-ico svg { width: 22px; height: 22px; }
.kx-btn-arrow { display: inline-flex; margin-left: 6px; }
.kx-btn-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
.kx-btn:hover .kx-btn-arrow svg { transform: translateX(3px); }

/* B: Text links, Chat-Vorschau rechts */
.kb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.kb-chat { position: relative; display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; isolation: isolate; text-decoration: none; color: inherit;
  border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 50px 100px -50px rgba(0,0,0,1); transition: border-color .3s ease, transform .3s ease; }
.kb-chat:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.kb-chat::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -30%; width: 120%; aspect-ratio: 1.4; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(229,53,43,.2), rgba(229,53,43,0)); }
.kb-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.kb-chat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center; } /* WhatsApp-Profilbild, mittig, Farben unverändert */
.kb-chat-head b { display: block; font-size: var(--text-base, 1.0625rem); }
.kb-chat-head small { display: block; font-size: var(--text-xs, .8125rem); color: var(--text-2, #D8D8DD); }
.kb-chat-body { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 26px 20px 30px; min-height: 180px; justify-content: flex-end; }
.kb-day { align-self: center; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); font-family: var(--font-mono); font-size: 11px; color: var(--text-2, #D8D8DD); margin-bottom: auto; }
.kb-msg { max-width: 86%; padding: 12px 15px; border-radius: 18px 18px 6px 18px; background: #0f4d38; color: #f2fff8; font-size: var(--text-sm, .9375rem); line-height: 1.5; }
.kb-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #f2fff8; animation: kbBlink 1s steps(1) infinite; }
@keyframes kbBlink { 50% { opacity: 0; } }
.kb-chat-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: var(--text-2, #D8D8DD); font-size: var(--text-sm, .9375rem); }
.kb-chat-input span:first-child { flex: 1; }
.kb-send { width: 36px; height: 36px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; }
.kb-send svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .kb-grid { grid-template-columns: minmax(0, 1fr); }
  .kx-btn { width: 100%; justify-content: flex-start; }
  .kx-btn-arrow { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .kb-caret { animation: none; } }
@media (max-width: 480px) {
  .kx-btn { font-size: var(--text-sm, .9375rem); white-space: nowrap; gap: 12px; }
}

/* ======================================================================
   Ablauf-Icons (08.10.): feine Linien statt Kacheln.
   Desktop frei auf der Linie, am Handy in einem dünnen Ring. Das erste leuchtet rot.
   ====================================================================== */
.st-grid--line .st-ico { border: 0; border-radius: 50%; background: var(--bg, #0a0a0b); box-shadow: none; place-items: center start; }
.st-line { display: block; width: 30px; height: 30px; }
.st-grid--line .st:first-child .st-ico { color: #FF5A50; border-color: transparent; }
.st-grid--line .st:first-child .st-line { filter: drop-shadow(0 0 8px rgba(229,53,43,.6)); }
@media (max-width: 860px) {
  .st-grid--line .st-ico { place-items: center; border: 1px solid rgba(255,255,255,.18); }
  .st-grid--line .st-line { width: 22px; height: 22px; }
  .st-grid--line .st:first-child .st-ico { border-color: rgba(229,53,43,.6); box-shadow: 0 0 26px -6px rgba(229,53,43,.7), inset 0 0 12px -4px rgba(229,53,43,.5); }
  .st-grid--line .st:first-child .st-line { filter: none; }
}

/* ======================================================================
   Preise (inc/price-section.php, 08.10.): Umschalter Regulär / Schüler & Studenten,
   eine große Zahl über rotem Horizont. Bewusste Ausnahme von den Slop-Regeln vom August.
   ====================================================================== */
.pa-title { text-align: center; margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); }
.pa-stage { position: relative; max-width: 760px; margin-inline: auto; padding: 8px 0 clamp(56px, 7vw, 80px); text-align: center; isolation: isolate; }
.pa-r { position: absolute; opacity: 0; pointer-events: none; }
.pa-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.pa-switch label { position: relative; z-index: 1; padding: 11px 22px; border-radius: 999px; font-size: var(--text-sm, .9375rem); font-weight: 600; color: var(--text-2, #D8D8DD); cursor: pointer; white-space: nowrap; transition: color .3s ease; }
.pa-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #F5F5F7; transition: transform .45s cubic-bezier(.22,1,.36,1); }
#pa-1:checked ~ .pa-switch label[for="pa-1"], #pa-2:checked ~ .pa-switch label[for="pa-2"] { color: #000; }
#pa-2:checked ~ .pa-switch .pa-thumb { transform: translateX(100%); }
#pa-1:focus-visible ~ .pa-switch label[for="pa-1"], #pa-2:focus-visible ~ .pa-switch label[for="pa-2"] { outline: 2px solid var(--accent, #ff3b33); outline-offset: 2px; }
.pa-plans { display: grid; margin-top: clamp(28px, 4vw, 44px); }
.pa-plan { grid-area: 1 / 1; transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1), filter .45s ease; }
.pa-plan--2, #pa-2:checked ~ .pa-plans .pa-plan--1 { opacity: 0; transform: translateY(14px); filter: blur(6px); pointer-events: none; }
#pa-2:checked ~ .pa-plans .pa-plan--2 { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.pa-amount { display: inline-flex; align-items: flex-start; gap: 12px; }
.pa-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(7.5rem, 4rem + 12vw, 13rem); line-height: .82; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--text, #f7f7f6); }
.pa-unit { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: .35em; }
.pa-unit span:first-child { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; }
.pa-unit span:last-child { font-size: var(--text-base, 1.0625rem); color: var(--text-2, #D8D8DD); }
.pa-meta { margin-top: 22px; font-size: var(--text-lg, 1.25rem); color: var(--text-2, #D8D8DD); }
.pa-meta b { color: var(--text, #f7f7f6); font-weight: 600; }
.pa-next { display: block; font-family: var(--font-mono); font-size: var(--text-xs, .8125rem); opacity: .8; }
.pa-horizon { position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(120%, 1100px); height: 260px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(45% 80% at 50% 100%, rgba(229,53,43,.12), rgba(229,53,43,.03) 55%, rgba(229,53,43,0) 100%); }
.pa-horizon::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(255,74,63,0), rgba(255,74,63,.45), rgba(255,74,63,0)); }

@media (max-width: 480px) {
  .pa-switch label { padding: 10px 14px; font-size: var(--text-xs, .8125rem); }
}
@media (prefers-reduced-motion: reduce) { .pa-plan, .pa-thumb { transition: none; } }

/* ======================================================================
   Ergebnisse (#ergebnisse) im neuen Look (gewählt 08.10.)
   Fotos der Klienten bleiben farblich unverändert.
   ====================================================================== */
.rs-marquee { position: relative; overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rs-track { display: flex; width: max-content; animation: rsRun 60s linear infinite; }
.rs-marquee:hover .rs-track, .rs-marquee.is-paused .rs-track { animation-play-state: paused; }
/* angehalten (Handy, Tipp): kleines Pause-Zeichen oben rechts */
.rs-marquee::after { content: ""; position: absolute; z-index: 3; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; opacity: 0; transform: scale(.8); pointer-events: none;
  background: rgba(10,10,11,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5f5f7'%3E%3Crect x='7' y='6' width='3.4' height='12' rx='1'/%3E%3Crect x='13.6' y='6' width='3.4' height='12' rx='1'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .25s ease, transform .25s ease; }
.rs-marquee.is-paused::after { opacity: 1; transform: none; }
@keyframes rsRun { to { transform: translateX(-33.3333%); } }
.rs-set { display: flex; gap: 20px; padding-right: 20px; }
.rs-set .rs-card { flex: 0 0 clamp(290px, 27vw, 450px); }
.rs-card { position: relative; border-radius: 26px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -50px rgba(0,0,0,.9); }
.rs-photo { position: relative; overflow: hidden; }
.rs-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-tag { position: absolute; z-index: 2; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: var(--text-xs, .8125rem); font-weight: 600; color: var(--text, #f7f7f6);
  background: rgba(10,10,11,.55); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.rs-tag--after { left: auto; right: 12px; }
.rs-name { display: block; font-family: var(--font-mono); font-size: var(--text-xs, .8125rem); color: var(--text-2, #D8D8DD); }
.rs-stat { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -.02em; color: var(--text, #f7f7f6); font-variant-numeric: tabular-nums; }
.rs-stat small { font-size: .42em; font-weight: 600; color: var(--text-2, #D8D8DD); letter-spacing: 0; }
.rs-meta { margin: 0; font-size: var(--text-sm, .9375rem); line-height: 1.55; color: var(--text-2, #D8D8DD); }
.rs-note { margin: 22px 0 0; font-size: var(--text-xs, .8125rem); color: var(--text-2, #D8D8DD); opacity: .8; }

/* Glaskarte, Foto mit Innenabstand, Text darunter */
.rs .rs-photo { margin: 10px 10px 0; border-radius: 18px; aspect-ratio: 11 / 10; }
.rs .rs-tag { bottom: 12px; }
.rs .rs-photo::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255,255,255,.22); }
.rs .rs-body { padding: 20px 24px 26px; }

@media (max-width: 860px) {
  .rs-set { gap: 12px; padding-right: 12px; }
  .rs-set .rs-card { flex-basis: 78vw; }
  .rs-track { animation-duration: 44s; }
  .rs-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ======================================================================
   Über mich (#warum): Studiofoto auf Schwarz, Text links (gewählt 08.10.)
   ====================================================================== */
.ab-body .title { margin: 18px 0 22px; }
.ab-body p { max-width: 34rem; margin: 0 0 14px; color: var(--text-2, #D8D8DD); font-size: var(--text-lg, 1.25rem); line-height: 1.6; }
.ab-body p strong { color: var(--text, #f7f7f6); font-weight: 600; }

/* Bühnenfoto hochkant rechts, Ränder laufen weich ins Schwarz aus (Farben unverändert) */
.ab { overflow: hidden; isolation: isolate; background: #000; min-height: min(88vh, 860px); display: grid; align-content: center; }
.ab-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ab-fig { position: absolute; top: 0; bottom: 0; aspect-ratio: 1065 / 1600; overflow: hidden; right: calc((100vw - 1440px) * .5 + 100px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 38%, #000 66%, rgba(0,0,0,.5) 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 38%, #000 66%, rgba(0,0,0,.5) 84%, transparent 100%); }
/* Das Foto hat oben und unten schwarze Balken (bis 7,5 % bzw. ab 92 %): Ausschnitt ohne Balken */
.ab-fig img { position: absolute; left: 0; top: -8.9%; display: block; height: 118.3%; width: 100%; max-width: none; object-fit: cover; }
/* oben und unten: schwarzer Verlauf (Hintergrund ist reines Schwarz), sicherer als eine zweite Maske */
.ab-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 12%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 58%, rgba(0,0,0,.6) 78%, #000 98%); }
.ab .ab-body { position: relative; max-width: 560px; }
@media (max-width: 1100px) { .ab-fig { right: -9vw; } }
@media (max-width: 860px) {
  .ab-body p { font-size: var(--text-base, 1.0625rem); }
  .ab { min-height: 0; align-content: start; padding-top: 0; }
  .ab-bg { position: relative; inset: auto; z-index: 0; height: 112vw; margin-bottom: -16vw; overflow: hidden; }
  .ab-fig { inset: 0; right: 0; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .ab-fig img { top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
  .ab-fig::after { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 62%, #000 98%); }
}

/* ======================================================================
   Abschnitt „Deine App“ (08.10. Runde 4): iPhone mittig wie ein Video, auf allen Größen.
   Hinweise (app-demo.js, hintShow): Text außen neben dem iPhone, rote Linie mit Punkt zum Element.
   ====================================================================== */
.app-head { margin-inline: auto; text-align: center; align-items: center; }
.app-head .lead { margin-inline: auto; }
.app-phone { display: flex; justify-content: center; }
.app-sec .ad-stage { position: relative; width: 100%; display: flex; justify-content: center; padding: 10px 0 0; }
.ad-glow { position: absolute; left: 50%; top: 52%; width: min(140%, 560px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(229,53,43,.16), rgba(229,53,43,.05) 55%, rgba(229,53,43,0) 100%); opacity: .6; }

.ad-co { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.ad-co-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ad-co-path { fill: none; stroke: #FF4A3F; stroke-opacity: .9; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--co-len, 600px); stroke-dashoffset: var(--co-len, 600px); transition: stroke-dashoffset .35s ease, opacity .35s ease; }
.ad-co.is-on .ad-co-path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.65,0,.35,1) .1s; }
.ad-co:not(.is-on) .ad-co-path { opacity: 0; }
.ad-co-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #FF4A3F;
  box-shadow: 0 0 0 4px rgba(255,74,63,.18), 0 0 16px rgba(255,74,63,.55); opacity: 0; transform: scale(.3); transition: opacity .3s ease, transform .3s ease; }
.ad-co.is-on .ad-co-dot { opacity: 1; transform: none; transition: opacity .3s ease .9s, transform .5s cubic-bezier(.22,1,.36,1) .9s; }
.ad-co-label { position: absolute; display: flex; flex-direction: column; gap: 6px; text-align: right; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.ad-co.is-right .ad-co-label { text-align: left; transform: translateX(8px); }
.ad-co.is-on .ad-co-label { opacity: 1; transform: none; transition: opacity .6s ease .35s, transform .8s cubic-bezier(.22,1,.36,1) .35s; }
.ad-co-label b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, .8rem + .7vw, 1.4rem); line-height: 1.2; letter-spacing: -.01em; color: var(--text, #f7f7f6); }
.ad-co-label small { font-size: var(--text-sm, .9375rem); line-height: 1.5; color: var(--text-2, #D8D8DD); }
.ad-co-label small:empty { display: none; }

@media (max-width: 860px) {
  .app-sec .ad-phone { width: min(48vw, 230px); min-width: 0; border-radius: 38px; }
  .app-sec .ad-bezel { padding: 6px; border-radius: 37px; }
  .app-sec .ad-viewport { border-radius: 32px; }
  .ad-co-label { gap: 0; }
  .ad-co-label b { font-size: 12.5px; line-height: 1.3; font-weight: 700; hyphens: auto; -webkit-hyphens: auto; }
  .ad-co-label small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ad-co { display: none; } }
.ad-glow { transition: opacity 1s ease, transform 1s ease; }
.ad-glow.is-pulse { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }

/* ======================================================================
   Wissen (#wissen): alle Artikel als Endlos-Band (08.10.), hält beim Drüberfahren an.
   Eigene .wi-Klassen, weil .rg-* auch auf /ratgeber genutzt wird.
   ====================================================================== */
.wi.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.wi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
.wi-h { margin: 12px 0 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; }
.wi-all { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03);
  color: var(--text, #f7f7f6); font-weight: 600; font-size: var(--text-sm, .9375rem); text-decoration: none; transition: border-color .25s ease, background .25s ease; }
.wi-all:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.wi-all svg { width: 15px; height: 15px; transition: transform .25s ease; }
.wi-all:hover svg { transform: translateX(3px); }
.wi-marquee { position: relative; overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wi-track { display: flex; width: max-content; animation: wiRun calc(var(--wi-n, 18) * 4.5s) linear infinite; }
.wi-marquee:hover .wi-track, .wi-marquee:focus-within .wi-track { animation-play-state: paused; }
@keyframes wiRun { to { transform: translateX(-50%); } }
.wi-set { display: flex; gap: var(--wi-gap, 16px); padding-right: var(--wi-gap, 16px); }
.wi-card { flex: 0 0 var(--wi-w, 280px); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); transition: border-color .3s ease; }
.wi-card:hover { border-color: rgba(255,255,255,.22); }
.wi-media { display: block; overflow: hidden; }
.wi-media img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 70% 30%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.wi-card:hover .wi-media img { transform: scale(1.04); }
.wi-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 16px; }
.wi-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2, #D8D8DD); }
.wi-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: -.005em; color: var(--text, #f7f7f6); }
.wi-ai { margin: 14px 0 0; font-size: 11.5px; color: var(--text-2, #D8D8DD); opacity: .7; }
@media (max-width: 860px) {
  .wi-all { padding: 8px 12px; font-size: var(--text-xs, .8125rem); }
  .wi-marquee { --wi-w: 200px; --wi-gap: 10px; -webkit-mask-image: none; mask-image: none; }
  .wi-title { font-size: 13px; }
  .wi-body { padding: 10px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wi-track { animation: none; }
  .wi-marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .wi-set + .wi-set { display: none; }
  .wi-card { scroll-snap-align: start; }
}


/* ======================================================================
   Häufige Fragen als Chat im Kontakt (08.10., gewählt: Variante C), Verhalten in faq-chat.js.
   Meine Antworten links in Glas, deine Fragen rechts in WhatsApp-Grün wie im Kontakt-Chat.
   ====================================================================== */
.fq-msg { margin: 0; max-width: 82%; padding: 11px 15px; font-size: var(--text-sm, .9375rem); line-height: 1.5; border-radius: 18px; animation: fqIn .45s cubic-bezier(.22,1,.36,1); }
.fq-msg--in { align-self: flex-start; border-bottom-left-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: var(--text, #f7f7f6); }
.fq-msg--out { align-self: flex-end; border-bottom-right-radius: 6px; background: #0f4d38; color: #f2fff8; }
@keyframes fqIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.fq-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.fq-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); animation: fqDot 1.1s ease-in-out infinite; }
.fq-typing i:nth-child(2) { animation-delay: .15s; } .fq-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fqDot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.fq-log { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; overflow-y: auto; scrollbar-width: none; }
.fq-log::-webkit-scrollbar { display: none; }
.fq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid rgba(255,255,255,.07); }
.fq-chip { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: var(--text, #f7f7f6); font: inherit; font-size: var(--text-sm, .9375rem); font-weight: 600; cursor: pointer; transition: border-color .25s ease, background .25s ease, opacity .3s ease; }
.fq-chip:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.07); }
.fq-chip:focus-visible { outline: 2px solid var(--accent, #ff3b33); outline-offset: 2px; }
.fq-chip.is-used { display: none; }

/* im Kontakt-Chat */
.kb-chat--faq .fq-log { height: 260px; padding-top: 18px; }
.kb-chat--faq .fq-chips { border-top: 0; padding-top: 4px; }
.kb-chat--faq .kb-chat-input { text-decoration: none; transition: border-color .25s ease; }
.kb-chat--faq .kb-chat-input:hover { border-color: rgba(255,255,255,.22); }
.kb-chat--faq:hover { transform: none; }

@media (max-width: 860px) {
  .fq-chip { font-size: var(--text-xs, .8125rem); padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .fq-msg, .fq-typing i { animation: none; } }
/* App-Überschrift zentriert, auch dort, wo .head:has(.lead) am Desktop ein Raster macht */
.head.app-head { display: flex; flex-direction: column; margin-inline: auto; text-align: center; align-items: center; }
.head.app-head .lead { margin: 0 auto; padding: 0; }
/* Ergebnis-Band: bei „Bewegung reduzieren“ wischbar statt laufend */
@media (prefers-reduced-motion: reduce) {
  .rs-track { animation: none; }
  .rs-marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .rs-set + .rs-set { display: none; }
  .rs-set .rs-card { scroll-snap-align: start; }
}


/* ======================================================================
   Feedback von Klienten (08.10., Variante C): ein Verlauf groß, wischbar, tippt sich ein.
   Verhalten in feedback.js. Klient = links in Glas, ich = rechts grün wie im Kontakt-Chat.
   ====================================================================== */
.fb-wrap { margin-top: clamp(3.5rem, 7vw, 6rem); }
.fb-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.fb-head .eyebrow { justify-content: center; }
.fb-head .fb-title { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); }
.fb-one { max-width: 680px; margin-inline: auto; }
.fb-one-stage { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 230px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transition: opacity .3s ease, transform .3s ease; }
.fb-one-stage.is-out-l { opacity: 0; transform: translateX(-40px); }
.fb-one-stage.is-out-r { opacity: 0; transform: translateX(40px); }
.fb-one .fq-msg { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); line-height: 1.5; padding: 16px 20px; border-radius: 22px; max-width: 86%; }
.fb-one .fq-msg--in { border-bottom-left-radius: 8px; }
.fb-one .fq-msg--out { border-bottom-right-radius: 8px; }
.fb-one .fq-typing { padding: 18px 20px; }
.fb-one-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.fb-one-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text, #f7f7f6);
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); transition: border-color .25s ease, background .25s ease; }
.fb-one-btn:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.07); }
.fb-one-btn svg { width: 17px; height: 17px; }
.fb-one-btn--prev svg { transform: rotate(180deg); }
.fb-one-btn:focus-visible, .fb-one-dots button:focus-visible { outline: 2px solid var(--accent, #ff3b33); outline-offset: 3px; }
.fb-one-dots { display: flex; gap: 8px; }
.fb-one-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; cursor: pointer; background: rgba(255,255,255,.22); transition: width .3s ease, background .3s ease; }
.fb-one-dots button.is-on { width: 22px; background: rgba(255,255,255,.8); }
@media (max-width: 860px) {
  .fb-one-stage { min-height: 280px; }
  .fb-one .fq-msg { max-width: 92%; }
  .fb-one-btn { display: none; }
  .fb-one-dots button { width: 8px; height: 8px; }
  .fb-one-dots button.is-on { width: 24px; }
}
@media (prefers-reduced-motion: reduce) { .fb-one-stage { transition: none; } }

/* ======================================================================
   Hero am Desktop (09.10.2026, gewählt: geteilt mit weichem Übergang).
   Links Text auf Schwarz, rechts das Foto randlos von oben bis unten bis zum Bildschirmrand,
   zur Textseite weich auslaufend. Breite begrenzt, damit das Hochformat-Foto nicht zu stark beschnitten wird.
   Handy (≤ 860 px) bleibt wie oben definiert.
   ====================================================================== */
@media (min-width: 861px) {
  .hero--form .hb-ambient { display: none; }
  .hero--form .hero-bg { background: #030304; }
  .hero--form .hb-figure { inset: 0 0 0 auto; top: 0; right: 0; height: 100%; width: min(46vw, calc(min(100vh, 980px) * .74)); width: min(46vw, calc(min(100svh, 980px) * .74)); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, #000 0%, #000 86%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, #000 0%, #000 86%, transparent 100%); mask-composite: intersect; }
  .hero--form .hb-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 58%; }
  .hero--form .hero-bg-shade { background: linear-gradient(180deg, rgba(3,3,4,.55) 0%, rgba(3,3,4,0) 12%, rgba(3,3,4,0) 88%, var(--bg, #0a0a0b) 100%); }
  .hero--form .hero-copy { max-width: min(48vw, 640px); }
}

/* Endlos-Bänder (Ergebnisse + Wissen) per Skript (app-demo/loop.js, 09.10.2026): CSS-Animation aus, wischbar.
   Ohne JS bleibt die CSS-Animation oben aktiv. */
.rs-marquee.is-js .rs-track, .wi-marquee.is-js .wi-track { animation: none; will-change: transform; }
.rs-marquee.is-js, .wi-marquee.is-js { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.rs-marquee.is-js img, .wi-marquee.is-js img { -webkit-user-drag: none; }
