/* ------------------------------
   Grundstil & Reset
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #F7F4EA; /* sanftes Beige für die ganze Site */
  color: #111;
  padding: 40px 60px 60px 60px; /* oben 40px, rechts/links 60px, unten 60px */
  line-height: 1.6;
}

/* ------------------------------
   Header
------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #F7F4EA;
  padding: 20px 60px;
  margin: -40px -60px 50px -60px; 
}


h1 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 300;
}

nav a.active {
  font-weight: 500;
  color: #111;
}


/* ------------------------------
   Kategorien
------------------------------ */
.categories {
  display: flex;
  gap: 32px;
  margin-bottom: 60px; /* enger zu Projekten */
}

.categories button {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: #999;
  padding: 0;
}

@media (max-width: 768px) {
    .categories {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between; 
        gap: 10px 5px; /* 10px vertikaler Abstand, 5px zwischen den Buttons */
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .categories button {
        text-align: center;
        box-sizing: border-box;
        padding: 10px 5px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    /* 1. Zeile: "Alle" (Der erste Button) bekommt die volle Breite */
    .categories button:nth-child(1) {
        flex: 0 0 100%;
    }

    /* 2. Zeile: Buttons 2, 3 und 4 (Brands, Events, Retreats) */
    .categories button:nth-child(2),
    .categories button:nth-child(3),
    .categories button:nth-child(4) {
        flex: 0 1 calc(33.33% - 5px);
    }

    /* 3. Zeile: Buttons 5, 6 und 7 (Weddings, Outdoor, Drohne) */
    .categories button:nth-child(5),
    .categories button:nth-child(6),
    .categories button:nth-child(7) {
        flex: 0 1 calc(33.33% - 5px);
    }
}

.categories button.active {
  color: #111;
}

/* ------------------------------
   Projekte Grid
------------------------------ */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* feste 2 Spalten */
  gap: 40px; /* Abstand zwischen den Videos */
  margin-top: 0; /* Abstand von Kategorien übernommen */
  justify-items: stretch; /* Items füllen die Spalten */
  padding-bottom: 40px; /* 👈 Abstand zum Footer gleich wie gap */
}

.project {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.project.hide {
  opacity: 0;
  pointer-events: none;
}

.project video {
  width: 100%;
  display: block;
  filter: grayscale(100%) brightness(70%);
  transition: filter 0.4s ease, transform 0.3s ease;
  object-fit: cover;
}

.project:hover video {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.03);
}

.project:hover .project-title {
  opacity: 0;
}

/* ------------------------------
   Projekt Titel Overlay
------------------------------ */
.project-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2c94c; /* 👈 Gelb */
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
}


/* ------------------------------
   About-Seite – Layout & Typo
------------------------------ */

.about {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 120px;
}

/* Haupttitel */
.about h2 {
  font-size: 26px;
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Zwischentitel */
.about h3 {
  font-size: 16px;
  margin-top: 60px;
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Fließtext */
.about p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
  max-width: 520px;
}

/* ------------------------------
   Intro Layout (Bild links / Text rechts)
------------------------------ */

.intro-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.intro-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.intro-text {
  padding-top: -70px;
}

/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 900px) {
  .intro-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about {
    padding-top: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo .name,
.logo .role {
  font-size: 18px;            /* gleiche Größe wie vorher h1 */
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo .role {
  opacity: 0.4;               /* leicht zurückgenommen */
}

/* ------------------------------
   Startseite
------------------------------ */
.start {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 120px;
}

/* Hero Video / Platzhalter */
.hero-video {
  position: relative;
  width: 100%;
  height: 60vh; /* Höhe des Videos / Platzhalters */
  background: #ddd; /* hellgrauer Hintergrund für Platzhalter */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  border-radius: 6px;
}

.hero-video {
  position: relative;
  width: 100%;
  height: 60vh;  /* Höhe des Videos, kann später angepasst werden */
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 60px;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* skaliert das Video passend */
  display: block;
}

/* Intro Text */
.home-text {          
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.6;
  }

.intro-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: #111;
}

.video-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #F7F4EA; /* dein beiger Stil, ggf. Gelb aus Branding */
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ------------------------------
   Kontakt-Seite
------------------------------ */
.contact {
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.contact .intro-text {
  text-align: center;
  margin-bottom: 60px;
}

.contact .intro-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact .intro-text p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: #111;
}

/* Formular */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f2c94c;
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.4);
}

.contact-form button {
  background-color: #111;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #f2c94c;
  color: #111;
  transform: translateY(-2px);
}

