/* ==========================================================================
   PADYBAUR – Creative Portfolio Photography
   Statische Seite, keine externen Ressourcen. Schriften liegen in /fonts
   (SIL Open Font License, siehe fonts/OFL-*.txt).
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #084581;
  --cream: #fffce8;
  --red: #ff3131;
  --yellow: #ffde59;
  --line: rgba(255, 252, 232, 0.75);

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif-condensed, sans-serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  /* 1 "Folien-Einheit": skaliert mit der Breite wie das PDF, ab 1920px fix */
  --u: min(1vw, 19.2px);
  --header-h: 3.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 700;
}
.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.87;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Header – im Stil der Kopfzeile "2026 · creative · portfolio · photography"
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1920px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 calc(var(--u) * 4);
}

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem clamp(1rem, 3.2vw, 3.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.25s ease, color 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--yellow);
  background-size: 100% 1px;
}

/* Farben wie auf dem Titelblatt: rot, gelb, creme ... */
.nav li:nth-child(3n + 1) a:hover { color: var(--red); }
.nav li:nth-child(3n + 3) a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   Gemeinsame Rahmen
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  overflow: hidden;
}

.frame {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.section--cream {
  background: var(--cream);
  color: var(--blue);
}

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

/* Dünne Rasterlinien wie im PDF */
.gridline {
  position: absolute;
  z-index: 1;
  background: var(--line);
  pointer-events: none;
}
.gridline--v {
  top: 0;
  bottom: 0;
  width: 1px;
}
.gridline--h {
  left: 0;
  right: 0;
  height: 1px;
}

/* --------------------------------------------------------------------------
   01 Hero / Titelblatt
   -------------------------------------------------------------------------- */
.hero .frame {
  display: grid;
  grid-template-columns: 55.2% 1fr;
  height: min(calc(100svh - var(--header-h)), calc(var(--u) * 56.25 - 0px));
  min-height: 30rem;
}

.hero__media {
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
}

.hero__media img {
  object-position: 50% 45%;
}

.hero__title {
  position: absolute;
  z-index: 2;
  left: 5.6%;
  bottom: 10.2%;
  color: var(--cream);
}

.hero__title span {
  display: block;
}

.hero__name {
  font-size: calc(var(--u) * 5.65);
  margin-bottom: calc(var(--u) * 2.5);
}

.hero__big {
  font-size: calc(var(--u) * 15.4);
  line-height: 0.87;
}

.hero .gridline--v {
  left: 5.6%;
}
.hero .gridline--h {
  bottom: 10.2%;
}

/* --------------------------------------------------------------------------
   03 About me
   -------------------------------------------------------------------------- */
.about .frame {
  display: grid;
  grid-template-columns: 11.5% 43.7% 1fr;
  height: calc(var(--u) * 56.25);
  min-height: 34rem;
}

.about__strip {
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
}

.about__strip img {
  object-position: 0% 50%;
}

.about__panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 calc(var(--u) * 2.8) calc(var(--u) * 7.8);
  background: var(--cream);
  color: var(--blue);
}

.about__media {
  grid-column: 3;
  grid-row: 1;
  overflow: hidden;
}

.about__media img {
  object-position: 40% 55%;
}

