﻿html, body {
margin: 0;
padding: 0;
width: 100%;
background-color: #f7f5f0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
box-sizing: border-box;
scroll-behavior: smooth;
}

body {
  display: block;
}

.main-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 15px;      
  padding: 15px 0; /* Sprachauswahl am oberen Rand */
}

/* ==========================================================================
   2. SPRACHUMSCHALTER & LOGO 
   ========================================================================== */
.lang-switch-bar {
  width: 100%;
  text-align: center;
  font-size: 11px;     
  letter-spacing: 2px; 
  font-weight: 500;
  text-transform: uppercase;
  flex-shrink: 0; 
  padding-top:2%;  
}

.lang-link {
  color: #2c251e;      
  text-decoration: none;
  opacity: 0.4;        
  transition: opacity 0.25s ease;
  display: inline-block;
  padding: 0 4px;
}

.lang-link:hover {
  opacity: 0.8;
}

.lang-link.active {
  opacity: 1;
  font-weight: 700;    
}

.lang-divider {
  color: #2c251e;
  opacity: 0.2;
  font-weight: 300;
  user-select: none;   
}

/* ==========================================================================
   2. LOGO-STYLING 
   ========================================================================== */
.logo-wrapper {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 5px 0;
flex-shrink: 0;
box-sizing: border-box;
}

.logo-combined {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
}

.logo-text {
font-size: clamp(28px, 6.8vw, 70px);
}

.logo-graphic {
  height: 55px;      
  width: auto;
  opacity: 0.9;
  filter: brightness(0.15); 
}

/* ==========================================================================
   (AB TABLET: 768px BREITE)
   ========================================================================== */
@media (min-width: 768px) {
  .logo-combined {
    flex-direction: row; /* Wechsel auf großen Bildschirmen in die Horizontale */
    gap: 20px;           
    align-items: center;
  }
  
  .logo-graphic {
    height: 60px;        /* Auf dem Desktop: Logo minimal größer */
  }
}

/* ==========================================================================
   3. TYPOGRAFIE 
   ========================================================================== */
.box-content {
  max-width: 540px; 
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Zwingt Textkomponenten linksbündig */
  text-align: left;        /* Garantiert den linken Textstart */
  gap: 20px;               
  box-sizing: border-box;
  padding-top:5%;
  padding-bottom:5%;
}

.meta-tag {
  font-size: 13px;
  opacity: 0.65;
  position: relative;
  padding-left: 35px;      /* Platz für die feine Design-Linie */
  
}

.meta-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 25px;
  height: 1px;
  background-color: currentColor; 
  opacity: 0.5;
}

