:root {
  --papier: #f3f2ee;
  --tinte: #111111;
  --grau: #6f6f6f;
  --linie: #e4e4e4;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 32px 18px;
  background: rgba(243, 242, 238, 0.985);
  transition: background 0.35s ease, color 0.35s ease;
  backdrop-filter: blur(6px);
}

.marke { display: block; line-height: 1; }

.marke-name {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.01em;
}

.marke-rolle {
  display: block;
  margin-top: 6px;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.menue {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 26px;
  padding-top: 10px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menue a { padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.menue a:hover, .menue a.aktiv { border-bottom-color: currentColor; }

/* ---------- Inhalt ---------- */

main { padding: 40px 32px 120px; max-width: 1500px; margin: 0 auto; }

/* Showreel */

.reel { margin: 20px auto 90px; max-width: 1100px; }

.kachel { display: block; width: 100%; text-align: left; }

.kachel-bild {
  position: relative;
  overflow: hidden;
  background: #d9d9d9;
}

.kachel-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease, opacity 0.4s ease;
}

.kachel:hover .kachel-bild img { transform: scale(1.03); }

.platzhalter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.abspielen {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}

.abspielen::before {
  content: "";
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.kachel:hover .abspielen, .reel .abspielen { opacity: 1; }

.kachel-text {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.kachel-text span { display: block; color: var(--grau); }

/* Filter */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 70px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grau);
}

.filter button { text-transform: inherit; letter-spacing: inherit; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.filter button:hover { color: var(--tinte); }
.filter button.aktiv { color: var(--tinte); border-bottom-color: var(--tinte); }

/* Versetztes Raster */

.raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  row-gap: 64px;
  align-items: start;
  width: 84%;
  max-width: 1200px;
  margin: 0 auto;
}

.raster .kachel:nth-child(6n + 1) { grid-column: 1 / span 7; }
.raster .kachel:nth-child(6n + 2) { grid-column: 8 / span 5; margin-top: 80px; }
.raster .kachel:nth-child(6n + 3) { grid-column: 1 / span 5; margin-top: 40px; }
.raster .kachel:nth-child(6n + 4) { grid-column: 6 / span 7; }
.raster .kachel:nth-child(6n + 5) { grid-column: 1 / span 6; }
.raster .kachel:nth-child(6n + 6) { grid-column: 7 / span 6; margin-top: 90px; }

.raster .kachel:nth-child(6n + 1) .kachel-bild { aspect-ratio: 16 / 9; }
.raster .kachel:nth-child(6n + 2) .kachel-bild { aspect-ratio: 4 / 5; }
.raster .kachel:nth-child(6n + 3) .kachel-bild { aspect-ratio: 4 / 3; }
.raster .kachel:nth-child(6n + 4) .kachel-bild { aspect-ratio: 2.39 / 1; }
.raster .kachel:nth-child(6n + 5) .kachel-bild { aspect-ratio: 16 / 9; }
.raster .kachel:nth-child(6n + 6) .kachel-bild { aspect-ratio: 16 / 9; }

/* Echte Filmstills werden nie beschnitten: Die Kachel übernimmt das Format des Bildes. */
.raster .kachel .kachel-bild.mit-bild { aspect-ratio: auto; }
.raster .kachel .kachel-bild.mit-bild img { height: auto; }

.reel .kachel-bild { aspect-ratio: 2.39 / 1; }

/* ---------- Textseiten ---------- */

.seite {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 70px;
  max-width: 1150px;
  margin: 40px auto 0;
  align-items: start;
}

.seite-bild { aspect-ratio: 2 / 3; background: #d9d9d9; position: relative; overflow: hidden; }
.seite-bild img { width: 100%; height: 100%; object-fit: cover; }

.seite h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.seite p { margin: 0 0 18px; max-width: 34em; font-size: 17px; }

.etikett {
  margin: 44px 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grau);
}

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { padding: 9px 0; border-top: 1px solid var(--linie); font-size: 15px; }
.liste li:last-child { border-bottom: 1px solid var(--linie); }

/* Steckbrief auf "Über mich": Bezeichnung links, Angabe rechts. */
.steckbrief { margin: 40px 0 0; max-width: 34em; }
.steckbrief div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--linie);
}
.steckbrief div:last-child { border-bottom: 1px solid var(--linie); }
.steckbrief dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grau);
}
.steckbrief dd { margin: 0; font-size: 16px; text-align: right; }

.kontakt-gross {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.2;
  border-bottom: 1px solid var(--tinte);
  overflow-wrap: anywhere;
}

/* ---------- Fusszeile ---------- */

.fuss {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 26px 32px 34px;
  border-top: 1px solid var(--linie);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grau);
}

.fuss a:hover { color: var(--tinte); }

/* ---------- Grossansicht ---------- */