.about__title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 40%;
  padding-left: 11.5%;
  transform: translateY(-50%);
  font-size: calc(var(--u) * 15.4);
  white-space: nowrap;
  /* Blau auf dem beigen Balken, creme auf dem Foto – Kante bei 55,2 %,
     bündig mit dem blauen Balken der Highlights-Folie darunter */
  color: var(--blue);
  background: linear-gradient(90deg, var(--blue) 55.2%, var(--cream) 55.2%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__text {
  max-width: 34em;
  margin: 0;
  font-size: max(calc(var(--u) * 1.5), 1rem);
  line-height: 1.32;
}

/* --------------------------------------------------------------------------
   04 Highlights
   -------------------------------------------------------------------------- */
.highlights .frame {
  display: grid;
  grid-template-columns: 27.6% 27.6% 1fr;
  grid-template-rows: calc(var(--u) * 31.5) calc(var(--u) * 24.75);
}

.highlights__a { grid-column: 1; grid-row: 1; }
.highlights__b { grid-column: 2; grid-row: 1; }
.highlights__c { grid-column: 3; grid-row: 1 / span 2; }
.highlights__a,
.highlights__b,
.highlights__c {
  overflow: hidden;
}
.highlights__a img { object-position: 50% 30%; }
.highlights__b img { object-position: 50% 30%; }
.highlights__c img { object-position: 55% 50%; }

.highlights__block {
  grid-column: 1 / span 2;
  grid-row: 2;
  background: var(--blue);
}

.highlights__title {
  position: absolute;
  z-index: 2;
  left: 6%;
  bottom: 10.5%;
  color: var(--cream);
}
.highlights__title span {
  display: block;
}
.highlights__small {
  font-size: calc(var(--u) * 8.7);
  margin-bottom: calc(var(--u) * 1.6);
}
.highlights__big {
  font-size: calc(var(--u) * 15.4);
  line-height: 0.87;
}

/* --------------------------------------------------------------------------
   05/06 Portfolio-Mosaik (Street & Wedding)
   -------------------------------------------------------------------------- */
.portfolio .frame {
  padding: calc(var(--u) * 1.2);
}

.portfolio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(var(--u) * 5) calc(var(--u) * 2.8) calc(var(--u) * 3);
}

.portfolio__title {
  font-size: calc(var(--u) * 12);
  line-height: 0.87;
}
.portfolio__title small {
  display: block;
  margin-bottom: calc(var(--u) * 1);
  font-size: 0.42em;
}

.portfolio__count {
  margin: 0;
  font-size: max(calc(var(--u) * 1.3), 0.9rem);
  text-align: right;
}

.mosaic {
  display: grid;
  grid-template-columns: 34.6fr 30.9fr 30.9fr;
  grid-template-rows: repeat(6, calc(var(--u) * 8.55));
  gap: calc(var(--u) * 1.2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mosaic + .mosaic {
  margin-top: calc(var(--u) * 1.2);
}

.mosaic li {
  overflow: hidden;
  background: rgba(255, 252, 232, 0.08);
}

.mosaic li:nth-child(1) { grid-column: 1; grid-row: 1 / span 6; }
.mosaic li:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.mosaic li:nth-child(3) { grid-column: 2; grid-row: 3 / span 2; }
.mosaic li:nth-child(4) { grid-column: 2; grid-row: 5 / span 2; }
.mosaic li:nth-child(5) { grid-column: 3; grid-row: 1 / span 3; }
.mosaic li:nth-child(6) { grid-column: 3; grid-row: 4 / span 3; }

.mosaic--four {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: calc(var(--u) * 34);
}
.mosaic--four li:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.mosaic img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mosaic li:hover img {
    transform: scale(1.03);
  }
}

/* --------------------------------------------------------------------------
   08 Service
   -------------------------------------------------------------------------- */
.service .frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(var(--u) * 2.6);
  padding: calc(var(--u) * 2.5) calc(var(--u) * 6) calc(var(--u) * 5.5);
}

.service__title {
  font-size: calc(var(--u) * 15.4);
  line-height: 0.87;
  margin: calc(var(--u) * 1.5) 0 calc(var(--u) * 3);
}

.service__left {
  display: flex;
  flex-direction: column;
}

.service__right {
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 3.6);
  padding-top: 0;
}

.package {
  display: grid;
  grid-template-columns: calc(var(--u) * 20.9) 1fr;
  align-items: end;
  column-gap: calc(var(--u) * 1.7);
  margin: 0;
}

.package--wedding {
  grid-template-columns: calc(var(--u) * 23.3) 1fr;
}

.package__media {
  aspect-ratio: 209 / 207;
  overflow: hidden;
}
.package--wedding .package__media {
  aspect-ratio: 233 / 261;
}

