/* G.E. Fotografie – oeffentliche Seite
 * Schwarz, ruhig, Fotos im Mittelpunkt. Eine schmale Versal-Schrift fuer
 * Ueberschriften und Navigation, Systemschrift fuer Fliesstext.
 */

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --schwarz: #000;
  --weiss: #fff;
  --text: #dedede;
  --grau: #8a8a8a;
  --grau-dunkel: #5c5c5c;
  --linie: rgba(255, 255, 255, .09);
  --akzent: #d9c4a3;
  --rand: clamp(18px, 4vw, 56px);
  --luecke: clamp(6px, .8vw, 12px);
  --zeile: clamp(200px, 24vw, 360px);
  --kopf: 76px;
  --anzeige: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --fliess: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

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

html {
  background: var(--schwarz);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf) + 12px);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--schwarz);
  color: var(--text);
  font: 400 17px/1.65 var(--fliess);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
main, .kopf, .fuss { position: relative; z-index: 1; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--weiss); }

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

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

.springen {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--weiss); color: var(--schwarz);
  padding: 10px 16px; font: 600 15px var(--anzeige); text-transform: uppercase;
}
.springen:focus { top: 12px; }

/* Feine Rasterlinien im Hintergrund */
.raster-linien {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--rand);
}
.raster-linien span { border-right: 1px solid var(--linie); }
.raster-linien span:first-child { border-left: 1px solid var(--linie); }
@media (max-width: 700px) {
  .raster-linien { grid-template-columns: repeat(2, 1fr); }
  .raster-linien span:nth-child(3) { display: none; }
}

/* ------------------------------------------------------------------ *
 * Typografie
 * ------------------------------------------------------------------ */

.riesig, .gross, .marke, .navigation, .knopf, .mehr, .kachel-titel, .artikel-titel,
.fuss-zeile, .fuss-link, .zurueck, .fliess h2, .fliess h3, .fliess h4 {
  font-family: var(--anzeige);
  text-transform: uppercase;
}

.riesig {
  margin: 0;
  color: var(--weiss);
  font-weight: 600;
  font-size: clamp(2.7rem, 9.2vw, 9.5rem);
  line-height: 1;
  letter-spacing: -.012em;
  overflow-wrap: break-word;
}

.gross {
  margin: 0;
  color: var(--weiss);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.005em;
}

/* ------------------------------------------------------------------ *
 * Kopf und Navigation
 * ------------------------------------------------------------------ */

.kopf {
  position: sticky; top: 0; z-index: 20;
  height: var(--kopf);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--rand);
  padding-top: env(safe-area-inset-top);
  height: calc(var(--kopf) + env(safe-area-inset-top));
  background: linear-gradient(#000 0%, rgba(0, 0, 0, .86) 70%, rgba(0, 0, 0, 0));
}

.marke {
  display: inline-flex; align-items: baseline; gap: .35em;
  font-size: 26px; font-weight: 600; line-height: 1;
  text-decoration: none; color: var(--weiss);
  letter-spacing: .01em;
}
.marke-b { color: var(--grau); font-weight: 500; }

.navigation { display: flex; align-items: center; gap: 36px; }
.navigation ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.navigation a {
  font-size: 17px; font-weight: 500; letter-spacing: .05em;
  text-decoration: none; color: var(--grau);
  transition: color .2s;
}
.navigation a:hover, .navigation a[aria-current] { color: var(--weiss); }
.navigation a[aria-current] { box-shadow: inset 0 -1px 0 var(--akzent); }
.nav-insta { display: inline-flex; align-items: center; gap: 8px; }
.nav-insta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 22px; height: 22px; }

