/* Grundstruktur */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    font-family: 'Smooch Sans', sans-serif;
    background-image: url(bannergrau.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

main {
    flex: 1 0 auto;
    padding: 40px 20px;
}



/* HERO-Bereich */
.hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(50, 50, 50, 0.7));
    color: white;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-family: 'Bell MT', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Button */
.btn {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Smooch Sans', sans-serif;
}

.btn:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #111;
    padding-top: 40px;
    padding-bottom: 20px;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

/* Textelemente */
#p1 {
    color: white;
    font-size: 28px;
    line-height: 1.6;
    margin: 20px 150px;
}

#h1, #h2, #h3, #h4 {
    color: white;
    font-family: 'Bell MT';
    margin: 40px 150px 20px;
    line-height: 1.3;
}

#h2, #h3 {
    text-decoration: underline;
}

/* Header */
.mdl-layout__header {
    background-color: transparent;
    border-bottom: 1px solid white;
}

.mdl-layout__header-row .mdl-layout-title {
    color: white;
}

.mdl-layout-title {
    font-family: 'Smooch Sans', sans-serif;
    font-size: 28px;
}

.mdl-navigation__link {
    color: white;
    font-family: 'Smooch Sans', sans-serif;
    font-size: 22px;
    margin: 10px 0;
}

.mdl-navigation__link:hover {
    color: black;
}

/* Bilder */
#img2 {
    height: 250px;
    margin: 30px 100px 50px auto;
    display: block;
}

#logo {
    height: 300px;
    margin: 30px auto;
    display: block;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer Inhalt */
.footerContainer {
    width: 100%;
    padding: 40px 30px;
}

.socialIcons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}

.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    flex-wrap: wrap;
    gap: 20px;
}

.footerNav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    opacity: 0.7;
    transition: 0.5s;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: white;
    font-size: 0.9em;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {

    #p1, #h1, #h2, #h3, #h4 {
        margin: 20px 50px;
        font-size: 24px;
    }

    #img2 {
        height: 200px;
        margin: 20px auto;
    }

    #logo {
        height: 200px;
        margin: 20px auto;
    }

    .mdl-navigation__link {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 700px) {
    .footerNav ul {
        display: flex;
        flex-direction: column;
    }

    .socialIcons {
        gap: 10px;
    }

    .footerNav ul li {
        text-align: center;
    }

    #p1 {
        font-size: 20px;
        line-height: 1.6;
        margin: 20px;
    }

    #h1, #h2, #h3, #h4 {
        font-size: 22px;
        margin: 20px;
    }

    .mdl-layout-title {
        font-size: 22px;
    }

    #img2, #logo {
        height: 180px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