/* Sticky Header Shadow beim Scrollen */
header.scrolled {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Body auf volle Höhe setzen */
html, body {
  height: 100%;
}

/* Haupt-Container soll min-height haben */
body {
  display: flex;
  flex-direction: column;
}

/* Main-Content nimmt den verfügbaren Platz ein */
main {
  flex: 1;
}


.project-examples {
  display: none; /* standardmäßig versteckt */
  margin-top: 16px;
  padding: 12px;
  background-color: #f7f4ea; /* sanfter Hintergrund passend zur Seite */
  border-left: 4px solid #f2c94c; /* kleines Branding-Highlight */
  font-size: 14px;
}

.project-examples h4 {
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  color: #111;
}

.project-examples ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;

}

/* ------------------------------
   Projekt-Unterseiten
------------------------------ */

.project-page {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.project-intro {
  max-width: 600px;
  margin-bottom: 80px;
}

.project-intro h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-intro p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-item {
  background: #eae7dd;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weddings-page .detail-intro {
  margin-bottom: 00px;
}


/* ------------------------------
   Portfolio Detail Ansicht
------------------------------ */

.portfolio-detail {
  margin-top: 80px;
  padding-bottom: 200px;
}

.detail-intro {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 0 auto; /* zentriert + Abstand unten */
  text-align: center;        /* Text wird mittig ausgerichtet */
  margin-bottom: -140px;
}

/* Mobile */
@media (max-width: 520px) {
  .text-block {
    max-width: 520px;  /* wieder schmaler für Lesbarkeit */
  }
}

.detail-intro h2 {
  font-size: 26px;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-intro p {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}


.detail-item {
  height: 260px;
  background: #eae7dd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.preview-video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 40px 0;
  border-radius: 0 !important;
}

/* Zweites Video innerhalb der Projektseite */
.content-video {
  width: 100vw;
  height: 60vh;
  object-fit: cover;
  display: block;

  margin-left: calc(-50vw + 50%);
  margin-top: 80px;
  margin-bottom: 80px;

  border-radius: 0;
}

/* Scroll-Animation für Content Video */
.content-video {
  width: 100vw;
  height: 60vh;
  object-fit: cover;
  display: block;

  margin-left: calc(-50vw + 50%);
  margin-top: 80px;
  margin-bottom: 80px;

  border-radius: 0;

  /* Animation Startzustand */
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Wird aktiv, sobald sichtbar */
.content-video.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Drohne Seite – Text zentrieren */
.drohne-page .detail-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Perspektivwechsel Text */
.perspektivwechsel-wrapper {
  display: flex;
  justify-content: center;
  margin: 80px 0 40px;
  min-height: 50px;
}

.perspektivwechsel {
  font-size: 36px;
  font-weight: 600;
  color: #111;
  transform: rotate(180deg);   /* nur auf den Kopf, nicht Großbuchstaben */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #111;
}

/* Sobald sichtbar */
.perspektivwechsel.visible {
  animation: typing 2.5s steps(17) forwards, blink 0.7s step-end infinite;
  opacity: 1;
}

/* Animation Buchstaben tippen */
@keyframes typing {
  from { width: 0ch; }
  to { width: 17ch; } /* 17 Zeichen = „Perspektivwechsel“ */
}

/* blinkender Cursor */
@keyframes blink {
  50% { border-color: transparent; }
}

/* Home CTA – wie auf der Studio-Seite, angepasst */
.home-cta {
  display: flex;
  flex-direction: column;
  align-items: center;      /* Text und Button mittig */
  margin: -300px 0 120px;     /* Abstand oben + unten */
  text-align: center;
}


/* Button */
.home-cta .studio-button {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #111;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #111;
  transition: all 0.3s ease;
}

.home-cta .studio-button:hover {
  background-color: rgba(0,0,0,0.6); /* leicht transparentes Schwarz */
  border-color: transparent;                     /* Rand verschwindet */
  color: #F7F4EA;                   /* Text bleibt weiß */
}



/* ==============================
   STARTSEITE – HERO VIDEO VOLLBREITE
============================== */

.start .hero-video {
  width: 100vw;
  height: 82vh;                     
  margin-left: calc(-50vw + 50%);   /* aus dem 1000px Container rausziehen */
  border-radius: 0;     
  margin-top: -80px           
  margin-bottom: 80px;
  overflow: hidden;
}

.start .hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start .hero-video {
  width: 100vw;
  height: 82vh;
  margin-left: calc(-50vw + 50%);
  border-radius: 0;
  overflow: hidden;

  transform: translateY(-60px);   /* 👈 zieht das Video nach oben */
}

/* Hero Text & Button auf Video */
.video-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.video-overlay-content h2 {
  font-size: 36px;
  font-weight: 400;
  color: #F7F4EA;  /* heller Text wie Hintergrund */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px; /* enger an den Button rücken */
}

.overlay-button {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #F7F4EA;  /* weißer Rand */
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #F7F4EA;             /* Text weiß */
  background-color: transparent;
  transition: none;           /* keine Animation */
}

.overlay-button:hover {
  background-color: rgba(0,0,0,0.6); /* leicht transparentes Schwarz */
  border: none;                     /* Rand komplett verschwunden */
  color: #F7F4EA;                   /* Text bleibt weiß */
}

/* 2-Spalten Fullwidth Grid */
.contact-grid-fullwidth {
  display: grid;
  grid-template-columns: 1fr 1fr; /* gleich große Spalten */
  gap: 60px;
  align-items: stretch;           /* beide Spalten gleiche Höhe */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 60px 60px 120px 60px;
  background-color: #F7F4EA;
}

/* Text über Formular */
.contact-form .contact-intro {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 24px;
}

/* Formular */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%; /* volle Höhe der linken Spalte */
}

/* Inputs & Textarea */
.contact-form label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f2c94c;
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.4);
}

