/* =====================================================================
   v3 · Schnittplatz
   Die Seite sieht aus wie ein Schnittprogramm: oben der Monitor, darunter die Timeline mit vier Spuren.
   Regeln: neutrale Grautöne, flache Flächen, eckige Kanten, eine einzige Signalfarbe (Playhead-Orange).
   Die Spurfarben kommen nur in der Timeline und als dünne Kante der Abschnitte vor.
   Keine Farbverläufe auf Text, kein Leuchten, keine runden Pillen.
   ===================================================================== */

/* ---------- 1 · Farben und Maße ---------- */
:root {
  --bg: #EFEDE8; --bg-2: #E7E5DF; --surface: #FAF9F6; --ink: #16161A; --muted: #5E5D58; --line: #CFCDC6;
  --accent: #C8421F; --marker: #E0502C; --glow-1: transparent; --glow-2: transparent; --glow-3: transparent;
  --studio: #0D0E10; --studio-2: #16171A; --studio-fg: #EDECE8; --studio-muted: #8F8E89; --studio-line: #2A2B30;
  --tl-bg: #131417; --tl-hd: #1A1B1F; --tl-line: #2A2B30; --ph: #FF7452; --on-color: #14110F;
  --r: 3px;
  /* Höhe von Kopfzeile und Timeline: daraus ergibt sich, wie hoch der Monitor oben sein darf,
     damit die Timeline ohne Scrollen im ersten Bildschirm steht */
  --hdr: 57px; --tlh: 303px; --stair: 13%; --mw: 36%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316; --bg-2: #17181C; --surface: #1C1D22; --ink: #EDECE8; --muted: #9B9A95; --line: #2B2C31;
    --accent: #FF7452; --marker: #FF7452; --glow-1: transparent; --glow-2: transparent; --glow-3: transparent;
    --studio: #0D0E10; --studio-2: #16171A;
  }
}
:root[data-theme="dark"] {
  --bg: #121316; --bg-2: #17181C; --surface: #1C1D22; --ink: #EDECE8; --muted: #9B9A95; --line: #2B2C31;
  --accent: #FF7452; --marker: #FF7452; --glow-1: transparent; --glow-2: transparent; --glow-3: transparent;
  --studio: #0D0E10; --studio-2: #16171A;
}
@media (max-width: 900px) { :root { --stair: 9%; --mw: 50%; } }
@media (max-width: 860px) { :root { --hdr: 102px; } }
@media (max-width: 640px) { :root { --stair: 7%; --mw: 66%; --tlh: 279px; } }
/* Niedrige Bildschirme (kleine Laptops): Spuren etwas flacher, damit alle vier ins Bild passen */
@media (max-height: 760px) and (min-width: 641px) {
  :root { --tlh: 283px; }
  .tl-ruler .tl-ruler-in { height: 40px; }
  .sec.collapsed .trk { max-height: 54px; }
  .trk .trk-lanes { height: 48px; }
}