.box-content h1,
.box-content h2 {
  font-family: "Playfair Display", "Georgia", "Cambria", serif;
  font-size: clamp(26px, 4.5vw, 44px); 
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.box-content p,
.box-content li {
  font-size: clamp(17px, 2vw, 17px);
  font-weight: 300;
  line-height: 1.65; 
  margin: 0;
  opacity: 0.8;
}

.box-content small {
  font-size:smaller;
  font-style: italic;
}

@media (max-width: 767px) {
 .box-content {
   padding: 0 15px; 
  }
}

/* ==========================================================================
   4. GERÜST (MOBILE-STYLING)
   ========================================================================== */


.scroll-box {
  width: 100%;
  height: auto;
  min-height: 250px;
  max-height: none;
  overflow: visible;
  }


/* ==========================================================================
   5. DESKTOP & MITTLERE BILDSCHIRME (AB TABLET: 768px BREITE)
   ========================================================================== */
@media (min-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  body {
    display: block;
  }

  .main-page-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    padding: 0;
  }
    
  .box-content {
    margin-left: 8%; 
  }
}

    /* ==========================================================================
     OPTIMIERTE TEXT-BOX MIT DEZENTEM SCROLL-INDIKATOR
     ========================================================================== */
  .scroll-box {
    width: 100%; 
    height: auto; 
    overflow-y: auto;        /* Vertikales Scrollen erlauben */
    padding: 60px 50px 60px 40px; /* Rechts Platz für den Balken */
    box-sizing: border-box;
    display: block;          /* Startet Text immer sicher ganz oben */
    
    /* Aktiviert weiches Scrollen mit dem Finger auf Tablet-Touchscreens */
    -webkit-overflow-scrolling: touch; 
    border-radius: 16px; 
  }

  .scroll-box .box-content {
    margin: 0 auto; 
  }

  /* 
     DER INNERE TEXT-SCROLLBALKEN
     Breite leicht erhöht (8px), damit er auf Tablets mit dem Finger gut sichtbar ist.
  */
  .scroll-box::-webkit-scrollbar {
    width: 8px;
    display: block !important; /* Garantiert, dass er nicht versteckt wird */
  }

  /* Die Hintergrund-Schiene, auf der sich der Balken bewegt */
  .scroll-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03); 
    border-radius: 10px;
  }

  /* Der bewegliche Balken (Thumb) im Kapsel-Design */
  .scroll-box::-webkit-scrollbar-thumb {
    background: rgba(44, 37, 30, 0.25); /* abgestimmter Erdtone-Griff */
    border-radius: 10px;
    border: 2px solid transparent; /* Erzeugt optischen Abstand */
    background-clip: padding-box;
    transition: background 0.2s ease;
  }

  /* dunkler, wenn man mit der Maus drüberfährt */
  .scroll-box::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 37, 30, 0.5);
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  /* 
     ANPASSUNG AN DUNKLE BOXEN:
  */
  .scroll-box.c-deepteal::-webkit-scrollbar-thumb,
  .scroll-box.c-darkearth::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
  }
  .scroll-box.c-deepteal::-webkit-scrollbar-thumb:hover,
  .scroll-box.c-darkearth::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
  }



/* ==========================================================================
   6. FARB-PALETTE
   ========================================================================== */
