/* =====================================================================
   site.css  ·  Kilian Portfolio  ·  Apple-UI, Liquid Glass, Grün #295a35
   Schrift: Apple-Systemschrift (SF Pro auf Mac/iPhone), keine Webfonts.
   ===================================================================== */
:root {
  --green: #295a35;
  --green-hover: #1f4729;
  --green-text: #295a35;
  --green-soft: rgba(41, 90, 53, .1);
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .1);
  --win: rgba(248, 248, 250, .82);
  --win-side: rgba(236, 236, 240, .6);
  --win-line: rgba(0, 0, 0, .09);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.2, .9, .3, 1.12);
  /* Liquid Glass */
  --glass-bg: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.34));
  --glass-border: rgba(255, 255, 255, .7);
  --glass-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.35), inset 0 0 0 .5px rgba(255,255,255,.4), 0 10px 34px -10px rgba(0,0,0,.28);
  --glass-blur: blur(24px) saturate(190%) brightness(1.04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green-text: #7cc08e;
    --green-soft: rgba(124, 192, 142, .14);
    --bg: #000000;
    --bg-2: #111113;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: rgba(255, 255, 255, .14);
    --win: rgba(34, 34, 38, .82);
    --win-side: rgba(50, 50, 56, .55);
    --win-line: rgba(255, 255, 255, .1);
    --glass-bg: linear-gradient(180deg, rgba(70,70,76,.55), rgba(40,40,44,.38));
    --glass-border: rgba(255, 255, 255, .16);
    --glass-shadow: inset 0 1px 1px rgba(255,255,255,.22), inset 0 -1px 1px rgba(255,255,255,.06), 0 10px 34px -10px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--green); color: #fff; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--green-text); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-touch { display: none; }
@media (hover: none) { .only-touch { display: inline; } .only-mouse { display: none; } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------------- Mac-Mauszeiger (echter macOS-Pfeil und Zeigehand) ---------------- */
html.cursor-mac, html.cursor-mac * { cursor: none !important; }
html.cursor-mac.cursor-native input, html.cursor-mac.cursor-native textarea, html.cursor-mac.cursor-native [contenteditable] { cursor: text !important; }
.mcur { position: fixed; left: 0; top: 0; z-index: 2147483647; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.mcur.is-on { opacity: 1; }
.mcur[data-mode="native"] { opacity: 0; }
.mcur i {
  position: absolute; display: block; width: 32px; height: 32px; background: 0 0 / 32px 32px no-repeat;
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.4)); transform: rotate(var(--rot, 0deg)) scale(1);
  transition: opacity .16s ease, transform .5s cubic-bezier(.22,1.6,.4,1);
}
.mcur .mcur__arrow { left: -6px; top: -3.6px; background-image: url("../cursor/arrow.svg"); transform-origin: 6px 3.6px !important; }
.mcur .mcur__hand { left: -12px; top: -8px; background-image: url("../cursor/hand.png"); transform-origin: 12px 8px !important; opacity: 0; }
.mcur[data-mode="hand"] .mcur__hand { opacity: 1; }
.mcur[data-mode="hand"] .mcur__arrow { opacity: 0; }
.mcur.is-down i { transform: rotate(var(--rot, 0deg)) scale(.78); transition: opacity .16s ease, transform .09s ease-out; }
.mcur.is-down .mcur__hand { transform: rotate(calc(var(--rot, 0deg) - 8deg)) scale(.8) translateY(1px); }

/* ---------------- Navigation (Liquid Glass) ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 52px;
  background: rgba(251, 251, 253, .7); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, color .35s;
}
@media (prefers-color-scheme: dark) { .nav { background: rgba(10, 10, 12, .7); } }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-green { background: rgba(41, 90, 53, .94); border-bottom-color: rgba(0,0,0,.08); color: #fff; }
.nav__inner { max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { color: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.nav.is-green .nav__brand, .nav.is-green .nav__links a { color: #fff; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 13px; letter-spacing: -.01em; }
.nav__links a { color: var(--text); opacity: .85; transition: opacity .2s; }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__links a[aria-current] { font-weight: 600; }
.nav__links .nav__cta { opacity: 1; color: #fff; background: var(--green); padding: 5px 13px; border-radius: 980px; font-weight: 500; transition: background .2s, transform .25s var(--ease); }
.nav.is-green .nav__links .nav__cta { background: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.28); }
.nav__links .nav__cta:hover { background: var(--green-hover); }
.nav.is-green .nav__links .nav__cta:hover { background: rgba(255,255,255,.3); }
.nav__links .nav__cta:active { transform: scale(.95); }
.nav__back { display: inline-flex; align-items: center; gap: 4px; color: var(--green-text); font-size: 15px; }
.nav__back svg { width: 15px; height: 15px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--green); color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -.02em;
  padding: 12px 24px; border-radius: 980px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px -8px rgba(41,90,53,.6);
  transition: background .2s, transform .3s var(--spring), box-shadow .3s;
}
.btn:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn:active { transform: scale(.95); transition-duration: .1s; }
.btn svg { width: 15px; height: 15px; }
.btn--sm { font-size: 14px; padding: 8px 16px; }
.btn--glass {
  color: var(--text); background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn--glass:hover { background: var(--glass-bg); color: var(--green-text); }
.eyebrow { margin: 0 0 10px; color: var(--green-text); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }

/* =====================================================================
   HERO  ·  Name mittig, darunter das iPad
   ===================================================================== */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 36px; text-align: center; }