/* Button */
.contact-form button {
  background-color: #111;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #f2c94c;
  color: #111;
  transform: translateY(-2px);
}

/* Portrait rechts */
.contact-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Mobil */
@media (max-width: 900px) {
  .contact-grid-fullwidth {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-left: 0;
    width: 100%;
    padding: 40px 20px 80px 20px;
  }

  .contact-photo-large img {
    max-height: 500px;
    object-fit: cover;
  }
}

/* Grid für Kontakt-Seite */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei gleiche Spalten */
  gap: 60px;                     /* Abstand zwischen Form und Bild */
  max-width: 1100px;
  margin: 0 auto;
}

.contact-left form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Text oberhalb vom Formular */
.contact-intro {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: #111;
}

/* Rechte Spalte */
.contact-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Damit beide Spalten gleiche Höhe haben */
.contact-grid > div {
  display: flex;
  flex-direction: column;
}

/* Mobile Ansicht */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-right img {
    width: 100%;
    height: auto;
  }
}

.contact-form button {
  background-color: #111;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;

  margin-top: 50px;
}

/* Linke Spalte verkleinern & Inhalt nach unten schieben */
.contact-form {
  max-width: 400px;      /* Breite der linken Box */
  margin: 60px auto 0;   /* oben 60px Abstand, unten automatisch zentriert */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Text & Inputs etwas kleiner für feineres Erscheinungsbild */
.contact-form .contact-intro,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button {
  font-size: 14px;       /* kleiner als vorher */
}

/* ------------------------------
   Kontakt-Seite – 2-Spalten Layout
------------------------------ */
.contact-grid-fullwidth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;             /* Inhalte oben ausrichten */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 20px 60px 120px 60px; /* 👈 Oben weniger Abstand (war 40px) */
  background-color: #F7F4EA;
}

.wedding-references {
  padding: 80px 60px;
  margin-top: 140px;
  background-color: #F7F4EA;
  text-align: center;
}

.wedding-references h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.carousel-item {
  min-width: 300px;
  cursor: pointer;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.carousel-item img:hover {
  transform: scale(1.05);
}

.carousel-item p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
}

/* Pfeile */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  color: #111;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  background: #000;
  border-radius: 6px;
}

.modal-content iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 6px;
}

