/* ==========================================================================
   LICHTWERK FOTOGRAFIE SCHULE — styles.css
   Hochwertiges deutsches Fotomagazin-Layout
   ========================================================================== */

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

:root {
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --paper: #f5f2ec;
  --paper-warm: #ebe6dc;
  --line: #c8c2b6;
  --line-soft: #ddd7cb;
  --muted: #8a8478;
  --muted-dark: #5a544a;
  --white: #ffffff;
  --accent: #1a1a1a;

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.6s var(--ease);

  --container: 1400px;
  --container-narrow: 980px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

a:hover {
  opacity: 0.6;
}

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

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

/* ---------- Typografie ---------- */
.section__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 1.8rem;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 2.5rem;
}

.section__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted-dark);
}

.section__lede {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted-dark);
  max-width: 640px;
  margin-bottom: 4rem;
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* ---------- Masthead / Navigation ---------- */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.masthead.is-scrolled {
  background: rgba(245, 242, 236, 0.96);
  border-bottom-color: var(--line);
}

.masthead__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
  background: var(--black);
  border-radius: 50%;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
}

.brand__sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.primary-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.4s var(--ease);
}

.primary-nav a:hover {
  opacity: 1;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
}

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

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 2.5rem 4rem;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.15) 35%,
    rgba(10, 10, 10, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  color: var(--white);
}

.hero__issue {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  display: block;
}

.hero__lede {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.hero__cta::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.4s var(--ease);
}

.hero__cta:hover {
  opacity: 1;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.hero__cta:hover::after {
  transform: translateX(4px);
}

.hero__meta {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  gap: 1.8rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Über die Fotoschule ---------- */
.about {
  padding: 8rem 2.5rem;
  background: var(--paper);
}

.about__head {
  max-width: var(--container);
  margin: 0 auto 5rem;
}

.about__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about__figure {
  position: relative;
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.08);
}

.about__figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__text p {
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.about__list {
  list-style: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.about__list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
}

.about__list span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--muted);
  min-width: 30px;
}

/* ---------- Grundlagen / Lesson Cards ---------- */
.basics {
  padding: 8rem 2.5rem;
  background: var(--white);
}

.basics__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.basics__cards {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.lesson-card {
  background: var(--paper);
  padding: 2.2rem 2rem;
  border: 1px solid var(--line-soft);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.lesson-card:hover {
  border-color: var(--line);
  background: var(--paper-warm);
}

.lesson-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.lesson-card__num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.lesson-card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--black);
  flex: 1;
}

.lesson-card__toggle {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--muted-dark);
  transition: transform 0.4s var(--ease);
  line-height: 1;
}

.lesson-card.is-open .lesson-card__toggle {
  transform: rotate(45deg);
}

.lesson-card__summary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted-dark);
}

.lesson-card__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}

.lesson-card.is-open .lesson-card__body {
  max-height: 500px;
  opacity: 1;
  margin-top: 1.5rem;
}

.lesson-card__body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1rem;
}

.lesson-card__detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: var(--muted-dark) !important;
}

.lesson-card__detail strong {
  font-weight: 500;
  color: var(--black);
}

.basics__figure {
  max-width: var(--container);
  margin: 0 auto;
}

.basics__figure img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  filter: grayscale(0.05);
}

.basics__figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Komposition ---------- */
.composition {
  padding: 8rem 2.5rem;
  background: var(--paper);
}

.composition__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.composition__examples {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.comp-example {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.comp-example:nth-child(even) {
  grid-template-columns: 1fr 1.4fr;
}

.comp-example:nth-child(even) .comp-example__image {
  order: 2;
}

.comp-example__image {
  position: relative;
  overflow: hidden;
}

.comp-example__image img {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.comp-example:hover .comp-example__image img {
  transform: scale(1.03);
}

.comp-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.comp-overlay.is-visible {
  opacity: 1;
}

.comp-overlay svg {
  width: 100%;
  height: 100%;
}

.comp-overlay svg line {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
}

.comp-example__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.comp-example__text h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1.2rem;
}

.comp-example__text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-dark);
  margin-bottom: 1.8rem;
}

.comp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid var(--line);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.comp-toggle:hover {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
}

.comp-toggle.is-active {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
}

/* ---------- Porträtfotografie ---------- */
.portrait {
  padding: 8rem 2.5rem;
  background: var(--white);
}

.portrait__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.portrait__grid {
  max-width: var(--container);
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
}

.portrait__figure {
  position: relative;
  overflow: hidden;
}

.portrait__figure--large {
  grid-row: 1 / 3;
}

.portrait__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(0.05);
}

.portrait__figure:hover img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.portrait__figure figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.portrait__text {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}

.portrait__text p {
  margin-bottom: 1.5rem;
  color: var(--ink);
}

