/* einblog.net – bewusst ohne externe Webfonts/Icon-CDNs */

.einblog-brand {
    text-decoration: none;
}

.einblog-wordmark {
    font-family: var(--pico-font-family-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--pico-color);
}

.einblog-dot {
    color: var(--q2-link);
}

/* Quark 2 erzeugt für den Theme-Schalter Font-Awesome-Klassen.
   Font Awesome ist deaktiviert; diese lokalen Unicode-Glyphen ersetzen nur
   die drei kleinen Symbole. Die Icons sind aria-hidden, der Button selbst
   besitzt weiterhin seine zugängliche Beschriftung. */
.theme-toggle .icon::before {
    display: inline-block;
    min-width: 1em;
    font-family: system-ui, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
.theme-toggle .icon-sun::before  { content: "☀"; }
.theme-toggle .icon-moon::before { content: "☾"; }
.theme-toggle .icon-auto::before { content: "◐"; }

#footer .einblog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

#footer .einblog-footer-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#footer .einblog-footer-nav a {
    white-space: nowrap;
}

.einblog-home > h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: .95;
    margin-bottom: .5rem;
}

.einblog-home .home-lead {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 48rem;
    margin-bottom: 1.75rem;
}

.einblog-home .home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.5rem 0 3rem;
}

.einblog-home .home-actions a {
    display: inline-block;
    padding: .7rem 1rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    text-decoration: none;
}

.einblog-home .home-actions a:first-child {
    background: var(--q2-accent);
    color: var(--q2-accent-contrast);
    border-color: var(--q2-accent);
}

.einblog-home .home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 3rem;
}

.einblog-home .home-card {
    padding: 1.25rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
}

.einblog-home .home-card h3 {
    margin-top: 0;
}

@media (max-width: 760px) {
    .einblog-home .home-grid {
        grid-template-columns: 1fr;
    }

    #footer .einblog-footer {
        justify-content: center;
        text-align: center;
    }

    #footer .einblog-footer-nav {
        justify-content: center;
        width: 100%;
    }
}


/* Typografie: Cal Sans bewusst nicht verwenden.
   Inter ist bereits lokal in Quark 2 vorhanden und wird für alles genutzt. */
:root {
    --pico-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --pico-font-family-display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
button,
input,
select,
textarea {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.einblog-wordmark {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.025em;
}

.einblog-wordmark {
    font-weight: 700;
}