.modal-content .close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 24px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.carousel-item img {
  border-radius: 6px;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.carousel-item img:hover {
  transform: scale(1.03);
  filter: contrast(1.1) saturate(1.1);
}

/* ==========================
   Carousel – Pfeile nur über Bildfläche
========================== */

/* Viewport – Höhe automatisch, damit Text sichtbar bleibt */
.carousel-viewport {
  position: relative;
  overflow: hidden;
  height: auto; /* vorher 200px */
}

/* Track */
.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

/* Bild-Wrapper */
.carousel-item-img-wrapper {
  position: relative;
  width: 300px;
  height: 200px; /* Thumbnail-Höhe */
  overflow: hidden;
  border-radius: 6px;
}

/* Pfeile mittig am Bild */
.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  color: #111;
  z-index: 2;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Bilder exakt auf Wrapper-Höhe */
.carousel-item img {
  height: 100%; /* volle Höhe des Wrappers */
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Text unter dem Bild */
.carousel-item p {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  line-height: 1.2;
}

/* ==========================
   Scroll Fade-In Animation (wie Drohnen-Video)
========================== */

.fade-in-section {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.legal-page h3 {
  margin-top: 2.5rem;
}

.legal-page h4 {
  margin-top: 1.5rem;
}

.legal-page p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

/* ===== Studio Galerie ===== */

.studio-gallery {
    position: relative;
  display: flex;
  flex-direction: column;
  gap: 6vw;                 /* Abstand zwischen den Bildreihen */
  width: 100%;
  padding: 4vw 0;            /* Abstand oben/unten */
}

/* Galerie-Bilder standardmäßig */
.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Studio Bilder Galerie ===== */

.img-5 {
    width: 45vw;
  margin-left: 12vw;
  margin-top: 5vw;
}

/* ===== Mobile Anpassung ===== */
@media (max-width: 768px) {
  .img-5 {
    width: 90vw;        /* Bild füllt fast die gesamte Breite */
    margin-left: auto;
    margin-right: auto;  /* zentriert */
    margin-top: 8vw;     /* kleinerer Abstand auf Mobilgeräten */
  }
}


/* ===== Mobile Anpassung ===== */
@media (max-width: 768px) {
  .studio-gallery {
    gap: 12vw;
    padding: 10vw 0;
  }

  .image-row {
    flex-direction: column;   /* untereinander stapeln auf kleineren Bildschirmen */
    gap: 6vw;
  }

  .image-row .gallery-image {
    width: 90vw;
    margin: 0 auto;
  }
}

/* ------------------------------
   Erste Reihe
------------------------------ */
.image-row {
  display: flex;
  justify-content: center;
  gap: 1vw;           /* minimaler Abstand */
  align-items: flex-start;
  margin-top: -3vw;
}

.image-row .gallery-image {
  width: 28vw;        /* leicht größer */
  flex-shrink: 0;   /* verhindert, dass die Bilder kleiner werden */
}

.image-row img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Zweite Reihe – links + rechts, volle Bildschirmbreite */
.staggered-row {
  display: flex;
  justify-content: space-between; /* linkes Bild links, rechtes Bild rechts */
  align-items: flex-start;
  width: 100vw;                   /* volle Breite des Bildschirms */
  margin-left: calc(-50vw + 50%); /* zieht die Reihe aus dem max-width Container raus */
margin-top: 10vw;
}

.staggered-row .gallery-image {
  width: 48vw;                     /* beide Bilder fast halb so breit */
}

.staggered-row .img-3 {
    margin-top: 8vw;
    width: 45vw;
    }

.staggered-row .img-4 {
  margin-top: -8vw;                 /* leicht nach oben verschoben */
  width: 30vw;
}

/* Dritte Reihe – links + rechts, volle Bildschirmbreite */
.third-row {
  display: flex;
  justify-content: center;
  gap: 1vw;
  align-items: flex-start;
  width: 100vw;                   /* volle Breite des Bildschirms */
  margin-left: calc(-50vw + 60%); /* zieht die Reihe aus dem max-width Container raus */
margin-top: 0vw;
margin-bottom: 0vw;
}


.third-row .img-6 {
    margin-top: 4vw;
    width: 30vw;
    }

.third-row .img-7 {
  margin-top: 4vw;                 
  width: 30vw;
}

/* Grundzustand: unsichtbar und leicht nach unten verschoben */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Wenn sichtbar: normale Position und sichtbar */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Studio Seite Hintergrund ===== */
body.studio-page {
  background-color: #960c26;
}

/* ===== Studio Logo ===== */
.studio-logo {
  display: flex;
  justify-content: center;
  margin-bottom: -1.6vw;   /* Abstand zu den ersten Bildern */
}

.studio-logo img {
  width: 400px;         /* Startgröße – kannst du anpassen */
  max-width: 40vw;      /* bleibt responsive */
  height: auto;
  margin-top: -5vw;
}

/* Text darunter */
.studio-intro-text .intro-text {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 100px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.8;
  font-weight: 300;
  color: #F7F4EA;
  position: relative; /* wichtig für Observer */
}

.studio-intro-text {
  position: relative;
  padding-top: 10vw; /* nur etwas Abstand oben */
  padding-bottom: 50px;
  text-align: center;
  color: #F7F4EA;
}

.studio-intro .intro-title {
  position: relative; /* vorher absolute */
  bottom: auto;
  left: auto;
  transform: none;
  font-size: clamp(2rem, 6vw, 6rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  z-index: 1; /* nicht über den Bildern */
  padding-top: 30vw; /* nur etwas Abstand oben */
}

/* ==============================
   ===== FLOATING ATELIER TEXT =====
============================== */

.atelier-floating {
  position: fixed;
  left: 50%;
  bottom: 40px;

  transform: translateX(-50%) translateY(var(--float-y, 0px));
  width: 100%;
  text-align: center;

  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #F7F4EA;
  pointer-events: none;
  z-index: 9999;

  will-change: transform;
}

/* ------------------------------
   Studio Seite
------------------------------ */

.studio {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 140px;
}

.studio-intro p {
  max-width: 640px;
  margin: 0 auto;
  color: #F7F4EA;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.studio-intro-text {
  position: relative;
  margin-top: 10px;       /* Abstand nach oben – hier kannst du spielen */
  margin-bottom: 20px;    /* Abstand nach unten */
  color: #F7F4EA;
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.8;
  font-weight: 300;
}

@media (max-width: 768px) {
  .studio-intro-text {
    margin-top: 50px;  /* weniger Abstand auf Mobil */
    margin-bottom: 60px;
    font-size: 1.2rem;
  }
}

/* Nutzungsliste */
.studio-uses {
  text-align: center;
  margin-bottom: 50px;
  color: #F7F4EA;
}

.studio-uses h3 {
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #F7F4EA;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.studio-uses ul {
  list-style: none;
  color: #F7F4EA;
  padding: 0;
}

.studio-uses li {
  font-size: 15px;
  margin-bottom: 12px;
  color: #F7F4EA;
  font-weight: 300;
}

/* CTA */
.studio-cta {
  text-align: center;
  padding-bottom: 20px;
  color: #F7F4EA;
}

.studio-button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  border: 1px solid #F7F4EA;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #F7F4EA;
  transition: all 0.3s ease;
}

.studio-button:hover {
  background-color: rgba(0,0,0,0.6); /* leicht transparentes Schwarz */
  border-color: transparent;                     /* Rand verschwindet */
  color: #F7F4EA;                   /* Text bleibt weiß */
}

.fullwidth-image {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.fullwidth-image img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

/* Overlay */
.image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 2rem;
}

.image-overlay h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .fullwidth-image img {
    height: 40vh;
  }
}

/* ============================
   Overlay Typo wie Hero Texte
============================ */

/* Große Headline */
.overlay-headline {
  font-family: inherit;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Subline */
.overlay-subline {
  max-width: 640px;
  margin: 0 auto;
  color: #F7F4EA;

  font-size: 15px;        /* exakt wie .detail-intro p */
  line-height: 1.8;
  font-weight: 300;

  text-align: center;
}

/* ===== Scale Animation für Overlay Text ===== */

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition:
    transform 0.9s cubic-bezier(.22,.61,.36,1),
    opacity 0.6s ease;
  will-change: transform, opacity;
}

.fade-in.visible .scale-in {
  opacity: 1;
  transform: scale(1);
}

/* kleine Verzögerung für eleganten Stagger */
.scale-in.delay {
  transition-delay: 0.15s;
}



/* ==========================
   WEDDINGS – 2 Spalten Fullwidth (50 / 50)
========================== */

.studio-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* exakt halb / halb */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Linke Seite – Video */
.split-video {
  width: 100%;
}

.split-video video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;     /* echtes Hochformat */
  object-fit: contain;    /* KEIN Zuschneiden */
  display: block;
  background: #000;       /* falls Balken entstehen */
}

/* Rechte Seite – Text */
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertikal mittig */
  align-items: center;       /* horizontal mittig */
  text-align: center;

  padding: 4vw;
  color: #111;               /* SCHWARZER TEXT */
  background-color: #F7F4EA; /* sauberer Kontrast */
}

