/* ==========================================================================
   lukaskux.de – Stylesheet
   Alle Farben, Schriftgrößen und Abstände sind hier oben als Variablen
   definiert. Wenn du etwas global ändern willst, ändere es NUR hier.
   ========================================================================== */

/* ---------- Schrift: Outfit (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design-Variablen ---------- */
:root {
  /* Farben */
  --bg: #222222;          /* Seitenhintergrund (wie bisher) */
  --surface: #2b2b2b;     /* Karten / Player-Hintergrund */
  --surface-hover: #333333;
  --text: #eeeeee;        /* Fließtext */
  --text-strong: #ffffff; /* Überschriften, Links */
  --muted: #888888;       /* Navigation, Nebeninfos */
  --line: #3a3a3a;        /* feine Linien */

  /* Schrift: EINE Familie für alles */
  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;

  /* Schriftgrößen (feste Stufen – bitte nur diese verwenden).
     Alle Werte wachsen fließend mit der Bildschirmbreite: clamp(Minimum, bevorzugt, Maximum) */
  --fs-small: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);  /* 13–15px – Navigation, Bildunterschriften */
  --fs-body: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);         /* 16–18px – Fließtext */
  --fs-h2: clamp(1.25rem, 1.08rem + 0.7vw, 1.625rem);         /* 20–26px – Abschnittsüberschriften */
  --fs-h1: clamp(1.375rem, 1.15rem + 1vw, 2rem);              /* 22–32px – Seitentitel */
  --fs-display: clamp(2rem, 1.3rem + 3.5vw, 3.25rem);         /* 32–52px – große Links Startseite */

  /* Abstände (feste Stufen – bitte nur diese verwenden), ebenfalls adaptiv */
  --space-xs: 0.5rem;                                   /* 8px */
  --space-s: 1rem;                                      /* 16px */
  --space-m: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);  /* 18–24px */
  --space-l: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);   /* 28–40px */
  --space-xl: clamp(2.5rem, 1.7rem + 3.2vw, 4rem);      /* 40–64px – Abstand zwischen Abschnitten */
  --space-xxl: clamp(3.5rem, 2.3rem + 4.8vw, 6rem);     /* 56–96px */

  /* Breiten */
  --content-width: 960px; /* max. Breite für Bilder & Videos */
  --text-width: 680px;    /* max. Breite für Fließtext */

  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;   /* keine verbundenen Buchstaben (z. B. "fi"), damit sich die Typo nie verändert */
  font-kerning: none;             /* überall gleicher Buchstabenabstand – wie bei den Menüpunkten mit Hover-Effekt */
  /* Footer klebt immer am unteren Rand, auch bei kurzen Seiten */
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }

/* Hintergrundbild aller Unterseiten: bildschirmfüllend, bleibt beim Scrollen stehen, 25 % abgedunkelt.
   Bild austauschen: einfach images/hintergrund.jpg ersetzen. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)), url("../images/hintergrund.jpg") center / cover no-repeat;
}
.home::before { display: none; }
img { display: block; max-width: 100%; height: auto; }
/* Bilderschutz: kein Markieren, kein langes Drücken zum Sichern (iPhone) */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
a { color: var(--text-strong); text-decoration: none; transition: opacity .2s var(--ease), color .2s var(--ease); }
a:hover { opacity: .65; }
p { margin: 0 0 var(--space-s); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text-strong); outline-offset: 3px; }
/* Mauszeiger: immer der Pfeil – bei allem Anklickbaren die Hand. Nur in Eingabefeldern der Text-Cursor. */
html, body, body * { cursor: default; }
a, a *, button, button *, label[for], .photo, .photo *, .reel, .reel *, .video-poster, .video-poster *,
.track-progress, .wheel-btn, .eye-list a, .eye-list a * { cursor: pointer; }
input, textarea { cursor: text; }

/* ---------- Kopfzeile (auf jeder Seite oben mittig, bleibt beim Scrollen stehen) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 300;
  padding: var(--space-m) 0 var(--space-s);
  text-align: center;
  background: rgba(20, 20, 20, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-title {
  margin: 0;
  padding: 0 var(--space-s) var(--space-m);
  border-bottom: 1px solid rgba(255, 255, 255, .85);   /* feine weiße Linie über die ganze Breite */
  font-size: var(--fs-h1);
  font-weight: 600;
  text-transform: lowercase;
  color: var(--text-strong);
  line-height: 1.2;
}

/* Menü: mittig unter der Linie */
.site-nav { margin-top: var(--space-s); padding: 0 var(--space-s); }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-m);
  font-size: var(--fs-body); line-height: 1.6;
}
.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--text-strong); }

