/* Offtimism Startseite v3 (13.11.2026)
   Aufbau nach opalapp.com und getbrick.com, Regeln aus dem CI-Handbuch v1.
   Layout: eine Botschaft pro Abschnitt, Inhalt höchstens 980 px, Text höchstens 680 px; helle Flächen im Wechsel,
   genau ein Abschnitt in Abendblau. Handy-Darstellungen sind HTML (em-Raster, skalieren über font-size).
   Reines CSS, kein JavaScript (CSP der Website: style-src 'self', keine Inline-Styles). */
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  /* Farben (CI) – hell */
  --bg: #FFFFFF; --bg-alt: #F8F8F8; --card: #FFFFFF; --tile: #F8F8F8; --line: #E3E5E8;
  --tx: #14181C; --tx2: #4A4A4A; --tx3: #676C72;
  --accent: #0072BB; --accent-strong: #005A94; --tint: #E6F1F8; --on-accent: #FFFFFF; --fill: #E3E5E8;
  --success: #2F6F2A; --warn: #A95B19;
  --evening: #1E3350; --green: #8FC93A; --yellow: #E4CC37; --night: #14181C;
  --halo-a: rgba(30, 145, 214, .20); --halo-b: rgba(143, 201, 58, .24);
  --glass: rgba(255, 255, 255, .76); --bezel: #14181C; --bezel-edge: #14181C;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .06), 0 2px 8px rgba(20, 24, 28, .06);
  --shadow-md: 0 4px 16px rgba(20, 24, 28, .10);
  --shadow-phone: 0 24px 64px rgba(20, 24, 28, .20);
  --mark-off: #14181C; --show-light: block; --show-dark: none;
  /* Schrift, Abstände, Radien (CI) */
  --display: "Nunito", "Inter", system-ui, sans-serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s10: 40px; --s16: 64px; --s20: 80px;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Farben in den Handy-Darstellungen (App im hellen Modus, in beiden Seiten-Themen gleich) */
  --app-bg: #F2F2F7; --app-card: #FFFFFF; --app-line: #E5E5EA; --app-tx: #14181C; --app-tx2: #6B6F76;
  --app-green: #2F6F2A; --app-mint: #E2F0E0; --app-track: #E5E5EA; --app-bar: #A9ADB3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root { /*DARK*/
  --bg: #000000; --bg-alt: #000000; --card: #1C1C1E; --tile: #1C1C1E; --line: #38383A;
  --tx: #FFFFFF; --tx2: #AEAEB2; --tx3: #98989F;
  --accent: #6DB8E8; --accent-strong: #6DB8E8; --tint: #16252E; --on-accent: #14181C; --fill: #3A3A3C;
  --success: #8FC93A; --warn: #E18335;
  --halo-a: rgba(109, 184, 232, .30); --halo-b: rgba(143, 201, 58, .22);
  --glass: rgba(0, 0, 0, .62); --bezel: #2C2C2E; --bezel-edge: #48484A;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .5);
  --shadow-phone: 0 24px 80px rgba(0, 0, 0, .7);
  --mark-off: #48484A; --show-light: none; --show-dark: block;
  color-scheme: dark;