/* ---------- 2 · Kopfzeile und Knöpfe ---------- */
header.top { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* Das Marker-Fähnchen aus der Timeline ist auch das Zeichen neben dem Namen */
.brand i, a.brand i { width: 9px; height: 12px; border-radius: 0; box-shadow: none; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); transition: none; }
a.brand:hover i { transform: none; box-shadow: none; }
.seg { border-radius: var(--r); background: transparent; }
.nav-book { border-radius: var(--r); padding: 7px 13px; color: var(--on-color) !important; }
.nav-book:hover { transform: none; }
.btn { border-radius: var(--r); }
.btn:hover { transform: none; }
.btn.primary:hover { background: var(--ph); color: var(--on-color); }
.btn.ghost { border: 0; background: none; padding-inline: 6px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.btn.ghost:hover { color: var(--accent); }
button:focus-visible, a:focus-visible, summary:focus-visible { border-radius: 2px; }

/* ---------- 3 · Monitor (Startbereich) ---------- */
.hero-band::before { display: none; }
/* Monitor + Timeline füllen genau den ersten Bildschirm (über der Leiste unten): das Impressum kommt erst beim Scrollen */
.hero-band { --hh: max(var(--hmin, 300px), calc(100svh - var(--hdr) - var(--tlh) - 53px - env(safe-area-inset-bottom, 0px))); min-height: var(--hh); display: grid; }
.hero-band > .wrap { width: 100%; display: grid; align-items: end; }
.hero { padding-block: 26px 30px; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero-bg, .hero-bg video { height: 100%; }
.hero-bg { bottom: 0; -webkit-mask-image: none; mask-image: none; }
.eyebrow { font-size: 11px; letter-spacing: .08em; margin-bottom: 14px; }
h1 { margin-bottom: 16px; }
h1 .role { font-size: clamp(50px, min(9.4vw, 14svh), 136px); }
h1 .role em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; animation: none; }
h1 .name { font-size: clamp(21px, min(3.2vw, 5svh), 44px); margin-top: 8px; }
.lede { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; max-width: 30em; margin-bottom: 22px; }
.monitor { width: auto; max-width: none; padding: 7px; border-radius: 4px; box-shadow: none; border: 1px solid #2A2B30; }
.frame { height: clamp(150px, calc(var(--hh) - 152px), 420px); width: auto; margin-inline: auto; border-radius: 2px; }
.frame .lower { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 14, 16, .82); left: 8%; right: 8%; padding: 7px 10px; }
.frame .lower b { font-size: 14px; }
.mon-bar { padding: 2px 4px 8px; font-size: 10px; }
.tc-wrap { padding: 8px 4px 0; }
.tc { font-size: clamp(16px, 3svh, 26px); }
.tc-meta { font-size: 10px; }
@media (max-height: 760px) { .frame .lower { display: none; } }
@media (max-height: 760px) and (min-width: 761px) {
  .hero { padding-block: 20px 22px; }
  .eyebrow { margin-bottom: 10px; }
  h1 { margin-bottom: 12px; }
  h1 .role { font-size: clamp(50px, min(9.4vw, 12svh), 136px); }
  .lede { max-width: 48em; margin-bottom: 16px; }
  .btn { padding: 11px 18px; }
}
@media (max-width: 1000px) {
  h1 .role { font-size: clamp(50px, min(8.4vw, 12svh), 136px); }
  .frame { height: clamp(150px, calc(var(--hh) - 152px), 300px); }
  .hero { gap: 28px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 20px 24px; position: relative; }
  .hero > div:last-child { position: absolute; right: 0; top: 20px; }
  .monitor { padding: 3px; max-width: none; }
  .mon-bar, .tc-wrap, .frame .lower, .frame .safe { display: none; }
  .frame { height: 76px; }
  .eyebrow { display: none; }
  h1 .role { font-size: min(12.4vw, 72px); }
  h1 .name { font-size: clamp(19px, 5.4vw, 30px); }
  .lede { margin-bottom: 18px; }
  .cta-row { gap: 6px 10px; align-items: center; }
  .btn { padding: 11px 14px; font-size: 14.5px; }
}

/* ---------- 4 · Timeline: Titelzeile, Lineal mit Marker-Fähnchen, vier Spuren ---------- */
.tl-cap, .any-folded .tl-cap { max-height: none; opacity: 1; background: var(--studio); border-top: 1px solid var(--tl-line); }
.tl-cap-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 30px; padding: 0; color: var(--studio-muted); font-size: 10.5px; }
.tl-cap-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-cap-h { display: inline-flex; align-items: center; gap: 6px; color: var(--ph); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.any-folded .tl-cap-h { opacity: 1; }
.tl-cap-in svg { width: 12px; height: 12px; }
.tl-ruler { background: var(--studio); border-top: 1px solid var(--tl-line); border-bottom: 1px solid var(--tl-line); }
.tl-ruler-in { height: 46px; }
.tl-hd { border-right-color: var(--tl-line); }
.tl-scale i { padding-bottom: 10px; line-height: 1; }
.tl-scale { background-size: 100% 4px, 100% 8px; }
.tl-ph, .trk-lanes::after, .seq-ph, .cv-ph { box-shadow: none; }
.tl-flag { position: absolute; top: 4px; left: calc(var(--ti) * var(--stair)); z-index: 2; min-width: 22px; padding: 2px 4px 6px; text-align: center; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; line-height: 1; color: var(--on-color); background: var(--sc);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%); }