.split-content h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: #111;
}

.split-content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #111;
}

/* Button Styling (schwarz passend zur Seite) */
.split-content .studio-button {
  border-color: #111;
  color: #111;
}

.split-content .studio-button:hover {
  background-color: #111;
  color: #F7F4EA;
}

/* Mobile */
@media (max-width: 900px) {
  .studio-split-grid {
    grid-template-columns: 1fr;
  }

  .split-video video {
    aspect-ratio: 4 / 5;
  }
}

/* Fade-in für Überschrift und Button */
.split-content .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.split-content .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Schreibmaschinen Effekt */
.typing {
  font-family: inherit;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #111;
  width: 0ch; /* Startbreite = 0 Zeichen */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.typing.visible {
  animation: typing 4s steps(69, end) forwards, blink 0.7s step-end infinite; /* 69 Schritte = Textlänge */
  opacity: 1;
}

@keyframes typing {
  from { width: 0ch; }
  to { width: 50ch; } /* 69 Zeichen */
}

@keyframes blink {
  50% { border-color: transparent; }
}


/* Optional: Abstand über/zur Überschrift */
.split-subline {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;  /* wie restlicher Text */
}



/* ==========================
   FOOTER – Clean Layout
========================== */

.site-footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 60px 60px 80px;
  background-color: #F7F4EA;
  border-top: 1px solid #111;
}