.package__title {
  margin: 0 0 calc(var(--u) * 0.9);
  font-family: var(--sans);
  font-weight: 700;
  font-size: max(calc(var(--u) * 1.95), 1.05rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.package__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: max(calc(var(--u) * 1.45), 0.95rem);
  line-height: 1.35;
}

.package__price {
  margin: calc(var(--u) * 0.6) 0 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: max(calc(var(--u) * 1.45), 0.95rem);
}

/* --------------------------------------------------------------------------
   09 Contact
   -------------------------------------------------------------------------- */
.contact .frame {
  display: grid;
  grid-template-columns: 42.5% 1fr;
  height: calc(var(--u) * 56.25);
  min-height: 32rem;
}

.contact__media {
  overflow: hidden;
}
.contact__media img {
  object-position: 30% 50%;
}

.contact__panel {
  display: flex;
  flex-direction: column;
  padding: calc(var(--u) * 10.5) calc(var(--u) * 5.6) calc(var(--u) * 6) calc(var(--u) * 3.3);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin: 0 0 calc(var(--u) * 2.5);
  padding: 0 calc(var(--u) * 0.2);
  font-style: normal;
  font-size: max(calc(var(--u) * 1.6), 1rem);
}

.contact__links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgba(255, 252, 232, 0.45);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.contact__links a:hover,
.contact__links a:focus-visible {
  color: var(--yellow);
  text-decoration-color: var(--yellow);
}

.contact__title {
  font-size: calc(var(--u) * 15.4);
  line-height: 0.87;
}

.contact__claim {
  margin: auto 0 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: max(calc(var(--u) * 1.95), 1rem);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10 Thank you + Footer
   -------------------------------------------------------------------------- */
.thanks .frame {
  height: calc(var(--u) * 50.5);
  min-height: 24rem;
}

.thanks .gridline--v:nth-of-type(1) { left: 5.6%; }
.thanks .gridline--v:nth-of-type(2) { right: 5.6%; }
.thanks .gridline--h { bottom: 0; }

.thanks__media {
  position: absolute;
  top: calc(var(--u) * 5.6);
  right: 9.9%;
  width: 26.6%;
  aspect-ratio: 266 / 158;
}

.thanks__title {
  position: absolute;
  z-index: 2;
  left: 5.6%;
  bottom: 0;
  font-size: calc(var(--u) * 15.4);
  line-height: 0.87;
  color: var(--cream);
}

.site-footer {
  background: var(--blue);
  color: var(--cream);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  max-width: 1920px;
  margin: 0 auto;
  padding: 1.6rem 5.6%;
  font-size: 0.9rem;
}

.site-footer ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* --------------------------------------------------------------------------
   Kapitel-Marker – ersetzt den Folienwechsel aus dem PDF
   -------------------------------------------------------------------------- */
.chapter {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 40%, transparent);
  font-family: var(--mono);
  font-size: max(calc(var(--u) * 1.05), 0.8rem);
  line-height: 1.2;
}
.chapter span:first-child {
  font-variant-numeric: tabular-nums;
}

.portfolio .chapter {
  margin: calc(var(--u) * 2.4) calc(var(--u) * 2.8) 0;
}
.portfolio .portfolio__head {
  padding-top: calc(var(--u) * 3.5);
}

.service__chapter {
  grid-column: 1 / -1;
  margin-bottom: calc(var(--u) * 1);
}

.contact__panel {
  padding-top: calc(var(--u) * 4.2);
}
.contact__chapter {
  margin-bottom: calc(var(--u) * 5.2);
}

/* Street auf Beige */
.portfolio--cream {
  background: var(--cream);
  color: var(--blue);
}
.portfolio--cream .mosaic li {
  background: rgba(8, 69, 129, 0.06);
}

/* Thank you auf Beige */
.section--cream.thanks .thanks__title {
  color: var(--blue);
}
.section--cream.thanks .gridline {
  background: rgba(8, 69, 129, 0.35);
}

/* --------------------------------------------------------------------------
   Filmstreifen (Wedding)
   -------------------------------------------------------------------------- */
.strip {
  margin-top: calc(var(--u) * 4.5);
  padding-bottom: calc(var(--u) * 3);
}

.strip__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 calc(var(--u) * 2.8) calc(var(--u) * 1.6);
}

.strip__label {
  margin: 0;
  font-family: var(--display);
  font-size: max(calc(var(--u) * 3.2), 1.6rem);
  line-height: 0.87;
  text-transform: uppercase;
}

