/*
Theme Name: Wartungsarbeiten Anzeige
Description: Einfaches Wartungs-Theme mit animierter Rot-Weiß-Anzeige (4.–11. September). Bei Fragen bitte im Sekretariat anrufen.
Version: 1.0
Author: Sekretariat
*/

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wartung-box {
    max-width: 560px;
    padding: 48px 32px;
    background: #ffffff;
    border: 2px solid #0055a4;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,85,164,0.15);
}

.gear-wrap {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
}

.gear {
    width: 64px;
    height: 64px;
    animation: dreh 4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(0,85,164,0.4));
}

.gear.small {
    width: 40px;
    height: 40px;
    margin-top: 20px;
    animation: dreh-rueckwaerts 3s linear infinite;
    filter: drop-shadow(0 0 4px rgba(0,85,164,0.3));
}

@keyframes dreh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dreh-rueckwaerts {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

h1 {
    font-size: 1.6em;
    margin: 0 0 16px;
    letter-spacing: 0.5px;
    color: #0055a4;
}

.zeitraum {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 600;
    background: #0055a4;
    color: #ffffff;
    border: 1px solid #0055a4;
    border-radius: 999px;
    padding: 8px 20px;
    margin-bottom: 20px;
}

p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 8px;
}

.kontakt {
    margin-top: 22px;
    font-size: 1em;
    color: #0055a4;
    font-weight: 600;
}

.punkte span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0055a4;
    margin: 0 4px;
    animation: pulse 1.4s ease-in-out infinite;
}

.punkte span:nth-child(2) { animation-delay: 0.2s; }
.punkte span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
    0%, 100% { opacity: 0.25; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.spiel-toggle {
    margin-top: 28px;
}

#spiel-btn, #spiel-neustart {
    font-family: inherit;
    font-size: 1.05em;
    font-weight: 600;
    color: #ffffff;
    background: #0055a4;
    border: 1px solid #0055a4;
    border-radius: 999px;
    padding: 8px 20px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

#spiel-btn:hover, #spiel-neustart:hover {
    opacity: 0.85;
}

#spiel-btn:active, #spiel-neustart:active {
    transform: scale(0.97);
}

.spiel-bereich {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0,85,164,0.25);
}

.spiel-hud {
    display: flex;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto 10px;
    font-size: 0.95em;
    color: #1a1a1a;
}

.spiel-hud strong {
    color: #0055a4;
}

#spiel-canvas {
    width: 100%;
    max-width: 480px;
    height: auto;
    border: 2px solid #0055a4;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    touch-action: none;
    box-shadow: 0 6px 20px rgba(0,85,164,0.15);
}

.spiel-hinweis {
    font-size: 0.85em;
    color: #7a7a7a;
    margin: 10px 0 0;
}

#spiel-neustart {
    margin-top: 14px;
}
