/* Florian Leidenberger – übernommen aus dem kompilierten Stylesheet der Nuxt-Seite, bereinigt */

@font-face {
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/fira-mono-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fira-mono-latin-700-normal.woff2) format("woff2");
}

:root {
  --font: "PT Sans", Verdana, Tahoma, Arial, Helvetica, sans-serif;
  --font-mono: "Fira Mono", monospace;
  --ease: .3s;
}

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

html { font-size: 62.5%; }
body {
  font-family: var(--font);
  font-size: 1.4rem;
  line-height: 1.35714;
  font-weight: 400;
  overflow-x: hidden;
  background: #fff;
  color: #000;
}
body.overlay-is-open, body.modal-is-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; flex: none; }
figure { padding: 0; }
p { margin-bottom: 2rem; }
ul, ol { margin: 0 0 2rem; padding-left: 2rem; }
hr { margin: 2rem 0; border: none; height: .1rem; background: currentColor; }

h1 {
  font-size: 6rem;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
h2 {
  margin: 2rem 0 1rem;
  font-size: 2rem;
  line-height: 1.35714;
  font-weight: 700;
}
@media (max-width: 1440px) {
  h1 { font-size: calc(1.688rem + 2.99444vw); }
  h2 { font-size: calc(1.608rem + .27222vw); }
}

main a, .overlay a { color: #000; font-family: var(--font-mono); }
a:focus-visible, button:focus-visible { outline: 1px dotted rgba(0,0,0,.9); }
.wrapper-dark a { color: #fff; }
.wrapper-dark a:focus-visible, .page-header a:focus-visible, .page-header button:focus-visible { outline-color: #fff; }

/* ---------- Header ---------- */
.page-header {
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  font-family: var(--font-mono);
  background: linear-gradient(0deg, transparent, rgba(0,0,0,.4));
  transition: all var(--ease);
}
.page-header .logo {
  font-size: 4.8rem;
  color: #fff;
  text-transform: none;
  font-weight: 400;
}
@media (max-width: 1440px) {
  .page-header .logo { font-size: calc(1.664rem + 2.17778vw); }
}
.page-header .logo a { color: #fff; text-decoration: none; font-weight: 700; transition: color var(--ease); }
.page-header svg { display: block; width: 3rem; fill: #fff; transition: all var(--ease); }
.page-header a:hover svg, .page-header button:hover svg { fill: rgba(255,255,255,.5); }
.page-close { flex: none; }

button.open-info {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 4rem;
  flex: none;
  display: flex;
  justify-content: flex-end;
}
button.open-info .icon-close { display: none; }

body.overlay-is-open .page-header { background: transparent; }
body.overlay-is-open .page-header .logo a { color: #000; }
body.overlay-is-open .page-header svg { fill: #000; }
body.overlay-is-open .page-header button:hover svg { fill: rgba(0,0,0,.5); }
body.overlay-is-open button.open-info .icon-open { display: none; }
body.overlay-is-open button.open-info .icon-close { display: block; }
body.overlay-is-open .page-header button:focus-visible { outline-color: #000; }

/* ---------- Video-Buttons ---------- */
.show-modal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: url(/play_w.png) 2 2, pointer;
  opacity: 0;
  font-family: var(--font) !important;
  font-weight: 700;
  font-size: 2rem;
  color: #fff !important;
  transition: all var(--ease);
}
@media (max-width: 1440px) {
  .show-modal { font-size: calc(1.608rem + .27222vw); }
}
.show-modal:hover, .show-modal:focus-visible { opacity: 1; background: rgba(0,0,0,.5); outline-color: #fff; }
@media (max-width: 779px) {
  .show-modal {
    opacity: 1;
    align-items: flex-end;
    justify-content: flex-start;
    font-size: 1.6rem;
    line-height: 1;
    padding: 1rem;
    text-align: left;
  }
  .show-modal:hover { background: transparent; }
}

/* ---------- Hero ---------- */
section.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-media {
  position: absolute;
  left: 0; right: 0;
  top: -15%;
  height: 130%;
  will-change: transform;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .show-modal {
  opacity: 1;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
  text-align: center;
}
.hero .show-modal:hover { background: transparent; }
@media (max-width: 779px) {
  section.hero { height: 50vh; }
  .hero .show-modal { font-size: 1.6rem; padding: 2rem 2rem 5rem; }
}

button.scroll-arrow {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: .1;
  transition: all var(--ease);
  z-index: 2;
}
button.scroll-arrow svg { fill: #fff; margin: auto; width: 4rem; transition: all var(--ease); }
button.scroll-arrow:hover, button.scroll-arrow:focus-visible { opacity: 1; }
button.scroll-arrow:hover svg { width: 5rem; }

/* ---------- Video-Raster ---------- */
section.page-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
.grid-item { width: 50%; position: relative; overflow: hidden; background: #111; }
.grid-item img { width: 100%; height: auto; }
.img-placeholder { aspect-ratio: 16 / 9; background: #222; }

/* ---------- Footer ---------- */
.page-footer {
  font-size: 1.2rem;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.page-footer a {
  color: #fff;
  font-family: var(--font-mono);
  text-decoration: none;
  padding: 0 0 0 1rem;
  opacity: .75;
  transition: all var(--ease);
}
.page-footer a:hover, .page-footer a.active { opacity: 1; }

/* ---------- Impressum / Datenschutz ---------- */
.wrapper-dark {
  min-height: 100vh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.wrapper-dark .page-header { background: transparent; position: absolute; }
.standard-page {
  padding: 10rem 2rem 2rem;
  width: 66%;
  overflow-wrap: anywhere;
}
.standard-page h3 { margin-top: 1rem; }
.wrapper-dark .page-footer { margin-top: auto; }
@media (max-width: 779px) {
  .standard-page { width: 100%; }
}

/* ---------- Info-Overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate(100%, -100%);
  transition: transform var(--ease);
}
.overlay[hidden] { display: block; visibility: hidden; }
.overlay.is-open { transform: none; visibility: visible; }
.overlay-columns {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  font-size: 1.6rem;
}
.overlay-columns-left { width: 50%; padding: 10rem 2rem 0; }
.overlay-left-content { margin-bottom: 2rem; }
.overlay-columns-right { width: 50%; height: 100vh; display: flex; }
.overlay-columns-right figure { width: 100%; height: 100%; }
.overlay-columns-right img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 779px) {
  .overlay-columns-left { width: 100%; padding-top: 9rem; }
  .overlay-columns-right { width: 100%; height: auto; display: block; }
  .overlay-columns-right img { height: auto; }
}

/* ---------- Video-Modal ---------- */
.modal-mask {
  position: fixed;
  z-index: 9998;
  inset: 0;
  background: rgba(0,0,0,.9);
  opacity: 0;
  transition: opacity var(--ease) ease;
}
.modal-mask.is-open { opacity: 1; }
.modal-wrapper { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.modal-container {
  position: relative;
  display: flex;
  width: 80vw;
  max-width: 100%;
  height: 80vh;
  padding: 4rem;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.33);
  transform: scale(1.1);
  transition: transform var(--ease) ease;
}
.modal-mask.is-open .modal-container { transform: none; }
.modal-close {
  position: absolute;
  right: 0; top: 0;
  width: 4rem;
  padding: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.modal-close svg { display: block; fill: #000; transition: fill var(--ease); }
.modal-close:hover svg { fill: rgba(0,0,0,.5); }
.modal-body { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.vimeo-wrapper {
  position: relative;
  width: min(100%, calc((80vh - 8rem) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
}
.vimeo-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 779px) {
  .modal-container { width: 94vw; height: auto; padding: 4rem 1rem 1rem; }
  .vimeo-wrapper { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