/* Startseite: Kopfzeile liegt durchsichtig über dem Vollbild-Hintergrund */
.home {
  background: linear-gradient(rgba(20, 20, 20, .72), rgba(20, 20, 20, .72)), url("../images/home-bg.jpg") center / cover no-repeat fixed;
}
.home .site-header { position: relative; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Seiteninhalt: immer in der Bildschirmmitte ---------- */
.page {
  width: 100%; max-width: calc(var(--content-width) + 2 * var(--space-l));
  margin: 0 auto; padding: var(--space-xl) var(--space-l) var(--space-l);
}
/* kurze Übersichtsseiten (film, music) auch senkrecht mittig */
.page:has(.link-list), .page:has(.eye-list) { display: flex; flex-direction: column; padding-bottom: var(--space-xl); }
.page:has(.link-list) .link-list, .page:has(.eye-list) .eye-list { margin: auto 0; }   /* gleicher Abstand nach oben und unten */
#impressum { scroll-margin-top: 10rem; }

/* ---------- Typografie ---------- */
.section-title {
  margin: 0 0 var(--space-m);
  text-align: center;
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.3;
}
.section + .section { margin-top: var(--space-xl); }

.prose { max-width: var(--text-width); margin: 0 auto; text-align: center; }
.prose h2 {
  margin: var(--space-l) 0 var(--space-s);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: var(--space-m) 0 var(--space-xs); font-size: var(--fs-body); font-weight: 600; color: var(--text-strong); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted); }
.prose ul { margin: 0 0 var(--space-s); padding: 0; list-style: none; }

/* Große Textlinks (Unterseiten "film" und "music") */
.link-list { list-style: none; margin: 0; padding: 0; text-align: center; }
.link-list li + li { margin-top: var(--space-xs); }
.link-list a { font-size: calc(var(--fs-h2) * 1.07 * 1.12); font-weight: 600; }   /* Unterpunkte bei film und music: +7 %, dann +12 % */

/* Beschreibungstext am Seitenende (z. B. music, social media) */
.outro { max-width: var(--text-width); margin: var(--space-l) auto 0; text-align: center; color: var(--muted); }

/* ---------- Foto-Übersicht: Augen (geschlossen, öffnen sich beim Hover) ---------- */
.eye-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, auto); justify-content: center;  /* max. zwei nebeneinander */
  gap: var(--space-l) var(--space-xl);
  font-size: var(--fs-h2);   /* gleiche Schriftgröße wie die Punkte bei "film" → Augen skalieren mit */
}
.eye-list a { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); color: var(--muted); }
.eye-list a:hover, .eye-list a:focus-visible { opacity: 1; color: var(--text-strong); }
.eye { width: 5em; height: auto; overflow: visible; }   /* so breit wie "music & art" bei film */
.eye path { fill: none; stroke: var(--text-strong); stroke-width: 4; stroke-linecap: round; }
.eye-iris circle { fill: none; stroke: var(--text-strong); stroke-width: 4; }
.eye-iris .eye-pupil { fill: var(--text-strong); stroke: none; }
/* geschlossen: Oberlid nach unten geklappt, Iris unsichtbar */
.eye-lid-top { transform-box: fill-box; transform-origin: center bottom; transform: scaleY(-1);
  transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
.eye-iris { transform-box: fill-box; transform-origin: center; transform: scale(.2, 0); opacity: 0;
  transition: transform .5s cubic-bezier(.3, .7, .2, 1), opacity .3s ease; }
/* offen beim Hover (oder Tastatur-Fokus) */
.eye-list a:hover .eye-lid-top, .eye-list a:focus-visible .eye-lid-top { transform: scaleY(1); }
.eye-list a:hover .eye-iris, .eye-list a:focus-visible .eye-iris { transform: scale(1); opacity: 1; transition-delay: .12s; }
/* Handy (Tippen): Auge öffnet sich, dann öffnet die Seite */
.eye-list a.is-opening .eye-lid-top, .eye-list a.is-seen .eye-lid-top { transform: scaleY(1); }
.eye-list a.is-opening .eye-iris, .eye-list a.is-seen .eye-iris { transform: scale(1); opacity: 1; transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .eye-lid-top, .eye-iris { transition: none; } }

/* ---------- Startseite ---------- */
.splash {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-m);
  text-align: center;
}
.splash-links { list-style: none; margin: auto 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-m); }  /* gleichmäßige Abstände */
.splash-links a { font-size: calc(var(--fs-display) * .95); font-weight: 600; line-height: 1.25; }
/* Trennpunkt wie auf der Startseite (z. B. social media über "curator of") */
.dot-divider { width: 6px; height: 6px; margin: var(--space-xl) auto; border-radius: 50%; background: var(--muted); font-size: 0; }   /* runder Punkt, oben und unten gleicher Abstand */
.section-title .arrow { display: block; margin-top: var(--space-xs); color: var(--muted); }
.splash-links .dot { font-size: calc(var(--fs-display) * .95); line-height: 1; color: var(--muted); margin: var(--space-xs) 0 var(--space-s); }
.home .site-footer, .home .site-footer a { color: var(--text-strong); }

