/* Grundlayout der gesamten Seite */
body {
    font-family: 'Playfair Display', sans-serif; /* <-- Ändert die Schrift für die gesamte Seite */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-size: cover;          /* Bild füllt den ganzen Bildschirm aus */
    background-position: center;    /* Bild wird perfekt zentriert */
    background-repeat: no-repeat;   /* Bild wird nicht gekachelt */

}body {
    /* Pfad zum Bild (relativ zur CSS-Datei) */
    background-image: url("bild.jpg");
    
    /* Bild soll den gesamten Bildschirm ausfüllen */
    background-size: cover;
    
    /* Bild zentrieren */
    background-position: center;
    
    /* Bild fixieren, damit es beim Scrollen nicht mitwandert */
    background-attachment: fixed;
    
    /* Bild nicht wiederholen (kacheln) */
    background-repeat: no-repeat;
    
    /* Optionale Hintergrundfarbe, falls das Bild nicht lädt */
    background-color: #7e7c7c;
}



/* Hauptcontainer, der Überschrift und Buttons sauber untereinander hält */
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
}

/* Styling für die große Überschrift mit weißem Hintergrund */
.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 60px 0; /* Großer Abstand nach unten */
    
    background-color: #7e7a7a;
    padding: 10px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    
    display: inline-block;
    width: auto;
}

h2 {
    background-color: #cc8282; /* Hellgrau */
    padding: 10px;             /* Abstand zwischen Text und Rand */
    border-radius: 5px;        /* Abgerundete Ecken */
}



/* Das Raster für die 12 Butfttons */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}
/* 1. GRUNDSTYLING DER BUTTONS */
.green-button, .link-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 700; /* Nutzt das geladene fette Schriftgewicht */
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    text-align: center;
    
    /* SCHATTEN FÜR DEN 3D-LOOK */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    /* DIE ZAUBERZEILE: Macht alle Änderungen flüssig (0.3 Sekunden Dauer) */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* 2. EFFEKT WENN DIE MAUS DARÜBERBEWEGT WIRD (HOVER) */
.green-button:hover, .link-button:hover {
    background-color: #27ae60;    /* Wird dunkleres Grün */
    transform: translateY(-4px);  /* Bewegt den Button 4 Pixel nach oben */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Der Schatten wird größer und weicher */
}

/* 3. EFFEKT WENN DER BUTTON GEKLICKT WIRD (ACTIVE) */
.green-button:active, .link-button:active {
    transform: translateY(-1px);  /* Drückt den Button fast ganz nach unten */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Der Schatten wird ganz klein */
}

/* --- ZUSÄTZLICHE BUTTON-FARBEN --- */

/* BLAUER BUTTON (Normal & Hover) */
.btn-blue {
    background-color: #3498db; /* Schönes Flat-Blau */
}
.btn-blue:hover {
    background-color: #2980b9; /* Dunkleres Blau beim Drüberfahren */
}

/* ORANGER BUTTON (Normal & Hover) */
.btn-orange {
    background-color: #e67e22; /* Schönes Orange */
}
.btn-orange:hover {
    background-color: #d35400; /* Dunkleres Orange beim Drüberfahren */
}


/* Responsive Design für kleinere Bildschirme */
@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-title {
        font-size: 36px;
    }
}
@media (max-width: 400px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}
style.css  /* --- CODE FÜR DIE VIDEO-SEITE --- */

/* Das Video-Raster: 2 Spalten nebeneinander */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Großzügiger Abstand zwischen den Video-Boxen */
    width: 100%;
    max-width: 1000px; /* Die Video-Seite darf etwas breiter sein als die Button-Seite */
    margin-top: 20px;
}

/* Die einzelne Video-Box (hält Bild, Video und Text fest zusammen) */
.video-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden; /* Sorgt dafür, dass die Ecken des Videos auch abgerundet werden */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* Sorgt dafür, dass die Videos niemals aus ihrer Box ausbrechen */
.video-card video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #000000; /* Schwarzer Hintergrund, falls das Poster lädt */
}

/* Styling für die Video-Überschriften */
.video-card h3 {
    font-family: 'Poppins', sans-serif;
    margin: 15px 0 5px 0;
    color: #2c3e50;
    font-size: 20px;
}