/* ---------- Vorher-Nachher ---------- */
.compare {
  padding: 8rem 2.5rem;
  background: var(--paper);
}

.compare__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.compare__slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto 3rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black);
  user-select: none;
  cursor: ew-resize;
}

.compare__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.compare__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.compare__image--before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}

.compare__label {
  position: absolute;
  top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.5rem 1rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 5;
}

.compare__label--before {
  left: 1.5rem;
}

.compare__label--after {
  right: 1.5rem;
  z-index: 1;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare__handle-line {
  width: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
}

.compare__handle-knob {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  margin: 0.5rem 0;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

.compare__caption {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.compare__caption p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-dark);
}

.compare__caption strong {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* ---------- Galerie ---------- */
.gallery {
  padding: 8rem 2.5rem;
  background: var(--black);
  color: var(--paper);
}

.gallery__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.gallery__head .section__label {
  color: rgba(245, 242, 236, 0.5);
}

.gallery__head .section__title {
  color: var(--paper);
}

.gallery__head .section__title em {
  color: rgba(245, 242, 236, 0.55);
}

.gallery__head .section__lede {
  color: rgba(245, 242, 236, 0.65);
}

.gallery__stage {
  max-width: var(--container);
  margin: 0 auto;
}

.gallery__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}

.gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.8s var(--ease-out);
}

.gallery__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 8s linear;
}

.gallery__slide.is-active img {
  opacity: 1;
  transform: scale(1.04);
}

.gallery__slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.gallery__num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.7);
}

.gallery__cap {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
}

.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 20px;
  color: var(--paper);
  border: 1px solid rgba(245, 242, 236, 0.3);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gallery__nav:hover {
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
}

.gallery__dots {
  display: flex;
  gap: 0.8rem;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 242, 236, 0.3);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
}

.gallery__dot.is-active {
  background: var(--paper);
  transform: scale(1.3);
}

/* ---------- Bildarchiv ---------- */
.archive {
  padding: 8rem 2.5rem;
  background: var(--paper);
}

.archive__head {
  max-width: var(--container);
  margin: 0 auto 4rem;
}

.archive__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.archive__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.archive__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.archive__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.archive__item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.archive__item:hover figcaption {
  opacity: 1;
}

.archive__item figcaption span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.8;
}

/* ---------- Kontakt ---------- */
.contact {
  padding: 8rem 2.5rem;
  background: var(--white);
}

.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact__info p {
  margin-bottom: 1.5rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
}

.contact__info a {
  border-bottom: 1px solid var(--line);
}

.contact__info a:hover {
  opacity: 1;
  border-bottom-color: var(--black);
}

.contact__hours {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}

.contact__hours strong {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
  display: block;
  margin-bottom: 0.8rem;
}

.contact__map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.contact__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
}

.contact__map-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 2.5rem;
  background: var(--black);
  color: var(--paper);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.footer__brand .brand__mark {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__nav a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245, 242, 236, 0.7);
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(245, 242, 236, 0.45);
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .basics__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comp-example,
  .comp-example:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .comp-example:nth-child(even) .comp-example__image {
    order: 0;
  }

  .comp-example__image img {
    height: 45vh;
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portrait__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  aspect-ratio: auto;
  gap: 1rem;
  margin-bottom: 3rem;
  max-height: 700px;
  height: 60vh;
  min-height: 400px;
  max-height: none;
  display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
  }

  .portrait__figure--large {
    grid-row: 1 / 3;
  }
}

@media (max-width: 768px) {
  .masthead__inner {
    padding: 1rem 1.5rem;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav.is-open {
    transform: translateY(0);
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .primary-nav a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
  }

  .nav-toggle {
    display: flex;
    z-index: 95;
    position: relative;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .hero__meta {
    display: none;
  }

  .hero__lede {
    font-size: 1.1rem;
  }

  .about,
  .basics,
  .composition,
  .portrait,
  .compare,
  .gallery,
  .archive,
  .contact {
    padding: 5rem 1.5rem;
  }

  .section__lede {
    margin-bottom: 3rem;
  }

  .basics__figure img {
    height: 40vh;
  }

  .portrait__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 40vh);
    height: auto;
    max-height: none;
  }

  .portrait__figure--large {
    grid-row: auto;
  }

  .compare__slider {
    aspect-ratio: 4 / 3;
  }

  .compare__caption {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .archive__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery__slide figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem;
  }

  .gallery__cap {
    font-size: 1.1rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .archive__grid {
    grid-template-columns: 1fr;
  gap: 1rem;
  }

  .gallery__controls {
    gap: 1rem;
  }

  .gallery__nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .section__title {
    font-size: 2rem;
  }
}

/* ---------- Reduzierte Bewegung ---------- */
@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;
  }

  .hero__image {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}