.buehne {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 70px 4vw 40px;
  background: var(--papier);
}

.buehne.offen { display: flex; }

.buehne-inhalt { width: 100%; max-width: 1300px; margin: 0 auto; }
.buehne-inhalt video, .buehne-inhalt iframe, .buehne-inhalt img, .buehne-leer {
  width: 100%;
  max-height: 76vh;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
  object-fit: contain;
}

.buehne-leer { display: grid; place-items: center; background: #d9d9d9; color: #fff; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }

.buehne-titel { max-width: 1300px; width: 100%; margin: 16px auto 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.buehne-titel span { color: var(--grau); margin-left: 14px; }

.schliessen {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Handy und Tablet ---------- */

@media (max-width: 800px) {
  .kopf { flex-direction: column; gap: 12px; padding: 16px 16px 12px; }
  .menue { justify-content: flex-start; padding-top: 0; gap: 4px 20px; font-size: 12px; }
  main { padding: 24px 16px 80px; }
  .reel { margin-bottom: 50px; }
  .reel .kachel-bild { aspect-ratio: 16 / 9; }
  .filter { margin-bottom: 40px; }
  .raster { display: block; width: 100%; }
  .raster .kachel { margin: 0 0 48px !important; }
  .raster .kachel:nth-child(even) { width: 82%; margin-left: auto !important; }
  .seite { grid-template-columns: 1fr; gap: 32px; margin-top: 10px; }
  .fuss { padding: 22px 16px 28px; }
  .schliessen { right: 16px; top: 18px; }
  .buehne { padding: 60px 12px 30px; }
}

/* ---------- Startfilm ---------- */

body.start .kopf { position: fixed; left: 0; right: 0; }

body.start .kopf.ueber-film {
  background: transparent;
  backdrop-filter: none;
  color: #fff;
}

body.start main { padding-top: 170px; }

.start-film {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  background: #151515;
  color: #fff;
}

.start-medien, .start-medien video, .start-medien img, .start-leer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dunkler Verlauf oben und unten, damit Name und Menü lesbar bleiben. */
.start-film::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4));
}

.start-leer {
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(120deg, #1b1b1b, #4a4a4a, #222, #5a5a5a, #1b1b1b);
  background-size: 400% 400%;
  animation: start-wandern 14s ease-in-out infinite;
}

@keyframes start-wandern {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.start-knopf, .start-weiter {
  position: absolute;
  bottom: 34px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s;
}

.start-knopf:hover, .start-weiter:hover { border-bottom-color: #fff; }

.start-knopf { left: 32px; display: flex; align-items: center; gap: 12px; }

.start-knopf::before {
  content: "";
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.start-weiter { right: 32px; }

@media (max-width: 800px) {
  body.start main { padding-top: 150px; }
  .start-knopf { left: 16px; bottom: 24px; }
  .start-weiter { right: 16px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .start-leer { animation: none; }
}

/* ---------- Hinter der Kamera (Seite Über mich) ---------- */

.hinter {
  max-width: 1150px;
  margin: 120px auto 0;
}

.hinter-raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  align-items: start;
  margin-top: 26px;
}

.hinter figure { margin: 0; }
.hinter img { width: 100%; height: auto; }

.hinter figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grau);
}

/* Position (--sp) und Versatz nach unten (--ab) stehen direkt bei jedem Bild in ueber.html. */
.hinter-raster { row-gap: 24px; }
.hinter-raster figure { grid-column: var(--sp); margin-top: var(--ab, 0px); }

@media (max-width: 800px) {
  .hinter { margin-top: 70px; }
  .hinter-raster { display: block; }
  .hinter-raster figure { margin: 0 0 44px; }
  .hinter-raster figure:nth-child(even) { width: 76%; margin-left: auto; }
}

/* ---------- Kundenlogos (Seite Arbeiten) ---------- */

.kunden {
  margin-top: 150px;
  padding-top: 50px;
  border-top: 1px solid var(--linie);
}

.kunden .etikett { margin: 0 0 30px; text-align: center; }

.kunden-raster {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 30px;
  max-width: 1150px;
  margin: 0 auto;
}

.kunde {
  display: grid;
  place-items: center;
  height: 110px;
  width: 190px;
  padding: 0 10px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--grau);
}

/* Alle Logos einfarbig im selben Grauton, beim Darüberfahren schwarz. */
.kunde img {
  max-width: 150px;
  max-height: 52px;
  width: auto;
  height: auto;
  filter: brightness(0);
  opacity: 0.6;
  transition: opacity 0.25s;
}

.kunde:hover img { opacity: 1; }

@media (max-width: 800px) {
  .kunden { margin-top: 80px; padding-top: 36px; }
  .kunden-raster { gap: 0; }
  .kunde { height: 90px; width: 50%; }
  .kunde img { max-width: 120px; max-height: 42px; }
}

/* ---------- Kontaktseite: Bild über den ganzen Bildschirm ---------- */

body.kontakt { background: #111; color: #fff; }

.kontakt-bild { position: fixed; inset: 0; z-index: 0; }
.kontakt-bild img { width: 100%; height: 100%; object-fit: cover; }
.kontakt-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.7));
}