/* Inneres Grid */
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 120px;
}

/* Linke Spalte */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-name {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
}

.footer-mail {
  font-size: 13px;
  text-decoration: none;
  color: #111;
  opacity: 0.7;
}

.footer-mail:hover {
  opacity: 1;
}

/* Icons */
.footer-icons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.footer-icons img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-icons img:hover {
  opacity: 1;
}

/* Rechte Spalten */
.footer-links {
  display: grid;
  grid-template-columns: auto auto;
  gap: 80px;
}

/* Navigation */
.footer-nav-main,
.footer-nav-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-main a,
.footer-nav-legal a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-nav-main a:hover,
.footer-nav-legal a:hover {
  opacity: 1;
}

/* Mobile */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* =========================
   VIDEO SHOWCASE – 2 SPALTEN
========================= */

.video-showcase {
  width: 100%;
  padding: 120px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 👈 nur 2 Videos nebeneinander */
  gap: 4vw;
}

/* Video Card */
.video-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.4s ease;
}

.video-item:hover {
  transform: scale(1.02);
}

/* iframe fullscreen */
.video-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================
   INSTAGRAM PREVIEW CARD
========================= */

.video-item.instagram-preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  aspect-ratio: auto;   /* überschreibt die globale Regel */
}

/* erzeugt das 16:9 Seitenverhältnis */
.video-item.instagram-preview::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

/* Thumbnail */
.video-item.instagram-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Overlay */
.video-item.instagram-preview .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(3rem, 5vw, 5rem);
  color: #fff;
  background: rgba(0,0,0,0.35);

  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Hover Effekt */
.video-item.instagram-preview:hover .play-overlay {
  opacity: 1;
}



/* =========================================
   VIDEO OVERLAY TEXT (Fix für Brands Seite)
========================================= */

/* Der Container für den Text */
.video-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Flexbox zentriert den Inhalt perfekt */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  /* Hintergrund: Leicht abgedunkelt für Lesbarkeit */
  background-color: rgba(0, 0, 0, 0.4);
  
  /* Standard: Unsichtbar */
  opacity: 0;
  transition: opacity 0.3s ease;
  
  /* WICHTIG: Z-Index muss höher sein als das Bild */
  z-index: 10; 
  padding: 20px;
}

/* Hover-Effekt: Wenn Maus auf .video-item, dann Text sichtbar */
.video-item:hover .video-text-overlay {
  opacity: 1;
}

/* Typografie für den Titel */
.video-text-overlay h3 {
  color: #F7F4EA;      /* Helle Schrift */
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* Typografie für den Untertitel */
.video-text-overlay p {
  color: #f2c94c;      /* Dein Gelb-Ton */
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 0;           /* Reset */
}

/* Anpassung Play-Overlay (damit es nicht stört) */
.play-overlay {
  z-index: 11; /* Noch über dem Text */
  pointer-events: none; /* Klick geht durch */
}

/* erzeugt das 16:9 Seitenverhältnis */
.video-item.youtube-preview::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

/* Thumbnail */
.video-item.youtube-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback-Abstand, wenn KEIN Video-Showcase folgt (z. B. Drohne) */
main > section:last-of-type {
  margin-bottom: 120px;
}

/* BTS Sektion Design */
.bts-equipment {
  padding-top: 100px;
  padding-bottom: 40px; /* Von 100px auf 40px reduziert */
  background-color: #f9f9f9; /* Ganz leichter Kontrast zum weißen Hintergrund */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.bts-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Video etwas schmaler als Text */
  gap: 80px;
  align-items: center;
  padding: 0 20px;
}

/* Der Video-Rahmen im 9:16 Format */
.bts-video-wrapper {
  max-width: 350px; /* Begrenzt die Breite des Hochkant-Videos */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  justify-self: center; /* Zentriert das Video in seiner Spalte */
}

.bts-video-wrapper video {
  width: 100%;
  display: block;
}

.bts-text .subtitle {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  color: #888;
  display: block;
  margin-bottom: 10px;
}

.bts-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.bts-text p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.equipment-list {
  list-style: none; /* Entfernt die Standard-Punkte */
  padding: 0;
  margin-bottom: 30px;
}

.equipment-list li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.equipment-note {
  font-style: italic;
  font-size: 14px;
  opacity: 0.7;
  padding-top: 30px;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .bts-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .bts-video-wrapper {
    max-width: 280px;
  }
  .equipment-list li {
    padding-left: 0;
  }
  .equipment-list li::before {
    display: none;
  }
}

.custom-video-container {
  position: relative;
  width: 100%;
  line-height: 0;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0; /* Versteckt die Controls standardmäßig */
  transition: opacity 0.3s ease;
}

.custom-video-container:hover .video-controls {
  opacity: 1; /* Zeigt sie beim Drüberfahren (Hover) */
}

.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 0;
  align-self: flex-start;
}

