body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.hintergrund {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.hintergrund img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Beginn Slider*/
/* 1. Der Slider-Container */
.fullscreen-slider {
    position: fixed; /* Bleibt beim Scrollen an Ort und Stelle */
    top: 0;
    left: 0;
    width: 100vw; /* 100% der Ansichtsfenster-Breite */
    height: 100vh; /* 100% der Ansichtsfenster-Höhe */
    overflow: hidden; /* Versteckt alles, was überläuft */
    z-index: -1; /* WICHTIG: Legt den Slider hinter allen anderen Inhalt */
}

/* 2. Die einzelnen Slides */
.fullscreen-slider .slide {
    position: absolute; /* Alle Slides übereinander stapeln */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Bild-Eigenschaften */
    background-size: cover; /* Füllt den Container, kann beschneiden */
    background-position: center center; /* Zentriert das Bild */
    background-repeat: no-repeat;
    
    /* Startzustand der Animation */
    opacity: 0; /* Alle Slides sind zu Beginn unsichtbar */
    
    /* Animation zuweisen */
    animation: fadeSlider 20s linear infinite; 
    /* Name: fadeSlider, Dauer: 20s, Verlauf: linear, Wiederholung: unendlich */
}

/* 3. Animations-Verzögerung für jedes Bild */
/* Wir haben 4 Bilder und eine 20s-Animation. Jedes Bild bekommt 5s. */

.fullscreen-slider .slide:nth-child(1) {
    animation-delay: 0s; /* Bild 1 startet sofort */
}
.fullscreen-slider .slide:nth-child(2) {
    animation-delay: 5s; /* Bild 2 startet nach 5s */
}
.fullscreen-slider .slide:nth-child(3) {
    animation-delay: 10s; /* Bild 3 startet nach 10s */
}
.fullscreen-slider .slide:nth-child(4) {
    animation-delay: 15s; /* Bild 4 startet nach 15s */
}


/* 4. Die Keyframe-Animation */
@keyframes fadeSlider {
    0% {
        opacity: 0; /* Beginnt unsichtbar */
    }
    12.5% {
        opacity: 1; /* Blendet ein (Dauer: 12.5% von 20s = 2.5s) */
    }
    25% {
        opacity: 1; /* Bleibt sichtbar (bis 25% = 5s) */
    }
    37.5% {
        opacity: 0; /* Blendet aus (Dauer: 12.5% von 20s = 2.5s) */
    }
    100% {
        opacity: 0; /* Bleibt für den Rest der 20s unsichtbar */
    }
}
/* Ende Slider */

.bg_linie {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 100vh;
    background-color: #0096c8;
}

.inhalt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.logo {
    margin-bottom: 10px;
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 10%;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    margin-right: 20px;
}

h1 {
    font-family: 'Garamond', serif;
    font-weight: bold;
    font-size: 48px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #0096c8;
}

.slogan {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: rgba(70, 70, 70, 1);
    margin-top: -10px;
    margin-bottom: 20px;
}

p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: rgba(70, 70, 70, 1);
    margin-bottom: 5px;
}

a {
    text-decoration: none;
    color: rgba(70, 70, 70, 1);
}

a:hover {
    color: #0096c8;
}

.menu {
  background-color: #333;
  padding: 10px;
  text-align: center;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  display: inline-block;
  margin-right: 20px;
}

.menu a {
  color: #fff;
  text-decoration: none;
}

.menu a:hover {
  color: #ccc;
}