.menue-knopf {
  display: none;
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; color: var(--weiss); cursor: pointer;
}
.menue-striche, .menue-striche::before, .menue-striche::after {
  display: block; width: 26px; height: 1.5px; background: currentColor;
  margin: 0 auto; position: relative; transition: transform .25s, background .25s;
}
.menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; }
.menue-striche::before { top: -8px; }
.menue-striche::after { top: 8px; }
.menue-offen .menue-striche { background: transparent; }
.menue-offen .menue-striche::before { transform: translateY(8px) rotate(45deg); }
.menue-offen .menue-striche::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .menue-knopf { display: block; z-index: 2; }
  .navigation {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: calc(var(--kopf) + env(safe-area-inset-top)) var(--rand) 40px;
    background: #000;
    visibility: hidden; opacity: 0;
    transition: opacity .25s, visibility 0s .25s;
  }
  .menue-offen .navigation { visibility: visible; opacity: 1; transition: opacity .25s; }
  .navigation ul { flex-direction: column; gap: 4px; }
  .navigation a { font-size: clamp(2.6rem, 13vw, 4.4rem); font-weight: 600; letter-spacing: 0; line-height: 1.05; color: var(--weiss); }
  .navigation a[aria-current] { box-shadow: none; color: var(--akzent); }
  .nav-insta { font-size: 20px !important; color: var(--grau) !important; }
  .nav-insta span { position: static; width: auto; height: auto; clip: auto; }
  .menue-offen { overflow: hidden; }
}

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: calc(100svh - var(--kopf) - env(safe-area-inset-top));
  display: flex; align-items: flex-end;
  padding: 40px var(--rand) clamp(40px, 8vh, 96px);
}
.hero-text { position: relative; z-index: 2; max-width: 1500px; }
.hero-zeile .hell { color: var(--weiss); }
.hero-zeile .grau { color: var(--grau-dunkel); }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 5vh, 52px); }

.js .hero-zeile { animation: auftauchen 1.1s cubic-bezier(.2, .7, .1, 1) both; }
.js .hero-knoepfe { animation: auftauchen 1.1s .25s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes auftauchen {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-foto { margin-top: calc(-1 * (var(--kopf) + env(safe-area-inset-top))); min-height: 100svh; }
.hero-bilder { position: absolute; inset: 0; overflow: hidden; }
.hero-bilder img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.6s ease;
}
.hero-bilder img.sichtbar { opacity: 1; }
.hero-bilder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .35));
}
.hero-foto .hero-zeile .grau { color: rgba(255, 255, 255, .62); }

/* ------------------------------------------------------------------ *
 * Knoepfe, Abschnitte
 * ------------------------------------------------------------------ */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, .75);
  color: var(--weiss); background: transparent;
  font-size: 17px; font-weight: 600; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.knopf:hover { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }
.knopf.voll { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }
.knopf.voll:hover { background: var(--akzent); border-color: var(--akzent); }

.abschnitt { padding: clamp(48px, 9vh, 110px) var(--rand) 0; }
.abschnitt-kopf {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.mehr {
  font-size: 17px; font-weight: 500; letter-spacing: .06em;
  color: var(--grau); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid var(--grau-dunkel); padding-bottom: 2px;
}
.mehr:hover { color: var(--weiss); border-color: var(--weiss); }

.seitenkopf { padding: clamp(40px, 10vh, 120px) var(--rand) 0; }
.zurueck { margin: 0 0 18px; color: var(--grau); font-size: 17px; letter-spacing: .06em; display: flex; gap: 18px; }
.zurueck a { text-decoration: none; }
.zurueck a::before { content: "← "; }

.intro { padding: clamp(40px, 8vh, 90px) var(--rand) 0; }
.leer-hinweis { color: var(--grau); }
.leer-seite { padding: 18vh var(--rand) 10vh; }
.leer-seite p { color: var(--grau); }

/* ------------------------------------------------------------------ *
 * Fotoraster ohne Beschnitt (Reihen gleicher Hoehe)
 * ------------------------------------------------------------------ */

.raster { display: flex; flex-wrap: wrap; gap: var(--luecke); }
.kachel {
  flex: 1 1 300px;
  display: block; position: relative; overflow: hidden;
  cursor: zoom-in;
}
.raster[data-bereit] .kachel { flex: var(--r) 1 calc(var(--r) * var(--zeile)); }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1), opacity .7s; }
.kachel:hover img { transform: scale(1.025); }
.raster-ende { flex: 1000 1 0; }
.raster.im-text { margin: 2.2em 0; }

.js [data-farbe] { opacity: 0; }
.js [data-farbe].geladen { opacity: 1; }
.js .hero-bilder [data-farbe] { opacity: 0; }
.js .hero-bilder [data-farbe].sichtbar.geladen { opacity: 1; }

@media (max-width: 700px) {
  :root { --zeile: 150px; }
}

