/* =========================================
   FONTS
   =========================================
   Mynaruse: lokal · OTF funktioniert in allen modernen Browsern
   Montserrat: Variable Font (ein File = alle Gewichte 100–900)
   Satisfy: via Google Fonts (Link im HTML)
   ========================================= */

/* Mynaruse – Serife für Headlines und Banner */
/* Mynaruse */
@font-face {
  font-family: "Mynaruse";
  src: url("../font/Mynaruse Regular/MynaruseRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Montserrat Variable */
@font-face {
  font-family: "Montserrat";
  src: url("../font/Montserrat/Montserrat-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../font/Montserrat/Montserrat-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Satisfy";
  src: url("../font/Satisfy/Satisfy-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================================
   DESIGN-TOKENS (CSS Custom Properties)
   Farbwelt laut Konzept „Aslan Filmwerkstatt"
   ========================================= */
:root {
  /* Hintergrundfarben */
  --bg-deep:   #1b1919;   /* Cinematic Shadow – tiefstes Schwarz */
  --bg:        #343434;   /* CineBlack – Haupthintergrund */
  --bg-tone-1: #463e35;   /* Espresso – Flächen/Karten */
  --bg-tone-2: #574533;   /* Walnuss – Unterstützend */

  /* Textfarben */
  --text:      #fef9fa;   /* Porzellanweiß – Primärtext */
  --text-warm: #fff4cd;   /* Hellbeige – warmer Sekundärtext */

  /* Akzentfarben */
  --accent:    #a66f3f;   /* Bernstein – Links, CTAs, Labels */
  --accent-2:  #f9bd53;   /* Goldgelb – Hover, Highlights */
  --tone-3:    #593718;   /* Kastanie */
  --tone-4:    #b38a61;   /* Sandbeige – sanfte Akzente */

  /* Schriften */
  --ff-head:   "Mynaruse", Georgia, "Times New Roman", serif;
  --ff-base:   "Montserrat", system-ui, -apple-system, Arial, sans-serif;
  --ff-accent: "Satisfy", cursive;

  /* Layout */
  --maxw:      68rem;
  --radius:    10px;
  --gap:       1.5rem;
}


/* =========================================
   RESET & BASIS
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--ff-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}
a:hover,
a:focus {
  color: var(--accent-2);
}

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

section {
  padding: 3rem 1.25rem;
}


/* =========================================
   TYPOGRAFIE
   ========================================= */
h1, h2, h3, h4 {
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 11vw, 5.5rem);
  font-weight: 400;         /* Mynaruse ist bereits expressiv */
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

h3 {
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

p {
  margin: 0.75rem 0;
}

address {
  font-style: normal;
}


/* =========================================
   BARRIEREFREIHEIT
   ========================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.9rem;
  background: #fff;
  color: #000;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 700;
}

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


/* =========================================
   BUTTONS / CTAs
   ========================================= */
.btn-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn-cta:hover,
.btn-cta:focus {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}

.btn-outline {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-family: var(--ff-base);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover,
.btn-outline:focus {
  background: var(--accent);
  color: var(--bg-deep);
}


/* =========================================
   HEADER / NAV
   ========================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Logo */
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

/* Desktop-Navigation (versteckt auf mobil) */
.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}
.nav-desktop a {
  font-family: var(--ff-base);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-desktop a:hover,
.nav-desktop a:focus {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav-desktop a.nav-active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* Burger-Button */
.nav-toggle {
  position: relative;
  width: 34px;
  height: 22px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  transition: background 0.2s ease;
}
.nav-toggle::before { top: 0; }
.nav-toggle span     { top: 10px; }
.nav-toggle::after   { bottom: 0; }
.nav-toggle:hover span,
.nav-toggle:hover::before,
.nav-toggle:hover::after { background: var(--accent); }


/* =========================================
   MENÜ-OVERLAY (mobil)
   ========================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-sheet {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(80vw, 380px);
  background: var(--bg-deep);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.menu-overlay.open .menu-sheet {
  transform: translateX(0);
}

.menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.menu-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

/* Radiales Glühen um das Menu-Logo (Objektiv-Effekt) */
.menu-logo-link {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.menu-logo-link::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(48, 48, 48, 0.7) 35%,
    rgba(48, 48, 48, 0.4) 55%,
    transparent 75%
  );
  z-index: -1;
  pointer-events: none;
}

.menu-close {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}
.menu-close:hover { color: var(--accent); }

.menu-list {
  list-style: none;
  margin: 2rem 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.menu-list a {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 5vw, 2rem);
  text-decoration: none;
  color: rgba(254, 249, 250, 0.88);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.menu-list a:hover,
.menu-list a:focus { color: var(--accent); }


/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  min-height: 100svh;       /* svh: safe viewport height */
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

/* Hintergrundbild */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Dunkler Verlauf über dem Bild */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 25, 25, 0.35) 0%,
    rgba(27, 25, 25, 0.75) 65%,
    rgba(27, 25, 25, 0.95) 100%
  );
}

/* Inhalt über dem Bild */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 4rem;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero-label {
  font-family: var(--ff-accent);     /* Satisfy */
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  color: var(--accent);
  margin: 0 0 0.5rem;
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.3s forwards;
}

#hero h1 {
  opacity: 0;
  color: var(--text);
}
#hero h1.fade-in {
  animation: fadeSlideUp 1.4s ease forwards;
}

.hero-claim {
  font-family: var(--ff-base);
  font-weight: 100;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-warm);
  margin: 1rem 0 2rem;
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.6s forwards;
}


/* =========================================
   LABEL-STRIPES (Trennelemente)
   z.B. „Handgemacht", „Inszeniert", „Erfinderisch"
   ========================================= */
.label-stripe {
  padding: 1rem 1.25rem;
  background: var(--bg);
  text-align: center;
}
.label-stripe span {
  font-family: var(--ff-base);
  font-weight: 100;
  font-size: clamp(0.7rem, 2.5vw, 0.9rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tone-4);
}


/* =========================================
   TEASER-GRID (Videoproduktion, Foto, Verleih)
   ========================================= */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  max-width: var(--maxw);
  margin-inline: auto;
}

.teaser-media figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.teaser-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.teaser-media figure:hover img {
  transform: scale(1.03);
}

.teaser-text h2 {
  margin-bottom: 0.25rem;
}
.teaser-text .teaser-sub {
  font-family: var(--ff-base);
  font-weight: 100;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tone-4);
  margin: 0 0 0.75rem;
}
.teaser-text .teaser-accent {
  font-family: var(--ff-head);
  font-size: clamp(1rem, 3.5vw, 1.6rem);
  color: var(--text-warm);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.teaser-text p {
  color: rgba(254, 249, 250, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}


/* =========================================
   INTRO / WILLKOMMEN
   ========================================= */
#intro {
  background: var(--bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Drei Portraits nebeneinander */
.intro-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.intro-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(20%);
}

.intro-text h2 {
  margin-bottom: 1rem;
}
.intro-text p {
  color: rgba(254, 249, 250, 0.8);
  font-size: 0.95rem;
}
.intro-text .btn-outline {
  margin-top: 1rem;
}


/* =========================================
   KONTAKT
   ========================================= */
#kontakt {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#kontakt h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 36rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tone-4);
}

.form-group input,
.form-group textarea {
  background: var(--bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--ff-base);
  font-size: 1rem;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(254, 249, 250, 0.3);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Checkbox-Zeile (DSGVO) */
.form-group--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-group--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-group--check label {
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(254, 249, 250, 0.65);
  cursor: pointer;
}

.form-hint {
  font-size: 0.8rem;
  color: rgba(254, 249, 250, 0.45);
  margin: 0;
}

.contact-address {
  max-width: 36rem;
  margin: 2.5rem auto 0;
  font-size: 0.9rem;
  color: rgba(254, 249, 250, 0.6);
  line-height: 1.8;
  text-align: center;
}


/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 1.25rem;
  text-align: center;
}

.footer-nav {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(254, 249, 250, 0.55);
  transition: color 0.2s ease;
}
.footer-nav a:hover,
.footer-nav a:focus { color: var(--accent); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(254, 249, 250, 0.3);
  margin: 0;
}


/* =========================================
   ANIMATIONEN
   ========================================= */
@keyframes fadeSlideUp {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* =========================================
   RESPONSIVE – Tablet (≥ 640 px)
   ========================================= */
@media (min-width: 640px) {

  .intro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .teaser-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  /* Umgekehrte Reihenfolge: Bild rechts, Text links */
  .teaser-grid--reverse .teaser-media { order: 2; }
  .teaser-grid--reverse .teaser-text  { order: 1; }

}


/* =========================================
   RESPONSIVE – Desktop (≥ 900 px)
   ========================================= */
@media (min-width: 900px) {

  /* Desktop-Nav sichtbar, Burger versteckt */
  .nav-desktop  { display: flex; }
  .nav-toggle   { display: none; }

  section { padding: 5rem 2rem; }

  .teaser-grid { gap: 3rem; }

}


/* =========================================
   REDUCED MOTION – Barrierefreiheit
   Dieser Teil wurde angelehnt an das
   Planetarium-Projekt (mit ChatGPT-Unterstützung)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  /* H1 + Label nicht unsichtbar lassen */
  #hero h1,
  .hero-label,
  .hero-claim {
    opacity: 1 !important;
  }
}