/*END-DARK*/ } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx2); font: 400 17px/25px var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p, ol, ul, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
.svg-defs { position: absolute; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -64px; z-index: 30; padding: var(--s2) var(--s4); background: var(--card); border-radius: var(--r-sm); box-shadow: var(--shadow-md); }
.skip:focus { top: var(--s2); }
.icon { width: 24px; height: 24px; flex: none; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Raster ---------- */
.wrap { width: 100%; max-width: 1020px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sec { padding-block: var(--s20); background: var(--bg); }
.sec--alt { background: var(--bg-alt); }
.sec + .sec:not(.sec--evening) { border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: var(--s4); max-width: 680px; margin-bottom: var(--s10); }
.head--center { align-items: center; text-align: center; margin-inline: auto; }
.eyebrow { font: 600 15px/20px var(--sans); color: var(--accent); letter-spacing: .01em; }
.h2 { font: 800 40px/44px var(--display); letter-spacing: -.02em; color: var(--tx); text-wrap: balance; }
.h3 { font: 700 22px/28px var(--display); color: var(--tx); letter-spacing: -.01em; }
.lead { font: 500 21px/29px var(--sans); color: var(--tx2); text-wrap: pretty; }
.small { font: 400 14px/20px var(--sans); color: var(--tx3); overflow-wrap: anywhere; }
p, li, dd, h1, h2, h3 { overflow-wrap: break-word; }
.more { font: 600 17px/22px var(--sans); display: inline-flex; align-items: center; min-height: 44px; }
sup { font-size: .6em; line-height: 0; }
sup a { color: inherit; padding: var(--s1); }

/* ---------- Buttons, Badges (CI-Komponenten) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 44px; min-width: 44px; padding: 0 var(--s5); border: 0; border-radius: var(--r-pill);
  font: 600 17px/22px var(--sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: filter 150ms ease-out, transform 150ms ease-out; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { filter: brightness(.85); transform: scale(.98); }
.btn--lg { height: 50px; padding: 0 var(--s6); }
.btn--sm { height: 32px; padding: 0 var(--s3); font-size: 15px; line-height: 20px; }
.btn--filled { background: var(--accent); color: var(--on-accent); }
.btn--tinted { background: var(--tint); color: var(--accent-strong); }
.badge { display: inline-flex; align-items: center; gap: var(--s1); height: 30px; padding: 0 14px; border-radius: var(--r-pill); font: 600 13px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; }
.badge .icon { width: 16px; height: 16px; margin-left: -3px; }
.badge--highlight { background: var(--yellow); color: var(--night); }
.badge--success { background: var(--green); color: var(--night); }
.badge--neutral { background: var(--card); color: var(--tx); border: 1.5px solid var(--line); }

/* ---------- Navigation (48 px, fixiert, durchscheinend) ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: var(--s6); height: 48px; }
.nav__logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.nav__logo img { width: 97px; height: 28px; }
.logo--light { display: var(--show-light); }
.logo--dark { display: var(--show-dark); }
.nav__links { display: flex; gap: var(--s6); margin-inline: auto; }
.nav__links a { font: 400 14px/20px var(--sans); color: var(--tx2); padding-block: var(--s3); }
.nav__links a:hover { color: var(--tx); text-decoration: none; }
.nav__side { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.nav__links + .nav__side { margin-left: 0; }
.lang { display: flex; gap: var(--s2); font: 500 14px/20px var(--sans); color: var(--tx); }
.lang a { color: var(--tx3); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; color: var(--tx); border-radius: var(--r-pill); }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: 48px; min-width: 240px; display: flex; flex-direction: column; padding: var(--s2); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.menu__panel a { padding: var(--s3) var(--s4); font: 500 17px/22px var(--sans); color: var(--tx); border-radius: var(--r-sm); }
.menu__panel a:hover { background: var(--tile); text-decoration: none; }

/* ---------- Hero (immer hell im hellen Modus, zentriert) ---------- */
.hero { position: relative; padding-block: var(--s16) 0; background: var(--bg); overflow: clip; }
.hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s5); position: relative; z-index: 2; }
.hero__mark { width: 64px; }
.h1 { font: 800 64px/66px var(--display); letter-spacing: -.028em; color: var(--tx); max-width: 14ch; text-wrap: balance; }
.h1 em { font-style: normal; color: var(--success); }
.hero .lead { max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s3) var(--s6); margin-top: var(--s1); }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); font: 400 14px/20px var(--sans); color: var(--tx3); }
.hero__facts li { display: inline-flex; align-items: center; gap: var(--s2); }
.hero__facts .icon { width: 18px; height: 18px; color: var(--success); }

.stage { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: var(--s10); padding-bottom: var(--s16); }
.stage::before, .stage::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.stage::before { width: 520px; height: 520px; left: calc(50% - 480px); top: 64px; background: var(--halo-a); }
.stage::after { width: 480px; height: 480px; left: calc(50% + 0px); top: 160px; background: var(--halo-b); }
.stage .phone { position: relative; z-index: 1; }
.stage .phone--l { margin-right: -2em; margin-top: 6em; transform: rotate(-6deg); transform-origin: 100% 100%; }
.stage .phone--r { margin-left: -2em; margin-top: 6em; transform: rotate(6deg); transform-origin: 0 100%; }
.stage .phone--c { z-index: 2; }
.caption { position: absolute; left: 0; right: 0; bottom: var(--s5); text-align: center; font: 400 12px/16px var(--sans); color: var(--tx3); z-index: 2; }