.control-btn img {
  width: 100%;
  filter: invert(1); /* Macht schwarze Icons weiß */
}

/* Die Timeline (Seekbar) */
.timeline-container {
  width: 100%;
}

.video-timeline {
  width: 100%;
  cursor: pointer;
  accent-color: #f2c94c; /* Nici Singer Gelb */
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}

.video-timeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #f2c94c;
}

/* MOBIL: Timeline immer erzwingen */
@media (max-width: 768px) {
  .video-controls {
    opacity: 1 !important; /* Immer sichtbar auf dem Handy */
    pointer-events: auto;
    background: linear-gradient(transparent, rgba(0,0,0,0.5)); /* Dezenter Verlauf */
    padding: 10px; /* Etwas weniger Platzverbrauch mobil */
  }
  
  .video-timeline::-webkit-slider-thumb {
    height: 15px; /* Etwas größerer Punkt, damit man ihn mit dem Finger besser trifft */
    width: 15px;
  }
}

.control-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
}

.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; /* Schön groß und griffig */
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  transform: scale(1.1);
}

.control-btn svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.video-timeline {
  accent-color: #f2c94c;
  height: 6px; /* Timeline etwas dicker für bessere Bedienung */
}

/* Container für die Referenzen */
.references-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.references-masonry {
    /* Erzeugt 3 Spalten auf Desktop */
    column-count: 3;
    column-gap: 20px;
}

.ref-item {
    display: inline-block; /* Wichtig, damit Bilder nicht zerrissen werden */
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px; /* Für die einheitliche Abrundung, wie wir besprochen haben */
    overflow: hidden;
    /* FIX: Verhindert, dass die Ecken beim Hovern "ausbrechen" */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    isolation: isolate; /* Hilft modernen Browsern bei der Maskierung */
}

.ref-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ref-item:hover img {
    transform: scale(1.03);
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .references-masonry {
        column-count: 2; /* 2 Spalten auf dem Handy, damit es nicht zu klein wird */
        column-gap: 15px;
    }
}

@media (max-width: 480px) {
    .references-masonry {
        column-count: 1; /* 1 Spalte auf ganz kleinen Displays */
    }
}

.team-showcase {
    padding: 80px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Video links, Text rechts */
    gap: 60px;
    align-items: center;
}

.team-video-wrapper {
    width: 100%;
    max-width: 400px; /* Begrenzt die Breite für das 9:16 Format */
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    justify-self: center; /* Zentriert das Video in seiner Spalte */
}

.portrait-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.category-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0.6;
    display: block;
    margin-bottom: 10px;
}

.role-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.role-list li {
    font-size: 18px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-weight: 300;
    margin-top: 30px;
}

/* Kleiner Punkt vor den Rollen */
.role-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #F7F4EA;
    border-radius: 50%;
}

/* Mobil-Ansicht: Video oben, Text unten */
@media (max-width: 768px) {
    .team-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-showcase {
        padding: 60px 20px;
    }
}

/* Speziell für das Video ohne Buttons */
.only-timeline {
    padding: 15px !important; /* Etwas weniger Padding unten */
}

.only-timeline .timeline-container {
    width: 100%; /* Timeline nutzt jetzt die volle Breite */
    margin: 0;
}

/* Falls du die Timeline noch feiner haben willst */
.video-timeline {
    cursor: pointer;
    height: 4px;
}

/* Container für den Kontakt-Bereich */
.studio-contact {
    padding-top: 0;      /* Von 100px auf 0 reduziert */
    padding-bottom: 100px;
    text-align: center;
    background-color: transparent; /* Bleibt im dunklen Stil der Home-Seite */
}

