/* ============================================================
   main.css — Florian Stauber Visuals
   Designsystem-Foundation · v1 · 2026
   ============================================================ */

/* ------------------------------------------------------------
   @font-face — Lokale Fonts (DSGVO-konform)
   Dateien müssen vor Go-Live in assets/fonts/ abgelegt werden.
   Tool: https://gwfh.mranftl.com/fonts
   Temporär: Google Fonts <link> im <head> jeder HTML-Datei.
   ------------------------------------------------------------ */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond/eb-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond/eb-garamond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond/eb-garamond-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond/eb-garamond-500-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-300.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-500.woff2') format('woff2');
}


/* ------------------------------------------------------------
   Custom Properties — Designsystem
   ------------------------------------------------------------ */

:root {
  /* Hintergrund */
  --bg:        #f5f2eb;
  --bg-2:      #ede9df;

  /* Vordergrund / Text */
  --fg:        #1a1814;
  --fg-dim:    #6b6560;
  --fg-mute:   #aaa098;

  /* Akzent */
  --gold:      #8a6200;
  --gold-dim:  #b07e00;

  /* Linien */
  --line:        rgba(26, 24, 20, 0.10);
  --line-strong: rgba(26, 24, 20, 0.22);

  /* Typografie */
  --serif: 'EB Garamond', Georgia, serif;
  --mono:  'JetBrains Mono', 'Courier New', monospace;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}


/* ------------------------------------------------------------
   Reset & Basis
   ------------------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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


/* ------------------------------------------------------------
   Globale Effekte
   ------------------------------------------------------------ */

/* Korn-Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: overlay;
}

/* Vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 999;
}

@media (max-width: 899px) {
  body::after {
    display: none;
  }
}

/* Selektion */
::selection {
  background: var(--gold);
  color: var(--bg);
}


/* ------------------------------------------------------------
   Bilder — globale Behandlung
   ------------------------------------------------------------ */

img {
  transition: transform 1.2s var(--ease-out),
              filter 0.6s ease;
  filter: brightness(0.92) contrast(1.02);
}

a:hover img,
.story-visual:hover img,
.photo:hover img {
  transform: scale(1.03);
  filter: brightness(1.0) contrast(1.02);
}


/* ------------------------------------------------------------
   Eckmarken (Cinema-Sucher-Optik)
   ------------------------------------------------------------ */

.visual,
.story-visual,
.portrait-wrap {
  position: relative;
  overflow: hidden;
}

.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 2;
  pointer-events: none;
}
.corner::before,
.corner::after {
  content: '';
  position: absolute;
  background: var(--fg-dim);
}
.corner::before { width: 1px; height: 100%; }
.corner::after  { width: 100%; height: 1px; }

.corner-tl { top: 10px; left: 10px; }
.corner-tl::before { top: 0; left: 0; }
.corner-tl::after  { top: 0; left: 0; }

.corner-tr { top: 10px; right: 10px; }
.corner-tr::before { top: 0; right: 0; }
.corner-tr::after  { top: 0; right: 0; }

.corner-bl { bottom: 10px; left: 10px; }
.corner-bl::before { bottom: 0; left: 0; }
.corner-bl::after  { bottom: 0; left: 0; }

.corner-br { bottom: 10px; right: 10px; }
.corner-br::before { bottom: 0; right: 0; }
.corner-br::after  { bottom: 0; right: 0; }


/* ------------------------------------------------------------
   Reduced Motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   NAVIGATION
   ============================================================ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(245, 242, 235, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

#nav.scrolled {
  border-bottom-color: var(--gold);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  /* PNG hat transparenten Hintergrund — direkt auf dunklem Nav */
}

@media (max-width: 899px) {
  .logo-img {
    height: 48px;
  }
}

@media (max-width: 390px) {
  .logo-img {
    height: 40px;
  }
}