/* ---------- Handy-Darstellung ---------- */
.phone { font-size: 10px; width: 28em; flex: none; aspect-ratio: 28 / 58; padding: 1em; border-radius: 4.6em; background: var(--bezel); box-shadow: var(--shadow-phone), inset 0 0 0 1px var(--bezel-edge); }
.phone--s { font-size: 8.6px; }
.scr { position: relative; height: 100%; border-radius: 3.6em; overflow: hidden; background: var(--app-bg); color: var(--app-tx); display: flex; flex-direction: column; font-family: var(--sans); line-height: 1.3; text-align: left; }
.scr__status { display: flex; align-items: center; justify-content: space-between; padding: 1.2em 2.2em 0; height: 4.6em; flex: none; }
.scr__time { font-size: 1.5em; font-weight: 600; }
.scr__island { width: 8.2em; height: 2.4em; border-radius: 2em; background: #000; }
.scr__sys { display: flex; gap: .4em; align-items: center; }
.scr__sys i { display: block; width: 1.6em; height: 1em; border-radius: .3em; background: var(--app-tx); }
.scr__sys i:first-child { width: 1.2em; border-radius: 50% 50% 0 0; opacity: .9; }
.scr__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 1.2em; padding: 1.4em 1.4em 0; }
.scr__body > * { flex: none; }
.scr__title { font: 600 2.6em/1.15 var(--sans); letter-spacing: -.02em; }
.scr__sub { font-size: 1.3em; color: var(--app-tx2); margin-top: .2em; }
.scr__meta { font-size: 1.1em; color: var(--app-tx2); }
.scr__h { font: 600 1.7em/1.2 var(--sans); margin-top: .4em; }
.acard { background: var(--app-card); border-radius: 1.6em; overflow: hidden; }
.tabs { margin: auto .8em .8em; display: grid; grid-template-columns: repeat(4, 1fr); padding: .7em .4em; border-radius: 3em; background: rgba(255, 255, 255, .86); box-shadow: 0 .2em 1.2em rgba(20, 24, 28, .12); flex: none; }
.tabs span { display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: 1em; font-weight: 500; color: var(--app-tx); }
.tabs .icon { width: 2.2em; height: 2.2em; }
.tabs .is-on { color: var(--app-green); }