/* ---------- Fotos ---------- */
.photo-stack { max-width: var(--content-width); margin: 0 auto; display: grid; gap: var(--space-m); }
.photo-row { display: flex; gap: var(--space-m); }
.photo-row .photo { flex: var(--ratio) 1 0; min-width: 0; }  /* gleiche Höhe in einer Reihe */
.photo { margin: 0; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-row .photo img { height: auto; }   /* Höhe ergibt sich schon vor dem Laden aus width/height */
.photo.single { background: none; }
.photo.single img { width: auto; height: auto; max-width: 100%; max-height: 85vh; margin: 0 auto; }
.divider { width: 24px; height: 2px; background: var(--muted); margin: var(--space-xl) auto; border: 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: none; align-items: center; justify-content: center;
  background: rgba(15, 15, 15, .96);
}
.lightbox.is-open { display: flex; }
.lightbox { touch-action: none; overscroll-behavior: contain; }   /* Wischen schließt das Foto statt die Seite neu zu laden */
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: var(--text-strong); font-size: 2rem; line-height: 1; padding: var(--space-s); opacity: .7;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: var(--space-s); right: var(--space-s); }
.lb-prev { left: var(--space-s); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--space-s); top: 50%; transform: translateY(-50%); }

/* ---------- Videos (einheitlich, YouTube lädt erst nach Klick) ---------- */
.video-grid { max-width: var(--content-width); margin: 0 auto; display: grid; gap: var(--space-xl) var(--space-m); }
.video-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l) var(--space-m); }
.video { margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--surface); border-radius: var(--radius);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.video-poster img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) brightness(.82);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.video-poster:hover img, .video-poster:focus-visible img { filter: none; transform: scale(1.02); }

/* Das dezente Play-Symbol – gleiches Symbol wie bei der Musik */
.play-icon {
  --size: 52px;
  width: var(--size); height: var(--size); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(20, 20, 20, .35);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  flex: none;
}
.play-icon::before {
  content: ""; width: 0; height: 0; margin-left: 3px;
  border-style: solid; border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}
.video-poster .play-icon { position: absolute; left: var(--space-s); bottom: var(--space-s); }
.video-poster:hover .play-icon { background: rgba(255, 255, 255, .15); border-color: #fff; }

.video figcaption, .caption {
  text-align: center;
  margin-top: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.4;
}
.video figcaption strong { display: block; color: var(--text); font-weight: 600; font-size: var(--fs-body); }
.video figcaption .role, .reel-caption > span { display: block; }   /* nur die Rollen-Zeile, nicht die Buchstaben der Lupe */
.video figcaption .role a, .reel-caption > span a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted); }
.video figcaption strong a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted); }
.yt-link { display: block; width: fit-content; margin: 2px auto 0; color: var(--muted); font-size: var(--fs-small); }
.yt-link:hover { color: var(--text-strong); opacity: 1; }
.video-notice {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-s); padding: var(--space-m); text-align: center; font-size: var(--fs-small); color: var(--text);
  background: var(--surface);
}
.video-notice p { margin: 0; }
.intro { max-width: var(--text-width); margin: 0 auto var(--space-xl); text-align: center; color: var(--muted); }