/* Nav-Links (Desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::before {
  content: '+';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  transition: transform 0.3s ease, content 0.3s ease, color 0.3s ease;
}

.has-dropdown:hover > a::before {
  content: '×';
  color: var(--gold);
}

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  background: rgba(10, 11, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 16px 0;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

/* Unsichtbare Brücke: füllt die Lücke zwischen Nav-Link und Dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
}

.dropdown li a:hover {
  color: var(--gold);
}
.dropdown li a::after {
  display: none;
}

/* Burger (Mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px 0;
  z-index: 910;
}

.burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--fg);
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile-Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(237, 233, 223, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 48px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 400;
  color: var(--fg-dim);
  transition: color 0.3s ease;
  display: block;
  padding: 6px 0;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .mobile-sub {
  margin-top: 4px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu .mobile-sub a {
  font-size: clamp(15px, 3.5vw, 20px);
  padding: 3px 0;
}

/* Querformat: kompakteres Menü */
@media (max-height: 500px) {
  .mobile-menu {
    justify-content: flex-start;
    padding-top: 72px;
  }
  .mobile-menu a {
    font-size: clamp(20px, 4vh, 28px);
    padding: 3px 0;
  }
  .mobile-menu ul {
    gap: 2px;
  }
  .mobile-menu .mobile-sub a {
    font-size: clamp(13px, 2.5vh, 17px);
  }
}

.mobile-footer-links {
  margin-top: auto;
  display: flex;
  gap: 24px;
}

.mobile-footer-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}


/* ============================================================
   LAYOUT — Basis
   ============================================================ */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 100px 48px;
}

/* Page-Wrapper für Subseiten */
.page-wrap {
  padding-top: 70px; /* Nav-Höhe */
  min-height: 100vh;
}


/* ============================================================
   TYPOGRAFIE — Skala
   ============================================================ */

.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.story-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.sub-section {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.0;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.body-large {
  font-size: 22px;
  line-height: 1.5;
}

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--fg-dim);
}

.caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}


/* ============================================================
   KOMPONENTEN
   ============================================================ */

/* --- Eyebrow --- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Section-Number --- */
.section-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.section-number .slash {
  color: var(--gold);
  margin: 0 4px;
}

/* --- Section-Header --- */
.section-header {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--fg-dim);
}

.breadcrumb .sep {
  color: var(--fg-mute);
}

.breadcrumb .here {
  color: var(--gold);
}

.breadcrumb a:hover {
  color: var(--fg);
}

/* --- Page-Header (Subseiten) --- */
.page-header {
  padding: 80px 48px 96px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.page-header .page-title {
  margin-bottom: 32px;
}

.page-header .lead {
  max-width: 60ch;
}

/* --- Tags --- */
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 12px;
  border: 1px solid var(--line);
  display: inline-block;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* --- Klassisches & (kein geschnörkeltes EB-Garamond-Kursiv-Et) --- */
.amp {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.82em;
  vertical-align: 0.06em;
}

/* --- Dezenter Kunden-/Personen-Link (inline) --- */
.link-client {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--fg-mute);
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.link-client:hover {
  color: var(--gold);
  text-decoration-color: var(--gold-dim);
}

/* --- CTA-Link --- */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.3s ease, color 0.3s ease;
}

.cta-link:hover {
  gap: 24px;
  color: var(--gold);
}

.cta-link .arrow {
  font-style: normal;
}

.cta-link-large {
  font-size: 13px;
  letter-spacing: 0.2em;
}

/* Über-Intro: Portrait + Text nebeneinander */
.ueber-intro {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.ueber-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.92;
}

.ueber-text {
  max-width: 58ch;
}

.ueber-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 699px) {
  .ueber-intro {
    flex-direction: column;
    gap: 32px;
  }
  .ueber-portrait {
    width: 120px;
    height: 120px;
  }
}

/* Section-CTA-Block */
.section-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.section-cta .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* --- Meta-Tabelle --- */
.meta-table {
  width: 100%;
  border-collapse: collapse;
}

.meta-table tr {
  border-top: 1px solid var(--line);
}

.meta-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 24px 16px 0;
  text-align: left;
  width: 30%;
  vertical-align: top;
  font-weight: 400;
}

.meta-table td {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg-dim);
  padding: 16px 0;
  vertical-align: top;
}


/* ============================================================
   STORY-CARD
   ============================================================ */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.story:last-of-type {
  border-bottom: 1px solid var(--line);
}

