/* ===== Grundlayout ===== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
        url("../images/bake-sale-bunting.jpg") center / cover no-repeat fixed;
    min-height: 100vh;
}

/* ===== Container ===== */

.container {
    max-width: 720px;
    margin: 40px auto;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
}

/* ===== Texte ===== */

h1 {
    margin-top: 0;
    color: #5a2e0c;
}

.intro {
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ===== Kachel-Grid ===== */

.kachel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* ===== Einzelne Kachel ===== */

.kachel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: #f7efe9;
    border-radius: 18px;
    text-decoration: none;
    color: #5a2e0c;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kachel.info-kachel {
    align-items: flex-start;
    text-align: left;
    margin-top: 140px;
    transition: none;
    background:
        linear-gradient(rgba(247, 239, 233, 0.96), rgba(247, 239, 233, 0.96)),
        url("../images/schwind-hoffest-2026.jpg") center / cover no-repeat;
}

.kachel.info-kachel:hover {
    transform: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.kachel.info-kachel p + p {
    margin-top: 10px;
}

.kachel:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.kachel-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.kachel h2 {
    margin: 8px 0 6px;
    font-size: 20px;
}

.kachel p {
    margin: 0;
    font-size: 15px;
    color: #6b4b32;
}

/* deaktiviert */
.kachel.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== Tablet ===== */
@media (min-width: 700px) {
    .kachel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Desktop ===== */
@media (min-width: 1000px) {
    .kachel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Animation ===== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Seitenkopf (für Schicht & Spenden) ===== */

.page-header {
    margin-bottom: 25px;
}

.page-header h1 {
    margin-bottom: 8px;
}

.page-header p {
    margin: 0;
    color: #6b4b32;
}

/* ===== Karten / Blöcke ===== */

.block {
    background: #f7efe9;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
}

/* ===== Formulare ===== */

form {
    margin-top: 10px;
}

label {
    display: block;
    font-weight: 600;
    color: #5a2e0c;
    margin: 12px 0 6px;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e6d2c2;
    border-radius: 10px;
    background: #fffaf6;
    font-size: 14px;
    color: #5a2e0c;
}

textarea {
    resize: vertical;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px 12px;
    margin: 8px 0 4px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #6b4b32;
    margin: 0;
}

label.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #6b4b32;
}

button {
    margin-top: 14px;
    padding: 10px 18px;
    background: #f3e6dc;
    color: #6b3e26;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #e6d2c2;
}

/* ===== Tabellen mobilfreundlich ===== */

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px 8px;
    text-align: left;
}

th {
    font-weight: 600;
    color: #5a2e0c;
}

tr + tr {
    border-top: 1px solid #eee;
}

/* ===== Zurück-Link ===== */

.back-link {
    text-align: right;
    margin-top: 25px;
}

.back-link a {
    font-size: 14px;
    color: #b85c1e;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(184, 92, 30, 0.08);
}

.back-link a:hover {
    background: rgba(184, 92, 30, 0.18);
}

/* ===== Mobile Feinschliff ===== */

@media (max-width: 600px) {
    .container {
        padding: 22px;
        margin: 20px 12px;
    }

    h1 {
        font-size: 22px;
    }

    button {
        width: 100%;
    }
}

.btn-back {
    display: inline-block;
    padding: 10px 18px;
    background: #f3e6dc;
    color: #6b3e26;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-back:hover {
    background: #e6d2c2;
}