/* ---------- Musik-Player (einheitlich für SoundCloud & Spotify) ---------- */
.tracks { max-width: var(--content-width); margin: 0 auto; display: grid; gap: var(--space-s); }
.track {
  position: relative;
  display: grid;
  grid-template-columns: 64px auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-s);
  padding: var(--space-s);
  background: var(--surface);
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.track:hover { background: var(--surface-hover); }
.track-cover { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; }
.track-cover-link { display: block; border-radius: 2px; transition: opacity .2s var(--ease); }
.track-cover-link:hover { opacity: .8; }
.track-play { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.track-play .play-icon { --size: 44px; }
.track-play:hover .play-icon { background: rgba(255, 255, 255, .15); border-color: #fff; }
.track.is-playing .play-icon::before {         /* Pause-Symbol */
  width: 10px; height: 13px; margin: 0; border: 0;
  border-left: 3px solid #fff; border-right: 3px solid #fff;
}
.track.is-loading .play-icon { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }

.track-body { min-width: 0; }
.track-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-s); }
.track-title { font-weight: 600; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-source { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
.track-meta { font-size: var(--fs-small); color: var(--muted); }
.track-progress {
  position: relative; height: 3px; margin-top: var(--space-xs);
  background: var(--line); border-radius: 2px; cursor: pointer;
}
.track-progress::after { content: ""; position: absolute; inset: -8px 0; } /* größere Klickfläche */
.track-bar { height: 100%; width: 0; background: var(--text-strong); border-radius: 2px; }
.track-time { font-variant-numeric: tabular-nums; }

/* Unsichtbarer Original-Player, der den Ton liefert */
.track-engine { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; left: 0; top: 0; }
/* Falls ein Browser das Abspielen blockiert, wird der Original-Player sichtbar */
.track.show-native .track-engine {
  position: static; width: auto; height: auto; opacity: 1; pointer-events: auto;
  grid-column: 1 / -1;
}
.track.show-native .track-engine iframe { width: 100%; height: 152px; border: 0; border-radius: var(--radius); }

/* ---------- Pianist-Seite ---------- */
.portrait { max-width: 420px; margin: 0 auto var(--space-l); }
.icon-links { display: flex; justify-content: center; gap: var(--space-m); margin: 0 0 var(--space-xl); }
.icon-links a { display: inline-flex; width: 28px; height: 28px; color: var(--text-strong); }
.icon-links svg { width: 100%; height: 100%; }

/* ---------- Kontakt ---------- */
.contact-form { max-width: var(--text-width); margin: 0 auto var(--space-xxl); display: grid; gap: var(--space-m); }
.contact-form label { display: block; margin-bottom: var(--space-xs); font-size: var(--fs-small); color: var(--muted); text-align: center; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: var(--space-s); font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--muted); }
.contact-form .hidden { display: none; }
.button {
  justify-self: center; padding: var(--space-s) var(--space-l); cursor: pointer;
  font-weight: 600; color: var(--bg); background: var(--text-strong);
  border: 0; border-radius: var(--radius); transition: opacity .2s var(--ease);
}
.button:hover { opacity: .8; }
.form-status { font-size: var(--fs-small); color: var(--muted); text-align: center; }
.legal { font-size: var(--fs-small); color: var(--muted); }
.legal h2, .legal h3 { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--space-l) var(--space-s);
  text-align: center;
  font-size: var(--fs-small);
  color: var(--muted);
}
.site-footer a { color: var(--muted); margin: 0 var(--space-xs); }
.site-footer a:hover { color: var(--text-strong); opacity: 1; }

/* ---------- Hover-Effekt Menüpunkte ----------
   Die Buchstaben ziehen langsam und endlos auseinander, solange die Maus darauf bleibt
   (gesteuert in js/main.js, Abschnitt "Hover"). Beim Verlassen gleiten sie zurück. */
.splash-links a, .site-nav a, .link-list a { display: inline-block; white-space: nowrap; }
.splash-links a, .site-nav a, .link-list a, .site-title { position: relative; }   /* Bezugspunkt für den Lupen-Effekt */
.site-title { user-select: none; -webkit-user-select: none; }   /* normaler Mauszeiger über dem Namen / Titel */
/* Schwache Lupe auf Texten: Wörter bleiben zusammen, Buchstaben einzeln skalierbar */
.tw { display: inline-block; white-space: nowrap; }
.tch { display: inline-block; white-space: pre; }
.splash-links a:hover, .site-nav a:hover, .link-list a:hover { opacity: 1; color: var(--text-strong); }
.ch { display: inline-block; white-space: pre; will-change: transform; }
html, body { overflow-x: clip; }   /* sehr weit gezogene Wörter erzeugen keinen seitlichen Scrollbalken */


