/* ============================================================
   LUIS STEINHILBER — Portfolio (Onepager, Light Theme)
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/Cormorant_Garamond/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrains_Mono/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Light, modern, warm-paper palette */
  --paper:      oklch(0.985 0.004 85);   /* page bg */
  --paper-2:    oklch(0.96 0.005 85);    /* raised bg */
  --paper-3:    oklch(0.92 0.006 85);    /* hairline wells */
  --ink:        oklch(0.18 0.01 80);     /* primary text */
  --ink-dim:    oklch(0.38 0.01 80);     /* secondary text */
  --muted:      oklch(0.55 0.012 80);    /* tertiary / meta */
  --accent:     #c1443c;     /* haiabubu bebyblau */
  --line:       color-mix(in oklch, var(--ink) 14%, transparent);
  --line-soft:  color-mix(in oklch, var(--ink) 7%, transparent);

  --display: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --body:    "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--paper); }

/* very subtle paper grain, kept light */
body::after {
  content: "";
  position: fixed; inset: -10%;
  pointer-events: none; z-index: 200;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

h1, h2, h3 { margin: 0; }

/* ============ TOP BAR ============ */
.topbar {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
}
.topbar .brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.topbar nav {
  display: flex; gap: 28px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.topbar nav a { opacity: 0.85; }
.topbar nav a:hover { opacity: 1; }

/* ============ HERO ============ */
.reel-hero {
  position: relative;
  height: 100vh; height: 100lvh;
  min-height: 600px;
  width: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  background: #1a1a1a;
  color: #fff;
}
video::-webkit-media-controls-start-playback-button { display: none !important; }

.reel-hero__media { position: absolute; inset: 0; z-index: 0; }
.reel-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.reel-hero__media.is-preview video::-webkit-media-controls,
.reel-hero__media.is-preview video::-webkit-media-controls-panel,
.reel-hero__media.is-preview video::-webkit-media-controls-overlay-play-button {
  display: none !important; opacity: 0 !important;
}

.reel-hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 30%, transparent 55%, rgba(0,0,0,0.6) 100%);
  transition: opacity .5s ease;
}
.reel-hero.is-playing .reel-hero__overlay,
.reel-hero.is-playing .reel-hero__bottom,
.reel-hero.is-playing .reel-hero__play { opacity: 0; pointer-events: none; }

.reel-hero__play {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity .4s ease;
}
.reel-hero__play .circle {
  width: clamp(88px, 9vw, 128px);
  height: clamp(88px, 9vw, 128px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  cursor: pointer; pointer-events: auto;
  transition: all .35s ease;
  position: relative;
}
.reel-hero__play .circle::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.55); opacity: 0; }
}
.reel-hero__play .circle:hover {
  background: var(--accent); border-color: var(--accent);
}
.reel-hero__play .circle::after {
  content: ""; width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.reel-hero__play .label {
  position: absolute;
  bottom: -36px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); white-space: nowrap;
}

.reel-hero__bottom {
  position: relative; z-index: 5;
  margin-top: auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
  transition: opacity .4s ease;
}
.reel-hero__bottom h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 124px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.reel-hero__bottom h1 small {
  display: block;
  font-size: 0.13em;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2em;
  font-weight: 500;
}
.reel-hero__bottom .meta {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: right;
}
.reel-hero__bottom .meta .feature {
  font-family: var(--body); font-style: italic;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.4;
  max-width: 34ch;
}

.reel-hero__close {
  position: absolute; top: 24px; right: 24px;
  z-index: 6;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 18px;
  transition: all .3s ease;
}
.reel-hero__close:hover { background: var(--accent); border-color: var(--accent); }
.reel-hero.is-playing .reel-hero__close { display: flex; }

/* ============ PORTRAIT + PILLARS ============ */
.portrait-block {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--gutter) 0;
  display: flex; justify-content: center;
}
.portrait-block img {
  width: clamp(200px, 22vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--line);
}

.pillars {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(80px, 12vw, 160px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 80px);
}
.pillars--two {
  max-width: 1040px;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 96px);
}
.pillar { display: flex; flex-direction: column; gap: 18px; }
.pillar .num {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent);
}
.pillar h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.pillar p {
  font-family: var(--body);
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.65;
  color: var(--ink-dim);
  font-weight: 400; margin: 0;
  text-wrap: pretty;
}
.pillar p em { color: var(--ink); font-style: italic; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 56px; }
}