.studio-contact-content h3 {
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F7F4EA;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Der Button im Studio-Stil */
.cta-button {
    background-color: #111;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.04em;
    font-weight: 500;
    padding: 16px 32px;
    border: 1px solid rgba(247, 244, 234, 0.3); /* Leichter Rahmen für Eleganz */
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, border 0.3s ease;
}

.cta-button:hover {
    background-color: #F7F4EA;
    color: #111;
    transform: translateY(-2px);
    border-color: #F7F4EA;
}

/* Die gesamte Sektion ohne seitliches Padding für die Karte */
.studio-map-fullwidth {
    width: 100%;
    margin-top: 100px; /* Abstand nach den Referenzen */
}

.map-wrapper-full {
    width: 100vw;       /* Volle Viewport-Breite */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;     /* Verhindert kleine Lücken unter dem Iframe */
    filter: grayscale(1) invert(0.9) contrast(1.2); /* Dein edler Dark-Look */
    transition: filter 0.6s ease;
}

.map-wrapper-full:hover {
    filter: grayscale(0.2) invert(0) contrast(1);
}

.map-wrapper-full iframe {
    display: block;
    width: 100%;
}

/* Die Adresse zentriert unter der Karte */
.address-footer-info {
    padding: 40px 20px;
    text-align: center;
}

.address-footer-info p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #F7F4EA;
    opacity: 0.7;
    margin: 0;
}

.bts-carousel-section {
    padding: 80px 0;
    background-color:  #000000;;
    text-align: center;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #000000;;
    overflow: hidden; /* Versteckt die Bilder, die gerade nicht dran sind */
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smarter Swipe-Effekt */
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    background-color:  #000000;;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    max-width: 100%;
    background-color:  #000000;;
    max-height: 70vh; /* Verhindert, dass Hochformatbilder den Bildschirm sprengen */
    width: auto;      /* Behält das Seitenverhältnis bei */
    height: auto;
    border-radius: 2px;
}

/* Die Dots */
.carousel-dots {
    margin-top: 30px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.3); /* Dein Beige, aber transparent */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #f2c94c;
    transform: scale(1.3);
}

.personal-approach {
  background-color: #000;
  width: 100%;
  padding: 80px 0;
  position: relative;
  z-index: 5;
  display: block !important; /* Verhindert, dass es durch andere Klassen versteckt wird */
  opacity: 1 !important;    /* Falls der Observer hakt */
  transform: none !important;
}

.approach-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 40px;
}

.approach-text h3 {
  font-size: 26px;
  color: #F7F4EA;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.approach-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 15px;
}

.approach-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Kategorie-Label Style */
.category-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247, 244, 234, 0.5);
  margin-bottom: 10px;
}

/* Mobile Optimierung */
@media (max-width: 900px) {
  .approach-container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 30px;
  }
}

/* Nur die Über-Mich Seite schwarz färben */
body.ueber-mich-page, 
main.about {
    background-color: #000 !important;
}

/* Spezifisches Styling für den zweiten Block */
.equipment-travel {
    padding-top: 0 !important; /* Etwas weniger Abstand nach oben, da der Block davor schon Abstand hat */
    margin-top: -40px; 
}

/* Optimierung für das Hochformat-Bild */
.portrait-format img {
    max-width: 85%; /* Macht das Bild etwas schmaler, damit es nicht zu hoch wirkt */
    margin-left: auto; /* Schiebt es nach rechts */
    display: block;
    height: auto;
    object-fit: cover;
}

/* Responsive Fix für Mobilgeräte */
@media (max-width: 900px) {
    .portrait-format img {
        max-width: 100%; /* Auf dem Handy darf es wieder die volle Breite nehmen */
        margin: 0 auto;
    }
}

/* Der Button auf der Über Mich Seite*/
.ueber-mich-cta-container {
    display: flex;
    flex-direction: column;   /* Text oben, Button unten */
    align-items: center;      /* Horizontal zentrieren */
    justify-content: center;  /* Vertikal zentrieren */
    text-align: center;       /* Text innerhalb der Zeilen zentrieren */
    padding: 10px 20px 160px 20px; /* Oben 20px, Rechts 20px, Unten 80px, Links 20px */
    background-color: #000;
    width: 100%;
}

.ueber-mich-cta-container p {
    color: #F7F4EA;
    font-size: 18px;
    margin-bottom: 30px;      /* Abstand zum Button */
    max-width: 600px;         /* Verhindert zu lange Zeilen */
}

/* Der eigentliche Button*/
.ueber-mich-cta-button {
    display: inline-block;
    padding: 16px 45px;
    border: 1px solid #F7F4EA;
    color: #F7F4EA;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    transition: all 0.4s ease;
    background: transparent;
}

.ueber-mich-cta-button:hover {
    background-color: #F7F4EA;
    color: #000;
}