.story-visual {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder wenn kein Bild */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.story-meta .year {
  color: var(--gold);
}

.story-title {
  margin: 8px 0;
}

.story-title a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.story-title a::after {
  content: ' ↗';
  font-size: 0.5em;
  vertical-align: super;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.story-title a:hover {
  color: var(--gold);
}

.story-title a:hover::after {
  opacity: 1;
}

.story-subtitle {
  font-style: italic;
  font-size: 20px;
  color: var(--fg-dim);
}

.story-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 55ch;
}

/* Jede zweite Story-Card um 80px versetzt (nur auf Projekte-Übersicht) */
.projects-grid .story-card:nth-child(even) {
  margin-top: 80px;
}


/* ============================================================
   PHOTO-CARD
   ============================================================ */

.photo {
  display: block;
  position: relative;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
}

.photo .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to top, rgba(4,5,6,0.8) 0%, transparent 100%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo:hover .caption {
  opacity: 1;
}

.photo .caption .num {
  color: var(--gold);
}

.photo:hover {
  outline: 1px solid var(--gold-dim);
}


/* ============================================================
   TRAILER-EMBED (Lite-YouTube)
   ============================================================ */

.trailer {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-2);
}

.trailer-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s ease;
  filter: brightness(0.85);
}

.trailer:hover .trailer-poster {
  transform: scale(1.02);
  filter: brightness(1.0);
}

.trailer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.trailer-play:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.05);
}

.trailer-play svg {
  width: 24px;
  height: 24px;
  margin-left: 4px; /* optische Zentrierung des Pfeils */
}

.trailer-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  pointer-events: none;
}

.trailer.disabled .trailer-play {
  cursor: default;
  opacity: 0.5;
}
.trailer.disabled .trailer-play:hover {
  background: none;
  border-color: var(--fg);
  color: var(--fg);
  transform: translate(-50%, -50%);
}


/* ============================================================
   FILTER-PILLS (Projekte-Übersicht)
   ============================================================ */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}

.filter {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 10px 20px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--fg);
}

.filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}


/* ============================================================
   SUB-NAVIGATION (Fotografie)
   ============================================================ */

.subnav {
  position: sticky;
  top: 70px;
  z-index: 500;
  display: flex;
  gap: 40px;
  padding: 20px 48px;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subnav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.subnav a:hover,
.subnav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}


/* ============================================================
   REVEAL-ON-SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-out),
              transform 1.2s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }


/* ============================================================
   BRÜCKE — Übergang Slideshow → Projekte
   ============================================================ */

.bridge-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bridge-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.bridge-tagline {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.2;
  margin: 0;
}

.bridge-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.bridge-sep {
  color: var(--gold);
}

@media (max-width: 699px) {
  .bridge-inner {
    padding: 56px 24px;
    gap: 20px;
  }
  .bridge-tagline {
    font-size: clamp(28px, 7vw, 42px);
  }
  .bridge-pillars {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ============================================================
   HERO SLIDESHOW (Home)
   Scroll-getriebene Sticky-Slideshow — ersetzt hero-title
   ============================================================ */

/* Äusserer Container — erzeugt Scroll-Raum für 5 Slides + 1vh Bremszone */
.hero-ss-outer {
  position: relative;
  height: calc(6 * 100vh);
  padding: 0;
  margin: 0;
}

/* Sticky Bühne */
.hero-ss-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #0c0b09;
}

/* Slides-Container */
.ss-slides {
  position: absolute;
  inset: 0;
}

/* Einzelner Slide */
.ss-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

/* Bildebene */
.ss-img {
  position: absolute;
  inset: 0;
}
.ss-img picture {
  position: absolute;
  inset: 0;
  display: block;
}
.ss-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.0);
  will-change: transform;
}

/* Ken Burns */
.ss-slide.ss-playing .ss-img img {
  animation: ss-ken-burns 9s ease forwards;
}
@keyframes ss-ken-burns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

/* Gradient unten */
.ss-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(12, 11, 9, 0.7));
  pointer-events: none;
}

/* UI-Schicht (Skip + Counter) */
.ss-ui {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 48px;
  pointer-events: none;
}

/* Skip-Button */
.ss-skip {
  pointer-events: all;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s ease;
}
.ss-skip:hover {
  color: rgba(255,255,255,0.9);
}

/* Counter */
.ss-counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
}
.ss-sep {
  margin: 0 4px;
}

/* Progress-Bar */
.ss-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.ss-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
}

/* Scroll-Hinweis */
.ss-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  opacity: 1;
  transition: opacity 0.6s ease;
}
.ss-hint-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Mobile Anpassungen */
@media (max-width: 699px) {
  .ss-ui {
    padding: 0 24px;
    bottom: 36px;
  }
  .ss-hint {
    bottom: 36px;
  }
}

/* ============================================================
   HERO (Home)
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
}

.hero-meta {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
}

/* Buchstaben-Reveal */
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.3em;
  margin-bottom: -0.3em;
}

