html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

header {
    height: 70px;
    margin-bottom: 0;
}

main {
    padding-top: 0px;
}

main> :first-child {
    padding-top: 40px;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.65;
    color: #222;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    padding-top: 70px;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color: #111;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 2rem
}

a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #e0a800;
}

@media (max-width: 768px) {
    main {
        padding-top: 0px;
    }

    .container {
        flex-direction: column;
        align-items: stretch;
    }

    #news-container {
        grid-template-columns: 1fr;
    }

    .news-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.gelber-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ffc107, #f5b301);
    color: #1a1a1a;
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(245, 179, 1, 0.35);
}

.gelber-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 179, 1, 0.45);
}

a.gelber-button {
    color: #111;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: 2rem;
}

.fa-regular {
    margin-right: 0.5rem;
}

.social-feed,
.sponsoren-dank {
    padding: 2rem;
    text-align: center;
}

footer p,
footer a {
    font-size: 0.9rem;
    color: #666;
    margin: 0.2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-icon-left {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon-right {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons-left:hover {
    transform: scale(1.1);
    transform: rotate(-10deg)
}

.social-icons-right:hover {
    transform: scale(1.1);
    transform: rotate(10deg)
}