/* ============================================================
   Hannah Bökenbrink-Bokeloh — Portfolio
   Palette:  Aubergine-Schwarz #16121A · Fläche #221A28
             Magenta #F0679F · Rosé #FFA9CC · Elfenbein #F4EEF1
   Typo:     Fraunces (Display) · Instrument Sans (Text/UI)
   Signatur: Druckproduktion — Schnittmarken, CMYK-Punkte,
             Arbeiten als aufgezogene Prints
   ============================================================ */

:root {
  --bg: #16121A;
  --bg-alt: #1B1520;
  --card: #221A28;
  --card-2: #281f2f;
  --ink: #F4EEF1;
  --muted: #AC9DAB;
  --pink: #F0679F;
  --pink-soft: #FFA9CC;
  --pink-deep: #C74A80;
  --line: rgba(244, 238, 241, .13);
  --cyan: #55BFDB;
  --yellow: #E9C46A;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --container: 1180px;
  --ease-out: cubic-bezier(.22, .68, .32, 1);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, .45);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul { list-style: none; }

::selection { background: var(--pink); color: #1b0e15; }

:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pink); color: #1b0e15; padding: .6rem 1.2rem;
  border-radius: 0 0 10px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.08; letter-spacing: -.01em; }

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  max-width: 21ch;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

h2 em, h1 em, .motto em {
  font-style: italic;
  font-weight: 480;
  color: var(--pink);
}

p { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}

.swatch {
  width: .68em; height: .68em; flex: none;
  background: var(--pink);
  box-shadow: 0 0 0 1px rgba(244, 238, 241, .25);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }

.btn-solid {
  background: var(--pink); color: #1F0D18;
  box-shadow: 0 6px 24px rgba(240, 103, 159, .28);
}
.btn-solid:hover { background: var(--pink-soft); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(240, 103, 159, .4); }

.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-soft); transform: translateY(-2px); }

.btn-small { padding: .5rem 1.1rem; font-size: .88rem; }
.btn-big { padding: 1rem 2.2rem; font-size: 1.08rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: border-color .35s;
  border-bottom: 1px solid transparent;
}
/* Blur liegt auf einem Pseudo-Element, damit die Nav kein Containing Block
   für das fixed positionierte Mobile-Menü wird */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(22, 18, 26, .82);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .35s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-scrolled::before { opacity: 1; }
.nav-inner {
  max-width: var(--container); margin-inline: auto;
  padding: .9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark {
  width: 11px; height: 11px; background: var(--pink);
  transition: transform .4s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(135deg); }
.brand-name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em;
}
.brand-name em { font-style: italic; color: var(--pink); font-weight: 480; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-links > a:not(.btn) {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted);
  position: relative; padding-block: .3rem;
  transition: color .25s;
}
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--pink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav-links > a:not(.btn):hover, .nav-links > a.is-active { color: var(--ink); }
.nav-links > a:not(.btn):hover::after, .nav-links > a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-burger { display: none; }

/* ---------- Schnittmarken-Rahmen (Signatur) ---------- */
.cropframe { position: relative; }
.cropframe::before, .cropframe::after,
.cropframe > .hero-copy::before {
  pointer-events: none;
}
.cropframe::before, .cropframe::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 0 solid rgba(244, 238, 241, .35);
}
.cropframe::before { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.cropframe::after { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(6rem, 12vh, 9rem);
  padding-bottom: 3rem;
  position: relative;
  background:
    radial-gradient(60% 48% at 82% 18%, rgba(240, 103, 159, .1), transparent 70%),
    radial-gradient(50% 40% at 8% 85%, rgba(240, 103, 159, .05), transparent 70%),
    var(--bg);
}

.hero-inner {
  max-width: var(--container); margin-inline: auto; width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  margin-block: 1.3rem 1.5rem;
}

.line-mask { display: block; overflow: hidden; padding-block: .06em; }
.line { display: block; }

.hero-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Foto als "aufgezogener Print" */
.hero-photo { position: relative; justify-self: center; }

.print-card {
  background: #FDFBFA;
  padding: 14px 14px 0;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transform: rotate(-2.5deg);
  transition: transform .5s var(--ease-out), box-shadow .5s;
  max-width: min(360px, 78vw);
}
.print-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 28px 70px rgba(0, 0, 0, .55); }
.print-card img { border-radius: 2px; }
.print-card figcaption {
  font-size: .78rem; color: #6E5F6B;
  padding: .7rem .2rem .8rem;
  letter-spacing: .04em;
  display: flex; align-items: center; gap: .45rem;
}
.print-card figcaption::before {
  content: ""; width: 8px; height: 8px; background: var(--pink); flex: none;
}