.hero-title .inner {
  display: block;
  transform: translateY(140%);
  animation: rise 1.2s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) .inner { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) .inner { animation-delay: 0.45s; }
.hero-title .line:nth-child(3) .inner { animation-delay: 0.6s; }
.hero-title .line:nth-child(4) .inner { animation-delay: 0.75s; }

@keyframes rise {
  from { transform: translateY(140%); }
  to   { transform: translateY(0); }
}

/* Eyebrow auf Hero */
.hero .eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
  margin-bottom: 32px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero-Bottom */
.hero-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-bottom .col .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}

.hero-bottom .col .value {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.4;
}


/* ============================================================
   VORHER/NACHHER-SLIDER (nur Brave-Projekt)
   ============================================================ */

.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.ba-before,
.ba-after {
  display: block;
  width: 100%;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  left: 50%;
  cursor: ew-resize;
}

.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
}


/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 5, 6, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  transition: color 0.3s ease;
}

.lightbox-close:hover { color: var(--gold); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--fg-dim);
  transition: color 0.3s ease;
}

.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }

.lightbox-prev:hover,
.lightbox-next:hover { color: var(--gold); }


/* ============================================================
   FOTO-GALERIE (Vollgalerie)
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px 48px;
}

.gallery-grid .photo {
  aspect-ratio: 3 / 2;
}

/* Asymmetrisches Layout: jede 4. Karte nimmt 2 Spalten */
.gallery-grid .photo:nth-child(4n) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}


/* ============================================================
   PROJEKTS-GRID (Übersicht)
   ============================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

.project-card {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.project-card:nth-child(even) {
  margin-top: 80px;
}

.project-visual {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 24px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 12px;
}

.project-meta .year { color: var(--gold); }

.project-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 40px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.project-title a {
  transition: color 0.3s ease;
}

.project-title a:hover { color: var(--gold); }

.project-subtitle {
  font-style: italic;
  font-size: 17px;
  color: var(--fg-dim);
  margin-bottom: 16px;
}


/* ============================================================
   ÜBER-SEITE
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  padding: 80px 48px;
}

.portrait-wrap {
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 100px;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.about-section h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--fg);
}

.about-section p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 60ch;
}

.about-section p + p {
  margin-top: 16px;
}


/* ============================================================
   KONTAKT-SEKTION (Home)
   ============================================================ */

.contact-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 48px 0 80px;
}

.contact-headline a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  transition: color 0.6s ease, border-color 0.6s ease;
}

.contact-headline a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-meta .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}

.contact-meta .value {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg-dim);
}

.contact-meta .value a:hover {
  color: var(--gold);
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px 24px;
}

.footer-logo {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.footer-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  text-align: center;
}

.footer-location {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--fg-dim);
}


/* ============================================================
   EINZELPROJEKT-SEITE
   ============================================================ */

.project-page-header {
  padding: 80px 48px 64px;
  max-width: 900px;
}

.project-page-header .page-title {
  margin: 24px 0 16px;
}

.project-meta-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}

.project-meta-block .meta-col {
  padding: 24px 0;
  border-right: 1px solid var(--line);
  padding-right: 24px;
  margin-right: 24px;
}

.project-meta-block .meta-col:last-child {
  border-right: none;
}

.project-meta-block .meta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.project-meta-block .meta-value {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg-dim);
}

.project-body {
  padding: 0 48px;
  max-width: 800px;
}

.project-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 24px;
}

.project-body h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--fg);
  margin: 48px 0 16px;
}

.project-gallery {
  padding: 80px 48px;
}

.project-gallery-grid {
  columns: 3;
  column-gap: 24px;
}

.project-gallery-grid .photo {
  break-inside: avoid;
  margin-bottom: 24px;
}

/* Look Book — regelmässiges Raster mit mehr Weissraum */
.gallery-lookbook {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.gallery-lookbook .photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Projekts-Navigation (Vor/Zurück) */
.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 48px;
  border-top: 1px solid var(--line);
}

.project-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.project-nav a:hover {
  color: var(--gold);
  gap: 16px;
}

/* Externer CTA-Block */
.external-cta {
  padding: 64px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.external-cta .ext-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.external-cta a.ext-link {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--fg);
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.external-cta a.ext-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.external-cta .ext-arrow {
  font-size: 0.6em;
  vertical-align: super;
}


/* ============================================================
   IMPRESSUM / DATENSCHUTZ
   ============================================================ */

.legal-content {
  padding: 80px 48px;
  max-width: 70ch;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 64px 0 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  margin: 40px 0 16px;
}

.legal-content p,
.legal-content address {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-dim);
  font-style: normal;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-content ul li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-dim);
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--fg-mute);
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  transition: color 0.3s ease;
}