/* Gruppe: Heute/Woche */
.seg { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; padding: .3em; border-radius: 1em; background: #E3E3E8; }
.seg__item { text-align: center; padding: .55em 0; font-size: 1.25em; border-radius: .7em; color: var(--app-tx); }
.seg__item.is-on { background: #fff; font-weight: 600; box-shadow: 0 .1em .4em rgba(20, 24, 28, .12); }
.rank-row { display: grid; grid-template-columns: 1.6em 3.4em 1fr auto; align-items: center; column-gap: 1em; padding: 1.1em 1.4em; border-top: 1px solid var(--app-line); background: var(--app-card); }
.rank-row:first-child { border-top: 0; }
.rank-row.is-me { background: #EEF7EE; }
.rank-row__pos { font-size: 1.4em; font-weight: 600; color: var(--app-tx2); }
.rank-row:first-child .rank-row__pos { color: var(--app-green); }
.ava { display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--app-mint); color: var(--app-green); font-weight: 600; }
.ava b { font-size: 1.15em; font-weight: 600; }
.is-me .ava { background: var(--app-green); color: #fff; }
.rank-row__name { font-size: 1.5em; font-weight: 500; display: flex; flex-direction: column; gap: .35em; min-width: 0; }
.rank-row__time { font-size: 1.3em; color: var(--app-tx2); white-space: nowrap; }
.bar { display: block; height: .32em; border-radius: 1em; background: var(--app-track); overflow: hidden; }
.bar span { display: block; height: 100%; width: 100%; border-radius: 1em; background: var(--app-bar); transform-origin: 0 50%; transform: scaleX(var(--w, 1)); }
.is-me .bar span, .bar--green span { background: var(--app-green); }
.bar--full span { background: #6B6F76; }
.w-22 { --w: .22; } .w-31 { --w: .31; } .w-46 { --w: .46; } .w-62 { --w: .62; } .w-73 { --w: .73; } .w-100 { --w: 1; }
.feed-row { display: grid; grid-template-columns: 3em 1fr; gap: 1em; padding: 1.2em 1.4em; }
.feed-row .ava { width: 3em; height: 3em; }
.feed-row p { font-size: 1.25em; line-height: 1.3; }
.chip { display: inline-block; margin-top: .5em; padding: .25em .7em; border-radius: .6em; background: var(--app-mint); color: var(--app-green); font-size: 1.1em; font-weight: 600; }
.chip--pause { background: #FBEBDD; color: #A95B19; }
.chip--plain { background: #EDEDF1; color: var(--app-tx2); }

/* Interaktive Gruppen-Karte (nur CSS) */
.live .seg::before { content: ""; position: absolute; z-index: -1; top: .3em; bottom: .3em; left: .3em; width: calc(50% - .3em); border-radius: .7em; background: #fff; box-shadow: 0 .1em .4em rgba(20, 24, 28, .12); transition: transform 320ms var(--ease); }
.live:has(.seg__in--week:checked) .seg::before { transform: translateX(100%); }
.seg__in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.live .seg__item { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.seg__in:checked + .seg__item { font-weight: 600; }
.seg__in:focus-visible + .seg__item { outline: 2px solid var(--accent); outline-offset: 2px; }
.live .t-week { display: none; }
.live:has(.seg__in--week:checked) .t-week { display: inline; }
.live:has(.seg__in--week:checked) .t-day { display: none; }
.live .rank-row { transition: transform 420ms var(--ease); }
.live:has(.seg__in--week:checked) .mv-down { transform: translateY(100%); }
.live:has(.seg__in--week:checked) .mv-up { transform: translateY(-100%); }
.live .rank-row:first-child .rank-row__pos { color: var(--app-tx2); }
.live:not(:has(.seg__in--week:checked)) .rank-row:first-child .rank-row__pos, .live:has(.seg__in--week:checked) .mv-up .rank-row__pos { color: var(--app-green); }
.live .bar span { transition: transform 420ms var(--ease); }
.live:has(.seg__in--week:checked) .ww-33 { --w: .33; } .live:has(.seg__in--week:checked) .ww-41 { --w: .41; }
.live:has(.seg__in--week:checked) .ww-63 { --w: .63; } .live:has(.seg__in--week:checked) .ww-100 { --w: 1; }

/* Home: Regeln mit Fortschritt */
.rule { display: flex; flex-direction: column; gap: .7em; padding: 1.3em 1.4em; border-top: 1px solid var(--app-line); }
.rule:first-child { border-top: 0; }
.rule__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.rule__name { font-size: 1.5em; font-weight: 600; }
.rule__val { font-size: 1.2em; color: var(--app-tx2); white-space: nowrap; }
.rule .bar { height: .6em; }
.rule__note { font-size: 1.15em; color: var(--app-tx2); }
.rule .chip { margin-top: 0; align-self: flex-start; }
.placecard { display: flex; align-items: center; gap: 1em; padding: 1.2em 1.4em; }
.placecard .icon { width: 2.4em; height: 2.4em; color: var(--app-green); }
.placecard p { font-size: 1.3em; line-height: 1.3; }
.placecard b { font-weight: 600; }

/* Pause-Bildschirm */
.pause { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4em; padding: 2em 2.2em 3em; text-align: center; }
.pause--top { justify-content: flex-start; padding-top: 5em; }
.pause__icon { display: grid; place-items: center; width: 7.2em; height: 7.2em; border-radius: 25%; background: var(--app-mint); color: var(--app-green); }
.pause__icon .icon { width: 3.6em; height: 3.6em; }
.pause__title { font: 600 2.1em/1.2 var(--sans); letter-spacing: -.01em; }
.pause__sub { font-size: 1.35em; line-height: 1.35; color: var(--app-tx2); }
.pause__btn { width: 100%; margin-top: 1.6em; padding: 1em; border-radius: 3em; background: var(--app-green); color: #fff; font-size: 1.5em; font-weight: 600; }
.pause__link { font-size: 1.4em; font-weight: 600; color: var(--app-green); }

/* ---------- Abschnitt in Abendblau: die Zahlen ---------- */
.sec--evening { background: var(--evening); color: rgba(255, 255, 255, .82); }
.sec--evening .eyebrow { color: var(--green); }
.sec--evening .h2 { color: #fff; }
.big { display: flex; flex-direction: column; gap: var(--s4); max-width: 780px; }
.big__num { font: 800 clamp(64px, 14vw, 136px)/.95 var(--display); letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; }
.big__txt { font: 500 21px/29px var(--sans); max-width: 560px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); margin-top: var(--s16); padding-top: var(--s10); border-top: 1px solid rgba(255, 255, 255, .18); }
.stat { display: flex; flex-direction: column; gap: var(--s3); }
.stat__num { font: 800 56px/60px var(--display); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat--win .stat__num { color: var(--green); }
.stat__txt { max-width: 400px; }
.fails { margin-top: var(--s16); display: flex; flex-direction: column; gap: var(--s6); }
.fails__lead { font: 700 28px/32px var(--display); color: #fff; max-width: 680px; text-wrap: balance; }
.fails__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.fail { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s6); border-radius: var(--r-lg); background: rgba(255, 255, 255, .07); }
.fail .icon { color: #F0A15E; margin-bottom: var(--s2); }
.fail b { font: 700 22px/28px var(--display); color: #fff; }
.fails__out { font: 500 21px/29px var(--sans); color: #fff; max-width: 680px; }

/* ---------- Highlights (Kacheln, Radius 24) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.tile { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg); background: var(--tile); min-width: 0; }
.sec--alt .tile { background: var(--card); }
.tile p { font-size: 17px; line-height: 25px; }
.emo { width: 64px; height: 64px; padding: var(--s1); border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: var(--s2); flex: none; }
.tile--wide { grid-column: span 2; }

/* ---------- So funktioniert's ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--night); font: 800 20px/1 var(--display); }
.step__vis { margin-top: auto; padding-top: var(--s4); }
.mini { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); border-radius: var(--r-md); background: var(--tile); font: 500 15px/20px var(--sans); color: var(--tx); }
.sec--alt .mini { background: var(--bg-alt); }
.mini__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 32px; }
.mini__pill { display: inline-flex; align-items: center; gap: var(--s3); height: 32px; padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mini__pill i { font-style: normal; color: var(--accent); font-weight: 600; }
.mini__avas { display: flex; }
.mini__avas span { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--tile); background: var(--app-mint); color: var(--app-green); font: 600 12px/1 var(--sans); }
.mini__avas span:first-child { margin-left: 0; }
.mini__link { display: inline-flex; align-items: center; gap: var(--s2); color: var(--accent); font-weight: 600; }
.mini__link .icon { width: 18px; height: 18px; }
.mini__bar { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: var(--s3); font-size: 14px; }
.mini__bar .bar { height: 6px; background: var(--line); }

/* ---------- Thema pro Abschnitt: Text + Bild ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10) var(--s16); align-items: center; }
.feat__text { display: flex; flex-direction: column; gap: var(--s4); max-width: 460px; }
.feat--flip .feat__text { order: 2; }
.feat__vis { position: relative; display: flex; justify-content: center; min-width: 0; }
.feat__vis::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: var(--halo-a); filter: blur(64px); }
.feat__vis--green::before { background: var(--halo-b); }
.feat__vis > * { position: relative; }
.feat__vis--sheet { padding-bottom: var(--s6); }
.checks { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s2); }
.checks li { display: flex; gap: var(--s3); align-items: flex-start; color: var(--tx); }
.checks .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--success); }
.note { display: flex; gap: var(--s3); padding: var(--s4); border-radius: var(--r-md); background: var(--tile); font-size: 14px; line-height: 20px; color: var(--tx2); }
.sec--alt .note { background: var(--card); }
.note .icon { width: 20px; height: 20px; color: var(--tx3); }
.sheet { position: absolute; left: calc(50% - 40px); bottom: -24px; width: 264px; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 14px; line-height: 20px; }
.sheet b { font: 700 20px/25px var(--display); color: var(--tx); }
.sheet__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.sheet__opts span { display: grid; place-items: center; height: 44px; border-radius: var(--r-sm); background: var(--tile); color: var(--tx); font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet__opts .is-on { background: var(--tint); color: var(--accent-strong); box-shadow: inset 0 0 0 2px var(--accent); }
.sheet__hint { display: flex; gap: var(--s2); align-items: center; color: var(--tx3); }
.sheet__hint .icon { width: 18px; height: 18px; }

.pot { width: 100%; max-width: 460px; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.pot__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s5) var(--s5) var(--s3); }
.pot__head b { font: 700 20px/25px var(--display); color: var(--tx); }
.pot__row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-top: 1px solid var(--line); font-size: 15px; line-height: 20px; }
.pot__row .ava { width: 40px; height: 40px; font-size: 13px; }
.pot__row strong { display: block; color: var(--tx); font-weight: 600; font-size: 15px; }
.pot__row > span:nth-child(2) { font-size: 14px; }
.pot__foot { display: flex; align-items: center; gap: var(--s4); padding: var(--s5); border-top: 1px solid var(--line); background: var(--tile); color: var(--tx); font-weight: 500; }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 25%; background: var(--evening); flex: none; }
.icon-tile .icon { width: 28px; height: 28px; }
.capt { margin-top: var(--s3); text-align: center; font: 400 12px/16px var(--sans); color: var(--tx3); }
.feat__col { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* ---------- Vergleich: allein oder Gruppe ---------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.plan { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.plan--main { border: 2px solid var(--accent); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.plan .checks { margin-top: 0; }

/* ---------- Vertrauen ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.trust__item { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.trust__item .icon-tile { margin-bottom: var(--s2); }
.trust__item b { font: 700 20px/25px var(--display); color: var(--tx); }
.trust__item p { font-size: 15px; line-height: 20px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s16); }
.person { display: flex; align-items: center; gap: var(--s4); padding: var(--s5); border-radius: var(--r-lg); background: var(--tile); min-width: 0; }
.sec--alt .person { background: var(--card); }
.person__ava { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--evening); color: var(--green); font: 800 24px/1 var(--display); flex: none; }
.person b { display: block; font: 700 20px/25px var(--display); color: var(--tx); }
.person div span { display: block; font-size: 14px; line-height: 20px; }
.road { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s10); }
.road li { position: relative; display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5) var(--s4) 0 0; border-top: 2px solid var(--line); font-size: 14px; line-height: 20px; }
.road li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.road .is-done { border-top-color: var(--accent); }
.road .is-done::before, .road .is-now::before { background: var(--accent); }
.road .is-now::before { box-shadow: 0 0 0 4px var(--tint); }
.road b { font: 700 17px/22px var(--display); color: var(--tx); }
.road .is-now span:first-child { color: var(--accent); font-weight: 600; }

/* ---------- Fragen ---------- */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; cursor: pointer; list-style: none; font: 700 20px/25px var(--display); color: var(--tx); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent); transition: transform 200ms ease-out; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq p { padding: 0 var(--s10) var(--s6) 0; max-width: 680px; }

/* ---------- Warteliste ---------- */
.wl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: start; padding: var(--s10); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.wl > * { min-width: 0; }
.wl__text { display: flex; flex-direction: column; gap: var(--s4); }
.wl__form { display: flex; flex-direction: column; gap: var(--s3); font-size: 14px; line-height: 20px; color: var(--tx3); }
.wl__form label { font: 600 15px/20px var(--sans); color: var(--tx); }
.wl__row { display: flex; gap: var(--s3); }
.wl__row input { flex: 1; min-width: 0; height: 44px; padding: 0 var(--s4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--tx); font: 400 17px/22px var(--sans); }
.wl__row input::placeholder { color: var(--tx3); }
.wl__dev { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); align-items: center; }
.wl__dev legend { float: left; margin-right: var(--s5); font: 600 15px/20px var(--sans); color: var(--tx); }
.wl__dev legend span { font-weight: 400; color: var(--tx3); }
.wl__dev label { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 400; cursor: pointer; }
.wl__dev input { width: 20px; height: 20px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* ---------- Abschluss ---------- */
.outro { text-align: center; }
.outro__in { display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
.outro__mark { width: 96px; margin-bottom: var(--s3); }
.outro__claim { font: 800 56px/60px var(--display); letter-spacing: -.022em; color: var(--tx); max-width: 18ch; text-wrap: balance; }
.outro .lead { max-width: 540px; }

/* ---------- Fußnoten, Footer ---------- */
.notes { padding-block: var(--s10); background: var(--bg-alt); border-top: 1px solid var(--line); }
.notes ol { display: flex; flex-direction: column; gap: var(--s2); max-width: 780px; font: 400 12px/16px var(--sans); color: var(--tx3); list-style: decimal; padding-left: var(--s5); }
.notes p { margin-top: var(--s3); max-width: 780px; font: 400 12px/16px var(--sans); color: var(--tx3); }
.foot { padding-block: var(--s10) var(--s16); background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--tx3); }
.foot__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s10) var(--s6); }
.foot__cols > * { min-width: 0; }
.foot ul a { overflow-wrap: anywhere; hyphens: auto; }
.foot__brand { display: flex; flex-direction: column; gap: var(--s3); }
.foot__brand img { width: 125px; height: 36px; }
.foot h3 { font: 600 14px/20px var(--sans); color: var(--tx); margin-bottom: var(--s3); }
.foot ul { display: flex; flex-direction: column; gap: var(--s1); }
.foot ul a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; color: var(--tx2); }
.foot ul img { width: 20px; height: 20px; border-radius: 22%; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s10); padding-top: var(--s5); border-top: 1px solid var(--line); }

/* ---------- Beta- und Gewinnspiel-Seite (offtimism.app) ---------- */
.hero--plain { padding-bottom: var(--s16); }
.h1--wide { max-width: 18ch; }
.btn .icon { width: 20px; height: 20px; }
.btn--wrap { white-space: normal; height: auto; min-height: 44px; padding-block: 11px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: var(--s2); font: 600 15px/20px var(--sans); color: var(--accent); }
.kicker .icon { width: 20px; height: 20px; }
.sec--evening .kicker { color: var(--green); }
.sec--evening .small, .sec--evening .prize-note { color: rgba(255, 255, 255, .72); }
.sec--evening a:not(.btn) { color: #6DB8E8; }
.sec--evening .btn--filled { background: #6DB8E8; color: var(--night); }
.sec--evening strong { color: #fff; }
.sec--evening .feat__text { gap: var(--s5); }
.sec--evening .feat__text .btn { align-self: flex-start; }
.feat__vis--none::before { display: none; }
.inst { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.inst__card { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 64px; min-width: 0; }
.inst__card:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.inst__title { font-size: 28px; line-height: 32px; font-weight: 800; }
.isteps { display: flex; flex-direction: column; gap: var(--s5); margin-top: var(--s2); }
.istep { display: grid; grid-template-columns: 40px 1fr; gap: var(--s4); }
.istep > div { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); min-width: 0; padding-top: var(--s2); }
.istep p:not(.small) { color: var(--tx); }
.thanks { display: grid; grid-template-columns: 48px 1fr; gap: var(--s5); max-width: 780px; margin-inline: auto; }
.thanks__text { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); width: 100%; max-width: 780px; margin-top: var(--s5); text-align: left; }
.fact { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5); border-radius: var(--r-lg); background: var(--tile); min-width: 0; }
.fact .icon { color: var(--accent); margin-bottom: var(--s2); }
.fact dt { font: 400 14px/20px var(--sans); color: var(--tx3); }
.fact dd { margin: 0; font: 700 20px/25px var(--display); color: var(--tx); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: var(--s3); width: 100%; max-width: 560px; margin-inline: auto; }
.podium__step { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: var(--s1); padding: var(--s5) var(--s2); border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-sm); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82); text-align: center; min-width: 0; }
.podium__step--1 { order: 2; min-height: 240px; background: rgba(255, 255, 255, .14); }
.podium__step--2 { order: 1; min-height: 180px; }
.podium__step--3 { order: 3; min-height: 140px; }
.podium__step .icon { width: 32px; height: 32px; color: var(--yellow); margin-bottom: var(--s2); }
.podium__amount { font: 800 40px/44px var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.podium__step--1 .podium__amount { font-size: 56px; line-height: 60px; color: var(--yellow); }
.podium__place { font: 600 15px/20px var(--sans); color: #fff; }
.podium__kind { font-size: 14px; line-height: 20px; }
.prize-more { display: flex; flex-direction: column; gap: var(--s3); max-width: 560px; margin: var(--s6) auto 0; }
.prize-more li { padding: var(--s4) var(--s5); border-radius: var(--r-md); background: rgba(255, 255, 255, .07); }
.prize-more__amount { font: 700 20px/25px var(--display); color: #fff; margin-right: var(--s1); }
.prize-note { max-width: 560px; margin: var(--s6) auto 0; font-size: 14px; line-height: 20px; text-align: center; }
.legal { max-width: 680px; margin-inline: auto; }
.legal > * + *, .legal nav + h3 { margin-top: var(--s4); }
.legal h3 { font: 700 22px/28px var(--display); color: var(--tx); margin-top: var(--s10); scroll-margin-top: 64px; }
.legal .h2 { scroll-margin-top: 64px; }
.legal ul { list-style: disc; padding-left: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.legal .index { list-style: none; padding: var(--s5); display: block; columns: 2; column-gap: var(--s10); border-radius: var(--r-md); background: var(--tile); }
.legal .index li { padding-block: var(--s1); break-inside: avoid; }
.legal strong { color: var(--tx); }
.legal-date { font-size: 14px; line-height: 20px; color: var(--tx3); }
@media (max-width: 900px) { .inst { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; gap: var(--s3); }
  .thanks { grid-template-columns: 1fr; }
  .legal .index { columns: 1; }
  .podium__amount { font-size: 28px; line-height: 32px; }
  .podium__step--1 .podium__amount { font-size: 40px; line-height: 44px; }
  .inst__btn { width: 100%; }
  .hero__cta .btn--lg { width: 100%; }
  .inst__title { font-size: 24px; line-height: 28px; }
  .hero--plain { padding-bottom: var(--s10); }
  .hero--plain + .sec { padding-top: var(--s10); }
  .podium { gap: var(--s2); }
}

/* ---------- Bewegliche Bildmarke (Ablauf wie im Logo-Video vom 23.10., übernommen aus Design v2) ---------- */
.mark { display: block; height: auto; overflow: visible; }
.mark__hour, .mark__power, .mark__ghost { transform-box: view-box; transform-origin: 551.7px 663.6px; }
.mark__ghost { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes mk-press { 0%, 6% { transform: none; } 13% { transform: scale(.92); } 21% { transform: scale(1.04); } 29%, 100% { transform: none; } }
  @keyframes mk-ring { 0%, 14.9% { fill: var(--mark-off); } 15%, 100% { fill: url(#otl); } }
  @keyframes mk-power { 0%, 14.9% { fill: var(--mark-off); transform: rotate(0deg); } 15%, 18% { fill: #8FC93A; transform: rotate(0deg); animation-timing-function: cubic-bezier(.55, 0, .2, 1); } 76%, 100% { fill: #8FC93A; transform: rotate(-720deg); } }
  @keyframes mk-ghost { 0%, 18% { transform: rotate(0deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .2, 1); } 32% { opacity: var(--o); } 58% { opacity: var(--o); } 72% { opacity: 0; } 76%, 100% { transform: rotate(-720deg); opacity: 0; } }
  @keyframes mk-hour { 0%, 19% { opacity: 0; transform: rotate(53deg); animation-timing-function: cubic-bezier(.45, 0, .2, 1); } 27% { opacity: 1; } 76%, 100% { opacity: 1; transform: rotate(0deg); } }
  @keyframes mk-smile { 0%, 76% { opacity: 0; clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.3, 0, .3, 1); } 77% { opacity: 1; } 91%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
  .hero__mark { animation: mk-press 3.3s linear both; transform-origin: 50% 55%; }
  .hero__mark .mark__ring { animation: mk-ring 3.3s linear both; }
  .hero__mark .mark__power { animation: mk-power 3.3s linear both; }
  .hero__mark .mark__hour { animation: mk-hour 3.3s linear both; }
  .hero__mark .mark__smile { animation: mk-smile 3.3s linear both; }
  .hero__mark .mark__ghost--1 { --o: .35; animation: mk-ghost 3.3s linear 60ms both; }
  .hero__mark .mark__ghost--2 { --o: .16; animation: mk-ghost 3.3s linear 120ms both; }
}

/* ---------- Bewegung beim Scrollen (an die Scroll-Position gekoppelt; ohne Unterstützung steht alles fertig da) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes v3-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
    @keyframes v3-pop { from { transform: scale(.9); } to { transform: none; } }
    @keyframes v3-l { from { transform: translateX(1em) rotate(-4deg); } to { transform: translateX(-2em) rotate(-10deg); } }
    @keyframes v3-r { from { transform: translateX(-1em) rotate(4deg); } to { transform: translateX(2em) rotate(10deg); } }
    .stage .phone--l { animation: v3-l linear both; animation-timeline: scroll(root); animation-range: 0 480px; }
    .stage .phone--r { animation: v3-r linear both; animation-timeline: scroll(root); animation-range: 0 480px; }
    .rv { animation: v3-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .big__num { transform-origin: 0 100%; animation: v3-pop linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .stat { animation: v3-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 25%; }
    .stat + .stat { animation-range: entry 30% cover 35%; }
    .outro__mark .mark__ring, .outro__mark .mark__power, .outro__mark .mark__hour, .outro__mark .mark__smile { animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .outro__mark .mark__ring { animation-name: mk-ring; } .outro__mark .mark__power { animation-name: mk-power; }
    .outro__mark .mark__hour { animation-name: mk-hour; } .outro__mark .mark__smile { animation-name: mk-smile; }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } html { scroll-behavior: auto; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Schmaler ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu { display: block; }
  .tiles, .steps, .fails__grid, .team { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .trust { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr; }
  .feat--flip .feat__text { order: 0; }
  .feat__text { max-width: 680px; }
  .wl { grid-template-columns: 1fr; padding: var(--s6); }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .road { grid-template-columns: 1fr 1fr; row-gap: var(--s6); }
}
@media (max-width: 640px) {
  .sec { padding-block: var(--s16); }
  .hero { padding-top: var(--s10); }
  .h1 { font-size: 40px; line-height: 44px; }
  .h2 { font-size: 32px; line-height: 36px; }
  .lead, .big__txt, .fails__out { font-size: 19px; line-height: 27px; }
  .h3 { font-size: 20px; line-height: 25px; }
  .phone { font-size: 8.4px; }
  .phone--s { font-size: 7.4px; }
  .stage .phone--l { margin-right: -9em; }
  .stage .phone--r { margin-left: -9em; }
  .feat__vis .phone { font-size: 9.4px; }
  .stats, .cmp { grid-template-columns: 1fr; }
  .stat__num { font-size: 40px; line-height: 44px; }
  .fails__lead { font-size: 24px; line-height: 28px; }
  .sheet { position: relative; left: auto; bottom: auto; width: 100%; max-width: 300px; margin-top: -120px; }
  .feat__vis--sheet { flex-direction: column; align-items: center; }
  .outro__claim { font-size: 40px; line-height: 44px; }
  .outro__mark { width: 72px; }
  .wl__row { flex-direction: column; }
  .wl__row input { flex: none; width: 100%; }
  .pot__row { grid-template-columns: 40px 1fr; }
  .pot__row .badge { grid-column: 2; justify-self: start; }
  .pot__row > span:empty { display: none; }
  .lang { display: none; }
  .faq p { padding-right: 0; }
  /* Kacheln als Karussell zum Wischen (CI: Kacheln oder Karussell) */
  .tiles { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: var(--s1) 20px var(--s4); }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles .tile { flex: 0 0 84%; scroll-snap-align: center; animation: none; }
}
@media (max-width: 420px) { .trust { grid-template-columns: 1fr; } .road { grid-template-columns: 1fr; } }
