:root {
    --dunkel: #333;
    --hell: #f9f9f9;
}

/* Allgemeine Schriftanpassungen */
body {
    font-family: 'Poppins', sans-serif; /* Setzt die Poppins Schriftart für den gesamten Body */
}

/* Navbar */
nav {
    position: sticky; /* Macht die Navigation fixiert, aber lösbar */
    top: 0; /* Hält die Navbar oben auf der Seite */
    left: 0;
    width: 100%;
    background-color: transparent; /* Standardmäßig transparent */
    padding: 10px 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.3s, background-color 0.3s; /* Füge Transition für den Hintergrund hinzu */
}

nav ul {
    list-style: none;
    margin: 60px;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dunkel);
    font-weight: bold;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
    transition: color 0.3s;
}

/* Grid für Cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    width: calc(33.33% - 20px);
    background-color: var(--hell);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

.card h3 {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

.card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.card:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

.contact-info p {
    margin: 5px 0;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

/* Header */
header {
    background-color: rgb(255, 255, 255);
}

header img {
    display: block;
    margin: 0 auto;
    max-width: 30%;
}

/* Overlay für Grid Items */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 150px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.grid-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

/* Text unterhalb der Slideshow */
.text-below-slideshow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 200px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.text-below-slideshow .card {
    background-color: rgb(255, 255, 255);
    color: #0255a3;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    text-align: center;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
    flex: 1 1 300px;
}

.text-below-slideshow .card h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

.text-below-slideshow .card h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

.text-below-slideshow .card p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

.text-below-slideshow .card ul {
    list-style-type: none;
    padding: 0;
}

.text-below-slideshow .card ul li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

/* Responsives Design */
@media (max-width: 768px) {
    .text-below-slideshow {
        flex-direction: column;
    }
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 1200px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 1200px;
    object-fit: cover;
}

.Video-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0c66ba;
    text-align: center;
    font-size: 2rem;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.7);
    font-family: 'Poppins', sans-serif; /* Schriftart auf Poppins setzen */
}

/* Logo Container */
.logo-container {
    flex-shrink: 0; /* Verhindert, dass das Logo schrumpft */
}

.logo {
    height: 10px; /* Höhe des Logos */
    
}


/* Grid Layout */
.ref-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 150px;
}

.ref-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Standard Bild-Styling */
.ref-grid-item img {
    width: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Lightbox-Hintergrund */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Abdunklung */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Vergrößertes Bild */
.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}




