/* Farben: hell als Standard, dunkel nach Systemeinstellung */
:root {
    color-scheme: light dark;
    --color-background: #f6f8f6;
    --color-foreground: #14201a;
    --color-muted-foreground: #47554d;
    --color-accent-green: #47c832;
    --color-accent-red: #c33607;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #0f1512;
        --color-foreground: #f1f5f2;
        --color-muted-foreground: #a9b8af;
    }
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    margin: 0;
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}


.parent-grid {
    display: grid;
    place-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem;
}


.child-grid {
    text-align: center;
}


.logo {
    width: clamp(9rem, 40vmin, 14rem);
    height: auto;
    /* blendet den grauen, quadratischen Bildhintergrund aus */
    clip-path: circle(49.6%);
}


h1 {
    margin: 1.5rem 0 0;
    font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}


/* zweifarbiger Strich in den Logofarben */
h1::after {
    content: '';
    display: block;
    width: 5rem;
    height: 4px;
    margin: 1rem auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-accent-green) 50%, var(--color-accent-red) 50%);
}


.status {
    margin: 0;
    color: var(--color-muted-foreground);
    font-size: clamp(1.125rem, 1rem + 1vw, 1.5rem);
    text-wrap: balance;
}


/* Mindesthöhe 44px, damit der Link gut antippbar ist */
.contact {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1.5rem;
    padding: 0 1rem;
    color: inherit;
    text-underline-offset: 0.25em;
    text-decoration-color: var(--color-accent-green);
    text-decoration-thickness: 2px;
}


.contact:hover {
    text-decoration-color: var(--color-accent-red);
}


.contact:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 4px;
}


/* Nicht genutzt
div {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.grid-container {
    display: grid;
    justify-content: center;
    border: 3px solid green;
    align-items: center;
    padding: 170px 0;
}

.center {
    padding: 7px 0;
    border: 3px solid green;
    text-align: center;
}
*/