.trk { grid-template-columns: 88px minmax(0, 1fr); }
.sec.collapsed .trk { max-height: 60px; }
.sec.collapsed { background: var(--tl-bg) !important; border-bottom-color: var(--tl-line); }
.trk-hd { background: var(--tl-hd); border-right-color: var(--tl-line); font-size: 11px; }
.trk-hd i { border-radius: 1px; }
.trk-lanes { display: flex; gap: 2px; height: 54px; padding: 5px 0; background: var(--tl-bg); }
.trk-pre, .trk-post { display: flex; gap: 2px; min-width: 0; }
.trk-pre { flex: 0 0 calc(var(--ti) * var(--stair) - 2px); }
.trk-pre:empty { display: none; }
.trk-post { flex: 1 1 0; }
/* Kleine Clips: zeigen, was im Abschnitt steckt */
.trk-sub { flex: var(--w, 1) 1 0; min-width: 0; overflow: hidden; white-space: nowrap; display: flex; align-items: center; padding: 0 8px; border-radius: 2px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .02em; color: color-mix(in srgb, var(--sc) 50%, #EDECE8);
  background: color-mix(in srgb, var(--sc) 22%, var(--tl-bg)); box-shadow: inset 0 2px 0 color-mix(in srgb, var(--sc) 60%, var(--tl-bg)); transition: background-color .2s; }
/* Hauptclip = der Marker zum Aufklappen: volle Spurfarbe, dunkle Schrift wie Clipnamen im Schnittprogramm */
.trk-clip, .trk-a .trk-clip { flex: 0 0 var(--mw); min-width: 0; min-height: 0; margin: 0; padding: 0 12px; border-radius: 2px; background: var(--sc); color: var(--on-color); box-shadow: none; transition: box-shadow .15s; transform-origin: left center; }
.trk-clip::before { display: none; }
.trk-wave { background: var(--on-color); opacity: .17; top: 5px; bottom: 5px; }
.trk-name { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .06em; }
.trk-name i { flex: none; width: 9px; height: 12px; background: var(--on-color); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.trk-name em { font-style: normal; opacity: .7; }
.trk-name b { margin: 0; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; }
.trk-open { gap: 4px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 10px; opacity: .72; }
.trk-open svg { width: 12px; height: 12px; }
.trk:hover .trk-hd, .trk:focus-visible .trk-hd { background: color-mix(in srgb, var(--sc) 30%, var(--tl-hd)); }
.trk:hover .trk-clip, .trk:focus-visible .trk-clip { transform: none; filter: none; box-shadow: inset 0 0 0 2px #fff; }
.trk:hover .trk-open, .trk:focus-visible .trk-open { background: none; color: inherit; border: 0; opacity: 1; }
.trk:hover .trk-sub, .trk:focus-visible .trk-sub { background: color-mix(in srgb, var(--sc) 32%, var(--tl-bg)); }
.trk:active .trk-clip { transform: none; }
/* Beim ersten Erscheinen: Clips werden nacheinander in die Spuren gelegt */
.js:not(.tl-in) .sec.collapsed .trk-sub, .js:not(.tl-in) .tl-flag { opacity: 0; }
.js.tl-in:not(.tl-done) .sec.collapsed .trk-sub { animation: v3-sub .45s ease both; animation-delay: calc(var(--ti, 0) * 110ms + 520ms); }
.js.tl-in:not(.tl-done) .tl-flag { animation: v3-flag .35s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--ti, 0) * 110ms + 60ms); }
.js.tl-in:not(.tl-done) .sec.collapsed .trk-open { animation: none; }
@keyframes v3-sub { from { opacity: 0; } }
@keyframes v3-flag { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 640px) {
  .tl-ruler-in, .trk { grid-template-columns: 46px minmax(0, 1fr); }
  .tl-ruler-in { height: 42px; }
  .tl-cap-n { font-size: 9.5px; }
  .sec.collapsed .trk { max-height: 56px; }
  .trk-lanes { height: 50px; }
  .trk-hd { padding-left: 7px; gap: 5px; font-size: 10.5px; }
  .trk-clip, .trk-a .trk-clip { padding: 0 9px; min-height: 0; margin: 0; }
  .trk-sub { font-size: 0; padding: 0; }
  .trk-name { font-size: 10px; gap: 6px; }
  .trk-name b { display: inline; margin: 0; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .js .sec.collapsed .trk-sub, .js .tl-flag { opacity: 1; animation: none; } }

/* ---------- 5 · Aufgeklappte Abschnitte ---------- */
#leistungen::before, #ueber-mich::before, .studio::before, .contact-band::before { display: none; }
.sec-edge { height: 2px; background: var(--sc); }
.sec-edge::after { display: none; }
.sec .marker { padding: 0; border: 0; border-radius: 0; background: none; font-size: 11px; letter-spacing: .1em; gap: 9px; }
.sec .marker i { width: 9px; height: 12px; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.sec .marker.tgl:hover { background: none; box-shadow: none; }
.sec .marker.tgl:hover .mk-state { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.marker .chev { width: auto; height: auto; margin: 0; border-radius: 0; background: none; }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
/* Überschrift über die ganze Breite, der kurze Text darunter: ruhiger als zwei Spalten */
.sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
.sec-head h2 { max-width: 20ch; }
.sec-head p { max-width: 52ch; }
.about h2 .hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--sc); }

:root[data-theme="light"] .about h2 .hl { color: #A36F00; }

/* Reiter als schlichte Leiste mit Unterstrich */
.lt-tabs { display: flex; gap: 26px; padding: 0; margin: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lt-tabs button { padding: 10px 0 12px; margin-bottom: -1px; border-radius: 0; border-bottom: 2px solid transparent; }
.lt-tabs button[aria-selected="true"] { background: none; color: var(--ink); box-shadow: none; border-bottom-color: var(--sc); }

/* Workflow: sechs flache Clips in der Abschnittsfarbe */
.steps { padding: 0; gap: 2px; margin-bottom: 18px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.steps::before { display: none; }
.step > button, .step:first-child > button, .step:last-child > button { --c: var(--sc); clip-path: none; border-radius: 2px; min-height: 58px; padding: 9px 12px; border-top: 2px solid var(--sc); background: color-mix(in srgb, var(--sc) 20%, var(--studio)); }
.step:hover > button, .step > button:focus-visible, .step.open > button { background: var(--sc); color: var(--on-color); transform: none; }
.step-tip { --c: var(--sc); border-radius: var(--r); border-top-width: 2px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }

/* Schnittliste */
.edl { border-radius: var(--r); box-shadow: none; }
.edl-row { --c: var(--sc) !important; padding-block: 18px; }
.edl-row::after { display: none; }
.edl-row:hover h3 { transform: none; }
.edl-n { color: var(--studio-muted); }
.edl-tool { padding: 0; border: 0; border-radius: 0; font-size: 11.5px; color: var(--studio-muted); }

/* Formate */
.show { --c: var(--sc) !important; border-radius: var(--r); gap: 18px; }
.show .tl { display: none; }
.show > .show-more { margin-top: 0; }
.show::before { width: 3px; }
.show::after, .np::after, .stat::after { display: none; }
.ch-filter button { border-radius: var(--r); font-size: 15px; font-stretch: 114%; padding: 7px 12px; }
.ch-filter button:hover { border-color: var(--studio-fg); }
.ch-filter button i { padding: 0; border-radius: 0; background: none; }
.ch-filter button[aria-pressed="true"] i { background: none; }
.ch-tag { border-radius: 2px; background: none; }
.rights::before { color: var(--studio-muted); }
.client { --c: var(--studio-fg) !important; min-height: 140px; border-radius: var(--r); background: none; transition: border-color .2s; }
.client::before { display: none; }
.client:hover, .client:focus-visible { transform: none; box-shadow: none; border-color: var(--studio-fg); }
.client:hover .wm, .client:focus-visible .wm { transform: none; }
.cl-arrow { top: 14px; right: 14px; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: var(--studio-muted); }
.client:hover .cl-arrow, .client:focus-visible .cl-arrow { background: none; color: var(--studio-fg); transform: translate(2px, -2px); }
.cl-dom { color: var(--studio-muted); text-decoration-color: currentColor; }
.cl-meta { border-top-style: solid; }
.wm-gtv b { color: inherit; }
.wm-ki i { border-radius: 2px; }

/* Über mich */
.about { align-items: start; }
.clipinfo, .cv { border-radius: var(--r); box-shadow: none; }
.clipinfo .ci-head, .cv-bar { background: none; }
.cv-hint { color: var(--studio-muted); }
.cv-hd, .cv-row, .cv-clip { border-radius: 2px; }
.cv-clip.act { box-shadow: inset 0 0 0 2px #fff; color: var(--on-color); }
.cv-view { background: none; }

/* Kontakt und Anfrage */
.contact-band h2 { font-size: clamp(36px, 5.4vw, 72px); }
.np { border-radius: var(--r); box-shadow: none; }
.np-tab .dot { width: 30px; height: 30px; border-radius: 2px; }
.np-stepper li + li::before, .np-stepper li + li::after { top: 14px; }
.np-stepper li + li::after { background: var(--ph); }
.np-tab[aria-selected="true"] .dot { box-shadow: none; transform: none; }
.np-tab.set .dot { background: var(--studio-fg); border-color: var(--studio-fg); }
.np-tab.set[aria-selected="true"] .dot { background: var(--ph); border-color: var(--ph); }
.np-ok.done, .np-saved, .np-rem-ok { color: var(--studio-fg) !important; }
.tile > span { border-radius: var(--r); background: none; }
.tile .ic { width: 28px; border-radius: 0; background: none; }
.tile > span { grid-template-columns: 28px 1fr; }
.tile:hover > span { transform: none; box-shadow: none; border-color: #77767A; }
.tile input:checked + span { background: rgba(255, 116, 82, .08); }
.tile input:checked + span .ic { background: none; color: var(--ph); }
.tile > span::after, .tile input[type="checkbox"] + span::after { border-radius: 2px; }
.np-name input, .np-name textarea, .np-prev pre, .cal-f, .cal-btn, .np-remember { border-radius: var(--r); }
.np-go, .np-copy, .copy, .cal-multi, .cal-chip, .ct-quick a { border-radius: var(--r); }
.np-go, .ct-quick .q-mail { color: var(--on-color); }
.np-go:hover { transform: none; }
.cal-f.next { box-shadow: none; }
.cal-d span { border-radius: 2px; }
.cal-d.is-start span, .cal-d.is-end:not(.preview) span { color: var(--on-color); }
.cal.multi .cal-months { border-radius: var(--r); }
.np-done-ic { border-radius: var(--r); box-shadow: none; background: var(--studio-fg); }
.np-remember { background: rgba(255, 116, 82, .06); }
.cd { background: var(--studio-2); border-radius: var(--r); }
.cd-id img { width: 56px; height: 68px; border-radius: 2px; box-shadow: none; }
.cd-status { padding: 0; border: 0; border-radius: 0; background: none; color: var(--studio-fg); }
.cd-status i { border-radius: 0; animation: none; box-shadow: none; }
.cd-mail a:hover { color: var(--ph); }
.cd-rows a { color: var(--studio-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Musikvideo-Kacheln im Reiter */
.mv-card { border-radius: var(--r); }
.mv-card:hover, .mv-card:focus-visible { transform: none; box-shadow: none; border-color: var(--ink); }
.mv-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 2px; background: rgba(13, 14, 16, .72); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mv-play::before { left: 17px; top: 13px; border-width: 10px 0 10px 15px; }
.mv-card:hover .mv-play { transform: none; background: var(--ph); }
.mv-meta small { color: var(--muted); }

/* ---------- 6 · Fuß, Leiste unten, Knopf, Dialoge ---------- */
.privacy, .dlg, .dlg-x, .toast { border-radius: var(--r); }
.dlg { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.dlg::backdrop { backdrop-filter: none; background: rgba(13, 14, 16, .78); }
kbd, .seq-clip { border-radius: 2px; }
.seq { background: var(--studio); backdrop-filter: none; -webkit-backdrop-filter: none; }
.book-fab { border-radius: var(--r); color: var(--on-color); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.book-fab i { display: none; }
.eos i { clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); height: 12px; width: 9px; }

/* ---------- 7 · Intro: kürzer ---------- */
.im-name { animation-duration: .7s; animation-delay: .05s; }
.im-line { animation-duration: .5s; animation-delay: .3s; }
.im-sub { animation-duration: .4s; animation-delay: .45s; }
.im-am text { animation-duration: .8s; animation-delay: 0s; }
.intro.out { animation-duration: .45s; }
.intro-mark { transition-duration: .45s; }

@media (prefers-reduced-motion: reduce) { .seq { transition: none; } }

/* Sehr niedrige Bildschirme (z. B. Laptop mit 1366 x 768): alles etwas dichter, damit alle vier Spuren über der Leiste unten stehen */
@media (max-height: 700px) and (min-width: 761px) {
  :root { --tlh: 259px; --hmin: 276px; }
  .hero { padding-block: 14px 16px; }
  .lede { margin-bottom: 14px; }
  .sec.collapsed .trk { max-height: 48px; }
  .trk .trk-lanes { height: 42px; padding: 4px 0; }
}

/* Kleine Handys: Spuren etwas flacher, damit auch die vierte über der Leiste unten steht */
@media (max-width: 640px) and (max-height: 720px) {
  :root { --tlh: 263px; --hmin: 284px; }
  .sec.collapsed .trk { max-height: 52px; }
  .trk .trk-lanes { height: 46px; padding: 4px 0; }
}
/* ---------- 8 · Spuren bleiben als Kopf des Abschnitts stehen ----------
   Auf- und Zuklappen passiert immer an derselben Stelle: Klick auf die Spur öffnet, derselbe Klick schließt.
   Beim Scrollen durch einen offenen Abschnitt klebt seine Spur unter der Kopfzeile. */
.sec .trk { max-height: 60px; opacity: 1; margin-bottom: 0; transition: margin-bottom .64s cubic-bezier(.65,0,.35,1); }
.sec:not(.collapsed) { padding-top: 0; }
.sec:not(.collapsed) .trk { margin-bottom: 56px; position: sticky; top: var(--hdr); z-index: 6; box-shadow: 0 0 0 100vmax var(--tl-bg); clip-path: inset(0 -100vmax -1px); }
#leistungen, #ueber-mich, .studio, .contact-band { overflow: clip; }
.sec.collapsed .to-c, .sec:not(.collapsed) .to-o { display: none; }
.sec:not(.collapsed) .trk-open svg { transform: rotate(180deg); }
.sec:not(.collapsed) .trk-open { opacity: 1; }
.sec:not(.collapsed) .sec-edge { display: none; }
/* Der kleine Marker-Schalter im Abschnitt entfällt: die Spur darüber ist jetzt der Schalter */
.sec .marker.tgl { display: none; }
@media (max-height: 760px) and (min-width: 641px) { .sec .trk { max-height: 54px; } }
@media (max-height: 700px) and (min-width: 761px) { .sec .trk { max-height: 48px; } }
@media (max-width: 640px) { .sec .trk { max-height: 56px; } .sec:not(.collapsed) .trk { margin-bottom: 36px; } }
@media (max-width: 640px) and (max-height: 720px) { .sec .trk { max-height: 52px; } }
@media (prefers-reduced-motion: reduce) { .sec .trk { transition: none; } }
