
/* Rückgrat, Personal Training Wien (erfundenes Beispiel). Hell, ruhig und monochrom: Weiß, Tinte und ein einziges Blau für die Kurve.
   Leitidee: die Superkompensation (Pausen machen stärker). Im Titel kreist ein Ring aus Fotos, der zugleich das Menü ist.
   Ohne Skript oder bei "Bewegung reduzieren" steht alles fertig da. Dunkel gibt es per Schalter oder nach Systemeinstellung. */
:root {
  --bg: #FFFFFF; --soft: #F4F4F2; --ink: #0B0B0C; --mut: #67676C; --line: #E7E7E4; --line2: #CDCDC9; --acc: #2236FF;
  --z1: #DAD9D5; --z2: #B6B5B0; --z3: #8B8A86; --z4: #4B4B4D; --z5: #0B0B0C;
  --sans: system-ui, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gut: clamp(1rem, 4vw, 2.6rem); --max: 1240px; --r: 8px; --hh: 4rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0A0A0B; --soft: #151517; --ink: #F3F3F1; --mut: #9C9CA2; --line: #27272B; --line2: #3B3B41; --acc: #8191FF; --z1: #34343A; --z2: #55555B; --z3: #85858B; --z4: #B9B9BF; --z5: #F3F3F1; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0A0A0B; --soft: #151517; --ink: #F3F3F1; --mut: #9C9CA2; --line: #27272B; --line2: #3B3B41; --acc: #8191FF; --z1: #34343A; --z2: #55555B; --z3: #85858B; --z4: #B9B9BF; --z5: #F3F3F1; color-scheme: dark; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); }
h1, h2, h3, .disp { font-family: var(--sans); font-weight: 500; letter-spacing: -.03em; line-height: 1.04; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.w { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.kbar { background: var(--ink); color: var(--bg); }
.kbar a { color: var(--bg); }
.kbar :focus-visible { outline-color: var(--bg); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.kick { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.lead { max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--mut); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: 0 .5rem; color: var(--ink); font: 600 .95rem/1 var(--sans); text-decoration: none; }
.link::after { content: "→"; transition: transform .2s; }
.link:hover::after { transform: translateX(4px); }
.sec { --card: var(--soft); padding: clamp(4rem, 9vw, 7.5rem) 0; }
.sec.alt { --card: var(--bg); background: var(--soft); }
.sec-h { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.sec-h h2, .prin-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.03; letter-spacing: -.035em; }
.note { font: 500 .86rem/1.5 var(--sans); color: var(--mut); }

/* ---------- Kopfzeile ---------- */
.hd { position: sticky; top: 0; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; height: var(--hh); padding-inline: max(var(--gut), calc((100% - var(--max)) / 2)); background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (background: color-mix(in srgb, red, blue)) { .hd { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); } }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand .v0 { fill: var(--acc); }
.brand .v1 { fill: var(--ink); }
.brand b { font: 600 1.4rem/1 var(--sans); letter-spacing: -.04em; }
.nav { justify-self: center; display: flex; gap: clamp(1rem, 2.2vw, 2.1rem); font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.nav a { padding: .6rem 0; color: var(--mut); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.hd-r { display: flex; align-items: center; gap: .6rem; }
.hd .btn { min-height: 40px; padding: 0 1.1rem; font-size: .86rem; }
.theme { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.theme:hover { border-color: var(--ink); }
.theme svg { width: 18px; height: 18px; }
html.js .theme { display: inline-flex; }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acc); transform: scaleX(var(--tp, 1)); transform-origin: 0 50%; }
html:not(.scrub) .prog { display: none; }

/* ---------- Titel: Ring aus Fotos ---------- */
.hero { position: relative; overflow: clip; padding: .4rem 0 2.6rem; }
.orb { position: relative; container-type: size; height: min(100vw, 62svh); }
.orb-r { position: absolute; inset: 0; transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--my, 0) * -10px), 0); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.orb-t { --k: .8; position: absolute; left: 0; top: 0; z-index: var(--z, 1); width: calc(var(--w, 24) * var(--k) * 1cqmin); aspect-ratio: var(--ar, 1.5); transform: translate(calc(var(--x, 50) * 1cqw - 50%), calc(var(--y, 50) * 1cqh - 50%)); cursor: pointer; animation: tin .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.orb-t i { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 3px; background: var(--soft); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.orb-t img { width: 100%; height: 100%; object-fit: cover; }
.orb-t:hover { z-index: 30; }
.orb-t:hover i { transform: scale(1.07); }
.orb-l { position: absolute; left: 50%; top: calc(100% + .55rem); translate: -50% 0; padding: .38rem .75rem; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .25s; pointer-events: none; }
.orb-t:hover .orb-l { opacity: 1; }
@keyframes tin { from { opacity: 0; scale: .86; } to { opacity: 1; scale: 1; } }
@supports not (width: 1cqw) { .orb-t { left: calc(var(--x, 50) * 1%); top: calc(var(--y, 50) * 1%); width: calc(var(--w, 24) * var(--k) * .55%); transform: translate(-50%, -50%); } }
.hero-tx { position: relative; z-index: 3; display: grid; gap: 1.1rem; justify-items: center; padding: 1.2rem var(--gut) 0; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 10vw, 3.8rem); line-height: 1.02; letter-spacing: -.04em; }
.hero .lead { max-width: 26em; font-size: 1.02rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .9rem; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; margin-top: 1.8rem; padding: 0 var(--gut); }
.hero-facts div { display: flex; align-items: baseline; gap: .45rem; }
.hero-facts dt { order: 2; font: 500 .85rem/1 var(--sans); color: var(--mut); }
.hero-facts dd { order: 1; font: 500 1.35rem/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-facts dd small { font: 500 .85rem/1 var(--sans); letter-spacing: 0; color: var(--mut); }
@media (min-width: 900px) and (min-height: 600px) {
  .hero { display: grid; place-items: center; min-height: calc(100svh - var(--hh) - 3.1rem); padding: 0 0 4.6rem; }
  .orb { position: absolute; inset: 0 0 3.6rem; height: auto; }
  .orb-t { --k: 1; }
  .hero-tx { width: min(32rem, 38vw); padding: 0; }
  .hero h1 { font-size: clamp(2.4rem, min(4.6vw, 8.4vh), 4.6rem); }
  .hero-facts { position: absolute; left: 0; right: 0; bottom: 1.2rem; margin: 0; }
}
@media (min-width: 900px) and (min-height: 600px) and (max-height: 820px) { .hero .lead { display: none; } .hero-tx { gap: .9rem; } }

/* ---------- Prinzip: Superkompensation ---------- */
.prin { --card: var(--soft); position: relative; height: 380vh; background: var(--bg); --p: 1; }
.prin-stick { position: sticky; top: var(--hh); display: grid; grid-template-rows: auto auto; align-content: center; gap: clamp(1rem, 3vh, 2.2rem); height: calc(100svh - var(--hh)); padding: 1.4rem 0; overflow: hidden; }
.prin-head { display: grid; gap: .7rem; }
.prin-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center; min-height: 0; }
.chart { padding: .6rem; border-radius: var(--r); background: var(--card); }
.ch { display: block; width: 100%; height: auto; max-height: calc(100svh - 17rem); }
.ch .ax { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.ch .bl { fill: none; stroke: var(--line2); stroke-width: 1.8; stroke-dasharray: 6 8; }
.ch .tm { fill: none; stroke: var(--line2); stroke-width: 1.8; stroke-dasharray: 3 7; stroke-linecap: round; }
.ch .t { font: 500 22px var(--sans); fill: var(--ink); letter-spacing: -.01em; }
.ch .tp { font: 600 14px var(--sans); fill: var(--acc); letter-spacing: .12em; text-transform: uppercase; }
.ch .tr { fill: var(--ink); }
.ch .tg { fill: var(--mut); }
.ch .gd { fill: var(--acc); }
.ch .dr { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--p) - var(--s)) / var(--d), 1)); opacity: clamp(0, (var(--p) - var(--s)) * 60, 1); }
.ch .main { stroke: var(--acc); stroke-width: 6; opacity: calc(clamp(0, (var(--p) - var(--s)) * 60, 1) * (1 - clamp(0, (var(--p) - .70) / .06, 1) * .62)); }
.ch .early { stroke: var(--z4); stroke-width: 4; }
.ch .late { stroke: var(--z2); stroke-width: 4; }
.ch .fa { opacity: clamp(0, (var(--p) - var(--s)) / .05, 1); }
.prin-side { display: grid; gap: 1rem; align-content: center; min-width: 0; }
.prin-ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.prin-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: calc(clamp(0, (var(--p) - var(--a)) / .03, 1) * clamp(0, (var(--b) - var(--p)) / .03, 1)); }
.steps { position: relative; min-height: 10.5rem; }
.st { position: absolute; inset: 0; display: grid; align-content: start; gap: .55rem; opacity: calc(clamp(0, (var(--p) - var(--a)) / .03, 1) * clamp(0, (var(--b) - var(--p)) / .03, 1)); }
.st .n { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font: 600 .9rem/1 var(--sans); }
.st h3 { font-size: 1.8rem; line-height: 1.05; color: var(--ink); }
.st p { font-size: 1.02rem; line-height: 1.55; color: var(--mut); }
html:not(.scrub) .prin { height: auto; }
html:not(.scrub) .prin-stick { position: static; display: block; height: auto; padding: 4rem 0; }
html:not(.scrub) .prin-grid { margin-top: 1.4rem; }
html:not(.scrub) .steps { display: grid; gap: 1.2rem; min-height: 0; }
html:not(.scrub) .st { position: static; opacity: 1; }
html:not(.scrub) .prin-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; aspect-ratio: auto; background: none; }
html:not(.scrub) .prin-ph img { position: static; opacity: 1; aspect-ratio: 16 / 10; border-radius: var(--r); }
html:not(.scrub) .ch .main { opacity: 1; }
html:not(.scrub) .ch { max-height: none; }

