
body {
    margin: 0;
    font-family: sans-serif;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    text-align: center;
}

.hero {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.intro, .veranstaltungen, .gallery, .fahrrad, .flyer, .kontakt {
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 20px;
    border-radius: 20px;
}

.gallery-grid img, .flyer-grid img {
    width: 200px;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover, .flyer-grid img:hover {
    transform: scale(1.2);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff69b4;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
}

footer {
    background: #444;
    color: white;
    padding: 20px;
}

.lieferanten {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.lieferant {
    flex: 1;
    padding: 10px;
    min-width: 150px;
}

.social-icons a {
    margin: 0 10px;
    color: white;
}

.scroll-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #333;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 3px solid #ff69b4;
    padding: 20px;
    border-radius: 15px;
}

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

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.floating-icon {
    position: fixed;
    width: 80px;
    opacity: 0.5;
    pointer-events: none;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.abo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.abo-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
}

.abo-card img {
    width: 100%;
    border-radius: 15px;
}

.preisfeld {
    background: #ff69b4;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 10px auto;
    font-size: 20px;
}

.flyer-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.flyer-raute {
    transform: rotate(45deg);
    overflow: hidden;
    width: 180px;
    height: 180px;
}

.flyer-raute img {
    transform: rotate(-45deg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.flyer-raute img:hover {
    transform: rotate(-45deg) scale(1.1);
}

.social-icons i {
    color: white;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #ff69b4;
}

.layout-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

.layout-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
    margin: 20px 0;
}

.lieferant h3 {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
}

.lieferant-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #ff69b4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.ticker-container {
    background: #ffe0f0;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
    border-top: 2px solid #ff69b4;
    border-bottom: 2px solid #ff69b4;
}

header.hero h1 {
    font-size: 48px;
    transition: all 0.5s ease;
}

body {
    font-size: 18px;
    color: #222;
    line-height: 1.6;
}

.flyer-raute img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.flyer-raute img:hover {
    transform: rotate(-45deg) scale(1.05);
    opacity: 0.9;
}

img:focus {
    outline: 3px solid #ff69b4;
}

a:focus, button:focus {
    outline: 3px solid #ff69b4;
}

@media screen and (max-width: 600px) {
    .gallery-grid img,
    .flyer-raute img,
    .abo-card img {
        width: 100%;
        height: auto;
    }
    .abo-card {
        width: 90%;
    }
    .flyer-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;utf8,
    <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'>
        <defs>
            <linearGradient id='grad' x1='0' y1='0' x2='0' y2='1'>
                <stop offset='0%' stop-color='%23b2fefa'/>
                <stop offset='100%' stop-color='%23ffdee9'/>
            </linearGradient>
        </defs>
        <rect width='100%' height='100%' fill='url(%23grad)' />
        <path d='M0 50 Q50 100 100 50 T200 50 T300 50 T400 50 T500 50 T600 50' stroke='%23ffffff' stroke-width='2' fill='none' opacity='0.2'/>
    </svg>") no-repeat center center fixed;
    background-size: cover;
}

@media screen and (max-width: 600px) {
    .flyer-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .flyer-raute {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

.flyer .gallery-grid img {
    width: 600px;
    height: 800px;
    object-fit: cover;
    border-radius: 10px;
}

.flyer .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.flyer .gallery-grid img {
    width: 600px;
    height: 800px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 10px 20px 30px rgba(0, 0, 0, 0.2);
    padding: 30px 10px 10px 10px; /* oben mehr Abstand als unten */
    background: white;
}
