@font-face {
  font-family: 'EuclidCircularA';
  src: url('EuclidCircularA-Light.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Variablen */
:root {
  --glass-bg: rgba(255, 255, 255, 0.221);
  --glass-border: rgba(255, 255, 255, 0.35);
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.8);
  --menu-glass-bg: rgba(255, 255, 255, 0.221);
  --header-h: 64px;
}

/* Basis */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  color: var(--text);
  background: #000;
  font-family: 'EuclidCircularA', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  line-height: 1.4;
  min-height: 100dvh;
  overflow-y: auto;
}

/* Scroll Offset */
html, #scroller { scroll-padding-top: 0; }

/* Vollbild Video */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.7) contrast(1.05);
  transition: opacity .6s ease, transform .6s ease;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    1200px 800px at 50% 60%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.55) 100%
  );
  transition: opacity .6s ease;
}

/* Video ausblenden ausser Hero */
body.not-hero .bg-video { opacity: 0; transform: translateY(-6vh); }
body.not-hero .video-overlay { opacity: 0; }

/* Snapping Panels */
#scroller { scroll-snap-type: y mandatory; }

.panel {
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {}

/* Lookbook */
#lookbook.content {
  display: grid;
  place-items: start;
  padding: 0;
  background: #fff;
  color: #111;
}

#lookbook .panel-inner {
  width: 100%;
  max-width: none;
  text-align: left;
}

/* Header fixiert mit Glas Effekt */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--header-h);
  color: var(--text);
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--glass-border);
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding-block: 0;
  padding-inline: clamp(30px, 4vw, 60px);
  white-space: nowrap;
}

/* Typografie Header */
.logo,
.nav-list a,
.site-footer {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  letter-spacing: .2px;
  font-size: 1.3rem;
}

.logo { display: inline-flex; align-items: center; }
.logo span { white-space: nowrap; }

/* Hauptnavigation */
.main-nav { display: flex; align-items: center; position: relative; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-list a { transition: opacity .2s ease; }
.nav-list a:hover,
.nav-list a:focus-visible { outline: none; opacity: .9; }

/* Burger Button */
.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 40px;
  height: var(--header-h);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: inherit; /* erbt Headerfarbe */
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: currentColor; /* nutzt Buttonfarbe */
  border-radius: 1px;
  transform: translateX(-50%);
  transition: background-color .3s ease, transform .25s ease, opacity .2s ease;
}

.nav-toggle-bar:nth-child(1) { top: calc(50% - 7px); }
.nav-toggle-bar:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar:nth-child(3) { top: calc(50% + 7px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Footer */
.site-footer {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  user-select: none;
  font-size: 1rem;
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
}

.gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity .2s ease;
}

.gallery a:hover img { opacity: .96; }

@media (max-width: 768px) {
  .gallery { grid-template-columns: 1fr; }
}

/* Mobile Navigation Basis */
.mobile-nav { display: none; }
.mobile-backdrop[hidden] { display: none; }

/* Mobile Styles */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    position: fixed;
    display: flex;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: min(calc(100dvh - var(--header-h)), 70vh);
    background: var(--glass-bg);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid var(--glass-border);
    color: inherit; /* erbt Headerfarbe */
    z-index: 10000;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    opacity: 0;
    transition: background-color .3s ease, backdrop-filter .3s ease, transform .3s ease-out, opacity .3s ease-out;
    flex-direction: column;
  }

  .mobile-nav.is-open {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-menu {
    list-style: none;
    margin: 0;
    padding: 16px clamp(30px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu li a {
    display: block;
    text-decoration: none;
    color: inherit; /* dynamische Farbe */
    font-family: 'EuclidCircularA', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: .2px;
    transition: opacity .2s ease;
  }

  .mobile-menu li a:active { opacity: .85; }
}

/* White Sections */
.white-section {
  background: #fff;
  color: #000;
  padding: 100px 20px;
  text-align: center;
}

.white-section .content-box {
  max-width: 600px;
  margin: 0 auto;
}

/* Kontaktformular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-form label {
  font-weight: 500;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
}

.contact-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity .2s ease;
}

.contact-form button:hover { opacity: 0.8; }

/* Header Farbwechsel */
.site-header.is-light {
  color: #000;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Mobile Menü milchiger bei hellem Header */
.site-header.is-light .mobile-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