body.kontakt .kopf {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  color: #fff;
}

.kontakt-voll {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  min-height: 100vh;
  min-height: 100svh;
  max-width: none;
  padding: 170px 32px 44px;
}

.kontakt-feld { margin-top: 30px; }

.kontakt-name {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.kontakt-wert {
  display: inline-block;
  padding-bottom: 4px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  overflow-wrap: anywhere;
}

a.kontakt-wert { transition: border-color 0.2s; }
a.kontakt-wert:hover { border-bottom-color: #fff; }

.kontakt-links {
  display: flex;
  gap: 26px;
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kontakt-links a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.kontakt-links a:hover { border-bottom-color: currentColor; }

.kontakt-formular { width: 100%; max-width: 400px; }

.kontakt-formular h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.kontakt-formular label { display: block; margin-top: 16px; }

.kontakt-formular label span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.kontakt-formular input,
.kontakt-formular textarea {
  display: block;
  width: 100%;
  padding: 8px 0;
  font: inherit;
  font-size: 17px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  outline: none;
  resize: vertical;
}

.kontakt-formular input:focus,
.kontakt-formular textarea:focus { border-bottom-color: #fff; }

.kontakt-formular button {
  margin-top: 26px;
  padding: 13px 26px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: background 0.2s, color 0.2s;
}
.kontakt-formular button:hover,
.kontakt-formular button:focus-visible { background: #fff; color: #111; }

.kontakt-hinweis { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }

@media (max-width: 800px) {
  .kontakt-voll {
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: flex-end;
    gap: 50px;
    padding: 150px 16px 36px;
  }
  .kontakt-formular { max-width: none; }
}

/* ---------- Impressum und Datenschutz ---------- */

.recht h2 {
  margin: 38px 0 10px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grau);
}
.recht p { max-width: 40em; }
.recht a { border-bottom: 1px solid var(--linie); }
.recht a:hover { border-bottom-color: var(--tinte); }
.recht-stand { margin-top: 44px !important; font-size: 13px !important; color: var(--grau); }

/* Noch auszufüllende Stellen im Entwurf, gut sichtbar markiert. */
.ausfuellen { background: #fff3a6; padding: 0 4px; }

.kontakt-links { flex-wrap: wrap; row-gap: 10px; }

/* ---------- Hochformat (Social Media Clips) ---------- */

/* In der Übersicht: schmalere Kachel, damit das Bild nicht riesig wird. */
.raster .kachel.hoch { width: 46%; justify-self: center; }

/* In der Grossansicht: Die Höhe gibt den Ton an, die Breite folgt dem Format. */
.buehne-inhalt video.hoch, .buehne-inhalt iframe.hoch, .buehne-inhalt img.hoch {
  display: block;
  width: auto;
  height: 76vh;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .raster .kachel.hoch { width: 62%; }
}

/* Besteht die Auswahl nur aus Hochformat-Clips: drei pro Reihe in wechselnden Grössen. */
.raster.nur-hoch { column-gap: 28px; }
.raster.nur-hoch .kachel:nth-child(n) { width: 100%; margin-top: 0; }
.raster.nur-hoch .kachel:nth-child(6n + 1) { grid-column: 1 / span 5; }
.raster.nur-hoch .kachel:nth-child(6n + 2) { grid-column: 6 / span 3; margin-top: 110px; }
.raster.nur-hoch .kachel:nth-child(6n + 3) { grid-column: 9 / span 4; margin-top: 40px; }
.raster.nur-hoch .kachel:nth-child(6n + 4) { grid-column: 1 / span 3; margin-top: 60px; }
.raster.nur-hoch .kachel:nth-child(6n + 5) { grid-column: 4 / span 5; }
.raster.nur-hoch .kachel:nth-child(6n + 6) { grid-column: 9 / span 4; margin-top: 120px; }

@media (max-width: 800px) {
  .raster.nur-hoch .kachel:nth-child(n) { width: 80%; }
  .raster.nur-hoch .kachel:nth-child(even) { width: 60%; }
}

/* ---------- Übersicht: Reihen nach Bildformat (von seite.js berechnet) ---------- */

@media (min-width: 801px) {
  .raster.lay { row-gap: 56px; }
  .raster.lay .kachel:nth-child(n) {
    grid-column: var(--sp, auto);
    margin-top: var(--ab, 0px);
    width: 100%;
    justify-self: stretch;
  }
}

/* Nur für Suchmaschinen und Vorleseprogramme sichtbar. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