.sticker {
  position: absolute;
  padding: .42rem 1rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 650;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  white-space: nowrap;
}
.sticker-1 { top: 6%; left: -3.2rem; background: var(--pink); color: #1F0D18; transform: rotate(-7deg); }
.sticker-2 { bottom: 22%; right: -2.6rem; background: var(--ink); color: #221A28; transform: rotate(4deg); }
.sticker-3 { bottom: 13%; left: -2.2rem; background: var(--card-2); color: var(--ink); border: 1px solid var(--line); transform: rotate(-4deg); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-hint span {
  width: 3px; height: 8px; border-radius: 3px; background: var(--pink);
  animation: scrollhint 1.8s var(--ease-out) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Lade-Animationen ---------- */
.load-fade, .load-pop, .load-photo { opacity: 0; animation: loadfade .8s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.load-line { display: block; transform: translateY(110%); animation: loadline .85s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.load-pop { animation-name: loadpop; animation-duration: .55s; }
.load-photo { animation-name: loadphoto; animation-duration: .9s; }

@keyframes loadfade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes loadline { to { transform: translateY(0); } }
@keyframes loadpop { from { opacity: 0; transform: scale(.6) rotate(0deg); } to { opacity: 1; } }
@keyframes loadphoto { from { opacity: 0; transform: translateY(26px) rotate(-1deg); } to { opacity: 1; transform: none; } }

/* Sticker behalten ihre Rotation nach dem Pop */
.sticker-1.load-pop { animation-fill-mode: forwards; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4.5rem, 10vh, 7.5rem); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: clamp(2.2rem, 5vh, 3.4rem);
}
.head-rule { flex: 1; height: 1px; background: var(--line); }

.cmyk-dots { display: inline-flex; gap: 7px; }
.cmyk-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.cmyk-dots i:nth-child(1) { background: var(--cyan); }
.cmyk-dots i:nth-child(2) { background: var(--pink); }
.cmyk-dots i:nth-child(3) { background: var(--yellow); }
.cmyk-dots i:nth-child(4) { background: #000; box-shadow: 0 0 0 1px rgba(244, 238, 241, .3); }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-text p { color: var(--muted); margin-bottom: 1.1rem; }
.about-text p:first-of-type { color: var(--ink); }

.facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  position: sticky; top: 6rem;
}
.fact {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem;
  padding-block: .85rem;
  border-bottom: 1px dashed var(--line);
}
.fact:last-child { border-bottom: 0; }
.fact dt {
  font-size: .74rem; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--pink);
  padding-top: .2em;
}
.fact dd { font-weight: 500; }

/* ---------- Fähigkeiten ---------- */
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 2.6rem;
}
.skill-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .35s var(--ease-out), border-color .35s;
}
.skill-block:hover { transform: translateY(-5px); border-color: rgba(240, 103, 159, .45); }
.skill-block h3 { font-size: 1.4rem; margin-bottom: 1.2rem; font-style: italic; font-weight: 500; }

.skill-rows li {
  padding-block: .9rem;
  border-bottom: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: .15rem;
}
.skill-rows li:last-child { border-bottom: 0; }
.skill-rows span { font-weight: 650; }
.skill-rows small { color: var(--muted); font-size: .88rem; }

.tool-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem;
}
.tool {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: .9rem; font-weight: 550;
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.tool:hover { border-color: var(--pink); background: rgba(240, 103, 159, .07); transform: translateY(-2px); }
.tool-badge {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: var(--bg); color: var(--pink-soft);
  border: 1px solid rgba(240, 103, 159, .4);
  border-radius: 7px;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: .92rem;
}

.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill-list li {
  padding: .42rem 1rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; color: var(--muted);
  transition: color .3s, border-color .3s, transform .3s var(--ease-out);
}
.pill-list li:hover { color: var(--ink); border-color: var(--pink); transform: translateY(-2px); }

/* ---------- Portfolio ---------- */
.portfolio-intro { max-width: 640px; }
.portfolio-intro p { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 2.2rem 2.6rem; }
.filter {
  padding: .5rem 1.25rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .92rem; font-weight: 550; color: var(--muted);
  transition: all .3s var(--ease-out);
}
.filter:hover { color: var(--ink); border-color: var(--pink); }
.filter.is-active {
  background: var(--pink); border-color: var(--pink); color: #1F0D18;
}

.work-grid { columns: 2 380px; column-gap: 1.6rem; }

.work {
  break-inside: avoid;
  margin-bottom: 1.6rem;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.work.is-hidden { display: none; }
.work.is-fading { opacity: 0; transform: scale(.96); }

.work-open {
  display: block; width: 100%; text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.work-open:hover, .work-open:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(240, 103, 159, .5);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .4);
}

.matte {
  display: block; position: relative;
  background: #FDFBFA;
  padding: clamp(14px, 3%, 22px);
}
.matte img {
  width: 100%; height: auto;
  max-height: 430px; object-fit: contain;
  transition: transform .5s var(--ease-out);
}
.work-open:hover .matte img { transform: scale(1.025); }

/* Schnittmarken erscheinen beim Hover */
.matte::before, .matte::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 0 solid rgba(34, 26, 40, .55);
  opacity: 0; transition: opacity .35s;
}
.matte::before { top: 7px; left: 7px; border-top-width: 1.5px; border-left-width: 1.5px; }
.matte::after { bottom: 7px; right: 7px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.work-open:hover .matte::before, .work-open:hover .matte::after,
.work-open:focus-visible .matte::before, .work-open:focus-visible .matte::after { opacity: 1; }

.work-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title arrow" "cat arrow";
  padding: 1.05rem 1.25rem 1.15rem;
  gap: .1rem .8rem;
  align-items: center;
}
.work-title { grid-area: title; font-family: var(--font-display); font-size: 1.3rem; font-weight: 560; }
.work-cat { grid-area: cat; font-size: .82rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.work-arrow {
  grid-area: arrow;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  font-size: 1rem;
  transition: all .35s var(--ease-out);
}
.work-open:hover .work-arrow, .work-open:focus-visible .work-arrow {
  background: var(--pink); border-color: var(--pink); color: #1F0D18;
  transform: rotate(45deg);
}

/* ---------- Motto ---------- */
.motto {
  padding-block: clamp(4.5rem, 10vh, 7rem);
  background:
    radial-gradient(50% 80% at 50% 120%, rgba(240, 103, 159, .12), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
  text-align: center;
}
.motto blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 480; line-height: 1.35;
  max-width: 24ch; margin-inline: auto;
  text-wrap: balance;
}
.motto cite {
  display: inline-block; margin-top: 1.4rem;
  font-style: normal; font-size: .95rem; color: var(--muted);
  letter-spacing: .1em;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.contact-copy p { color: var(--muted); margin-bottom: 2rem; }

.contact-list li {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.1rem;
  border-bottom: 1px dashed var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-label {
  flex: none; width: 90px;
  font-size: .74rem; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--pink);
}
.contact-list a { text-decoration: none; font-weight: 550; }
.contact-list a:hover { color: var(--pink-soft); }

.copy {
  margin-left: auto;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .25rem .8rem;
  transition: all .25s;
}
.copy:hover { color: var(--ink); border-color: var(--pink); }
.copy.is-copied { color: #1F0D18; background: var(--pink); border-color: var(--pink); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.4rem;
  background: var(--bg-alt);
}
.palette {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.chip {
  width: 44px; height: 26px; border-radius: 6px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(244, 238, 241, .18);
  position: relative;
}
.chip small {
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) translateY(4px);
  background: var(--ink); color: var(--bg);
  font-size: .68rem; font-weight: 600; padding: .15rem .5rem; border-radius: 5px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
}
.chip:hover small { opacity: 1; transform: translateX(-50%) translateY(0); }
.palette-note { font-size: .78rem; color: var(--muted); letter-spacing: .05em; margin-left: .5rem; }

.footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem; color: var(--muted);
}
.footer-row nav { display: flex; gap: 1.4rem; }
.footer-row a { text-decoration: none; color: var(--muted); transition: color .25s; }
.footer-row a:hover { color: var(--pink-soft); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-page {
  padding: 8rem 0 5rem;
  min-height: 70vh;
}
.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 2.2rem;
}
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2.4rem;
  margin-bottom: .7rem;
  max-width: none;
}
.legal-page p, .legal-page ul { color: var(--muted); margin-bottom: 1rem; max-width: 68ch; }
.legal-page ul { list-style: square; padding-left: 1.4rem; }
.legal-page ul li { padding-block: .15rem; }
.legal-page ul li::marker { color: var(--pink); }
.legal-page a { color: var(--pink-soft); text-underline-offset: 3px; }
.legal-page a:hover { color: var(--pink); }
.legal-stand { font-size: .85rem; letter-spacing: .05em; margin-top: 2.5rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--stagger, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: none; padding: 0;
  background: transparent;
  max-width: min(1060px, calc(100vw - 2rem));
  width: 100%;
  margin: auto;
}
.lightbox::backdrop {
  background: rgba(10, 7, 13, .8);
  backdrop-filter: blur(8px);
}
.lb-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  overflow: hidden;
  position: relative;
  max-height: min(86vh, 780px);
}
.lb-close {
  position: absolute; top: .9rem; right: .9rem; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center;
  transition: all .25s;
}
.lb-close:hover { background: var(--pink); color: #1F0D18; border-color: var(--pink); transform: rotate(90deg); }

.lb-stage {
  padding: clamp(1rem, 3vw, 1.8rem);
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--bg-alt);
  min-width: 0;
}
.lb-matte {
  background: #FDFBFA; border-radius: 8px;
  padding: clamp(12px, 2.5vw, 22px);
  display: grid; place-items: center;
  flex: 1; min-height: 0;
}
.lb-matte img {
  max-height: min(56vh, 520px);
  width: auto; max-width: 100%;
  object-fit: contain;
}
.lb-matte.cropframe::before { border-color: rgba(34, 26, 40, .5); }
.lb-matte.cropframe::after { border-color: rgba(34, 26, 40, .5); }

