:root {
    --color-bg: #faf6f0;
    --color-bg-alt: #f2ece1;
    --color-ink: #2f2a24;
    --color-muted: #6b6259;
    --color-accent: #7c8a67;      /* Salbeigrün */
    --color-accent-dark: #5c6a49;
    --color-gold: #b78d4f;
    --color-border: #e4dccc;
    --color-error: #a8433a;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Jost', sans-serif;
    --radius: 14px;
    --shadow: 0 4px 20px rgba(47, 42, 36, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--color-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 100 100'%3E%3Cg fill='%237c8a67' opacity='0.05'%3E%3Cellipse cx='50' cy='68' rx='13' ry='10'/%3E%3Cellipse cx='34' cy='53' rx='5.5' ry='7' transform='rotate(-25 34 53)'/%3E%3Cellipse cx='44' cy='44' rx='5.5' ry='7' transform='rotate(-8 44 44)'/%3E%3Cellipse cx='56' cy='44' rx='5.5' ry='7' transform='rotate(8 56 44)'/%3E%3Cellipse cx='66' cy='53' rx='5.5' ry='7' transform='rotate(25 66 53)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    color: var(--color-ink);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-ink);
    letter-spacing: 0.3px;
}

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { color: var(--color-gold); }

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem 1rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--color-ink);
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.brand-paw { color: var(--color-gold); flex-shrink: 0; }

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.1rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-nav a {
    color: var(--color-muted);
    padding: 0.3rem 0.1rem;
    border-bottom: 2px solid transparent;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--color-accent-dark);
    border-bottom-color: var(--color-gold);
}

.site-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.site-footer {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
    padding: 2rem 1rem 3rem;
}

.hero {
    text-align: center;
    padding: 1.5rem 0 2.5rem;
}

.hero-cat {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.3rem;
}

.hero .subtitle {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.hero .date {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.paw-trail {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.4rem;
    margin-top: 1.8rem;
    color: var(--color-gold);
    opacity: 0.55;
}
.paw-trail svg:nth-child(1) { transform: rotate(-15deg) translateY(4px); }
.paw-trail svg:nth-child(2) { transform: rotate(5deg) translateY(-4px); }
.paw-trail svg:nth-child(3) { transform: rotate(20deg) translateY(4px); }

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.6rem 1rem;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(47, 42, 36, 0.13);
    color: var(--color-ink);
}

.tile .icon { font-size: 1.9rem; }
.tile .label {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.1rem;
}

.card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.card .meta {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.card p { margin: 0.2rem 0; color: var(--color-muted); }

.badge {
    display: inline-block;
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--color-bg-alt);
    color: var(--color-accent-dark);
    margin-right: 0.3rem;
}

.badge-soldout {
    background: #f6e4e1;
    color: var(--color-error);
}

.card-soldout { opacity: 0.6; }
.card-soldout h3::after {
    content: 'Ausverkauft';
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f6e4e1;
    color: var(--color-error);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    margin-left: 0.6rem;
    vertical-align: middle;
}

.side-chip.is-soldout {
    opacity: 0.5;
    text-decoration: line-through;
}

.catering-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
}
.catering-row.is-soldout { background: var(--color-bg-alt); }
.catering-row .name { font-family: var(--font-heading); font-size: 1.15rem; }
.catering-row .meta { font-size: 0.78rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.toggle-btn {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    color: #fff;
}
.toggle-btn.is-available { background: var(--color-accent); }
.toggle-btn.is-soldout { background: var(--color-error); }

.side-group { margin: 0 0 1.6rem; }
.side-group-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 0.55rem;
}
.side-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.side-chip {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.88rem;
    color: var(--color-ink);
}

.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0.35rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: var(--color-border);
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 20px;
    height: 20px;
    background-color: var(--color-gold);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='68' rx='26' ry='20'/%3E%3Cellipse cx='18' cy='38' rx='11' ry='14' transform='rotate(-25 18 38)'/%3E%3Cellipse cx='38' cy='20' rx='11' ry='14' transform='rotate(-8 38 20)'/%3E%3Cellipse cx='62' cy='20' rx='11' ry='14' transform='rotate(8 62 20)'/%3E%3Cellipse cx='82' cy='38' rx='11' ry='14' transform='rotate(25 82 38)'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='68' rx='26' ry='20'/%3E%3Cellipse cx='18' cy='38' rx='11' ry='14' transform='rotate(-25 18 38)'/%3E%3Cellipse cx='38' cy='20' rx='11' ry='14' transform='rotate(-8 38 20)'/%3E%3Cellipse cx='62' cy='20' rx='11' ry='14' transform='rotate(8 62 20)'/%3E%3Cellipse cx='82' cy='38' rx='11' ry='14' transform='rotate(25 82 38)'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.timeline-time {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold);
}

form { display: flex; flex-direction: column; gap: 0.9rem; }

label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
    display: block;
}

input[type=text], input[type=password], input[type=file], input[type=number],
select, textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-ink);
}

textarea { min-height: 90px; resize: vertical; }

.btn {
    display: inline-block;
    text-align: center;
    background: var(--color-accent);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.15s ease;
}
.btn:hover { background: var(--color-accent-dark); }
.btn-secondary { background: var(--color-bg-alt); color: var(--color-ink) !important; }
.btn-danger { background: var(--color-error); }
.btn-small { padding: 0.4rem 0.9rem; font-size: 0.82rem; }

.flash {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
}
.flash-success { background: #eaf0e3; color: var(--color-accent-dark); }
.flash-error { background: #f6e4e1; color: var(--color-error); }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--color-border); }
th { color: var(--color-muted); font-weight: 500; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; }

.leaderboard-rank { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-gold); width: 2.2rem; }

.progress-bar {
    height: 6px;
    background: var(--color-bg-alt);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.2rem;
}
.progress-bar-fill { height: 100%; background: var(--color-gold); transition: width 0.2s ease; }

.quiz-option {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    cursor: pointer;
    background: #fff;
}
.quiz-option:hover { border-color: var(--color-gold); }
.quiz-option input { margin-right: 0.6rem; }

.empty-state { text-align: center; color: var(--color-muted); padding: 2.5rem 1rem; }

@media (min-width: 640px) {
    .tile-grid { grid-template-columns: repeat(3, 1fr); }
}
