* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.imagenexttotext {
    display: flex;
    align-items: flex-start; /* Optional: Text oben ausrichten */
    gap: 15px; /* Abstand zwischen Bild und Text */
}

/* Header */
.header {
    background: #2e8dbd;
    border-bottom: 1px solid #ddd;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    z-index: 2000;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #f2f2f2;
    z-index: 2000;
}

.logo {
    color: #f2f2f2;
}

p {
    color: #2e8dbd;
}

.pmitabstand {
    margin-bottom: 10px;
}

h2, h3 {
    color: #2e8dbd;
}

a {
    color: #2e8dbd;
    text-decoration: none;
}

.image-mit-rundem-rand {
    width: 60%;
    height: 60%;
    clip-path: inset(0 0 0 round 24px);
}

.ibrahim-foto {
    width: 20%;
    height: 20%;
    clip-path: inset(0 0 0 round 24px);
}

li {
    color: #2e8dbd;
}

label {
    color: #2e8dbd;
}

/* Button */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #2e8dbd;
    color: #f2f2f2;
    text-decoration: none;
    border-radius: 5px;
}

/* Sections */
.section {
    padding: 20px 0;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    text-align: center;
}

/* Kontakt */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 10px;
    padding: 10px;
}

.contact-info {
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #2e8dbd;
    color: #f2f2f2;
    text-align: center;
    padding: 20px;
}

.p-footer {
    color: #f2f2f2;
}

/* Desktop: Burger verstecken */
.menu-toggle {
    display: none;
}

/* ===== SLIDER ===== */
.slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slides {
    position: relative;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Aktives Bild */
.slide.active {
    display: block;
}

/* Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Punkte */
.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #2e8dbd;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown {
    position: relative;
}

/* Standard: versteckt */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    min-width: 200px;
    z-index: 1000;
}

/* Links im Dropdown */
.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #2e8dbd;
}

/* Hover (Desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* ===== LOGO SLIDER ===== */
.logo-slider {
    overflow: hidden;
    background: #fff;
    padding: 20px 0;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite; /* Hier Geschwindigkeit einstellen z.B. 20s scheller 60s langsamer */
}

/* Logos */
.logo-track img {
    height: 100px;
    margin: 0 20px;
    object-fit: contain;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================================= */
/* 📱 MOBILE (SEHR WICHTIG) */
/* ================================= */
@media (max-width: 768px) {

    /* Logo kleiner auf Mobile */
    .logo {
        font-size: 1rem;
    }

    /* Navigation wird zum Dropdown */
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0px;
        top: 60px;
        background: white;
        color: #2e8dbd;
        width: 220px;
        border: 1px solid #ddd;
        z-index: 2000;
    }

    nav a {
        color: #2e8dbd;
    }

    nav.active {
        display: flex;
    }

    /* Burger Button */
    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        color: #f2f2f2;
        border: none;
    }

    /* GRID wird 1-spaltig */
    .grid {
        grid-template-columns: 1fr;
    }

    /* Bild + Text untereinander auf Mobile */
    .imagenexttotext {
        flex-direction: column;
    }

    /* Bild volle Breite */
    .image-mit-rundem-rand {
        width: 100%;
        height: auto;
    }

    .ibrahim-foto {
        width: 100%;
        height: 100%;
    }

    /* ===== SLIDER ===== */
    .slide img {
        height: 250px; /* kleiner auf Handy */
    }

    /* ===== DROPDOWN MENU ===== */
    .dropdown-menu {
        position: static; /* wichtig für Mobile */
        border: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    /* ===== LOGO SLIDER ===== */
    .logo-track img {
        height: 80px;
        margin: 0 20px;
    }
}