/* Galerie-Uebersicht */
.galerie-kacheln {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) var(--luecke);
}
.galerie-kacheln a { display: block; text-decoration: none; }
.kachel-bild { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #0c0c0c; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1), opacity .7s; }
.galerie-kacheln a:hover .kachel-bild img { transform: scale(1.03); }
.kachel-titel {
  display: block; margin-top: 16px;
  color: var(--weiss); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1;
}
.kachel-zahl { display: block; margin-top: 6px; color: var(--grau); font-size: 15px; }
@media (min-width: 1300px) {
  .galerie-kacheln { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .galerie-kacheln { grid-template-columns: 1fr; }
}

/* Journal-Liste */
.artikel-liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px clamp(20px, 3vw, 40px);
}
.artikel-liste a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.artikel-bild { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 10px; background: #0c0c0c; }
.artikel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1), opacity .7s; }
.artikel-liste a:hover .artikel-bild img { transform: scale(1.03); }
.artikel-liste time { color: var(--grau); font-size: 14px; }
.artikel-titel { color: var(--weiss); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.02; }
.artikel-teaser { color: #b5b5b5; font-size: 16px; }

/* ------------------------------------------------------------------ *
 * Fliesstext, Artikel
 * ------------------------------------------------------------------ */

.fliess { max-width: 68ch; font-size: 18px; line-height: 1.75; color: #d4d4d4; }
.fliess > :first-child { margin-top: 0; }
.fliess p { margin: 0 0 1.1em; }
.fliess h2, .fliess h3, .fliess h4 { color: var(--weiss); font-weight: 600; line-height: 1; margin: 1.8em 0 .55em; }
.fliess h2 { font-size: 2.1rem; }
.fliess h3 { font-size: 1.6rem; }
.fliess h4 { font-size: 1.3rem; }
.fliess ul, .fliess ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.fliess li { margin: .25em 0; }
.fliess blockquote {
  margin: 1.6em 0; padding: 0 0 0 1.2em;
  border-left: 1px solid var(--akzent);
  color: var(--weiss); font-size: 1.15em;
}
.fliess hr { border: 0; border-top: 1px solid var(--linie); margin: 2.4em 0; }
.fliess a { color: var(--weiss); }
.fliess strong { color: var(--weiss); font-weight: 600; }

.artikel .seitenkopf .riesig { font-size: clamp(2.6rem, 7vw, 7rem); max-width: 18ch; }
.artikel > .fliess { padding: clamp(32px, 6vh, 64px) var(--rand) 0; margin: 0 auto 0 0; }
@media (min-width: 1100px) {
  .artikel > .fliess { margin-left: 25vw; padding-left: 0; }
}
.artikel-titelbild { margin: clamp(32px, 6vh, 64px) 0 0; }
.artikel-titelbild img { width: 100%; max-height: 92svh; object-fit: cover; }
.text-foto { margin: 2.2em 0; }
.text-foto a { display: block; cursor: zoom-in; }
.text-foto figcaption, .artikel figcaption { color: var(--grau); font-size: 14px; margin-top: 10px; }
.text-foto.breit { margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); }
@media (min-width: 1100px) {
  .text-foto.breit { margin-left: -25vw; margin-right: calc(-1 * (100vw - 25vw - 68ch - var(--rand))); max-width: none; }
  .fliess .raster.im-text { margin-left: -25vw; width: calc(100vw - 2 * var(--rand)); }
}
.galerie-text { margin-top: 28px; color: #bdbdbd; }
.textseite .fliess { font-size: 16px; }
.vorschau-band {
  margin: 0; padding: 10px var(--rand);
  background: var(--akzent); color: #000; font-weight: 600;
}

/* ------------------------------------------------------------------ *
 * Kontakt
 * ------------------------------------------------------------------ */

.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } }
.kontakt-daten { margin: 36px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 26px; }
.kontakt-daten dt { color: var(--grau); font-family: var(--anzeige); text-transform: uppercase; letter-spacing: .06em; font-size: 16px; padding-top: 2px; }
.kontakt-daten dd { margin: 0; color: var(--weiss); overflow-wrap: anywhere; }
.kontakt-daten a { text-decoration: none; }