.lb-thumbs { display: flex; gap: .6rem; }
.lb-thumbs:empty { display: none; }
.lb-thumb {
  width: 64px; height: 48px;
  border-radius: 6px; overflow: hidden;
  border: 2px solid transparent;
  background: #FDFBFA;
  opacity: .55;
  transition: opacity .25s, border-color .25s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.is-active, .lb-thumb:hover { opacity: 1; border-color: var(--pink); }

.lb-info {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start;
}
.lb-info h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.lb-info > p { color: var(--muted); font-size: .98rem; }
.lb-tags-label {
  font-size: .74rem; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: -.5rem;
}
.lb-nav { margin-top: auto; display: flex; gap: .6rem; padding-top: .6rem; }
#lbPdf[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; margin-top: 1rem; }
  .print-card { max-width: min(300px, 70vw); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .facts { position: static; }
  .skills-grid { grid-template-columns: 1fr; }
  .lb-frame { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .lb-matte img { max-height: 42vh; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center;
    background: rgba(22, 18, 26, .97);
    backdrop-filter: blur(16px);
    font-size: 1.3rem;
    opacity: 0; pointer-events: none;
    transition: opacity .35s;
  }
  .nav-links > a:not(.btn) { font-size: 1.35rem; }
  .nav.menu-open .nav-links { opacity: 1; pointer-events: auto; z-index: 99; }

  .nav-burger {
    display: flex; flex-direction: column; gap: 6px;
    padding: .6rem; z-index: 100;
  }
  .nav-burger span {
    width: 24px; height: 2px; background: var(--ink);
    transition: transform .35s var(--ease-out), opacity .35s;
  }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .sticker-1 { left: -.6rem; }
  .sticker-2 { right: -.5rem; }
  .sticker-3 { left: -.4rem; }
  .hero { padding-top: 5.5rem; }
  .scroll-hint { display: none; }
  .work-grid { columns: 1; }
  .copy { margin-left: 0; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .load-fade, .load-pop, .load-photo, .reveal { opacity: 1; transform: none; }
  .load-line { transform: none; }
  .scroll-hint span { animation: none; }
}
