/* Globale Stile */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

/* Kopfzeile */
.Kopfzeile {
    display: flex;
    border-bottom: 0.5px solid #808080;
    justify-content: space-between;
    max-width: 100%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.Logos {
    margin-top: 20px;
}

.DPSG {
    height: 50px;
    margin-left: 5px;
}

.Pfarrei {
    height: 50px;
    margin-right: 5px;
}

/* Navigation */
nav {
    height: 90px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.nav-list li {
    margin: 0 20px;
    white-space: nowrap;
}

.nav-list li a {
    color: black;
    font-size: 15px;
    text-decoration: none;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.logo img {
    height: 40px;
}

/* Hamburger-Menü */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 5px;
}

/* Hero Sektion */
.hero {
  position: relative;
  padding: 120px 20px 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("images/Hintergrundbild.png");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  z-index: 1;
  overflow: hidden;
}

/* dunkles Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Inhalte über dem Overlay */
.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  color: inherit;
}

.hero h2 {
  font-size: 2rem;
  margin: 5px 0;
  color: inherit;
}

.hero p {
  font-size: 1.5rem;
  margin: 10px 0 5px;
  color: inherit;
}
.News {
    padding: 50px 20px;
    text-align: center;
    background-color: #ffe3e3;
    color: #000000;
    border-color: red;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    margin-top: 5px;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 5px;
    padding: 20px;
}
/* Footer */
footer {
    padding: 20px;
    background-color: #f4f4f4;
    color: #000000;
    font-size: 0.9rem;
  }
  
  .footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .footer-logo-container img {
    border-radius: 50%;
    background-color: white;
    padding: 5px;
    box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.2);
  }
  
  .footer-pfarrei-logo {
    max-width: 50px;
    height: auto;
  }
  
  .footer-dpsg-logo,
  .footer-zela-logo {
    max-width: 120px;
    height: auto;
  }
  
  .footer-address-logos {
    background-color: #ffffff;
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

/* Medienabfragen */
@media (max-width: 1150px) {
    nav {
        flex-direction: column;
        position: relative;
        z-index: 1000;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: all 0.3s ease-in-out;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-item {
        position: relative;
        order: -1;
        margin-bottom: 15px;
    }
}

@media (max-width: 1250px) {
    .Überschrift {
        font-size: 3.5rem;
    }
    .hero p {
        font-size: 1.8rem;
    }
}

@media (max-width: 900px) {
    .Überschrift {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 700px) {
    .Überschrift {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .Überschrift {
        font-size: 1.2rem;
    }
    .hero p {
        font-size: 0.8rem;
    }
}
/* Team Galerie & Bereich */
.team-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.team-section h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.5em;
}

/* Gruppenbild (Oberhalb der Galerie) */
.team-group-image {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.team-group-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.team-group-title {
    margin: 18px 0 0;
    font-size: 1.6em;
    text-align: center;
    color: #222;
    font-weight: 700;
}

/* Galerie Grid Layout */
.team-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Team-Karten */
.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.team-card-info {
    padding: 20px;
    text-align: center;
}

.team-card-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.team-card-role {
    font-size: 0.95em;
    color: #666;
    margin: 5px 0 0 0;
    font-style: italic;
}

/* Hinweis, falls keine Bilder vorhanden sind */
.no-images-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
    .team-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .team-card-image {
        height: 200px;
    }
}

.about-us, .Tagesablauf {
  padding: 40px 20px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
}

.about-us h2, .Tagesablauf h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  text-align: justify;
}

.Teil1, .Teil2, .Teil3 {
  flex: 1;
  margin: 0;
  padding: 10px;
  background-color: #ebebeb;
}
.Teil1 h2, .Teil2 h2, .Teil3 h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
}
.Teil1 {
  flex: 1;
  margin: 0;
  padding: 10px;
 
  border-radius: 10px;

  /* 1. Schicht (Innen): 4px Grün als echter Rahmen */
  border: 4px solid hwb(138 75% 0%);

  /* 2. & 3. Schicht (Außen): Weiß und Grün über Box-Shadows */
  box-shadow: 
    0 0 0 4px hwb(0 100% 0%),   /* 4px Weiß direkt um den Border */
    0 0 0 8px hwb(138 75% 0%);  /* 8px (4px Weiß + 4px Grün) für den äußeren Rand */
}


.Teil2{
  flex: 1;
  margin: 0;
  padding: 10px;
  
  border-radius: 10px;

  /* 1. Schicht (Innen): 4px Grün als echter Rahmen */
  border: 4px solid hwb(181 75% 0%);

  /* 2. & 3. Schicht (Außen): Weiß und Grün über Box-Shadows */
  box-shadow: 
    0 0 0 4px hwb(0 100% 0%),   /* 4px Weiß direkt um den Border */
    0 0 0 8px hwb(181 75% 0%);
}
.Teil3{
  flex: 1;
  margin: 0;
  padding: 10px;
  
  border-radius: 10px;

  /* 1. Schicht (Innen): 4px Grün als echter Rahmen */
  border: 4px solid hwb(213 75% 0%);

  /* 2. & 3. Schicht (Außen): Weiß und Grün über Box-Shadows */
  box-shadow: 
    0 0 0 4px hwb(0 100% 0%),   /* 4px Weiß direkt um den Border */
    0 0 0 8px hwb(213 75% 0%);
}
/* Mobile Ansicht: Spalten untereinander */
@media (max-width: 768px) {
  .about-columns {
    flex-direction: column;
    gap: 10px;
  }

  .about-columns p {
    text-align: left;
  }
}
hr { 
    border: none;
    height: 4px; /* Dicke der Linie in der Mitte */
    background-image: linear-gradient(to right, transparent, #00ff59, transparent);
    width: 90%;   /* Breite der Linie anpassen */
    margin: 20px auto; /* Abstand nach oben/unten und zentrieren */
}
.Tagesablauf img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 
}
.Tagesablauf h2 {
  font-size: 2rem;
  margin-bottom: 20px;
 padding: 5px;
  color: #333;
  text-align: center;
}

.Tagesablauf {
margin-top: 10px;
  padding: 40px 20px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
}
.Mottos {
  padding: 40px 20px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
}