.strip__nav {
  display: none;
  gap: 0.6rem;
}
.has-nav .strip__nav {
  display: flex;
}

.strip__btn {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.strip__btn:hover:not(:disabled),
.strip__btn:focus-visible {
  background: var(--cream);
  color: var(--blue);
}
.strip__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.strip__track {
  display: flex;
  gap: calc(var(--u) * 1.2);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden; /* nur seitlich scrollbar – kein vertikales Verschieben, kein Seitenbalken */
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y; /* Wischen seitlich, vertikal scrollt die Seite */
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Scrollleiste ausblenden – Bedienung per Wischen, Trackpad, Pfeilen */
}
.strip__track::-webkit-scrollbar {
  display: none;
}

.strip__track li {
  flex: 0 0 auto;
  height: calc(var(--u) * 34);
  overflow: hidden;
  scroll-snap-align: start;
  background: rgba(255, 252, 232, 0.08);
}

.strip__track img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal {
  background: var(--cream);
  color: var(--blue);
}

.legal .frame {
  max-width: 52rem;
  padding: 3rem 1.25rem 5rem;
}

.legal h1 {
  margin: 0 0 2rem;
  font-size: clamp(3.5rem, 12vw, 8rem);
}

.legal h2 {
  margin: 2.4rem 0 0.6rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal h3 {
  margin: 1.6rem 0 0.4rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
}

.legal p,
.legal li,
.legal address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
}

.legal a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.legal .todo {
  background: var(--yellow);
  padding: 0 0.2em;
}

.legal__back {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Responsive: Tablet & Smartphone
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav .nav__opt {
    display: none;
  }
}

/* Menü-Button und Kontaktzeile im Menü: nur auf dem Smartphone mit JavaScript */
.menu-btn,
.nav__contact {
  display: none;
}

/* ==========================================================================
   Smartphone – eigenes Layout, Desktop bleibt unberührt
   Raster: 1rem Seitenrand überall, Bilder in festen Formaten (4:5, 3:2, 1:1),
   beige/blaue „Karten“ greifen in die Fotos – wie die Balken auf dem Desktop.
   ========================================================================== */
@media (max-width: 760px) {
  :root {
    --u: 1vw;
    --gutter: 1rem;
    --inset: 9vw; /* Einzug der Karten, entspricht dem Backstein-Streifen */
  }

  /* ---------- Header: sticky, eine Zeile, Menü-Button ---------- */
  /* Keine Einflug-Animation am Header: ein transformierter Header würde
     das fixierte Menü in sich einsperren. */
  html .site-header {
    animation: none;
  }
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0 1rem;
    padding: 0 var(--gutter);
  }

  /* Fallback ohne JavaScript: Links als zweite Zeile */
  .nav {
    flex-basis: 100%;
    padding-bottom: 0.5rem;
  }
  .nav ul {
    gap: 0 1.1rem;
  }
  .nav a {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }

  .has-menu .site-header__inner {
    flex-wrap: nowrap;
  }

  .has-menu .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: -0.5rem;
    padding: 0.75rem 0.5rem;
    border: 0;
    background: none;
    color: var(--cream);
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
  }

  .menu-btn__icon {
    position: relative;
    width: 1.4rem;
    height: 0.6rem;
  }
  .menu-btn__icon::before,
  .menu-btn__icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
  }
  .menu-btn__icon::before { top: 0; }
  .menu-btn__icon::after  { top: calc(100% - 1.5px); }

  .menu-open .menu-btn__icon::before {
    top: calc(50% - 0.75px);
    transform: rotate(45deg);
  }
  .menu-open .menu-btn__icon::after {
    top: calc(50% - 0.75px);
    transform: rotate(-45deg);
  }

  /* Menü-Fläche */
  .has-menu .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem var(--gutter) 2.5rem;
    background: var(--blue);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.6s var(--ease-out), visibility 0s linear 0.6s;
  }
  .menu-open .nav {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 0.6s var(--ease-out), visibility 0s;
  }
  .menu-open body {
    overflow: hidden;
  }

  .has-menu .nav ul {
    display: block;
    counter-reset: menu;
  }
  .has-menu .nav li {
    counter-increment: menu;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    translate: 0 1.5rem;
    transition: opacity 0.4s ease, translate 0.6s var(--ease-out);
  }
  .menu-open .nav li {
    opacity: 1;
    translate: 0 0;
  }
  .menu-open .nav li:nth-child(1) { transition-delay: 0.08s; }
  .menu-open .nav li:nth-child(2) { transition-delay: 0.13s; }
  .menu-open .nav li:nth-child(3) { transition-delay: 0.18s; }
  .menu-open .nav li:nth-child(4) { transition-delay: 0.23s; }
  .menu-open .nav li:nth-child(5) { transition-delay: 0.28s; }

  .has-menu .nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.1rem 0 0.8rem;
    background: none;
    font-family: var(--display);
    font-size: 12vw;
    line-height: 0.87;
    text-transform: uppercase;
  }
  .has-menu .nav a::after {
    content: "0" counter(menu);
    font-family: var(--mono);
    font-size: 0.85rem;
  }
  .has-menu .nav .nav__opt {
    display: none;
  }
  .has-menu .nav .nav__contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
  }
  .menu-open .nav .nav__contact {
    opacity: 1;
  }
  .has-menu .nav .nav__contact a {
    display: inline;
    padding: 0;
    font-family: var(--mono);
    font-size: 1rem;
    line-height: 1.5;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-color: rgba(255, 252, 232, 0.45);
  }
  .has-menu .nav .nav__contact a::after {
    content: none;
  }

  /* ---------- Hero ---------- */
  .hero .frame {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }
  .hero__media {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 4.6;
  }
  .hero__title {
    position: relative;
    grid-row: 2;
    left: auto;
    bottom: auto;
    margin-top: -11vw;
    padding: 0 var(--gutter) 2.25rem;
  }
  .hero__name {
    font-size: 9.5vw;
    margin-bottom: 1.6vw;
  }
  .hero__big {
    font-size: 23.5vw;
  }
  .hero .gridline--v {
    display: none;
  }
  .hero .gridline--h {
    bottom: 2.25rem;
  }

  /* ---------- About: Foto + beige Karte, die ins Foto greift ---------- */
  .about .frame {
    grid-template-columns: var(--inset) 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 0;
  }
  .about__media {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 4 / 5;
  }
  .about__media img {
    object-position: 42% 40%;
  }
  .about__strip {
    display: block;
    grid-column: 1;
    grid-row: 2 / span 2;
  }
  .about__title {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 2;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin: -24vw 0 0;
    padding: 1.6rem 1.25rem 1.1rem;
    font-size: 19.5vw;
    background: var(--cream);
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--blue);
  }
  .about__panel {
    grid-column: 2;
    grid-row: 3;
    padding: 0.25rem 1.25rem 2.75rem;
  }
  .about__text {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* ---------- Highlights: zwei Bilder + blauer Balken ---------- */
  .highlights .frame {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 66vw auto;
  }
  .highlights__a { grid-column: 1; grid-row: 1; }
  .highlights__b { grid-column: 2; grid-row: 1; }
  .highlights__c { display: none; } /* folgt direkt danach als erstes Street-Bild */
  .highlights__block {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 30vw;
  }
  .highlights__title {
    left: var(--gutter);
    bottom: 1.5rem;
  }
  .highlights__small {
    font-size: 12vw;
  }
  .highlights__big {
    font-size: 22vw;
  }

  /* ---------- Portfolio: ruhiges Raster in festen Formaten ---------- */
  .portfolio .frame {
    padding: 0 var(--gutter) 2.75rem;
  }
  .portfolio .chapter {
    margin: 0;
    padding-top: 2rem;
  }
  .portfolio .portfolio__head {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 0 1.25rem;
  }
  .portfolio__title {
    font-size: 21vw;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 0.6rem;
  }
  .mosaic li:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  /* Reihenfolge: groß 4:5 – zwei hochkant – breit 3:2 – zwei quadratisch */
  .mosaic li:nth-child(1) { order: 1; grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .mosaic li:nth-child(5) { order: 2; aspect-ratio: 4 / 5; }
  .mosaic li:nth-child(6) { order: 3; aspect-ratio: 4 / 5; }
  .mosaic li:nth-child(2) { order: 4; grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .mosaic li:nth-child(3) { order: 5; aspect-ratio: 1 / 1; }
  .mosaic li:nth-child(4) { order: 6; aspect-ratio: 1 / 1; }

  /* Filmstreifen: einheitliche Kacheln, läuft bis an den Bildschirmrand */
  .strip {
    margin-top: 2.5rem;
    padding-bottom: 0;
  }
  .strip__bar {
    padding: 0 0 1rem;
  }
  .strip__btn {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1rem;
  }
  .strip__track {
    gap: 0.6rem;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .strip__track li {
    width: 72vw;
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .strip__track img {
    width: 100%;
    height: 100%;
    max-width: none;
  }

  /* ---------- Service ---------- */
  .service .frame {
    grid-template-columns: 1fr;
    padding: 2rem var(--gutter) 3rem;
  }
  .service__left {
    display: contents;
  }
  .service__chapter {
    order: -2;
    margin-bottom: 1.75rem;
  }
  .service__title {
    order: -1;
    font-size: 30vw;
    margin: 0 0 2rem;
  }
  .package--wedding {
    order: 1;
    margin-top: 2rem;
  }
  .service__right {
    gap: 2rem;
  }
  .package,
  .package--wedding {
    grid-template-columns: 44% 1fr;
    column-gap: 1.1rem;
  }
  .package__media,
  .package--wedding .package__media {
    aspect-ratio: 4 / 5;
  }
  /* Couple Shootings: Bild rechts, Text links versetzt – Zickzack-Rhythmus */
  .service__right .package:nth-child(2) {
    grid-template-columns: 1fr 44%;
    margin-left: -0.1rem;
  }
  .service__right .package:nth-child(2) .package__media {
    order: 2;
  }
  .service__right .package:nth-child(2) > div:not(.package__media) {
    align-self: start;
    padding-top: 2.25rem;
    text-align: right;
  }

  /* ---------- Contact: Foto + blaue Karte, die ins Foto greift ---------- */
  .contact .frame {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }
  .contact__media {
    aspect-ratio: 4 / 4.4;
  }
  .contact__panel {
    position: relative;
    z-index: 2;
    margin: -20vw 0 0 var(--inset);
    padding: 1.6rem 1.25rem 3rem;
    background: var(--blue);
  }
  .contact__chapter {
    order: -2;
    margin-bottom: 1.5rem;
  }
  .contact__title {
    order: -1;
    font-size: 23vw;
    margin-bottom: 1.5rem;
  }
  .contact__links {
    flex-direction: column;
    font-size: 1.15rem;
    margin-bottom: 2rem;
  }
  .contact__claim {
    font-size: 1.05rem;
  }

  /* ---------- Thank you ---------- */
  .thanks .frame {
    height: 92vw;
    min-height: 0;
  }
  .thanks .gridline--v:nth-of-type(1) { left: var(--gutter); }
  .thanks .gridline--v:nth-of-type(2) { right: var(--gutter); }
  .thanks__media {
    top: 2rem;
    right: var(--gutter);
    width: 62%;
  }
  .thanks__title {
    left: var(--gutter);
    font-size: 21vw;
  }

  .site-footer__inner {
    padding: 1.4rem var(--gutter) 2rem;
  }
}

/* --------------------------------------------------------------------------
   Bewegung – reines CSS, kein JavaScript.
   1) Beim Laden: Header, Titelblatt-Schrift, Rasterlinien, Titelbild.
   2) Beim Scrollen: scroll-gesteuerte Animationen (animation-timeline: view()).
      Browser ohne Unterstützung zeigen einfach alles statisch an.
   Wer im System „Bewegung reduzieren“ aktiviert hat, sieht keine Animationen.
   -------------------------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rise {
  from { opacity: 0; translate: 0 0.35em; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes rise-soft {
  from { opacity: 0; translate: 0 4rem; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes fade-down {
  from { opacity: 0; translate: 0 -100%; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes settle {
  from { scale: 1.12; }
  to   { scale: 1; }
}
@keyframes draw-v {
  from { scale: 1 0; }
  to   { scale: 1 1; }
}
@keyframes draw-h {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}
@keyframes drift {
  from { translate: 0 -4%; }
  to   { translate: 0 4%; }
}

@media (prefers-reduced-motion: no-preference) {
  /* 1) Beim Laden */
  .site-header {
    animation: fade-down 0.9s var(--ease-out) both 0.1s;
  }
  .hero__media img {
    animation: settle 2.2s var(--ease-out) both;
  }
  .hero__name {
    animation: rise 1.2s var(--ease-out) both 0.35s;
  }
  .hero__big {
    animation: rise 1.3s var(--ease-out) both 0.5s;
  }
  .hero .gridline--v {
    transform-origin: top;
    animation: draw-v 1.6s var(--ease-out) both 0.15s;
  }
  .hero .gridline--h {
    transform-origin: left;
    animation: draw-h 1.8s var(--ease-out) both 0.25s;
  }

  /* Leichte Parallaxe bei den großen Porträts (nur wo unterstützt) */
  @supports (animation-timeline: view()) {
    .about__media img,
    .contact__media img {
      scale: 1.1;
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

/* --------------------------------------------------------------------------
   Einflug beim Scrollen (js/reveal.js)
   Versteckt wird nur, wenn das Skript läuft (Klasse .js am <html>) und
   „Bewegung reduzieren“ aus ist – sonst ist immer alles sichtbar.
   Jedes Element fliegt einmal ein, sobald es ins Bild kommt; mehrere
   gleichzeitig sichtbare Elemente kommen leicht versetzt (--d).
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  translate: 0 3.5rem;
  transition:
    opacity 1s var(--ease-out) var(--d, 0ms),
    translate 1.3s var(--ease-out) var(--d, 0ms);
}

/* Überschriften: steigen hinter einer Kante hervor */
.js .reveal--title {
  translate: 0 0.3em;
  clip-path: inset(-20% -5% 100% -5%);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0ms),
    translate 1.3s var(--ease-out) var(--d, 0ms),
    clip-path 1.3s var(--ease-out) var(--d, 0ms);
}

/* Bilder: Kachel steigt auf, Foto öffnet sich wie ein Vorhang von unten
   und zoomt sanft zurück */
.js .reveal--img {
  translate: 0 2.5rem;
  transition:
    opacity 0.8s var(--ease-out) var(--d, 0ms),
    translate 1.4s var(--ease-out) var(--d, 0ms);
}
.js .reveal--img img {
  scale: 1.18;
  clip-path: inset(100% 0 0 0);
  transition:
    scale 2s var(--ease-out) var(--d, 0ms),
    clip-path 1.4s var(--ease-out) var(--d, 0ms);
}

/* Farbflächen (beiger/blauer Balken): wachsen von unten */
.js .reveal--panel {
  opacity: 1;
  translate: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-out) var(--d, 0ms);
}

/* Feine Linien: ziehen sich auf */
.js .reveal--line {
  opacity: 1;
  translate: none;
  transition: scale 1.6s var(--ease-out) var(--d, 0ms);
}
.js .gridline--v.reveal--line { transform-origin: top; scale: 1 0; }
.js .gridline--h.reveal--line { transform-origin: left; scale: 0 1; }

.js .reveal.is-in {
  opacity: 1;
  translate: 0 0;
  clip-path: inset(-20% -5% -20% -5%);
}
.js .reveal--panel.is-in {
  clip-path: inset(0 0 0 0);
}
.js .reveal--img.is-in img {
  scale: 1;
  clip-path: inset(0 0 0 0);
}
.js .reveal--line.is-in {
  scale: 1 1;
}

/* Porträts mit Parallaxe brauchen etwas Überstand (scale 1.1) */
@supports (animation-timeline: view()) {
  .js .about__media.reveal--img.is-in img,
  .js .contact__media.reveal--img.is-in img {
    scale: 1.1;
  }
}

@media print {
  .js .reveal,
  .js .reveal img {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    clip-path: none !important;
  }
  .site-header {
    position: static;
  }
  .mosaic img {
    transition: none;
  }
}