/* ---------- Wochenplan ---------- */
.plan-ctl { display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; margin-bottom: 1.6rem; }
.plan-ctl fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.plan-ctl legend { margin-bottom: .65rem; padding: 0; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line2); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .92rem/1 var(--sans); transition: background-color .2s, color .2s, border-color .2s; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.opt input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 3px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; }
.day { display: grid; align-content: space-between; gap: .6rem; min-height: 150px; padding: .95rem .9rem; border: 1px solid transparent; border-radius: 10px; background: var(--card); animation: pop .5s both; animation-delay: calc(var(--i) * 60ms); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.day small { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.day b { font: 500 1.25rem/1.1 var(--sans); letter-spacing: -.02em; }
.day span { font-size: .86rem; line-height: 1.3; color: var(--mut); }
.day.t { background: var(--ink); color: var(--bg); }
.day.t small, .day.t span { color: var(--bg); opacity: .72; }
.day.a { border-color: var(--line2); background: transparent; }
.day.r { border: 1px dashed var(--line2); background: transparent; }
.day.r b { color: var(--mut); }
.plan-res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.4rem 3rem; align-items: center; margin-top: 1.4rem; padding: 1.5rem 1.6rem; border-radius: 10px; background: var(--card); }
.load { display: grid; gap: .6rem; }
.load > span { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.load b { font: 500 2rem/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.meter { height: 4px; border-radius: 99px; background: var(--line2); overflow: hidden; }
.meter i { display: block; width: calc(var(--v, 50) * 1%); height: 100%; border-radius: inherit; background: var(--ink); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.plan-res p { font-size: 1.04rem; line-height: 1.6; color: var(--ink); }

/* ---------- Puls ---------- */
.puls-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: start; }
.age { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.age label { display: flex; align-items: baseline; justify-content: space-between; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.age output { font: 500 2rem/1 var(--sans); letter-spacing: -.03em; color: var(--ink); text-transform: none; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 34px; margin: 0; background: transparent; accent-color: var(--acc); cursor: pointer; }
.zones { display: grid; gap: .5rem; }
.zone { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; grid-template-areas: "n t r" "b b b"; gap: .3rem .9rem; align-items: center; width: 100%; padding: .85rem 1rem; border: 1px solid transparent; border-radius: 10px; background: var(--card); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .2s; }
.zone:hover { border-color: var(--line2); }
.zone[aria-pressed="true"] { border-color: var(--ink); }
.zn { grid-area: n; font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.zt { grid-area: t; font: 500 1.25rem/1 var(--sans); letter-spacing: -.02em; }
.zr { grid-area: r; font: 500 .95rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.zb { grid-area: b; position: relative; height: 6px; border-radius: 99px; background: var(--line); }
.zb i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--zc); }
.zone-txt { margin-top: 1rem; font-size: 1.04rem; line-height: 1.6; color: var(--ink); min-height: 3.4em; }
.pulse-card { position: relative; overflow: hidden; border-radius: var(--r); background: #0B0B0C; color: #fff; }
.pulse-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pulse-read { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border-radius: 10px; background: rgba(11, 11, 12, .84); backdrop-filter: blur(6px); }
.pulse-read b { display: block; font: 500 3.2rem/.95 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pulse-read small { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.heart { width: 48px; height: 48px; flex: none; fill: #8D9BFF; transform-origin: 50% 55%; animation: beat var(--bt, .8s) ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.2); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } 56% { transform: scale(1); } }

/* ---------- Eine Stunde ---------- */
.hour { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.4rem, 3.5vw, 3rem); align-items: start; }
.hchart { padding: .6rem; border-radius: var(--r); background: var(--card); }
.hc { display: block; width: 100%; height: auto; }
.hc .band { cursor: pointer; }
.hc .b0, .hc .b2 { fill: var(--soft); }
.hc .b1, .hc .b3 { fill: transparent; }
.hc .band.on { fill: var(--line); }
.hc .ax { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.hc .t { font: 500 21px var(--sans); fill: var(--ink); letter-spacing: -.01em; }
.hc .tk { font: 500 15px var(--sans); fill: var(--mut); }
.hc .ghost { fill: none; stroke: var(--line2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hc .live { fill: none; stroke: var(--acc); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hc .ph { stroke: var(--ink); stroke-width: 1.6; }
.hc .pd { fill: var(--acc); stroke: var(--card); stroke-width: 3; }
.hbar { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.hbar .btn { min-height: 44px; padding: 0 1.2rem; }
.hbar output { min-width: 8.5rem; white-space: nowrap; font: 500 1.7rem/1 var(--sans); letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; }
.hpanel { display: grid; gap: 1rem; }
.hph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--card); }
.hph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.hph img.on { opacity: 1; }
.seg h3 { font-size: 2rem; line-height: 1.04; margin-bottom: .5rem; }
.seg small { display: block; margin-bottom: .6rem; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.seg p { font-size: 1.04rem; line-height: 1.6; color: var(--mut); }
html.js .seg:not(.on) { display: none; }
html:not(.js) .hph { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; aspect-ratio: auto; background: none; }
html:not(.js) .hph img { position: static; opacity: 1; aspect-ratio: 3 / 2; border-radius: var(--r); }
html:not(.js) .seg { margin-bottom: 1rem; }
html:not(.js) .ph-g { display: none; }

/* ---------- Fortschritt ---------- */
.prog-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.4rem, 3.5vw, 3rem); align-items: start; }
.pchart { padding: .6rem; border-radius: var(--r); background: var(--card); }
.pc { display: block; width: 100%; height: auto; }
.pc .ax { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.pc .gl { fill: none; stroke: var(--line); stroke-width: 1.5; }
.pc .tk { font: 500 15px var(--sans); fill: var(--mut); }
.pc .line { fill: none; stroke: var(--acc); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pc .line.go { animation: draw 1.4s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pc .pt { fill: var(--card); stroke: var(--ink); stroke-width: 2.6; }
.pc .pv { font: 500 24px var(--sans); letter-spacing: -.02em; fill: var(--ink); }
.pc .pw { font: 600 13px var(--sans); fill: var(--mut); letter-spacing: .1em; }
.metrics { display: grid; gap: 1.2rem; }
.mcard { padding: 1.4rem 1.5rem; border-radius: 10px; background: var(--card); }
.mcard .k { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.mrow { display: flex; align-items: baseline; gap: .8rem; margin: .6rem 0; font: 500 2.8rem/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.mrow s { text-decoration: none; font-size: 1.6rem; color: var(--mut); }
.mrow em { font: 600 .95rem/1 var(--sans); font-style: normal; letter-spacing: 0; color: var(--acc); }
.mcard p { font-size: .98rem; line-height: 1.55; color: var(--mut); }

/* ---------- Ergebnisse: Vorher und Nachher ---------- */
.ba-case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: center; }
.ba-case + .ba-case { margin-top: 3rem; }
html.js .ba-case + .ba-case { margin-top: 0; }
html.js .ba-case:not(.on) { display: none; }
/* ohne Skript: beide Fotos nebeneinander */
.ba-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; width: 100%; max-width: 720px; }
.ba-l { position: relative; isolation: isolate; margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; background: var(--soft); }
.ba-l img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* mit Skript: ein Foto über dem anderen, die Linie schneidet das obere ab */
html.js .ba-stage { display: block; max-width: none; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--soft); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
html.js .ba-l { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
html.js .ba-a { clip-path: inset(0 0 0 calc(var(--c, .5) * 100%)); }
.ba-rng, .ba-h { display: none; }
html.js .ba-rng { display: block; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
html.js .ba-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 40px; }
html.js .ba-rng::-moz-range-thumb { width: 2px; height: 40px; border: 0; background: transparent; }
html.js .ba-h { display: block; position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--c, .5) * 100%); width: 0; pointer-events: none; }
.ba-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 11, 12, .35); }
.ba-h i { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px -4px rgba(11, 11, 12, .45); }
.ba-h svg { width: 24px; height: 24px; color: #0B0B0C; }
.ba-rng:focus-visible + .ba-h i { outline: 2px solid #2236FF; outline-offset: 3px; }
.ba-cap { position: absolute; z-index: 1; bottom: .8rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(11, 11, 12, .86); color: #fff; font: 600 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.ba-cap b { margin-right: .45em; font-weight: 700; }
.ba-a .ba-cap b { color: #AEB8FF; }
.ba-b .ba-cap { left: .8rem; }
.ba-a .ba-cap { right: .8rem; }
/* Messhilfe: Linien und Etiketten liegen je auf ihrem Foto und werden mit abgeschnitten (Farben fest, weil sie auf Fotos liegen) */
.tag { position: absolute; z-index: 1; transform: translate(var(--tx, 0), -50%); padding: .42rem .85rem; border-radius: 999px; background: #0B0B0C; color: #fff; font: 600 .82rem/1 var(--sans); white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(11, 11, 12, .6); }
.tag.c { --tx: -50%; }
.tag b { font: 600 1.15rem/1 var(--sans); letter-spacing: -.02em; }
.tag small { font: 500 .76rem/1 var(--sans); }
.ba-a .tag { background: #2236FF; }
.dr { fill: none; stroke: #2F46FF; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dt { fill: none; stroke: #2F46FF; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 11; }
.dot { fill: #fff; stroke: #2F46FF; stroke-width: 5; }
.ba.noov .ba-ov, .ba.noov .tag { display: none; }
html.rvs .ba:not(.in) .dr { stroke-dashoffset: 1; }
html.rvs .ba:not(.in) .dt, html.rvs .ba:not(.in) .dot, html.rvs .ba:not(.in) .tag { opacity: 0; }
html.rvs .ba.in .ba-case.on .dr { animation: draw 1.1s cubic-bezier(.3, .7, .2, 1) .35s both; }
html.rvs .ba.in .ba-case.on .dt, html.rvs .ba.in .ba-case.on .dot { animation: fadein .4s ease 1.2s both; }
html.rvs .ba.in .ba-case.on .tag { animation: tagpop .5s cubic-bezier(.2, .8, .2, 1) 1.2s both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes tagpop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
.ba-panel { display: grid; gap: 1.1rem; align-content: center; min-width: 0; }
.ba-panel .k { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.ba-panel h3 { max-width: 11em; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.who { font-size: 1.04rem; line-height: 1.45; color: var(--mut); }
.who b { font-weight: 600; color: var(--ink); }
.ba-how { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; padding: .9rem 1rem; border-radius: 10px; background: var(--card); font-size: .93rem; line-height: 1.45; color: var(--mut); }
.ba-how::before { content: ""; width: 1.4rem; height: 3px; margin-top: .55rem; border-radius: 2px; background: var(--acc); }
.bm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.bm div { padding: .95rem 1rem 1.05rem; border-radius: 10px; background: var(--card); }
.bm dt { min-height: 2.7em; font: 600 .66rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.bm dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .4rem; margin-top: .4rem; font: 500 2rem/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.bm dd s { text-decoration: none; font-size: 1.2rem; color: var(--mut); }
.bm dd i { font: 600 1rem/1 var(--sans); font-style: normal; color: var(--acc); }
.bm dd b { font-weight: 500; }
.bm dd small { font: 600 .8rem/1 var(--sans); letter-spacing: 0; color: var(--mut); }
.ba-freq { display: flex; flex-wrap: wrap; gap: .5rem; }
.ba-freq span { padding: .45rem .9rem; border: 1px solid var(--line2); border-radius: 999px; font: 600 .82rem/1 var(--sans); }
.ba-panel blockquote { margin: 0; padding-left: 1.1rem; border-left: 2px solid var(--acc); font: 500 clamp(1.25rem, 2.1vw, 1.6rem)/1.25 var(--sans); letter-spacing: -.02em; color: var(--ink); max-width: 26em; }
html:not(.js) .ba-stage { max-width: 720px; }
html:not(.js) .tag small { display: none; }

/* ---------- Formate ---------- */
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 1.2rem; }
.fmt { display: grid; grid-template-rows: auto 1fr; gap: 1rem; }
.fmt img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); transition: opacity .3s; }
.fmt:hover img { opacity: .9; }
.fmt div { display: grid; align-content: start; gap: .55rem; }
.fmt h3 { font-size: 1.5rem; line-height: 1.1; }
.fmt p { font-size: .96rem; line-height: 1.5; color: var(--mut); }
.fmt .pr { margin-top: .3rem; padding-top: .8rem; border-top: 1px solid var(--line2); font: 500 .85rem/1.3 var(--sans); color: var(--mut); }
.fmt .pr b { font: 500 1.4rem/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }

/* ---------- Mara ---------- */
.mara { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: center; }
.mara-ph { overflow: hidden; border-radius: var(--r); background: var(--card); }
.mara-ph img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mara-tx { display: grid; gap: 1.2rem; justify-items: start; }
.quote { max-width: 18em; font: 500 clamp(1.8rem, 3.4vw, 2.9rem)/1.06 var(--sans); letter-spacing: -.035em; color: var(--ink); }
.facts { display: grid; width: 100%; margin-top: .6rem; }
.facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line2); }
.facts dt { font: 600 .68rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.facts dd { font-size: 1rem; line-height: 1.5; }

/* ---------- Kontakt ---------- */
.kon { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: stretch; }
.kon-l { display: grid; grid-template-rows: auto 1fr; gap: 1.4rem; }
.kon-ph { overflow: hidden; border-radius: var(--r); min-height: 14rem; }
.kon-ph img { width: 100%; height: 100%; object-fit: cover; }
.kon-l dl { display: grid; gap: .9rem; align-content: start; }
.kon-l dt { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.kon-l dd { font-size: 1.04rem; line-height: 1.5; }
.form { display: grid; gap: 1rem; align-content: start; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 12px; background: var(--card); }
.form h3 { font-size: 2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font: 600 .86rem/1.2 var(--sans); }
.form input, .form select, .form textarea { width: 100%; padding: .8rem .95rem; border: 1px solid var(--line2); border-radius: 8px; background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: 2px solid var(--acc); outline-offset: 1px; }
.form .btn { justify-self: start; }
.form .fine { font: 500 .84rem/1.4 var(--sans); color: var(--mut); }
.legal { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line2); font: 400 .82rem/1.6 var(--sans); color: var(--mut); max-width: 62em; }

/* ---------- Einblenden beim Scrollen ---------- */
html.rvs .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
html.rvs .rv.in { opacity: 1; transform: none; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1100px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 961px) and (max-height: 820px) { html.js .ba-stage { width: min(100%, calc((100svh - 9rem) * .8)); } }
@media (max-width: 960px) {
  .hd { grid-template-columns: auto auto; justify-content: space-between; }
  .nav { display: none; }
  .puls-in, .hour, .prog-in, .mara, .kon { grid-template-columns: 1fr; }
  .prin-grid { grid-template-columns: 1fr; gap: .8rem; }
  .prin-stick { gap: .8rem; }
  .ch { max-height: 36svh; }
  .steps { min-height: 9rem; }
  .st h3 { font-size: 1.5rem; }
  .st p { font-size: .96rem; line-height: 1.45; }
  .prin-ph { aspect-ratio: 21 / 9; }
  .plan-res { grid-template-columns: 1fr; }
  .mara-ph { max-width: 26rem; }
  .facts div { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .ba-case { grid-template-columns: 1fr; gap: 1.4rem; }
  html.js .ba-stage { width: min(100%, 440px); margin-inline: auto; }
  .ba-panel h3 { max-width: none; }
}
@media (max-width: 760px) {
  .week { grid-template-columns: 1fr; gap: .5rem; }
  .day { grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; min-height: 0; padding: .75rem .9rem; }
  .day b { font-size: 1.1rem; }
  .formats { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .pulse-read b { font-size: 2.6rem; }
  .zone { grid-template-columns: 3.6rem minmax(0, 1fr) auto; padding: .75rem .8rem; }
}
@media (max-width: 560px) {
  .kbar { flex-wrap: nowrap; gap: .5rem; font-size: .58rem; padding: .3rem .8rem; }
  .kbar a { min-height: 1.4rem; }
  .kbar .hide-s { display: none; }
  :root { --hh: 3.6rem; }
  .brand b { font-size: 1.25rem; }
  .hd .btn { min-height: 38px; padding: 0 .95rem; font-size: .82rem; }
  .theme { width: 38px; height: 38px; }
  .btn { min-height: 46px; padding: 0 1.3rem; }
  .ch .t { font-size: 31px; } .ch .tp { font-size: 20px; }
  .hc .t { font-size: 28px; } .hc .t.bt { font-size: 22px; } .hc .tk { font-size: 20px; }
  .pc .tk { font-size: 20px; } .pc .pv { font-size: 31px; } .pc .pw { font-size: 18px; }
  .ba .plan-ctl { gap: .6rem; margin-bottom: 1rem; }
  .ba .plan-ctl legend { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ba .opts { gap: .4rem; }
  .ba .opt span { min-height: 42px; padding: 0 .85rem; font-size: .88rem; }
  .ba-h i { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ba-cap { bottom: .55rem; padding: .34rem .6rem; font-size: .6rem; }
  .ba-b .ba-cap { left: .55rem; } .ba-a .ba-cap { right: .55rem; }
  .tag { padding: .36rem .66rem; font-size: .78rem; }
  .tag b { font-size: 1.05rem; }
  .tag small { display: none; }
  .dr { stroke-width: 7; } .dt { stroke-width: 6; } .dot { stroke-width: 7; }
  .bm { grid-template-columns: 1fr; gap: .5rem; }
  .bm div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .7rem .9rem; }
  .bm dt { min-height: 0; }
  .bm dd { margin-top: 0; justify-content: flex-end; }
  .orb-l { display: none; }
}
@media (max-width: 960px) and (max-height: 780px) { .prin-ph { display: none; } .prin-stick { gap: .6rem; } }
@media (orientation: landscape) and (max-height: 520px) {
  :root { --hh: 3.2rem; }
  .prin-stick { gap: .5rem; }
  .prin-head h2 { font-size: 1.6rem; }
  .prin-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .prin-ph { display: none; }
  .ch { max-height: calc(100svh - 7rem); }
  .steps { min-height: 8rem; }
  .st h3 { font-size: 1.3rem; } .st p { font-size: .86rem; line-height: 1.35; }
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .day { display: grid; grid-template-columns: none; min-height: 110px; }
  .puls-in, .hour, .prog-in, .mara, .kon, .plan-res, .ba-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  html.js .ba-stage { width: min(100%, calc((100svh - 5rem) * .8)); margin-inline: 0; }
  .bm { grid-template-columns: 1fr; }
  .bm div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: .5rem .8rem; }
  .bm dt { min-height: 0; } .bm dd { margin-top: 0; }
  .tag { padding: .3rem .56rem; font-size: .72rem; } .tag b { font-size: 1rem; } .tag small { display: none; }
  .ba-cap { bottom: .45rem; padding: .26rem .5rem; font-size: .58rem; } .ba-b .ba-cap { left: .45rem; } .ba-a .ba-cap { right: .45rem; }
  .ba-h i { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .ba-h svg { width: 22px; height: 22px; }
  .dr { stroke-width: 7; } .dt { stroke-width: 6; } .dot { stroke-width: 7; }
}