/* ============ AWARDS ============ */
.awards {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.awards__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; align-items: start;
}
.awards__head .eyebrow {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: block;
}
.awards__head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.awards__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.awards__list li {
  display: flex; align-items: center; gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.awards__list b {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); display: block; margin-bottom: 6px;
}
.awards__list span {
  font-family: var(--body); font-style: italic;
  font-size: 16px; color: var(--ink-dim);
}
.laurel {
  flex-shrink: 0; width: 56px; height: 56px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23a35430' stroke-width='1.2'><path d='M20 10c-6 8-8 18-6 28 1 6 4 11 8 15'/><path d='M44 10c6 8 8 18 6 28-1 6-4 11-8 15'/><path d='M16 18c-2 0-4 1-5 3'/><path d='M14 26c-2 0-4 1-5 3'/><path d='M14 34c-2 0-4 1-5 3'/><path d='M16 42c-2 0-4 1-5 3'/><path d='M48 18c2 0 4 1 5 3'/><path d='M50 26c2 0 4 1 5 3'/><path d='M50 34c2 0 4 1 5 3'/><path d='M48 42c2 0 4 1 5 3'/><path d='M32 50v6' stroke-width='1.4'/><circle cx='32' cy='30' r='6'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
@media (max-width: 820px) {
  .awards__inner { grid-template-columns: 1fr; gap: 32px; }
  .awards__list { grid-template-columns: 1fr; }
}

/* ============ PROJECT SECTIONS ============ */
.projects-head {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(100px, 12vw, 160px) var(--gutter) 0;
  text-align: center;
}
.projects-head .eyebrow {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 18px;
}
.projects-head h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.theme {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.theme--reverse { grid-template-columns: 7fr 5fr; }
.theme--reverse .theme__media { order: 2; }

.theme__media {
  position: relative; aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
  border-radius: 4px;
}
.theme__media video { width: 100%; height: 100%; display: block; object-fit: cover; }
.theme__media .play-glyph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 2;
}
.theme__media .play-glyph::after {
  content: ""; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
  transition: all .3s ease;
}
.theme:hover .play-glyph::after { background-color: var(--accent); border-color: var(--accent); }
.theme__media .timecode {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff; z-index: 3;
}
.theme__media[data-yt] { cursor: pointer; }
.theme__media .yt-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 1;
}
.theme__media .yt-cover {
  position: absolute; inset: 0; z-index: 2;
  background: transparent; border: 0; padding: 0;
  width: 100%; height: 100%; cursor: pointer;
  appearance: none; -webkit-appearance: none;
}
.theme__media .yt-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.theme__media .yt-notice {
  position: absolute; top: 0; left: 0; right: 0;
  margin: 0; padding: 11px 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-dim);
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-align: center; line-height: 1.5; pointer-events: none; z-index: 3;
}
.theme__media .yt-notice b { color: var(--accent); font-weight: 600; }
.theme__media.is-loaded .yt-cover,
.theme__media.is-loaded .yt-notice,
.theme__media.is-loaded .yt-thumb,
.theme__media.is-loaded .play-glyph,
.theme__media.is-loaded .timecode { display: none; }
.theme__media iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; z-index: 4;
}

.theme__body .index {
  font-family: var(--display);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 200;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
  line-height: 0.8;
  margin-bottom: -0.4em;
  letter-spacing: -0.04em;
}
.theme__body .role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; display: block;
}
.theme__body h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 28px;
}
.theme__body p {
  font-family: var(--body);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.65;
  color: var(--ink-dim);
  font-weight: 400; margin: 0 0 18px;
  max-width: 52ch; text-wrap: pretty;
}
.theme__body p em { color: var(--ink); font-style: italic; }
.theme__body .credit {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-top: 32px; display: block;
}

@media (max-width: 820px) {
  .theme, .theme--reverse { grid-template-columns: 1fr; gap: 32px; }
  .theme--reverse .theme__media { order: 0; }
  .theme__body h3 { font-size: 32px; }
  .theme__body .index { font-size: 80px; }
}

/* ============ CONTACT ============ */
.contact {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  text-align: center;
  /* border-top: 1px solid var(--line-soft); */
}
.contact .eyebrow {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 18px;
}
.contact h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
/*
ALTER KONTAKTBLOCK
.contact a.mail {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}
.contact a.mail:hover { color: var(--accent); }

*/
/* Button-Container */
.contact__btn {
  display: inline-flex;      /* Macht aus dem Link ein Flex-Element (erlaubt Ausrichtung) */
  align-items: center;       /* Zentriert Icon und Text perfekt auf der vertikalen Achse */
  gap: 12px;                  /* Erzeugt den exakten Abstand zwischen Icon und Text */
  padding: 16px 54px;        /* Das "Padding" für die Luft im Button */
  border: 1px solid var(--accent);
  border-radius: 50px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 270;           /* Macht die Schrift dünn und elegant */
  transition: all 0.2s ease;
}

/* Das Icon Styling */
.icon-mail {
  width: 20px;                /* Festgelegte Größe für das Symbol */
  height: 20px;
  stroke: currentColor;       /* Wichtig: Damit die Farbe des Icons mit der Textfarbe wechselt! */
}