/* ---------- Social Media: 3D-Rad mit Reels (9:16) ---------- */
.reel-wheel {
  --card-w: clamp(180px, 22vw, 260px);
  position: relative;
  height: calc(var(--card-w) * 16 / 9 + var(--space-l));
  perspective: 1400px;
  overflow: hidden;
  touch-action: pan-y;               /* horizontal wischen = Rad drehen */
  user-select: none; -webkit-user-select: none;
}
.reel-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.reel {
  position: absolute; left: 50%; top: calc(var(--space-l) / 2);
  width: var(--card-w); aspect-ratio: 9 / 16;
  margin-left: calc(var(--card-w) / -2);
  padding: 0; border: 0; cursor: pointer; overflow: hidden;
  background: var(--surface); border-radius: var(--radius);
  transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease);
  will-change: transform;
}
.reel img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel .play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s var(--ease); }
.reel.is-active .play-icon { opacity: 1; }
.reel.is-active:hover .play-icon { background: rgba(255, 255, 255, .15); border-color: #fff; }
.reel-wheel.is-dragging .reel { transition: none; }

.wheel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 200;
  width: 48px; height: 72px; padding: 12px; cursor: pointer;
  border: 0; background: none; color: var(--text-strong); opacity: .75;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.wheel-btn svg { width: 100%; height: 100%; display: block; }
.wheel-btn path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wheel-btn:hover { opacity: 1; }
.wheel-prev:hover { transform: translateY(-50%) translateX(-3px); }
.wheel-next:hover { transform: translateY(-50%) translateX(3px); }
.wheel-prev { left: 0; }
.wheel-next { right: 0; }

.reel-caption { max-width: var(--text-width); min-height: 3.5em; margin: var(--space-m) auto 0; text-align: center; font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }
/* Link "Auf Instagram öffnen" unter der Beschreibung – gleiches Symbol wie in den Kästen */
.reel-ig-link {
  display: flex; align-items: center; justify-content: center; gap: var(--space-xs);
  width: fit-content; margin: var(--space-s) auto 0;
  font-size: var(--fs-small); color: var(--muted);
}
.reel-ig-link svg { width: 22px; height: 22px; flex: none; color: var(--text-strong); }
.reel-ig-link:hover { color: var(--text-strong); opacity: 1; }
.reel-caption strong { display: block; color: var(--text); font-weight: 600; font-size: var(--fs-body); }

/* Instagram-Player direkt in der Karte */
.reel-player { position: absolute; inset: 0; overflow: hidden; background: #000; }
.reel-player iframe { position: absolute; display: block; border: 0; background: #000; }
.reel-player video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.reel.is-playing { cursor: default; }
.reel.is-playing .play-icon, .reel.is-playing img { visibility: hidden; }

/* Mehrere Link-Karten nebeneinander (Handy: untereinander) */
.feature-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-s); max-width: var(--content-width); margin: 0 auto; }
.feature-links .feature-link { max-width: none; margin: 0; }
.feature-item { display: flex; flex-direction: column; gap: var(--space-xs); }
.ig-stat { margin: 0; text-align: center; font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }
.ig-stat .ig-arrow { color: var(--text-strong); }

/* Link-Karte (z. B. @project_duisburg) */
.feature-link {
  display: flex; align-items: center; gap: var(--space-s);
  max-width: var(--text-width); margin: 0 auto; padding: var(--space-m);
  background: var(--surface); border-radius: var(--radius);
}
.feature-link:hover { background: var(--surface-hover); opacity: 1; }
.feature-link svg { width: 32px; height: 32px; flex: none; }
.feature-link span { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }
.feature-link strong { display: block; font-size: var(--fs-body); color: var(--text-strong); font-weight: 600; }

/* ---------- Handy ---------- */
@media (max-width: 700px) {
  .page { padding: var(--space-l) var(--space-s); }
  .site-nav ul { gap: 2px var(--space-s); font-size: var(--fs-small); }
  .video-grid, .video-grid.cols-2 { grid-template-columns: 1fr; gap: var(--space-l); }
  .photo-row { flex-wrap: wrap; }                       /* 4er-Reihen werden zu 2×2 */
  .photo-row .photo { flex: 1 1 calc(50% - var(--space-s)); aspect-ratio: 4 / 5; }
  .photo-row .photo img { height: 100%; }
  .photo-stack, .photo-row { gap: var(--space-s); }
  .track { grid-template-columns: 48px auto minmax(0, 1fr); gap: var(--space-s); padding: var(--space-xs) var(--space-s) var(--space-xs) var(--space-xs); }
  .track-cover { width: 48px; height: 48px; }
  .track-source { display: none; }
  .track-title { white-space: normal; line-height: 1.3; }
  .reel-wheel { --card-w: 58vw; }
  .wheel-btn { display: none; }
  .site-footer { line-height: 2; }
  .site-footer a { display: inline-block; }
  .contact-form input, .contact-form textarea { font-size: 16px; }  /* verhindert Auto-Zoom auf dem iPhone */
}