/* Styling für den Beschreibungstext */
.video-card p {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

/* RESPONSIVE DESIGN: Auf Smartphones wird es automatisch 1 Spalte */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* --- ZURÜCK-BUTTON AUF DER VIDEO-SEITE --- */
.back-button {
    display: inline-flex;
    align-items: center;
    background-color: #7f8c8d; /* Elegantes, neutrales Grau */
    color: white;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 20px; /* Abstand nach unten zum Video-Raster */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover-Effekt (Maus drüber) */
.back-button:hover {
    background-color: #95a5a6; /* Wird etwas helleres Grau */
    transform: translateX(-3px); /* Bewegt den Button dezent nach links (Pfeil-Richtung) */
}

/* Klick-Effekt */
.back-button:active {
    transform: scale(0.98);
}
/* --- ZURÜCK-BUTTON AUF DER VIDEO-SEITE --- */
.back-button {
    display: inline-flex;
    align-items: center;
    background-color: #7f8c8d; /* Elegantes, neutrales Grau */
    color: white;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 20px; /* Abstand nach unten zum Video-Raster */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover-Effekt (Maus drüber) */
.back-button:hover {
    background-color: #95a5a6; /* Wird etwas helleres Grau */
    transform: translateX(-3px); /* Bewegt den Button dezent nach links (Pfeil-Richtung) */
}

/* Klick-Effekt */
.back-button:active {
    transform: scale(0.98);
}
/* Hintergrund für die Überschriften */
h1.main-title, h2, h3 {
    background-color: #f0f0f0; 
    padding:  15px;        
    margin-bottom: 15px;  
    text-align: center; 
    display: block;            
}
/* Zentriert den Container unter den 12 Buttons */
.contact-wrapper {
    text-align: center;
    margin-top: 30px;      /* Abstand nach oben zu den grünen Buttons */
    margin-bottom: 30px;   /* Abstand nach unten */
}

/* Styling für den E-Mail-Button */
.email-btn {
    display: inline-block;
    background-color: #0066cc; /* Eine blaue Kontrastfarbe (oder Ihre Wunschfarbe) */
    color: #ffffff;            /* Weiße Textfarbe */
    padding: 12px 25px;        /* Innenabstand für die Button-Größe */
    font-family: sans-serif;   /* Nutzt die Standardschrift oder Ihre gewählte Schrift */
    font-size: 16px;
    text-decoration: none;     /* Entfernt den typischen Unterstrich bei Links */
    border-radius: 5px;        /* Leicht abgerundete Ecken */
    font-weight: bold;
    transition: background-color 0.3s; /* Weicher Übergang beim Drüberfahren */
}

/* Hover-Effekt: Button wird dunkler, wenn man mit der Maus drüberfährt */
.email-btn:hover {
    background-color: #004499;
}
/* --- CODE FÜR DIE WEBCAM AUF DER INDEX-SEITE --- */

/* --- CODE FÜR DIE WEBCAM AUF DER INDEX-SEITE --- */

.webcam-container {
    width: 100%;
    /* WICHTIG: Das zwingt das Element, eine neue Zeile ganz unten zu beginnen */
    flex-basis: 100%; 
    clear: both;
    
    margin-top: 50px; /* Großzügiger Abstand nach oben zu den Buttons */
    background-color: #ffffff; /* Weißer Hintergrund */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    text-align: center;
}

/* Die Überschrift über dem Stream */
.webcam-container h2 {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 22px;
}

/* Das Video-Element selbst */
.webcam-container video {
    width: 100%;
    height: auto;
    max-width: 560px; /* Verhindert, dass das Bild riesig wird */
    border-radius: 8px;
    background-color: #000000; /* Schwarzer Hintergrund */
}
/* Container für die absolute Positionierung des Live-Labels */
.video-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 560px; /* Gleiche Breite wie das Video */
}

/* Das rote LIVE-Label */
.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none; /* Verhindert, dass das Label Klicks auf das Video blockiert */
}

/* Der kleine rote Kreis */
.live-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #ff3b30; /* Knalliges Rot */
    border-radius: 50%;
    animation: blinken 1.5s infinite ease-in-out;
}

/* Die Blink-Animation (Pulseren) */
@keyframes blinken {
    0% { opacity: 0.2; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.2; transform: scale(0.9); }
}