/* Hover-Effekt für den ganzen Button */
.contact__btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(193, 68, 60, 0.2);
}

.icon-plane {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* ============ LEGAL (Impressum + Datenschutz inline) ============ */
.legal {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.legal__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.legal h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.legal p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0 0 12px;
}
.legal p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .legal__inner { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.portfolio-foot {
  border-top: 1px solid var(--line);
  padding: 36px var(--gutter);
  text-align: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
}
.portfolio-foot a { color: var(--ink-dim); }
.portfolio-foot a:hover { color: var(--accent); }
.portfolio-foot__nav { margin-top: 14px; display: flex; justify-content: center; gap: 14px; }

/* ============ FADE UP ============ */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.in { opacity: 1; transform: none; }

/* ============ MOBILE OVERRIDES ============ */
@media (max-width: 640px) {
  .reel-hero__play { align-items: flex-start; padding-top: 30vh; }
  .reel-hero__bottom { flex-direction: column; align-items: flex-start; }
  .reel-hero__bottom .meta { align-items: flex-start; text-align: left; }
  .reel-hero__bottom h1 { font-size: 32px; letter-spacing: -0.01em; }
  .reel-hero__bottom h1 small { font-size: 10px; }
  .reel-hero__bottom .meta .feature { font-size: 18px; }
  .reel-hero.is-playing .reel-hero__media video { object-fit: contain; background: #000; }
  .topbar { padding: 22px var(--gutter); }
  .topbar .brand { font-size: 12px; letter-spacing: 0.14em; }
  .topbar nav { gap: 14px; font-size: 10px; letter-spacing: 0.18em; }
}
@media (max-width: 420px) {
  .topbar nav { display: none; }
}
 
	.pillar .num,
.theme__body .role,
.projects-head .eyebrow,
.contact .eyebrow,
.awards__head .eyebrow,
.theme__body .credit {
  color: #355c7d;
}

.reel-hero__play { display: none; }

/* ============ MUTE BUTTON  ============ */
.reel-hero__mute {
  position: absolute;
  right: var(--gutter);
  bottom: 22%; /* Beispielwert, passt den Button auf etwa die Mitte der unteren Hälfte */
top: auto; /* Wichtig: Setzen Sie top auf auto, damit bottom funktioniert */
  transform: translateY(-50%);
  z-index: 6;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.reel-hero__mute:hover { background: var(--accent); border-color: var(--accent); }
.reel-hero__mute .mute-icon { width: 20px; height: 20px; }

/* Icon-Zustand: stumm = X-Icon, unmuted = Wellen-Icon */
.reel-hero__mute .mute-icon--on              { display: none; }
.reel-hero__mute.is-unmuted .mute-icon--off  { display: none; }
.reel-hero__mute.is-unmuted .mute-icon--on   { display: block; }

/* ============ BEHIND THE SCENES (BTS) ============ */
/* Buttons nebeneinander ausrichten */
.bts-btn-group {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap; /* Damit es auf dem Handy untereinander rutscht */
	justify-content: center; 
}

.bts-wrapper {
  grid-column: 1 / -1; /* Bleibt über die ganze Breite */
  min-width: 0; /* verhindert, dass breite Inhalte das Grid sprengen */
  margin-top: 32px;
  border-top: 1px solid var(--line-soft); /* DIE OBERE TRENNLINIE */
  padding-top: 24px;
}

.bts-btn {
  flex: 1; /* Beide Buttons nehmen gleich viel Platz ein */
  max-width: 300px; /* Aber sie werden nicht unendlich breit */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

/* Styling für die Mitwirkenden-Liste */
.bts-credits-list {
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert den gesamten Block in der Mitte */
  gap: 12px;
  width: 100%;
}
.credit-row .role {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.credit-row .name {
  text-align: right;
  color: var(--ink);
  font-style: italic;
}

/*
.credit-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
*/
.credit-row {
  display: flex;
  justify-content: space-between; /* Schiebt Rolle nach links, Name nach rechts */
  width: 100%;
  max-width: 750px; /* VERHINDERT, dass die Zeile zu breit wird */
  font-family: var(--body);
  font-size: 18px;
	border-bottom: 1px solid var(--line-soft);
}
.credit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}


.credit-role {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
}

.credit-name {
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink);
}

/* Mobile Anpassung */
@media (max-width: 640px) {
  .bts-btn-group {
    flex-direction: column;
  }
  .bts-btn {
    max-width: 100%;
  }
}

.bts-btn .btn-arrow {
  font-family: var(--mono);
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.bts-btn:hover {
  border-color: var(--accent);
  background: var(--paper-3);
}

.bts-btn:hover .btn-text {
  color: var(--ink);
}

.bts-btn .btn-text {
  font-family: var(--mono);  /* Hier die Schriftart wählen */
  color: black;         /* Hier die Farbe wählen */
  font-size: 11px;              /* Optional: Schriftgröße anpassen */
  text-transform: uppercase;    /* Optional: Alles in Großbuchstaben */
  letter-spacing: 0.1em;        /* Optional: Buchstaben-Abstand für edleren Look */
  font-weight: 200;             /* Optional: Dicke der Schrift */
}

/* State: Offen */
.bts-btn.is-active {
  border-color: var(--accent);
  background: var(--paper-3);
}

.bts-btn.is-active .btn-arrow {
  transform: rotate(180deg);
}

/* Der ausklappbare Bereich */
.bts-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}

.bts-content.is-open {
  max-height: 2000px; /* Ein hoher Wert, damit alles Platz hat */
  opacity: 1;
  pointer-events: auto;
  margin-top: 24px;
}

/* BTS Grid Layout */
.bts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  padding-bottom: 20px;
}

.bts-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bts-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.bts-item p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin: 0;
  text-wrap: pretty;
}

/* Mobile Anpassung */
@media (max-width: 640px) {
  .bts-btn {
    max-width: 100%;
  }
  .bts-grid {
    grid-template-columns: 1fr;
  }
}

/* Kompaktes Layout für BTS-Inhalte, basierend auf .theme */
.bts-theme {
  display: grid; 
  grid-template-columns: 5fr 7fr; /* Gleiche Spaltenverteilung wie bei den Projekten */
  gap: clamp(40px, 6vw, 96px); 
  align-items: center;
  padding: 20px 0 40px 0; /* Weniger Padding als die Hauptsektionen */
}

/* Damit die Medien-Box in BTS auch die richtige Form hat */
.bts-theme .theme__media {
  position: relative; 
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
  border-radius: 4px;
}

/* Sicherstellen, dass die "rote Schrift" (.role) auch hier greift */
.bts-theme .role {
  font-family: var(--mono); 
  font-size: 10px;
  letter-spacing: 0.36em; 
  text-transform: uppercase;
  color: var(--accent); /* Das ist dein Rot */
  margin-bottom: 14px; 
  display: block;
}

/* Mobile Anpassung: Untereinander statt Nebeneinander */
@media (max-width: 820px) {
  .bts-theme { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
}

/* ============ BTS SLIDER STYLES ============ */
.bts-slider {
  position: relative;
  width: 100%;
  max-width: 900px; /* Oder deine gewünschte Breite */
  margin: 0 auto;
}

.bts-slider-viewport {
  overflow: hidden; /* Versteckt die anderen Bilder */
  width: 100%;
  border-radius: 4px;
}

.bts-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Eleganter Übergang */
  width: 100%;
}

.bts-slide {
  min-width: 100%; /* Jedes Bild nimmt die volle Breite ein */
  display: flex;
  flex-direction: column;
  gap: 12px;
	
}

.bts-slide img {
  width: 100%;
  aspect-ratio: 16 / 10; /* Behält das Format bei */
  object-fit: cover;
	
}

.bts-slide p {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-dim);
  text-align: center;
  margin: 0;
}

/* --- ELEGANTE PFEILE --- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  
  /* Größe und Form (identisch zum Mute-Button) */
  width: 50px;  /* Ich habe sie leicht verkleinert auf 50px, damit sie im Slider nicht zu dominant sind. Für exakt 64px einfach ändern. */
  height: 50px;
  border-radius: 50%;
  
  /* Look & Feel (Glas-Effekt) */
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  
  /* Zentrierung des Pfeils */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  
  /* Entfernt Standard-Button-Styling */
  padding: 0;
  outline: none;
  font-size: 18px;
  font-family: var(--mono);
}

/* Hover-Zustand (identisch zum Mute-Button) */
.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1); /* Minimales Aufzoomen für mehr Dynamik */
}

/* Positionierung der Pfeile im Slider */
.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Korrektur für Mobile: Pfeile etwas kleiner */
@media (max-width: 640px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
}



/* Container für Label und Text — im Stil von CupOhChino (.theme__body), größer */
.bts-text-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(16px, 3vw, 28px) 8px;
  text-align: left;
}

/* Das rote Label auf der Linie */
.bts-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent); /* Das Rot aus deinen Credits */
  letter-spacing: 0.36em;

  /* Die weiche Linie */
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
  display: block;
  width: 100%;
}

/* Der Beschreibungstext darunter — gleiche Größe wie die Projekt-Texte */
.bts-item p, .bts-slide p {
  font-family: var(--body);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.65;
  color: var(--ink-dim);
  text-align: left;
  margin: 0;
  text-wrap: pretty;
  padding-top: 0;
}