/* Grundlegende Reset-Einstellungen */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #ffffff;
    height: 100%;
    color: #770000;
}

header {
    background-color: #770000; /* Rotton */
    padding: 20px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.image-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* skaliert Bild ohne Verzerrung */
    z-index: 0;
    filter: blur(3px);
}

.overlay-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Weiß mit 60% Transparenz */
    z-index: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    display: flex;
    /*justify-content: center;*/
    align-items: flex-start;
    flex-grow: 1;
}

.content-card {
    max-width: 600px;
    width: 100%;
    margin-left: 0;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    box-sizing: border-box;
}

.form-inside-card {
    width: 100%;
    max-width: 100%; /* lässt es innerhalb der card vollflächig sein */
}

.festival-title {
    color: #ffffff;
    margin-top: 15px;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Container zentriert */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Container Headings */
.container h1, .container h2, .container h3, .container h4, .container h5 {
    font-weight: 600;
    color: #770000; /* Dunkelrot für Content */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.footer {
    height: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: white;
    z-index: 5;
    margin-top: 40px;
}

/* Links */
a {
    color: #3366FF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    background-color: #770000;
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn:hover {
    background-color: #2a0000;
    border: 1px solid white;
}

/* Formular Elemente */
input[type="text"], input[type="email"], input[type="password"], select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.full-width-button-wrapper {
    width: 100%;
    padding: 0 5%; /* 🌟 NEU: 5% Padding links/rechts */
    box-sizing: border-box;
    text-align: center;
}

.full-width-button {
    width: 100%;
    max-width: 500px; /* optional Limit auf Desktop */
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 8px;
}


/* Form-Label */
label {
    font-weight: 500;
    margin-bottom: 5px;
    display: inline-block;
}

/* Alerts / Flash Messages */
.alert {
    padding: 15px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Navbar */
.navbar {
    background-color: #3366FF;
    padding: 15px;
}

.navbar a {
    color: white;
    margin-right: 20px;
    font-weight: 500;
}

.navbar a:hover {
    color: #e0e0e0;
}


/* Header */
.logo-img {
    margin: 0;
    padding: 0;
    max-width: 300px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-tile {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: white;
    box-sizing: border-box;
    text-align: center;
}

.product-tile input[type="radio"] {
    display: none;
}

.product-tile img {
    width: 120px;
    height: 120px;
}

.product-tile:hover {
    border-color: #770000;
    background-color: #f9f9f9;
}


.product-info {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: left;
}

.product-carousel-wrapper {
    width: 100%;
    overflow-x: hidden;
    padding: 0 15px;
    box-sizing: border-box;
}

.product-carousel {
    width: 100%;
    overflow-x: hidden;
}

.swiper {
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
    overflow: visible;
}

.swiper-wrapper {
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    max-width: 260px;
    margin-right: 15px;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .content-card {
        width: 90%;
        max-width: 95vw;
        min-width: auto;
        padding: 20px 15px; /* optional für schmalen Rand */
    }

    .swiper-slide {
        max-width: 180px;
    }
}
