/* Fallback ohne JavaScript – script.js setzt beim Laden die Farben abhänigi von Tag und Uhrzeit */
:root {
    --bg: #ffffff;
    --text: #d4d4d4;
    --accent: #e6e6e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Courier Prime", monospace;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
}

a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent);
}

.wrapper {
    min-height: 100vh;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
}

/* Logo + Animation */
.logo {
    display: flex;
    justify-content: center;
}

.logo svg {
    width: min(75vw, 380px);
    height: auto;
    display: block;
    overflow: visible;
    transform-origin: 51% 47%;
    animation: logo-swing 1.9s cubic-bezier(.34, 1.56, .64, 1) both;
}

.logo-kreiskomplex {
    fill: var(--accent);
}

/* Logo-Animation "Doppel-Wischer" – läuft einmal beim Laden */
.logo-wipe-half {
    fill: none;
    stroke: #fff;
    stroke-width: 760;
    stroke-dasharray: 0 1;
    animation: logo-wipe 1.6s cubic-bezier(.6, 0, .3, 1) forwards;
}

@keyframes logo-wipe {
    to {
        stroke-dasharray: .5 1;
    }
}

@keyframes logo-swing {
    from {
        transform: rotate(-30deg) scale(.8);
    }

    to {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo svg {
        animation: none;
    }

    .logo-wipe-half {
        animation: none;
        stroke-dasharray: none;
    }
}

.contact {
    font-style: normal;
}

.footer {
    text-align: center;
    font-size: 1rem;
    padding-top: 2rem;
}

.content--text {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 0.75rem;
}

.content--text h1 {
    font-family: "Krona One", sans-serif;
    font-weight: normal;
    font-size: clamp(1.6rem, 6vw, 2.8rem);
    color: var(--accent);
    margin-bottom: 1rem;
}

.content--text h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 1rem;
}