/*!
 * flexCSS V1 – projektspezifische Styles für sz-design.at (Wartungsseite)
 * Das Framework (flexcss.css) bleibt unverändert. Hier stehen nur
 * Token-Überschreibungen und die Bausteine dieser Seite.
 * Schrift: Systemschrift des Geräts, es werden keine Schriftdateien geladen.
 */


/* ========================================
   DESIGN TOKENS – SZ-DESIGN
======================================== */

:root {
    color-scheme: dark;

    /* Grundfarben aus dem Signet */
    --primary: #e0942e;
    --accent: #ffb000;
    --dark: #0e0f12;

    /* Oberflächen und Text */
    --bg-body: #0e0f12;
    --text-title: #f5f5f5;
    --text-body: #f5f5f5;

    /* Schriften */
    --font-system: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-primary: var(--font-system);
    --font-secondary: var(--font-system);
    --font-body: var(--font-system);
    --font-heading: var(--font-system);
}

body {
    font-size: max(16px, 1em);
}


/* ========================================
   WARTUNGSSEITE
======================================== */

.maintenance {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    text-align: center;
}

.maintenance-logo {
    display: block;
    width: 192px;
    height: auto;
}

.maintenance-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(32px, 3.4vw + 14px, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-title);
}

.maintenance-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 48px;
    margin-top: 6px;
}


/* ========================================
   SCHALTFLÄCHEN
   Handlung gefüllt, Nebenweg als Kontur.
   Dunkle Schrift auf Orange erfüllt WCAG AA (Weiß auf Orange nicht).
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: 2px solid var(--accent);
    border-radius: 3px;
    transition: background-color 0.25s ease-out, color 0.25s ease-out, border-color 0.25s ease-out;
}

.btn-primary {
    color: var(--dark);
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
}

.btn-outline {
    color: var(--text-body);
    background-color: transparent;
    border-color: var(--primary);
}

.btn-outline:hover {
    color: var(--dark);
    background-color: var(--primary);
}

.btn:focus-visible {
    outline: 3px solid var(--text-body);
    outline-offset: 3px;
}

@media (max-width: 479px) {
    .button-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 16px;
    }
}


/* ========================================
   FUSSZEILE UND RECHTSSEITEN
======================================== */

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
}

.legal-links a {
    display: inline-block;
    padding: 4px 2px;
    color: var(--text-body);
    opacity: 0.8;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.legal-title {
    margin: 0 0 24px;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
}

.legal p,
.legal li {
    font-size: max(16px, 1em);
}

.legal h2 {
    font-weight: 700;
}

.legal a {
    color: var(--primary);
}

.legal .placeholder {
    color: #1a1a1a;
    background: #ffe27a;
}
