/* =========================
   Allgemein
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#111;
    color:#fff;
    line-height:1.6;
}

/* =========================
   Header
========================= */

header{
    background:linear-gradient(135deg,#1b4fd1,#3f8cff,#66b3ff);
    padding:70px 20px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.35);
}

header h1{
    margin:0;
    font-size:48px;
    color:white;
    text-shadow:0 3px 10px rgba(0,0,0,.4);
}

/* =========================
   Navigation
========================= */

nav{
    background:#222;
    padding:10px 20px;
    position:sticky;
    top:0;
    z-index:1000;
}

.menu{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
}

.menu a{
    color:#fff;
    text-decoration:none;
    padding:10px 15px;
    border-radius:8px;
    transition:.3s;
}

.menu a:hover{
    background:#1b4fd1;
}

.menu-toggle{
    display:none;
    color:white;
    font-size:24px;
    cursor:pointer;
    font-weight:bold;
}

/* =========================
   Dropdown
========================= */

.dropdown{
    display:inline-block;
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    background:#222;
    min-width:220px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 0 15px rgba(0,0,0,.5);
    z-index:10;
}

.dropdown-content a{
    display:block;
    padding:12px;
    margin:0;
    text-align:left;
}

.dropdown-content a:hover{
    background:#1b4fd1;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* =========================
   Seiten
========================= */

.page{
    display:none;
    padding:30px;
    max-width:1200px;
    margin:auto;
}

.page.active{
    display:block;
}

/* =========================
   Hero
========================= */

.hero{
    text-align:center;
    padding:70px 20px;
}

.hero h1{
    font-size:48px;
    color:#4da3ff;
    margin-bottom:20px;
}

.hero p{
    max-width:850px;
    margin:auto;
    font-size:20px;
    line-height:1.8;
    color:#ddd;
}

/* =========================
   Startseite
========================= */

.info-section{
    display:flex;
    align-items:center;
    gap:50px;
    margin:80px 0;
    flex-wrap:wrap;
}

.reverse{
    flex-direction:row-reverse;
}

.info-image{
    flex:1;
    min-width:320px;
}

.info-image img{
    width:100%;
    border-radius:18px;
    border:3px solid #1b4fd1;
    transition:.3s;
}

.info-image img:hover{
    transform:scale(1.03);
    box-shadow:0 0 25px rgba(27,79,209,.5);
}

.info-text{
    flex:1;
    min-width:320px;
}

.info-text h2{
    color:#4da3ff;
    font-size:34px;
    margin-bottom:20px;
}

.info-text p{
    line-height:1.9;
    color:#ddd;
    font-size:18px;
    margin-bottom:15px;
}

/* =========================
   Entwickler
========================= */

.entwickler-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:20px;
}

.entwickler-card{
    background:#222;
    border:2px solid #1b4fd1;
    border-radius:12px;
    padding:18px;
    text-align:center;
    transition:.3s;
}

.entwickler-card:hover{
    transform:translateY(-5px);
    background:#2d2d2d;
    box-shadow:0 0 15px rgba(27,79,209,.5);
}

.entwickler-card h4{
    margin:0;
    color:#4da3ff;
    font-size:20px;
}

.entwickler-card p{
    margin-top:8px;
    color:#ccc;
}

#entwickler h2{
    margin-bottom:25px;
}

#entwickler h3{
    color:#4da3ff;
    border-bottom:2px solid #1b4fd1;
    padding-bottom:8px;
    margin-top:20px;
}

/* =========================
   Bildergalerie
========================= */

.galerie-bilder{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}

.galerie-bilder img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    border:3px solid #1b4fd1;
    cursor:pointer;
    transition:.3s;
}

.galerie-bilder img:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(27,79,209,.5);
}

/* =========================
   Spielanleitung
========================= */

.einleitung{
    text-align:center;
    font-size:18px;
    color:#ddd;
    margin-bottom:40px;
}

.schritt{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin-bottom:25px;
    background:#222;
    padding:20px;
    border-left:6px solid #1b4fd1;
    border-radius:12px;
    transition:.3s;
}

.schritt:hover{
    transform:translateX(8px);
    background:#2d2d2d;
}

.nummer{
    min-width:60px;
    height:60px;
    border-radius:50%;
    background:#1b4fd1;
    color:#fff;
    font-size:28px;
    font-weight:bold;
    display:flex;
    justify-content:center;
    align-items:center;
}

.inhalt h3{
    margin-bottom:10px;
    color:#4da3ff;
}

.inhalt p{
    color:#ddd;
    line-height:1.8;
}

/* =========================
   Überschriften allgemein
========================= */

.page h2{
    color:#4da3ff;
    font-size:36px;
    margin-bottom:20px;
}

/* =========================
   Über den Website-Hersteller
========================= */

.about-card{
    background:#222;
    border:2px solid #1b4fd1;
    border-radius:18px;
    padding:35px;
    margin-top:20px;
    text-align:center;
}

.about-card h1{
    color:#4da3ff;
    margin-bottom:20px;
}

.about-text{
    max-width:750px;
    margin:auto;
    line-height:1.8;
    color:#ddd;
    margin-bottom:35px;
}

.about-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:35px;
}

.info-box{
    background:#181818;
    border:1px solid #333;
    border-radius:12px;
    padding:20px;
    transition:.3s;
}

.info-box:hover{
    transform:translateY(-5px);
    border-color:#1b4fd1;
    box-shadow:0 0 15px rgba(27,79,209,.4);
}

.info-box h3{
    color:#4da3ff;
    margin-bottom:10px;
}

.info-box p{
    color:#ddd;
}

/* =========================
   Footer
========================= */

footer{
    background:#1b4fd1;
    text-align:center;
    padding:20px;
    margin-top:50px;
}

footer a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

footer a:hover{
    text-decoration:underline;
}

/* =========================
   Lightbox
========================= */

.lightbox{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:20px;
    border:4px solid white;
}

.close{
    position:absolute;
    top:20px;
    right:35px;
    font-size:55px;
    color:white;
    cursor:pointer;
}

/* =========================
   Bilder allgemein
========================= */

img{
    max-width:100%;
    border-radius:10px;
}

/* =========================
   Handy & Tablet
========================= */

@media (max-width:768px){

    header{
        padding:35px 15px 70px;
    }

    header h1{
        font-size:34px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:18px;
    }

    .menu-toggle{
        display:block;
        margin-bottom:10px;
    }

    .menu{
        display:none;
        flex-direction:column;
        width:100%;
        align-items:stretch;
    }

    .menu.show-menu{
        display:flex;
    }

    .menu a{
        width:100%;
        text-align:left;
        margin:3px 0;
    }

    .dropdown{
        width:100%;
    }

    .dropdown-content{
        position:static;
        display:block;
        background:#2c2c2c;
        box-shadow:none;
        margin-left:20px;
    }

    .info-section{
        flex-direction:column;
        margin:50px 0;
    }

    .reverse{
        flex-direction:column;
    }

    .info-text h2{
        font-size:28px;
    }

    .info-text p{
        font-size:17px;
    }

    .schritt{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .nummer{
        margin-bottom:15px;
    }

    .wave svg{
        height:60px;
    }
}

/* Farb-Erklärung */

.farben-box{

    margin-top:50px;
    background:#222;
    border-radius:18px;
    padding:25px;
    border:2px solid #1b4fd1;

}


.farben-box h2{

    color:#4da3ff;
    text-align:center;

}


.farbe{

    padding:15px;
    margin:12px 0;
    border-radius:10px;
    font-weight:bold;

}