.hero__inner { position: relative; z-index: 1; width: min(1180px, 94vw); margin: 0 auto; }
.phero__inner { position: relative; z-index: 1; width: min(1180px, 94vw); margin: 0 auto; color: #fff; }
.hero__top {
  display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: clamp(28px, 4vw, 46px) 0 0;
  font-size: clamp(14px, 1.4vw, 19px); font-weight: 500; letter-spacing: -.015em; color: rgba(255,255,255,.88);
  animation: rise .9s var(--ease) both;
}
.hero__top a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero__name {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(96px, 18vw, 250px); line-height: .88; letter-spacing: -.055em; color: var(--text);
  animation: rise 1s var(--ease) both;
}
.hero__sub {
  margin: 16px auto 0; max-width: 46ch; font-family: var(--display); font-size: clamp(19px, 2.2vw, 28px); line-height: 1.2;
  font-weight: 600; letter-spacing: -.025em; color: var(--text-2); text-wrap: balance; animation: rise 1s .08s var(--ease) both;
}
.hero__hint { position: relative; margin: 22px auto 0; width: min(1180px, 94vw); padding: 0 22px; font-size: 14px; color: var(--text-3); text-align: center; text-wrap: balance; animation: rise 1s .5s var(--ease) both; }
.hero__hint a { color: var(--green-text); font-weight: 500; }
.hero__hint a:hover { text-decoration: underline; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* ---------------- Gerät: Liquid-Glass-Rahmen ---------------- */
.device {
  --pad: clamp(9px, 1.05vw, 14px);
  position: relative; z-index: 2;
  width: min(1180px, 94vw); margin: clamp(30px, 4.5vw, 52px) auto 0;
  padding: var(--pad); border-radius: calc(var(--pad) + clamp(14px, 1.7vw, 22px));
  background: linear-gradient(160deg, #4f8a5c 0%, #295a35 38%, #1e4528 70%, #3b7348 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.45), inset 0 -1px 1px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.06), 0 60px 110px -50px rgba(20,50,28,.55), 0 24px 50px -40px rgba(0,0,0,.35);
  transform-origin: 50% 0; will-change: transform;
  animation: device-in 1.1s .15s var(--ease) both;
}
.device::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, transparent 28%, transparent 70%, rgba(255,255,255,.12) 100%); }
@keyframes device-in { from { opacity: 0; transform: translateY(50px) scale(.95); } }

.screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 10; border-radius: clamp(14px, 1.7vw, 22px);
  background: radial-gradient(120% 90% at 50% 45%, #f4f5f3 0%, #e7eae6 60%, #dfe3de 100%);
  container-type: inline-size; user-select: none; -webkit-user-select: none;
  font-size: 13px; letter-spacing: -.01em; color: #1d1d1f; text-align: left;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
@media (prefers-color-scheme: dark) { .screen { background: radial-gradient(120% 90% at 50% 45%, #2a2d2b 0%, #1c1e1d 60%, #141615 100%); color: #f5f5f7; } }
.wall {
  position: absolute; left: 50%; top: 52%; height: 122%; width: auto; max-width: none;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  opacity: 0; transition: opacity 1.2s ease;
}
.screen.is-ready .wall { opacity: .95; }
@media (prefers-color-scheme: dark) { .screen.is-ready .wall { opacity: .55; } }

/* Menüleiste (Glas) */
.menubar {
  position: absolute; inset: 0 0 auto 0; z-index: 30; height: 26px;
  display: flex; align-items: center; gap: 18px; padding: 0 14px; font-size: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.3));
  -webkit-backdrop-filter: blur(28px) saturate(200%); backdrop-filter: blur(28px) saturate(200%);
  box-shadow: inset 0 -.5px 0 rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
@media (prefers-color-scheme: dark) { .menubar { background: linear-gradient(180deg, rgba(40,40,44,.6), rgba(30,30,32,.4)); box-shadow: inset 0 -.5px 0 rgba(255,255,255,.08); } }
.menubar__logo { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.menubar strong { font-weight: 700; }
.menubar button { padding: 2px 7px; margin: 0 -7px; border-radius: 5px; transition: background .15s; }
.menubar button:hover { background: rgba(0,0,0,.08); }
@media (prefers-color-scheme: dark) { .menubar button:hover { background: rgba(255,255,255,.14); } }
.menubar__right { margin-left: auto; font-variant-numeric: tabular-nums; white-space: pre; }
.statusbar { display: none; }

/* ---------------- Schreibtisch-Icons ---------------- */
.desk { position: absolute; z-index: 1; }
.desk--mac { inset: 26px 0 0 0; touch-action: none; }
.desk--phone { display: none; }
.ico {
  position: absolute; width: 10.5cqw; padding: .4cqw .2cqw;
  display: flex; flex-direction: column; align-items: center; gap: .5cqw; border-radius: 7px;
}
.iconview .ico, .desk--phone .ico { position: static; }
.screen.is-ready .desk--mac .ico { animation: ico-in .7s calc(.3s + var(--i, 0) * .028s) var(--spring) both; }
@keyframes ico-in { from { opacity: 0; transform: scale(.55) translateY(10px); } }
.ico__img { position: relative; display: block; width: 6.4cqw; aspect-ratio: 1; transition: transform .4s var(--spring), filter .3s; }
.ico__img--thumb { background: #fff; padding: .2cqw; box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 5px 12px -3px rgba(0,0,0,.22); }
.ico__img--thumb img { width: 100%; height: 100%; object-fit: cover; }
.ico__img--folder img.folder__bg { position: absolute; inset: 0; width: 100%; height: 100%; filter: hue-rotate(-78deg) saturate(.72) brightness(.92) drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.ico__img--folder img.folder__cover {
  position: absolute; left: 50%; top: 56%; width: 46%; aspect-ratio: 1; object-fit: cover; transform: translate(-50%, -50%);
  border-radius: 12%; box-shadow: 0 1px 2px rgba(0,0,0,.25); border: 1.5px solid rgba(255,255,255,.9);
}
.ico__img--app .appicon { position: absolute; inset: 0; }
.ico:hover .ico__img { transform: translateY(-3px) scale(1.06); }
.ico:active .ico__img { transform: scale(.9); filter: brightness(.82); transition-duration: .1s; }
.ico__label {
  max-width: 100%; padding: 2px 7px; border-radius: 6px;
  font-size: max(8.5px, .78cqw); font-weight: 600; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase;
  color: rgba(29,29,31,.88); text-align: center; text-wrap: balance; overflow-wrap: normal; hyphens: manual;
  background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.6);
}
@media (prefers-color-scheme: dark) { .ico__label { color: rgba(245,245,247,.95); background: rgba(30,30,32,.55); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.12); } }
.ico.is-sel .ico__label { background: var(--green); color: #fff; text-shadow: none; }
.ico.is-sel .ico__img { filter: brightness(.86); }
.ico.is-sel .ico__img--thumb { outline: 2px solid color-mix(in srgb, var(--green) 75%, transparent); outline-offset: 2px; }
.ico.is-drag { z-index: 5; transition: none; }
.ico.is-drag .ico__img { transform: scale(1.08); filter: drop-shadow(0 12px 18px rgba(0,0,0,.25)); }
.marquee { position: absolute; z-index: 6; pointer-events: none; border: 1px solid rgba(41,90,53,.85); background: rgba(41,90,53,.16); border-radius: 2px; }

/* ---------------- Echte App-Icons ---------------- */
.appicon { display: block; width: 100%; height: 100%; }
.appicon img { width: 100%; height: 100%; object-fit: contain; }
.appicon--full img { width: 80.4%; height: 80.4%; margin: 9.8%; border-radius: 22.4%; box-shadow: 0 1.5px 3px rgba(0,0,0,.2), 0 0 0 .5px rgba(0,0,0,.08); }
.appicon--tile i { display: grid; place-items: center; width: 80.4%; height: 80.4%; margin: 9.8%; border-radius: 22.4%; background: linear-gradient(180deg, #3b3d42, #1d1e21); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1.5px 3px rgba(0,0,0,.2); }
.appicon--tile img { width: 72%; height: 72%; }
.appicon--mac img { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.14)); }

/* ---------------- Dock (Liquid Glass) ---------------- */
.dock {
  position: absolute; left: 50%; bottom: .9cqw; z-index: 40; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 0; padding: .3cqw .4cqw;
  border-radius: 1.9cqw; background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.dock::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 160% at 20% -40%, rgba(255,255,255,.65), transparent 55%); opacity: .7; }
.screen.is-ready .dock { animation: dock-in .8s .25s var(--ease) both; }
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 140%); } }
.dock__app { --s: 1; position: relative; width: calc(4.9cqw * var(--s)); height: 4.9cqw; transition: width .12s cubic-bezier(.2,.8,.3,1); }
.dock__icon { position: absolute; left: 50%; bottom: 0; width: calc(4.9cqw * var(--s)); height: calc(4.9cqw * var(--s)); transform: translateX(-50%); transition: width .12s cubic-bezier(.2,.8,.3,1), height .12s cubic-bezier(.2,.8,.3,1), filter .2s; }
.dock__app:active .dock__icon { filter: brightness(.65); }
.dock__app.is-bounce .dock__icon { animation: bounce .75s var(--ease); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 25% { transform: translateX(-50%) translateY(-45%); } 50% { transform: translateX(-50%) translateY(0); } 72% { transform: translateX(-50%) translateY(-16%); } }
.dock__tip {
  position: absolute; left: 50%; bottom: calc(4.9cqw * var(--s) + 12px); transform: translateX(-50%) translateY(4px);
  padding: 4px 11px; border-radius: 980px; white-space: nowrap; pointer-events: none;
  background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  color: var(--text); font-size: 13px; font-weight: 500; opacity: 0; transition: opacity .15s, transform .2s var(--ease);
}
.dock__app:hover .dock__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.dock__dot { position: absolute; left: 50%; bottom: -.2cqw; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s; }
@media (prefers-color-scheme: dark) { .dock__dot { background: #fff; } }
.dock__app.is-open .dock__dot { opacity: 1; }
.dock__sep { align-self: stretch; width: 1px; margin: .7cqw .35cqw; background: rgba(0,0,0,.16); }
@media (prefers-color-scheme: dark) { .dock__sep { background: rgba(255,255,255,.18); } }

/* ---------------- Fenster (Liquid Glass) ---------------- */
.wins { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.win {
  position: absolute; pointer-events: auto; display: flex; flex-direction: column; overflow: hidden;
  background: var(--win); color: var(--text); border-radius: 14px;
  -webkit-backdrop-filter: blur(40px) saturate(190%); backdrop-filter: blur(40px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 .5px rgba(0,0,0,.26), 0 28px 80px -12px rgba(0,0,0,.42), 0 8px 22px -8px rgba(0,0,0,.2);
  will-change: transform;
}
@media (prefers-color-scheme: dark) { .win { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 .5px rgba(255,255,255,.16), 0 28px 80px -10px rgba(0,0,0,.75); } }
.win:not(.is-front) { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 .5px rgba(0,0,0,.18), 0 14px 40px -12px rgba(0,0,0,.28); }
.win:not(.is-front) .tl { background: rgba(0,0,0,.13); border-color: transparent; }
.win.is-max { left: 0 !important; top: 26px !important; width: 100% !important; height: calc(100% - 26px - 6.4cqw) !important; border-radius: 0; }
.win__bar { position: relative; flex: none; height: 40px; display: flex; align-items: center; padding: 0 14px; border-bottom: .5px solid var(--win-line); touch-action: none; }
.win__lights { position: relative; z-index: 2; display: flex; gap: 8px; }
.tl { width: 12px; height: 12px; border-radius: 50%; border: .5px solid rgba(0,0,0,.16); position: relative; transition: transform .15s; }
.tl:active { transform: scale(.88); }
.tl--close { background: #ff5f57; } .tl--min { background: #febc2e; } .tl--max { background: #28c840; }
.win__lights:hover .tl::after { position: absolute; inset: 0; display: grid; place-items: center; font-size: 9px; font-weight: 800; line-height: 1; color: rgba(0,0,0,.55); }
.win__lights:hover .tl--close::after { content: "×"; font-size: 11px; }
.win__lights:hover .tl--min::after { content: "–"; }
.win__lights:hover .tl--max::after { content: "+"; }
.win__title { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 0 90px; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.win__back { display: none; }
.win__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }

/* App-Fenster (Finder-Stil) */
.app { display: flex; }
.app__side { flex: none; width: 190px; padding: 14px 10px; background: var(--win-side); border-right: .5px solid var(--win-line); overflow-y: auto; }
.app__brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 14px; font-size: 14px; font-weight: 600; }
.app__icon { width: 28px; height: 28px; flex: none; }
.app__label { margin: 0 6px 4px; font-size: 11px; font-weight: 600; color: var(--text-3); }
.app__side nav { display: grid; gap: 1px; }
.app__side nav button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 5px 8px; border-radius: 7px; font-size: 13px; text-align: left; transition: background .15s; }
.app__side nav button:hover { background: rgba(0,0,0,.06); }
@media (prefers-color-scheme: dark) { .app__side nav button:hover { background: rgba(255,255,255,.08); } }
.app__side nav em { font-style: normal; color: var(--text-3); font-size: 12px; }
.app__main { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 30px; }
.app__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.app__head h3 { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.app__head p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.app__head .btn { flex: none; }

.sec { margin-top: 20px; }
.sec__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sec__head h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.sec__head h4 span { color: var(--text-3); font-weight: 500; font-size: 14px; margin-left: 4px; }
.sec__nav { display: flex; gap: 6px; }
.paddle { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: transform .25s var(--spring); }
.paddle:hover { transform: scale(1.06); }
.paddle:active { transform: scale(.9); }
.paddle svg { width: 14px; height: 14px; }

/* Reihen: genau 3 sichtbar, der Rest per Wischen / Pfeil */
.row { --gap: 12px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.row::-webkit-scrollbar { display: none; }
.card { display: block; text-align: left; scroll-snap-align: start; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #111; box-shadow: 0 0 0 .5px rgba(0,0,0,.12); transition: transform .45s var(--spring), box-shadow .45s; }
.card--portrait .card__media { aspect-ratio: 9 / 16; }
.card--photo .card__media { aspect-ratio: 4 / 3; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media { transform: translateY(-3px); box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 16px 30px -12px rgba(0,0,0,.38); }
.card:hover .card__media img { transform: scale(1.03); }
.card:active .card__media { transform: scale(.97); transition-duration: .12s; }
.card__t { display: -webkit-box; margin-top: 8px; font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--text); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__badge, .media__badge { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 980px; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card__play { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); color: #111; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .3s, transform .3s; }
.card__play svg { width: 12px; height: 12px; margin-left: 1px; }
.card:hover .card__play { opacity: 0; transform: scale(.8); }

/* Projekt-Fenster ("Informationen") */
.item { display: block; }
.media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.media img, .media video, .media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.media--video video { object-fit: contain; }
.media__play {
  position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.6), inset 0 0 0 1px rgba(255,255,255,.3), 0 10px 30px -8px rgba(0,0,0,.5);
  transition: transform .35s var(--spring), background .2s;
}
.media__play svg { width: 26px; height: 26px; margin-left: 3px; }
.media__play:hover { transform: scale(1.08); background: rgba(255,255,255,.26); }
.media__play:active { transform: scale(.92); }
.media__note { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; padding: 3px 10px; border-radius: 980px; font-size: 11px; color: rgba(255,255,255,.92); background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.info { padding: 18px 22px 24px; }
.info__meta { margin: 0; font-size: 12px; font-weight: 600; color: var(--green-text); }
.info h3 { margin: 4px 0 14px; font-family: var(--display); font-size: 22px; line-height: 1.18; font-weight: 700; letter-spacing: -.025em; }
.info__credits { margin: 0; border-top: .5px solid var(--win-line); }
.info__credits div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 8px 0; border-bottom: .5px solid var(--win-line); font-size: 13px; }
.info__credits dt { color: var(--text-2); }
.info__credits dd { margin: 0; font-weight: 500; }
.info__actions { margin-top: 18px; }
.item--portrait { display: grid; grid-template-columns: minmax(0, 40%) 1fr; height: 100%; }
.item--portrait .media { aspect-ratio: auto; height: 100%; }
.item--portrait .info { overflow-y: auto; }

/* Quick Look (Fotos) */
.ql { position: relative; display: grid; place-items: center; background: #0c0c0d; }
.ql__fig { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 14px; }
.ql__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; animation: ql-in .35s var(--ease); }
@keyframes ql-in { from { opacity: 0; transform: scale(.97); } }
.ql__nav { position: absolute; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 0 0 .5px rgba(255,255,255,.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .25s var(--spring), background .2s; }
.ql__nav:hover { background: rgba(255,255,255,.26); transform: scale(1.06); }
.ql__nav:active { transform: scale(.9); }
.ql__nav svg { width: 16px; height: 16px; }
.ql__nav--l { left: 12px; } .ql__nav--r { right: 12px; }
.ql__count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 980px; font-size: 12px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.4); }

/* Finder-Symbolansicht (Ordner) */
.iconview { padding: 18px 14px 26px; }
.iconview__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 8px; justify-items: center; }
.iconview .ico { width: 100%; max-width: 110px; padding: 6px 4px; gap: 7px; }
.iconview .ico__img { width: 64px; }
.iconview .ico__img--thumb { padding: 3px; }
.iconview .ico__label { font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 500; text-shadow: none; color: var(--text); }

.app--empty { display: grid; place-items: center; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 26px 24px 30px; text-align: center; }
.empty__icon { width: 64px; height: 64px; margin-bottom: 6px; }
.empty h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.empty p { margin: 0; color: var(--text-2); font-size: 14px; }

/* =====================================================================
   LET'S CONNECT
   ===================================================================== */
.connect { padding: clamp(110px, 14vw, 170px) 0 clamp(80px, 10vw, 120px); text-align: center; overflow: hidden; }
.connect__head { max-width: 780px; margin: 0 auto; padding: 0 22px; }
.connect__title { margin: 0; font-family: var(--display); font-size: clamp(56px, 9vw, 112px); line-height: .95; font-weight: 700; letter-spacing: -.05em; }
.connect__lead { text-wrap: balance; margin: 22px auto 0; max-width: 36em; color: var(--text-2); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; }

.connect__lead--strong { margin-top: 6px; color: var(--text); font-weight: 600; }
.ring {
  --cw: clamp(150px, 18vw, 250px);
  position: relative; height: calc(var(--cw) * 1.25 * 1.5); margin: clamp(30px, 5vw, 56px) 0 clamp(26px, 4vw, 44px);
  perspective: 1100px; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.ring__card { position: absolute; left: 50%; top: 50%; width: var(--cw); aspect-ratio: 4 / 5; margin: calc(var(--cw) * -.625) 0 0 calc(var(--cw) / -2); border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); backface-visibility: hidden; will-change: transform; }
.ring__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.connect__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; }
.facts { list-style: none; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 22px; max-width: 920px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.facts li { padding: 18px 20px; border-radius: 20px; background: var(--bg-2); font-size: 15px; line-height: 1.35; transition: transform .35s var(--spring); }
.facts li:hover { transform: translateY(-2px); }
.facts span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--text-3); }

[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* =====================================================================
   ARBEITEN-SEITE
   ===================================================================== */
.phero { position: relative; margin-top: -52px; padding: 52px 0 clamp(44px, 6vw, 70px);
  background: radial-gradient(120% 90% at 15% 0%, #3a7a4a 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #1d4226 0%, transparent 60%), var(--green); }
.phero__title { margin: clamp(6px, 1vw, 14px) 0 0 -.04em; font-family: var(--display); font-weight: 700; font-size: clamp(84px, 15vw, 210px); line-height: .85; letter-spacing: -.06em;
  background: linear-gradient(180deg, #fff 45%, rgba(214, 236, 219, .75) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 1s .06s var(--ease) both; }
.seg { position: sticky; top: 62px; z-index: 40; display: flex; justify-content: center; margin-top: -22px; padding: 0 14px; pointer-events: none; }
.seg__inner {
  pointer-events: auto; display: flex; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 980px;
  background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.seg__inner::-webkit-scrollbar { display: none; }
.seg a { flex: none; padding: 7px 16px; border-radius: 980px; color: var(--text); font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.seg a:hover { background: rgba(0,0,0,.05); }
.seg a.is-on { background: var(--green); color: #fff; }
.works { width: min(1180px, 94vw); margin: 0 auto; padding: 30px 0 20px; }
.block { padding: clamp(44px, 6vw, 72px) 0 0; scroll-margin-top: 110px; }
.block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.block__icon { width: 56px; height: 56px; flex: none; }
.block__head h2 { margin: 0; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.block__head p { margin: 4px 0 0; color: var(--text-2); font-size: 17px; }
.works .row { --gap: 20px; }
.works .card__media { border-radius: 16px; }
.works .card__t { font-size: 15px; }
.cta { padding: clamp(80px, 10vw, 130px) 22px; text-align: center; }
.cta h2 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.035em; line-height: 1.1; }

/* Sheet (Projekt öffnen auf der Arbeiten-Seite) */
.sheet { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--text); }
.sheet::backdrop { background: rgba(0,0,0,.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s ease both; }
.sheet[open] { display: grid; place-items: center; }
.sheet__panel {
  width: min(860px, 94vw); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: var(--win); -webkit-backdrop-filter: blur(40px) saturate(190%); backdrop-filter: blur(40px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 .5px rgba(0,0,0,.2), 0 40px 100px -20px rgba(0,0,0,.5);
  animation: sheet-pop .5s var(--spring) both;
}
.sheet.is-closing .sheet__panel { animation: sheet-out .26s var(--ease) both; }
@keyframes sheet-pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.sheet__bar { position: relative; flex: none; display: flex; align-items: center; justify-content: center; height: 50px; border-bottom: .5px solid var(--win-line); }
.sheet__title { margin: 0; padding: 0 90px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--green-text); font-size: 16px; font-weight: 600; }
.sheet__body { overflow-y: auto; }
.sheet__body.ql { min-height: 60vh; }
html.sheet-open { overflow: hidden; }

/* ---------------- Footer ---------------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot__inner { max-width: 1180px; margin: 0 auto; padding: 20px 22px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); text-decoration: underline; }

/* =====================================================================
   HANDY  ·  das Gerät wird zum iPhone mit Ordnern
   ===================================================================== */
@media (max-width: 760px) {
  .nav__links { gap: 16px; }
  .nav__links a:nth-child(2) { display: none; }
  .hero__top { font-size: 14px; padding-top: 22px; }
  .hero__top span:last-child { display: none; }
  .hero__name { font-size: clamp(92px, 30vw, 160px); }
  .device { width: min(390px, 90vw); --pad: 9px; border-radius: 52px; }
  .screen { aspect-ratio: auto; height: min(760px, 80svh); min-height: 560px; border-radius: 43px; container-type: normal; font-size: 15px; }
  .wall { top: 46%; height: 100%; }
  .menubar, .desk--mac { display: none; }
  .statusbar { position: absolute; inset: 0 0 auto 0; z-index: 46; height: 50px; padding: 14px 28px 0 32px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
  .statusbar__island { position: absolute; left: 50%; top: 11px; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
  .statusbar__icons { display: flex; gap: 6px; align-items: center; }
  .statusbar svg { height: 11px; width: auto; fill: currentColor; }

  .desk--phone { display: grid; inset: 62px 0 110px; padding: 6px 18px 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 22px 10px; overflow-y: auto; scrollbar-width: none; }
  .desk--phone .ico { width: auto; padding: 0; gap: 6px; min-width: 0; }
  .screen.is-ready .desk--phone .ico { animation: ico-in .6s var(--spring) both; }
  .desk--phone .ico__img { width: 100%; max-width: 64px; }
  .ico__img--group {
    display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 9%; padding: 13%; border-radius: 24%;
    background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
  .mini { display: block; aspect-ratio: 1; border-radius: 26%; overflow: hidden; background: rgba(255,255,255,.5); }
  .mini img { width: 100%; height: 100%; object-fit: cover; }
  .mini--app { background: none; }
  .ico__img--photo { border-radius: 24%; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 6px 14px -6px rgba(0,0,0,.35); }
  .ico__img--photo img { width: 100%; height: 100%; object-fit: cover; }
  .gallery { --cols: 2 !important; }
  .gallery--portrait { --cols: 2 !important; }
  .about { grid-template-columns: 1fr !important; }
  .about__photo { max-height: 46svh; }
  .desk--phone .ico__label { font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 6px rgba(255,255,255,.85); }

  .dock { bottom: 10px; width: calc(100% - 20px); justify-content: space-around; padding: 12px 10px; border-radius: 34px; gap: 0; }
  .dock__app { width: 60px; height: 60px; --s: 1 !important; }
  .dock__app--extra, .dock__sep, .dock__tip { display: none; }
  .dock__dot { bottom: -7px; }

  .wins { z-index: 45; }
  .win, .win.is-max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; }
  .win__bar { height: auto; padding: 54px 16px 10px; }
  .win__lights { display: none; }
  .win__back { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 2px; color: var(--green-text); font-size: 16px; }
  .win__back svg { width: 18px; height: 18px; }
  .win__title { top: 44px; padding: 0 96px; font-size: 16px; color: var(--text); display: block; text-align: center; line-height: 46px; }
  .win__pre { display: none; }
  .win__body, .app__main { scrollbar-width: none; }
  .win__body::-webkit-scrollbar { display: none; }

  .app { display: block; }
  .app__side { display: none; }
  .app__main { padding: 16px 16px 40px; overflow: visible; }
  .app__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .app__head h3 { font-size: 30px; }
  .row { grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: 86%; }
  .row--portrait { grid-template-rows: none; grid-auto-columns: 44%; }
  .row--photo { grid-template-rows: repeat(2, auto); grid-auto-columns: 70%; }
  .sec__nav { display: none; }
  .item--portrait { display: block; height: auto; }
  .item--portrait .media { aspect-ratio: 9 / 16; height: auto; max-height: 62svh; }

  .connect { padding-top: 96px; }
  .facts { grid-template-columns: 1fr; }
  .foot__inner { flex-direction: column; }
  .seg { top: 60px; }
  .block__icon { width: 44px; height: 44px; }
  .works .row { --gap: 12px; grid-auto-columns: 86%; }
  .works .row--portrait { grid-auto-columns: 44%; }
  .sheet[open] { place-items: end center; }
  .sheet__panel { width: 100%; max-height: 92svh; border-radius: 22px 22px 0 0; animation: sheet-up .5s var(--ease) both; }
  .sheet.is-closing .sheet__panel { animation: sheet-down .3s var(--ease) both; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  @keyframes sheet-down { to { transform: translateY(100%); } }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .app__side { width: 150px; }
  .app__main { padding: 16px; }
  .app__head h3 { font-size: 22px; }
  .info { padding: 14px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   KONTAKT-SEITE
   ===================================================================== */
.page { max-width: 680px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 22px 90px; }
.page__title { margin: 0; font-family: var(--display); font-size: clamp(40px, 6.5vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; animation: rise .9s var(--ease) both; }
.page__lead { margin: 16px 0 0; color: var(--text-2); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.4; animation: rise .9s .06s var(--ease) both; }
.form { margin-top: 40px; animation: rise .9s .12s var(--ease) both; }
.group-label { margin: 26px 0 8px 16px; font-size: 13px; color: var(--text-2); }
.group { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.group .f { display: grid; grid-template-columns: 150px 1fr; align-items: center; min-height: 50px; padding: 0 16px; transition: background .2s; }
.group .f + .f { border-top: 1px solid var(--line); }
.group .f--stack { grid-template-columns: 1fr; padding: 12px 16px; }
.f label { font-size: 17px; }
.f input, .f textarea { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; padding: 13px 0; text-align: right; }
.f textarea { text-align: left; padding: 6px 0 0; resize: vertical; min-height: 130px; }
.f input::placeholder, .f textarea::placeholder { color: var(--text-3); }
.f input[type="date"] { text-align: right; min-height: 48px; }
.f input[type="date"]::-webkit-date-and-time-value { text-align: right; }
.f:focus-within { background: var(--green-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.chip { padding: 8px 15px; border-radius: 980px; font-size: 15px; background: var(--bg-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, transform .25s var(--spring); }
.chip:active { transform: scale(.93); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; box-shadow: none; }
.form__foot { margin-top: 28px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.form__foot .btn { width: 100%; padding: 15px 24px; }
.form__alt { font-size: 14px; color: var(--text-2); }
.hp { position: absolute; left: -9999px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.done { margin-top: 48px; padding: 40px 24px; text-align: center; border-radius: 22px; background: var(--bg-2); animation: rise .7s var(--ease) both; }
.done__check { width: 72px; height: 72px; margin: 0 auto 14px; }
.done__check circle { fill: var(--green); }
.done__check path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.done p { margin: 8px 0 22px; color: var(--text-2); }
@media (max-width: 560px) {
  .group .f { grid-template-columns: 1fr; padding: 10px 16px; gap: 0; }
  .f label { font-size: 13px; color: var(--text-2); }
  .f input { text-align: left; padding: 4px 0 6px; }
  .f input[type="date"], .f input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}
.legal h1 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(36px, 5vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.legal h2 { margin: 34px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal .todo { color: #b25000; background: rgba(255,149,0,.12); padding: 10px 14px; border-radius: 10px; }

/* ---------------- Ordner-Galerie (alles sichtbar, nichts nach rechts scrollen) ---------------- */
.folderview { padding: 20px 22px 28px; }
.folderview__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.folderview__head h3 { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.folderview__head p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px 14px; }
.gallery .card__media { box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 8px 20px -14px rgba(0,0,0,.4); }
.card__s { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); }
.card--folder .card__media { display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.06)); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.08); }
@media (prefers-color-scheme: dark) { .card--folder .card__media { background: rgba(255,255,255,.05); } }
.card--folder .ico__img { width: 42%; }
.card--folder:hover .ico__img { transform: translateY(-3px) scale(1.05); }

/* ---------------- Über mich ---------------- */
.about { display: grid; grid-template-columns: minmax(0, 42%) 1fr; min-height: 100%; }
.about__photo { margin: 0; background: #111; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; animation: ql-in .6s var(--ease); }
.about__text { padding: 24px 26px 28px; overflow-y: auto; }
.about__text h3 { margin: 4px 0 2px; font-family: var(--display); font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.about__role { text-wrap: balance; margin: 0 0 14px; color: var(--green-text); font-weight: 600; font-size: 15px; }
.about__text > p:not(.info__meta):not(.about__role) { margin: 0 0 12px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.about__skills { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; padding: 0; }
.about__skills li { padding: 5px 12px; border-radius: 980px; font-size: 13px; font-weight: 500; background: var(--green-soft); color: var(--green-text); }
.about__tools { display: flex; gap: 6px; margin-bottom: 4px; }
.about__tools span { width: 40px; height: 40px; }
.info__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- Zeigehand: weiß, überall, wackelt beim Nachziehen ---------------- */
.mcur .mcur__hand { opacity: 1; transform: rotate(var(--rot, 0deg)); transition: transform .45s cubic-bezier(.22,1.7,.4,1), opacity .15s; }
.mcur.is-link .mcur__hand { transform: rotate(var(--rot, 0deg)) scale(1.08); }
.mcur.is-down .mcur__hand { transform: rotate(calc(var(--rot, 0deg) - 10deg)) scale(.78) translateY(1px); transition: transform .08s ease-out; }
.mcur.is-native { opacity: 0 !important; }

/* ---------------- Papierkorb-Easter-Egg + Toast ---------------- */
.dock__app.is-target .dock__icon { transform: translateX(-50%) scale(1.18); filter: brightness(1.08); }
.dock__app.is-nope .dock__icon { animation: nope .6s cubic-bezier(.3,1.5,.5,1); }
@keyframes nope { 0%, 100% { transform: translateX(-50%) rotate(0); } 20% { transform: translateX(-50%) rotate(-14deg); } 45% { transform: translateX(-50%) rotate(11deg); } 70% { transform: translateX(-50%) rotate(-6deg); } }
.toast {
  position: absolute; left: 50%; top: 44px; z-index: 60; transform: translateX(-50%); padding: 8px 16px; border-radius: 980px;
  font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap;
  background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  animation: toast-in .45s var(--spring) both;
}
.toast.is-out { animation: toast-out .4s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -14px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, -10px); } }

/* ---------------- Mail-Easter-Egg ---------------- */
.mailfly { position: fixed; z-index: 2147483000; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.mailfly img { width: 100%; height: 100%; }
.mailwipe { position: fixed; inset: 0; z-index: 2147482999; background: var(--green); clip-path: circle(0 at 50% 50%); pointer-events: none; }
.mailintro { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: var(--green); pointer-events: none;
  animation: mailintro .9s .25s cubic-bezier(.6,0,.3,1) both; }
.mailintro img { width: 140px; animation: mailintro-icon .7s cubic-bezier(.5,0,.3,1) both; }
@keyframes mailintro { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0 at 50% 50%); } }
@keyframes mailintro-icon { 0% { transform: scale(1.4); } 40% { transform: scale(1.1) translateY(-10px); } 100% { transform: scale(.2) translateY(40px); opacity: 0; } }

/* ---------------- Serien (Folgen links, Video rechts) ---------------- */
.card--series .card__media { overflow: visible; }
.card--series .card__media::before, .card--series .card__media::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: -6px; height: 20px; border-radius: 10px 10px 0 0; background: rgba(0,0,0,.18); z-index: -1;
}
.card--series .card__media::after { left: 12%; right: 12%; top: -11px; background: rgba(0,0,0,.09); }
.card--series .card__media img { border-radius: 12px; }
.card--series .card__badge { left: auto; right: 8px; top: auto; bottom: 8px; }
.card__live { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 980px; background: #e5332a; color: #fff; font-size: 11px; font-weight: 700; }
.series { display: grid; grid-template-columns: minmax(240px, 34%) 1fr; height: 100%; min-height: 0; }
.series__list { overflow-y: auto; overscroll-behavior: contain; padding: 14px 10px 18px 14px; border-right: .5px solid var(--win-line); background: var(--win-side); }
.series__head { display: flex; gap: 10px; align-items: center; padding: 0 4px 12px; margin-bottom: 6px; border-bottom: .5px solid var(--win-line); }
.series__head img { width: 64px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.series__head h3 { margin: 0; font-size: 14px; line-height: 1.25; letter-spacing: -.01em; }
.series__head p { margin: 2px 0 0; font-size: 12px; color: var(--text-3); }
.ep { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: center; width: 100%; padding: 6px; border-radius: 10px; text-align: left; transition: background .2s; }
.ep:hover { background: rgba(0,0,0,.05); }
@media (prefers-color-scheme: dark) { .ep:hover { background: rgba(255,255,255,.07); } }
.ep.is-on { background: var(--green-soft); }
.ep__img { position: relative; display: block; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #111; }
.ep__img img { width: 100%; height: 100%; object-fit: cover; }
.ep.is-on .ep__img { box-shadow: 0 0 0 2px var(--green); }
.ep__t { font-size: 12.5px; line-height: 1.3; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ep__t em { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--green-text); }
.series__more { margin: 10px 6px 0; font-size: 12px; color: var(--text-3); }
.series__player { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

/* ---------------- Instagram-Accounts ---------------- */
.accounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: -4px 0 6px; }
.acct { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; color: var(--text); background: var(--glass-bg); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow); transition: transform .3s var(--spring); }
.acct:hover { transform: translateY(-2px); }
.acct__img { width: 44px; height: 44px; flex: none; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.acct__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid var(--card); }
.acct__t { flex: 1; min-width: 0; display: grid; }
.acct__t strong { font-size: 14px; }
.acct__t em { font-style: normal; font-size: 12px; color: var(--text-2); }
.acct__btn { padding: 5px 12px; border-radius: 980px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; }

/* ---------------- Über diesen Kilian ---------------- */
.aboutmac { display: grid; justify-items: center; text-align: center; padding: 22px 22px 18px; }
.aboutmac__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.aboutmac__img img { width: 100%; height: 100%; object-fit: cover; }
.aboutmac h3 { margin: 14px 0 0; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.aboutmac__sub { margin: 2px 0 14px; color: var(--text-3); font-size: 13px; }
.aboutmac__specs { margin: 0 0 16px; width: 100%; font-size: 12px; }
.aboutmac__specs div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 3px 0; }
.aboutmac__specs dt { text-align: right; font-weight: 600; }
.aboutmac__specs dd { margin: 0; text-align: left; color: var(--text-2); }
.aboutmac__foot { margin: 14px 0 0; font-size: 10px; color: var(--text-3); }
.menubar__logo { cursor: pointer; border: 0; padding: 0; }

/* ---------------- Sheet: scrollbar, Serien passen hinein ---------------- */
.sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet__body.series { height: min(78vh, 680px); flex: none; }

/* ---------------- Sparmodus (langsames Netz / schwaches Gerät) ---------------- */
html.lite *, html.lite *::before, html.lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .dock, html.lite .menubar, html.lite .win, html.lite .nav, html.lite .ico__label, html.lite .paddle, html.lite .btn--glass, html.lite .seg__inner, html.lite .sheet__panel, html.lite .toast { background: var(--card) !important; }
html.lite .nav.is-green { background: var(--green) !important; }
html.lite .wall { transition: none; }
html.lite .ico.is-sel .ico__label { background: var(--green) !important; color: #fff; }

@media (max-width: 760px) {
  .series { display: flex; flex-direction: column-reverse; height: auto; }
  .series > * { flex: none; }
  .series__list { border-right: 0; border-top: .5px solid var(--win-line); overflow: visible; }
  .series__player { overflow: visible; }
  .accounts { grid-template-columns: 1fr; }
  .dock__app { width: 60px !important; height: 60px; }
  .dock__icon { width: 60px; height: 60px; }
  .sheet__body.series { height: auto; }
}

/* ---------------- Feinschliff 23.11. abends ---------------- */
/* K-Logo exakt mittig (erbte vorher den Innenabstand der Menü-Buttons) */
.menubar .menubar__logo { padding: 0; margin: 0; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; font: 700 10px/1 var(--font); letter-spacing: 0; color: #fff; background: var(--green); transition: transform .3s var(--spring); }
.menubar .menubar__logo:hover { background: var(--green); transform: scale(1.12) rotate(-6deg); }

/* Fenster passen sich dem Inhalt an, nichts muss gescrollt werden */
.win--about .win__body, .win--aboutmac .win__body, .win--small .win__body { overflow: visible; }
.about { min-height: 0; grid-template-columns: minmax(0, 40%) 1fr; }
.about__photo { position: relative; min-height: 100%; }
.about__photo img { position: absolute; inset: 0; }
.about__text { padding: 22px 24px 24px; overflow: visible; }
.about__text h3 { font-size: 26px; }
.about__text > p:not(.info__meta):not(.about__role) { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.about__skills { margin: 12px 0 12px; }
.about__tools { margin-bottom: 16px; }
.about__tools span { width: 36px; height: 36px; transition: transform .35s var(--spring); }
.about__tools span:hover { transform: translateY(-3px) scale(1.08); }
.aboutmac { padding: 18px 20px 16px; }
.aboutmac__img { width: 78px; height: 78px; }
.aboutmac h3 { margin-top: 10px; font-size: 21px; }
.aboutmac__sub { margin-bottom: 10px; }
.aboutmac__specs { font-size: 11.5px; margin-bottom: 12px; }
.aboutmac__specs div { padding: 2px 0; }
.aboutmac__foot { margin-top: 10px; }

/* Instagram: privater Account in der Seitenleiste */
.app__label--gap { margin-top: 18px; }
.side-acct { gap: 8px; justify-content: flex-start !important; }
.side-acct__img { width: 22px; height: 22px; flex: none; border-radius: 50%; padding: 1.5px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.side-acct__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 1.5px solid var(--card); }
.app__side nav button.is-on { background: var(--green-soft); color: var(--green-text); font-weight: 600; }
.profile { flex: 1; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 30px; text-align: center; }
.profile[hidden], .app__main[hidden] { display: none; }
.profile__img { width: 120px; height: 120px; border-radius: 50%; padding: 4px; margin-bottom: 12px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); animation: ring-spin 6s linear infinite; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--card); animation: ring-spin 6s linear infinite reverse; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.profile h3 { margin: 0; font-family: var(--display); font-size: 26px; letter-spacing: -.03em; }
.profile__name { margin: 0; font-weight: 600; }
.profile p { margin: 0 0 14px; max-width: 32ch; color: var(--text-2); font-size: 14px; }
.profile .profile__name { margin: 0; color: var(--text); }

/* Joyn-Folgen in der Serie */
.ep__joyn { position: absolute; right: 4px; bottom: 4px; padding: 1px 6px; border-radius: 980px; background: rgba(0,0,0,.6); color: #fff; font-size: 9px; font-style: normal; font-weight: 700; }
a.media__play { color: #fff; }

/* Mikro-Animationen: Karten und Folgen fliegen gestaffelt rein */
.gallery .card, .ep { animation: pop-in .55s calc(var(--k, 0) * 45ms) var(--spring) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.ep:active { transform: scale(.97); }
.ep__img img { transition: transform .5s var(--ease); }
.ep:hover .ep__img img { transform: scale(1.05); }

/* Ordner: Cover hebt sich beim Drüberfahren leicht heraus */
.ico__img--folder img.folder__cover { transition: transform .45s var(--spring), box-shadow .45s; }
.ico:hover .ico__img--folder img.folder__cover { transform: translate(-50%, -62%) rotate(-4deg) scale(1.08); box-shadow: 0 6px 12px rgba(0,0,0,.28); }
.ico:active .ico__img--folder img.folder__cover { transform: translate(-50%, -50%) scale(.92); }

/* "Läuft gerade" pulsiert */
.card__live { display: inline-flex; align-items: center; gap: 5px; }
.card__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: live 1.4s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* Ampel-Buttons, Dock-Tooltip, Paddles: kleine Federn */
.tl { transition: transform .25s var(--spring), filter .2s; }
.tl:hover { filter: brightness(1.05); }
.dock__app:hover .dock__tip { transition: opacity .15s, transform .35s var(--spring); }
.app__side nav button:active, .side-acct:active { transform: scale(.97); }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .profile { padding: 40px 20px; }
}


/* Ordnernamen normal geschrieben wie am Mac (nicht alles groß) */
.desk--mac .ico__label { text-transform: none; letter-spacing: -.005em; font-weight: 500; font-size: max(10px, .92cqw); }
/* Nur Ordner-Bild und Name sind klickbar, die Fläche drumherum gehört zum Schreibtisch (Auswahlrechteck) */
.desk--mac .ico { pointer-events: none; }
.desk--mac .ico > * { pointer-events: auto; }

/* ---------------- Light Sweep (nach Soundbase: weicher Verlauf, 9,5 s, nur auf den Buchstaben) ---------------- */
.sweep { position: relative; display: inline-block; }
.sweep::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(198,255,214,0) 30%, rgba(198,255,214,.95) 44%, #ffffff 52%, rgba(150,235,180,.85) 62%, rgba(150,235,180,0) 76%, rgba(255,255,255,0) 100%);
  background-size: 260% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 4px rgba(190,255,205,.55));
  animation: sweep 9.5s cubic-bezier(.42,0,.58,1) infinite;
}
@keyframes sweep { 0% { background-position: 130% 0; } 55%, 100% { background-position: -130% 0; } }
html.lite .sweep::after { animation: none; opacity: 0; }

/* ---------------- Deep Glow: dezentes Leuchten ---------------- */
.btn:not(.btn--glass) { position: relative; }
.btn:not(.btn--glass)::before { content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: inherit; background: radial-gradient(closest-side, rgba(70,170,100,.55), transparent); opacity: 0; filter: blur(10px); transition: opacity .45s; }
.btn:not(.btn--glass):hover::before { opacity: 1; }
.ico.is-sel .ico__img--folder img.folder__bg { filter: hue-rotate(-78deg) saturate(.72) brightness(.92) drop-shadow(0 0 10px rgba(80,190,110,.55)); }
.dock__app:hover .dock__icon { filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.card__live { box-shadow: 0 0 14px rgba(229,51,42,.55); }
.ico.is-drag { will-change: left, top, transform; }
.ico.is-drag .ico__img { transition: transform .35s var(--spring); }
/* Großer Haupt-Button bei Let's connect */
.btn--big { font-size: 21px; padding: 18px 44px; letter-spacing: -.025em; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 34px -12px rgba(41,90,53,.7); }
@media (max-width: 760px) { .btn--big { width: 100%; max-width: 360px; font-size: 19px; padding: 16px 28px; } }

.hero__hint a { display: block; width: fit-content; margin: 6px auto 0; }

/* ---------------- Feinschliff vor dem Livegang ---------------- */
/* Fotos im Karussell lassen sich nicht markieren oder rausziehen */
.ring, .ring * { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.ring img { pointer-events: none; }
.screen img, .card img, .ico img { -webkit-user-drag: none; user-select: none; }
/* Light Sweep taucht schneller auf */
.sweep::after { animation-duration: 4.2s; animation-delay: -1.2s; }
@keyframes sweep { 0% { background-position: 130% 0; } 62%, 100% { background-position: -130% 0; } }
/* "Alle Arbeiten als Liste" größer */
.hero__hint a { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-top: 10px; transition: opacity .2s; }
.hero__hint a::after { content: " ›"; }
/* Mehr als 3: die 4. Karte lugt leicht rein */
.row--more { grid-auto-columns: calc((100% - 3 * var(--gap)) / 3.22); }
/* Abschnitt leuchtet kurz auf, wenn man ihn links anklickt */
.sec { position: relative; }
.sec.is-flash::before { content: ""; position: absolute; inset: -10px -12px; border-radius: 16px; background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(41,90,53,.18); pointer-events: none; animation: sec-flash 1.1s cubic-bezier(.3,0,.3,1) forwards; }
@keyframes sec-flash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
.win { perspective: 900px; }
@media (max-width: 760px) { .row--more { grid-auto-columns: 86%; } .row--portrait.row--more { grid-auto-columns: 44%; } .hero__hint a { font-size: 17px; } }

/* ---------------- Arbeiten-Button direkt unter der Unterzeile ---------------- */
.hero__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; padding: 14px 30px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; animation: rise 1s .35s var(--ease) both; }
.hero__cta::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.hero__cta:hover::after { transform: translate(3px, -1px); }
.cta--narrow { display: none; }

/* ---------------- Handy: kein iPhone-Desktop, stattdessen großer Button ---------------- */
@media (max-width: 760px) {
  .hero .device, .hero__hint { display: none !important; }
  .hero { padding-bottom: 40px; min-height: 0; }
  .hero__cta { display: flex; justify-content: center; width: 100%; max-width: 360px; margin: 30px auto 0; padding: 20px 28px; font-size: 21px; border-radius: 980px; }
  .cta--wide { display: none; } .cta--narrow { display: inline; }
  /* Arbeiten-Seite: überall 2er-Kacheln wie bei 3D, kein seitliches Wischen */
  .works .row, .works .row--more, .works .row--portrait, .works .row--photo, .works .row--portrait.row--more {
    grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; row-gap: 22px;
  }
  .works .sec__nav { display: none; }
  .works .card__t { font-size: 14px; line-height: 1.25; }
}
@media (max-width: 760px) { .phero .hero__top a { display: none; } }
/* Großer Arbeiten-Button nur auf dem Handy, am Mac bleibt der Link unter dem iPad */
@media (min-width: 761px) { .hero__cta { display: none; } }
/* Kacheln: Inhalt immer oben bündig (Buttons zentrieren sonst vertikal) */
.card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.row { align-items: start; }
/* Sheet: fest am Bildschirm, kein Scrollen des Dialogs selbst */
.sheet { position: fixed; inset: 0; margin: 0; width: 100vw; height: 100dvh; overflow: hidden; outline: none; }
@media (max-width: 760px) {
  .sheet__panel { will-change: transform; }
  @keyframes sheet-up { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
}
/* "Alle Arbeiten als Liste" als großer grüner Button mit Light Sweep */
.hero__hint a.hero__list { display: flex; width: fit-content; margin: 22px auto 0; padding: 20px 46px; color: #fff; font-size: 23px; font-weight: 600; letter-spacing: -.025em; text-decoration: none; }
.hero__hint a.hero__list:hover { text-decoration: none; }
.hero__hint a.hero__list::after { content: "›"; margin-left: 8px; font-size: 1.15em; line-height: 1; transition: transform .25s var(--ease); }
.hero__hint a.hero__list:hover::after { transform: translateX(3px); }
.hero__hint { font-size: 15px; }
/* Handy: engere Abstände zwischen Button und "Let's connect" */
@media (max-width: 760px) {
  .hero { padding-bottom: 0 !important; }
  .connect { padding-top: 64px; }
  .hero__cta { margin-top: 28px; }
}


/* Keine Umrandung um Ordner nach dem Anklicken */
.desk .ico:focus, .desk .ico:focus-visible, .ico:focus-visible { outline: none; }

/* "Alle Arbeiten als Liste" etwas kleiner als "Projekt anfragen" */
.hero__hint a.hero__list { padding: 14px 32px; font-size: 18px; margin-top: 18px; }

/* Wallpaper ohne Vignette, füllt den ganzen Bildschirm */
.wall, .screen .wall {
  left: 0; top: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 40%; transform: none;
  -webkit-mask-image: none; mask-image: none;
}