.legal-content a::after {
  content: ' ↗';
  font-size: 0.75em;
  vertical-align: super;
}

.legal-content a:hover {
  color: var(--fg);
}


/* ============================================================
   404
   ============================================================ */

.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 48px 120px;
}

.not-found-num {
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 300px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg-mute);
  font-weight: 400;
  margin-bottom: 32px;
}

.not-found-text {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--fg-dim);
  margin-bottom: 48px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: >= 600px */
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: >= 900px */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .burger { display: none; }
}

/* Mobile: < 900px */
@media (max-width: 899px) {
  #nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  section {
    padding: 80px 24px;
  }

  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 0 24px 64px;
  }

  .hero-meta {
    display: none;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) {
    margin-top: 0;
  }

  .project-meta-block {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }

  .project-body {
    padding: 0 24px;
  }

  .project-gallery {
    padding: 48px 24px;
  }

  .project-gallery-grid {
    columns: 2;
  }

  .gallery-lookbook {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .project-nav {
    padding: 32px 24px;
  }

  .external-cta {
    padding: 48px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }

  .portrait-wrap {
    position: relative;
    max-width: 320px;
    aspect-ratio: 4 / 5;
  }

  .contact-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    padding: 48px 24px;
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .photo:nth-child(4n) {
    grid-column: span 1;
    aspect-ratio: 3 / 2;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 24px;
  }

  .footer-logo-img {
    height: 40px;
  }

  .footer-type,
  .footer-location {
    text-align: left;
  }

  .page-header {
    padding: 48px 24px 64px;
  }

  .legal-content {
    padding: 48px 24px;
  }

  .subnav {
    padding: 16px 24px;
    gap: 24px;
    overflow-x: auto;
  }

  .not-found {
    padding: 0 24px 80px;
  }
}

/* Desktop-only Zeilenumbruch */
.br-desktop { display: block; }
@media (max-width: 699px) {
  .br-desktop { display: none; }
}

/* Foto-Grid mobile: 2 Spalten, keine versetzten Margins */
@media (max-width: 699px) {
  .foto-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .foto-grid .foto-offset-up,
  .foto-grid .foto-offset-down {
    margin-top: 0 !important;
  }
}

/* Mobile S: < 600px */
@media (max-width: 599px) {
  .contact-headline {
    font-size: clamp(22px, 6.5vw, 40px);
    overflow-wrap: break-word;
    word-break: break-all;
  }

  .external-cta a.ext-link {
    font-size: clamp(20px, 6vw, 32px);
    overflow-wrap: break-word;
    word-break: break-all;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

  .project-meta-block {
    grid-template-columns: 1fr;
  }

  .project-gallery-grid {
    columns: 1;
  }

  .gallery-lookbook {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* iPhone mini & sehr kleine Screens: <= 390px */
@media (max-width: 390px) {
  .hero {
    padding: 0 20px 48px;
  }
  .hero-title {
    font-size: clamp(36px, 10vw, 56px);
  }
  .page-title {
    font-size: clamp(32px, 9.5vw, 52px);
  }
  .page-header {
    padding: 120px 20px 48px;
  }
  .logo {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

/* Large Desktop: >= 1600px */
@media (min-width: 1600px) {
  section {
    padding: 160px 80px;
  }
  .container {
    padding: 0 80px;
  }
}

/* =====================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ===================================================================== */

.legal-body {
  padding: 0 48px 120px;
  max-width: 60ch;
}

.legal-body--wide {
  max-width: 70ch;
}

.legal-section {
  margin-bottom: 64px;
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--fg);
  margin: 32px 0 12px;
}

.legal-section p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 899px) {
  .legal-body {
    padding: 0 24px 80px;
  }
}

/* =====================================================================
   404 PAGE
   ===================================================================== */

.not-found-wrap {
  padding: 120px 48px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found-number {
  font-family: var(--mono);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 300;
  color: var(--fg-dim);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.not-found-title {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 16px;
}

.not-found-sub {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--fg-dim);
  margin-bottom: 48px;
  max-width: 45ch;
}

@media (max-width: 899px) {
  .not-found-wrap {
    padding: 80px 24px;
  }
}
