* {
    box-sizing: border-box;
}

:root {
    --background: #24120f;
    --surface: #3a1d18;
    --accent: #f3a18e;
    --accent-light: #ffd3c8;
    --text: #fff8f5;
    --muted: #c9aaa2;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, #6a342b 0%, var(--background) 50%);
    color: var(--text);
}

.container {
    width: min(100% - 32px, 950px);
    margin: 0 auto;
    padding: 60px 0 80px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.3em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin: 10px 0;
    line-height: 1;
}

header p {
    color: var(--accent-light);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
}


/* Heutiges Türchen */

.today {
    display: flex;
    justify-content: center;
}

.today-card {
    width: min(100%, 420px);
    padding: 28px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.today-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.today-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 20px;
}

.today-card button {
    border: 0;
    border-radius: 100px;
    padding: 14px 24px;
    background: var(--accent);
    color: #321713;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}


/* Kalender */

.calendar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.door {
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform .2s, background .2s;
}

.door.open:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.14);
}

.door.today-door {
    background: var(--accent);
    color: #321713;
    box-shadow: 0 0 30px rgba(243,161,142,.3);
}

.door.locked {
    opacity: .3;
    cursor: not-allowed;
}


/* Bildansicht */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 6, 5, .94);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.visible {
    display: flex;
}

.modal-content {
    max-width: 650px;
    max-height: 90vh;
}

.modal img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0,0,0,.5);
}

.close {
    position: fixed;
    right: 25px;
    top: 15px;
    border: 0;
    background: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}


/* Smartphone */

@media (max-width: 650px) {

    .container {
        padding-top: 35px;
    }

    .calendar {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .door {
        border-radius: 14px;
        font-size: 1.25rem;
    }

    header {
        margin-bottom: 35px;
    }
}