body {
    font-family: 'Segoe UI', 'Roboto', 'Open Sans', 'Lato', 'Montserrat', Arial, sans-serif;
    background: #123b89;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.teams-layout {
    display: flex;
    flex: 1; /* <-- Das sorgt dafür, dass der Bereich wächst */
    min-height: 60vh;
}

.header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 10px 40px;
    background-color: #DC052D;
    justify-content: flex-start; /* statt space-between */
}

.bildquelle {
  font-size: 0.8em;
  color: #666;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 20px;
}

.Logo {
    height: 140px; /* Optional: etwas kleiner */
    width: auto;
    margin-right: 40px;
    border-radius: 12px;
    border: #ffffff 2px solid;
}

.navigation {
    /* flex: 1;  <-- Entfernen */
    display: flex;
    justify-content: flex-start; /* Links ausrichten */
    margin-left: 60px; /* Abstand zum Logo, nach Wunsch anpassen */
}

nav ul {
    gap: 40px;
    font-size: 1.3rem;
    list-style: none;
}

nav li {
    display: inline;

}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 8px 16px;
    transition: background 0.2s;
}

nav a:hover {
    background: #ffffff;
    color: black;
    border-radius: 4px;
}

.content {
    max-width: 800px;
    margin: 30px auto;
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    flex: 1;
}

.text-bereich {
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
}

.text-bereich strong {
    display: block;
    margin-top: 24px;
    font-size: 1.2em;
    color: #e2001a;
    letter-spacing: 1px;
}
.text-bereich img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}
.titel {
    font-size: 1.5em;
    color: #e2001a;
    font-weight: bold;
}

.text-bereich br {
    line-height: 2.2;
}

.text-bereich ul, .text-bereich ol {
    margin: 12px 0 12px 24px;
}

.text-bereich {
    font-size: 1rem;         /* Schriftgröße */
    line-height: 1.7;        /* Zeilenabstand für bessere Lesbarkeit */
    color: #222;             /* Textfarbe (dunkelgrau) */
    /* Optional: Listen für Titel schöner machen */
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #DC052D;
    color: #ffffff;
    font-size: 0.9em;
}

.feedback-dropdown {
    position: relative;
}

.feedback-dropdown > a {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    right: 0;
    top: 100%;
    border-radius: 6px;
    padding: 0;
    margin: 0;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    display: block;
    color: #222;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: normal;
}

.dropdown-content a:hover {
    background: #DC052D;
    color: #fff;
}

.teams-layout {
    display: flex;
    min-height: 60vh;
}
 
main.timeline {
  position: relative;
  padding: 40px 0;
  width: 100%;
}
 
main.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #DC052D;
  z-index: 0;
}
 
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  margin: 40px 0;
}
 
.timeline-item.left {
  left: 0;
  text-align: right;
}
 
.timeline-item.right {
  left: 50%;
  text-align: left;
}
 
.content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1;
}
 
.timeline-item img {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}
 
.timeline-item.left .content::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -10px;
  border: 10px solid transparent;
  border-left-color: #fff;
}
 
.timeline-item.right .content::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -10px;
  border: 10px solid transparent;
  border-right-color: #fff;
}
 
.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background-color: #DC052D;
  border-radius: 50%;
  z-index: 2;
}
 
.timeline-item.left::before {
  right: -8px;
}
 
.timeline-item.right::before {
  left: -8px;
}

/* Sticky Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #DC052D;
    padding: 40px 0;
    transition: padding 0.3s, min-height 0.3s;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: flex-start;
}

/* Logo im Header */
.header .Logo {
    height: 100px;
    transition: height 0.3s;
}

/* Navigation Links */
.header nav a {
    font-size: 22px;
    transition: font-size 0.3s;
}

/* Sticky Zustand */
.header.shrink {
    padding: 10px 0;
}

.header.shrink .Logo {
    height: 60px;
}

.header.shrink nav a {
    font-size: 16px;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.team-table th, .team-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.team-table th {
    background: #DC052D;
    color: #fff;
    font-size: 1.1em;
}

.team-table td p {
    margin: 6px 0;
}

/* Responsive */
@media (max-width: 1000px) {
    .content {
        padding: 18px 6vw;
    }
    .teams-layout {
        flex-direction: column;
    }
    .teams-sidebar {
        width: 100%;
        margin-bottom: 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: none;
        position: static;
    }
}

@media (max-width: 700px) {
    .header {
        flex-direction: column;
        gap: 12px;
        padding: 10px 10px;
    }
    .Logo {
        height: 60px;
    }
    nav ul {
        gap: 12px;
    }
    .content {
        padding: 10px 2vw;
    }
}

/* Quellen-Links im Footer für .quellen */
footer .Quellen {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    font-size: 0.95em;
    opacity: 0.85;
    list-style: none;
    color: #ffffff;
}

footer .Quellen a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.2s;
    font-weight: 500;
}

footer .Quellen a:hover {
    color: white;
    text-decoration: none;
}