.c-deepteal   { background-color: #00546A; color: #ffffff; }
.c-sand       { background-color: #e6dfd3; color: #2c251e; }
.c-sage       { background-color: #768C76; color: #ffffff; }
.c-darkearth  { background-color: #2e251f; color: #ffffff; }

.scroll-box.c-darkearth{margin-bottom:5%}
.logo-text {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 6.8vw;          
  font-weight: 300;
  color: #333333;            
  letter-spacing: 0.6vw;   
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;       
}

.flipped-l {
  display: inline-block;
  transform: rotate(180deg); 
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  
  position: relative;
  /* Schiebt die Ls immer exakt proportional nach unten */
  top: 0.9vw; 
}

.l-first {
  margin-left: -1.8vw;       /* Holt das L proportional näher an das 'a' */
  margin-right: -0.8vw;      /* Steuert den Spalt zwischen den beiden L */
}

.l-second {
  margin-right: 0.6vw;       /* Drückt das 'e' proportional nach rechts weg */
}

@media (max-width: 767px) {
 .flipped-l {
  top: 0vw; 
  }
}

/* ==========================================================================
   COLLAGEN-BOX 
   ========================================================================== */
.collage-layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* Smartphone: Bild oben, Text unten */
  gap: 30px;
  box-sizing: border-box;
  z-index: 5; 
}

.collage-image-wrapper {
  width: 100%;
  height: 250px; /* Standardhöhe auf mobilen Geräten */
  border-radius: 8px;
  overflow: hidden;
}

.collage-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Verhindert Verzerrungen des Fotos */
}

/* ==========================================================================
   STYLING TABLET / DESKTOP (AB 768px BREITE)
   ========================================================================== */
@media (min-width: 768px) {
  .c-collage-box .collage-layout {
    flex-direction: row; /* Desktop: nebeneinander aufteilen */
    align-items: center;
    justify-content: space-between;
    padding: 0 6% 0 4%; /* Platzhalter für das verschobene Bild */
  }

  .c-collage-box .collage-image-wrapper {
    width: 42%;
    height: 85%; /* Nutzt fast die volle vertikale Box-Höhe */
    margin-left: -15px; /* Bild ragt über den Rahmen hinaus */
    box-shadow: 0 15px 30px rgba(44, 37, 30, 0.15); 
    border-radius: 12px;
    transition: transform 0.4s ease; /* Bereitet Hover-Effekt vor */
  }

  .c-collage-box .collage-image-wrapper:hover {
    transform: translateY(-5px) scale(1.01);
  }

  /* Der Textbereich bekommt auf dem Desktop die rechte Hälfte der Box */
  .c-collage-box .box-content {
    width: 48%;
    margin-left: 0; /* Verhindert doppelte Einrückung */
  }
}


/* ==========================================================================
   ANPASSUNG: COLLAGE AUF ERDFARBEN-HINTERGRÜNDEN
   ========================================================================== */
.scroll-box {
  position: relative;
}
/* Erzeugt die Rahmenlinie auf farbigen Boxen */

.scroll-box::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

.c-deepteal::after,
.c-sage::after,
.c-darkearth::after {
  border: 1px solid rgba(255,255,255,0.12);
}

.c-sand::after {
  border: 1px solid rgba(44,37,30,0.10);
}


@media (min-width: 768px) {
  /* Passt das Foto auf farbigem Hintergrund an */
  .scroll-box.c-collage-box .collage-image-wrapper {
   box-shadow: 0 20px 40px rgba(44, 37, 30, 0.25); 
   filter: sepia(0.15) contrast(1.05); 
  }
}

/* ==========================================================================
   CSS FADE-IN ANIMATION BEIM SCROLLEN (NUR FÜR DESKTOP/TABLET)
   ========================================================================== */
@media (min-width: 768px) {
  @keyframes fadeUpIn {
    from {
      opacity: 0;
      transform: translateY(30px); /* Startet 30px weiter unten */
    }
    to {
      opacity: 1;
      transform: translateY(0);    
    }
  }

  .box-content {
    animation: fadeUpIn linear both;
    animation-timeline: view(horizontal);
    animation-range: entry 10% contain 40%;
  }
}

/* ==========================================================================
   VOLLFLÄCHIGE BILD-BOX (OHNE TEXT)
   ========================================================================== */
.c-full-image-box {
padding: 0;
overflow: hidden;
background-color: #f7f5f0;
}

/* Das Cover-Bild selbst */
.full-cover-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
display: block;
border-radius: 16px; 
}

/* Smartphone-Spezifisch: feste Höhe */
@media (max-width: 767px) {
  .c-full-image-box {
    height: 500px; /* Erzeugt großzügiges, mobiles Bild-Banner */
  }
}

/* ==========================================================================
   CSS AKKORDEON (FARB-OPTIMIERT FÜR HELL & DUNKEL)
   ========================================================================== */
.legal-accordion {
  width: 100%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
}

/* Das einzelne Akkordeon-Element mit flexibler Trennlinie */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
  padding: 5px 0;
  transition: all 0.3s ease;
}

.c-sand .accordion-item {
  border-bottom-color: rgba(44, 37, 30, 0.15);
}