.kontakt-form { display: grid; gap: 26px; align-content: start; }
.feld { display: grid; gap: 6px; }
.feld label { font-family: var(--anzeige); text-transform: uppercase; letter-spacing: .06em; font-size: 16px; color: var(--grau); }
.optional { text-transform: none; letter-spacing: 0; color: var(--grau-dunkel); font-family: var(--fliess); font-size: 13px; margin-left: 6px; }
.feld input, .feld textarea {
  width: 100%;
  background: transparent; color: var(--weiss);
  border: 0; border-bottom: 1px solid #3a3a3a; border-radius: 0;
  padding: 10px 0; font: 400 17px/1.5 var(--fliess);
  transition: border-color .2s;
}
.feld textarea { resize: vertical; min-height: 160px; border: 1px solid #3a3a3a; padding: 12px 14px; }
.feld input:focus, .feld textarea:focus { outline: 0; border-color: var(--akzent); }
.feld input::placeholder { color: #555; }
.feld [aria-invalid] { border-color: #e0806a; }
.feld-fehler, .form-fehler { margin: 2px 0 0; color: #f0a593; font-size: 15px; }
.form-fehler { padding: 12px 16px; border: 1px solid #6b3a30; }
.feld-haken { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.feld-haken input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--akzent); }
.feld-haken label { text-transform: none; letter-spacing: 0; font-family: var(--fliess); font-size: 15px; color: #bdbdbd; line-height: 1.5; }
.feld-haken .feld-fehler { grid-column: 2; }
.kontakt-form .knopf { justify-self: start; min-width: 220px; }
.kontakt-danke { border-top: 1px solid var(--linie); padding-top: 28px; }
.kontakt-danke p:not(.gross) { color: #c9c9c9; }

/* ------------------------------------------------------------------ *
 * Fuss
 * ------------------------------------------------------------------ */

.fuss { margin-top: clamp(80px, 16vh, 180px); padding: 0 var(--rand) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); }
.kontakt-seite .fuss-gross { display: none; }
.fuss-gross { padding: clamp(48px, 10vh, 110px) 0; }
.fuss-zeile { margin: 0; color: var(--grau-dunkel); font-weight: 600; font-size: clamp(2.4rem, 7vw, 7rem); line-height: .9; }
.fuss-link {
  display: inline-block; color: var(--weiss); text-decoration: none;
  font-weight: 600; font-size: clamp(2.4rem, 7vw, 7rem); line-height: .95;
  background: linear-gradient(var(--akzent), var(--akzent)) 0 100% / 0 2px no-repeat;
  transition: background-size .45s cubic-bezier(.2, .7, .1, 1);
}
.fuss-link:hover { background-size: 100% 2px; }
.fuss-spalten {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--linie);
  font-size: 15px; color: var(--grau);
}
.fuss-spalten p { margin: 0 0 4px; }
.fuss-spalten a { text-decoration: none; }
.fuss-spalten a:hover { color: var(--weiss); text-decoration: underline; }
.fuss-name { color: var(--weiss); font-family: var(--anzeige); text-transform: uppercase; font-size: 18px; letter-spacing: .04em; }
.fuss-copy { margin: 0; color: var(--grau-dunkel); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.fuss-copy a { color: var(--grau); text-decoration: none; }
.fuss-copy a:hover { color: var(--weiss); text-decoration: underline; }
@media (max-width: 700px) {
  .fuss-spalten { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ *
 * Lightbox
 * ------------------------------------------------------------------ */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #000; color: var(--weiss);
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #000; }
.lb-bild { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 0 calc(16px + env(safe-area-inset-bottom)); touch-action: pan-y pinch-zoom; }
.lb-bild img {
  max-width: 100vw; max-height: calc(100dvh - 120px); width: auto; height: auto;
  object-fit: contain; user-select: none; -webkit-user-drag: none;
  transition: opacity .3s, transform .3s;
}
@media (min-width: 800px) {
  .lb-bild img { max-width: calc(100vw - 180px); }
}
.lb-bild figcaption { color: var(--grau); font-size: 14px; min-height: 1.4em; padding: 8px var(--rand) 0; text-align: center; }
.lightbox button {
  position: absolute; width: 56px; height: 56px;
  display: grid; place-items: center;
  background: none; border: 0; color: var(--weiss); cursor: pointer; opacity: .75;
}
.lightbox button:hover { opacity: 1; }
.lb-zu { top: calc(6px + env(safe-area-inset-top)); right: 6px; }
.lb-zurueck { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 28px; height: 28px; }
.lb-zaehler { position: absolute; top: calc(20px + env(safe-area-inset-top)); left: 20px; margin: 0; color: var(--grau); font: 500 16px var(--anzeige); letter-spacing: .08em; }
@media (hover: none) {
  .lb-zurueck, .lb-weiter { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-farbe] { opacity: 1; }
}
