﻿body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #F9F9F9;
  color: #2A2A2A;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}


img {
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

/* -------------------------------------------------
   Header & Navigation
------------------------------------------------- */
.header {
  display: flex;
  align-items: center;              /* vertikal perfekt ausgerichtet */
  flex-wrap: nowrap;                /* verhindert jeden Umbruch */
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav ul {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;     /* verhindert Umbruch der Links */
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #2A2A2A;
  font-weight: 500;
}

.nav a:hover {
  color: #C46A4A;
}

/* -------------------------------------------------
   Hero-Bereich
------------------------------------------------- */
.hero {
position: relative;
min-height: 65vh;
background: url("img/Geschwister-Haller_4.webp") center center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #ffffff;
}

.hero-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.25);
z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
padding: 2rem;
}

/* Smartphone */
@media (max-width: 767px) {
.hero {
background-image: url("img/Geschwister-Haller_5_kl.webp");
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
background-color: #3b3b3b;
}
}

.hero h1 {
  font-family: "Inconsolata", serif;
  font-weight: 200;
  letter-spacing: 0;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

.hero img {
  width: 100%;
  max-width: 2400px;
  height: auto;
}

/* -------------------------------------------------
   Intro
------------------------------------------------- */
.intro {
  padding: 3rem 1.5rem;
  text-align: center;
  background: #ffffff;
}

.intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* -------------------------------------------------
   Über uns
------------------------------------------------- */
.about {
  padding: 3rem 1.5rem;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 1800px;
  height: auto;
  object-fit: cover;
}

.about ul {
  list-style:none;
  padding: 0;            /* Entfernt den automatischen Einzug nach links */
  margin: 0;             /* Entfernt Standard-Abstände */
}

/* -------------------------------------------------
   Musik 
------------------------------------------------- */
.chor {
  padding: 3rem 1.5rem;
  background: #F3EDE4;
}

.chor-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;

  align-items: center;
  justify-content: center;

  gap: 2rem;
}

/* Smartphone */

.chor-images {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 15px;
}

.chor-images img {
  width: 90%;
  max-width: 320px;

  height: auto;

  display: block;

  object-fit: cover;

  border-radius: 12px;
}

/* Desktop */

@media (min-width: 768px) {

  .chor-images {

    width: 55%;

    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: flex-end;

    gap: 15px;

    margin: 0 auto;
  }

  .chor-images img {

    width: 30%;

    max-width: 220px;

    object-fit: cover;

    border-radius: 12px;
  }

  .chor-images img:nth-child(1) {
    height: 280px;
  }

  .chor-images img:nth-child(2) {
    height: 360px;
  }

  .chor-images img:nth-child(3) {
    height: 320px;
  }

}


/* ==================================================
   DREIER-BILDGRUPPE
   ================================================== */

/* Smartphone */
.chor-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.chor-images img {
  width: 90%;
  max-width: 320px;
  height: auto;

  display: block;

  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(44, 37, 30, 0.12);
}

/* Desktop */
@media (min-width: 768px) {

  .chor-images {
    width: 70%;

    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: flex-start;

    gap: 18px;

    margin: 0 auto;
  }

  .chor-images img {
    width: 32%;
    max-width: 280px;

    height: auto;

    border-radius: 12px;

    box-shadow: 0 12px 25px rgba(44, 37, 30, 0.15);
  }

}

/* -------------------------------------------------
   Tradition
------------------------------------------------- */
.tradition {
  padding: 3rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.tradition-grid {
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tradition-card img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
}

.tradition-card {
  background: #F9F9F9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex: 1 1 260px;
  text-align: left;
}

/* -------------------------------------------------
   Kontakt
------------------------------------------------- */
.kontakt {
  padding: 3rem 1.5rem;
  background: #F3EDE4;
}

.kontakt-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.kontakt ul {
  list-style: none;
  padding: 0;
}

.kontakt-image img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  object-fit: cover;
}

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: #1F3D2B;
  color: #F3EDE4;
}

/* -------------------------------------------------
   Responsiv
------------------------------------------------- */
@media (max-width: 768px) {
  .hero {
    min-height: 55vh;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}


.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;
}
}

.open-link {
  color: #F3EDE4;
  text-decoration:none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(20, 20, 20, 0.95);
  color: #f8f9fa;
  z-index: 9999;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  
  /* Verstecken */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 60px 20px;
  box-sizing: border-box;
}

.overlay:target {
  opacity: 1;
  pointer-events: auto;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 50px;
  color: #bbb;
  text-decoration: none;
  z-index: 10000;
  line-height: 1;
}

.close-btn:hover {
  color: #fff;
}

.overlay-content {
  max-width: 600px;
  width: 100%;
  margin: auto;
  text-align: left;
  font-weight: 100;
  -webkit-font-smoothing: antialiased; /* Macht die Schrift auf Mac/iOS sauberer */
  -moz-osx-font-smoothing: grayscale;  /* Macht die Schrift auf Firefox/Mac sauberer */
}