.accordion-header {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: currentColor; 
  padding: 15px 0;
  cursor: pointer;
  list-style: none; 
  display: flex;
  justify-content: space-between; 
  align-items: center;
  user-select: none;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-header:hover {
  opacity: 1;
}

/* Der kleine Pfeil am rechten Rand */
.accordion-header .arrow {
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Wenn das Akkordeon geöffnet wird, bleibt es voll sichtbar und der Pfeil rotiert */
.accordion-item[open] .accordion-header {
  opacity: 1;
}
.accordion-item[open] .accordion-header .arrow {
  transform: rotate(90deg); 
}

/* Der ausklappbare Textbereich (Schriftfarben passen sich durch Vererbung ebenfalls an) */
.accordion-body {
  padding: 10px 0 25px 0;
  animation: slideDownIn 0.3s ease-out both;
}

@keyframes slideDownIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.accordion-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  margin: 0 0 15px 0;
  opacity: 0.85;
}
.accordion-body p:last-child {
  margin-bottom: 0;
}

.lang-link {
  opacity: 0.4; 
  display: inline-block;
  padding: 0 4px;
}
.lang-link.active {
  opacity: 1;
  font-weight: 700; 
}


/* ==========================================================================
   LOOK FÜR ALLE LINKS UND BUTTONS
   ========================================================================== */
a, 
button, 
.lang-link {
  color: currentColor !important; 
  text-decoration: none;          
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

a:hover, 
button:hover, 
.lang-link:hover {
  opacity: 1 !important;
}

/* ==========================================================================
   9. BILDERGALERIE 
   ========================================================================== */
.minimal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Smartphone: 2 Spalten nebeneinander */
  gap: 15px;                             /* Zwischenraum zwischen den Fotos */
  width: 100%;
  margin-top: 10px;
}

/* Das einzelne Vorschaubild im Raster */
.gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1;                  /* Erzwingt Quadrate */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(44, 37, 30, 0.08);
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;                    /* Verhindert Verzerrungen der Vorschau */
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);               /* Zoom-Effekt beim Hovern */
  filter: brightness(1.03) contrast(1.02);
}

/* ==========================================================================
   CSS-BASIERTE VOLLBILD-VORSCHAU (LIGHTBOX)
   ========================================================================== */
.gallery-lightbox {
  display: none; 
  position: fixed !important;
  
  /* Zwingt das Fenster auf allen PCs an den absoluten Nullpunkt des Monitors */
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(28, 24, 20, 0.97); 
  transform: translate(0, 0) !important; 
  z-index: 99999 !important; 
  box-sizing: border-box;
}

/* Aktivierung bei Klick auf ein Bild */
.gallery-lightbox:target {
  display: flex !important; 
  justify-content: center;
  align-items: center;
  animation: fadeInLightbox 0.25s ease-out both;
}

@keyframes fadeInLightbox {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Das Foto im Vollbildmodus */
.gallery-lightbox img {
  max-width: 85%;
  max-height: 80vh; 
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  margin: auto !important; 
}

/* DER SCHLIESSEN-BUTTON (X) */
.lightbox-close {
  position: fixed !important; 
  top: 40px !important;
  right: 40px !important;
  width: 44px;
  height: 44px;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
  color: #f7f5f0 !important; 
  opacity: 0.6;
  text-decoration: none !important;
  z-index: 100000 !important; 
  cursor: pointer !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   DESKTOP/TABLET (AB 768px BREITE)
   ========================================================================== */
@media (min-width: 768px) {
  .minimal-gallery {
    grid-template-columns: repeat(4, 1fr); /* Desktop: Alle 4 Bilder auf einer Linie */
    gap: 20px;
  }
  
  .gallery-item {
    border-radius: 12px;
  }

  .gallery-lightbox img {
    max-height: 85vh; 
    border-radius: 12px;
  }
}

/* Smartphone-Optimierung für das Schließen-X */
@media (max-width: 767px) {
  .lightbox-close {
    top: 20px !important;
    right: 20px !important;
    font-size: 30px;
  }
}

a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.8em;
    vertical-align: super;
}

/* ==========================================================================
   Songs
   ========================================================================== */
.song-item {
cursor: pointer;
display: flex;
align-items: center;
gap: 12px;
padding: 8px 0;
}

.play-icon {
width: 20px;
text-align: center;
opacity: 0.25;
transition: opacity 0.25s ease;
}

.song-item:hover .play-icon {
opacity: 1;
}

.song-title {
font-size: inherit;
font-weight: 300;
line-height: 1.65;
}

.song-item audio {
display: none;
}

@media (max-width: 767px) {
.play-icon {
opacity: 0.25;
}
}