.lotto-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.lotto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.lotto-card .card-body {
    padding: 1.3rem 1.5rem;
}
.lotto-date {
    font-weight: 600;
    font-size: 1.2em;
}
.lotto-time {
    font-weight: 500;
    font-size: 0.95em;
}
.lotto-verein {
    font-weight: 700;
    font-size: 1.2em;
}
.lotto-info {
    font-weight: 600;
    font-size: 1.05em;
}
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(4px);
}
#flyerModalImage {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
#flyerModalImage.zoom-in {
    transform: scale(1);
    opacity: 1;
}
.modal-content {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    border: none;
}

/* ---------- MODAL ANIMATION ---------- */
#flyerModal .modal-dialog {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s ease;
}

#flyerModal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

/* Bild-Animation (sanftes Einzoomen + Fade-in) */
#flyerModalImage {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

#flyerModalImage.zoom-in {
    transform: scale(1);
    opacity: 1;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #E2C4A4;
    color: #333;
    scroll-behavior: smooth;
}
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Titelbild oben */
.titelbild-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.titelbild {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.titelbild-container img {
    width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
}
.section-title {
    text-align: center;
    color: var(--gruen);
    margin-bottom: 3rem;
    font-size: 2rem;
}
.parallax {
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}
.parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #A9875F;
}
.parallax h2 {
    position: relative;
    z-index: 2;
    font-size: 2.4rem;
}
footer {
    background: var(--gruen);
    color: #fff;
    text-align: center;
    padding: 2.5rem 0;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.card {
    border-radius: 1rem !important;   /* Erzwingt Rundung */
    overflow: hidden;                 /* Verhindert Überlaufen */
}
.card img,
.card-img-rounded {
    border-radius: 1rem 1rem 0 0 !important; /* Nur obere Kanten runden */
    display: block;
}
