﻿/* =============================================================================
   Global Content (Typo & Abstände)
   ============================================================================= */

article.ed-content h1 {
    margin-left: -0.5rem; /* -8px */
}

.content h1 {
    margin: 0 0 1.875rem 0;
    position: relative;
    left: -0.5rem;
}

.content h2 {
    margin: 0 0 0.625rem 0;
}

.content p {
    margin: 0 0 0.875rem 0;
}

.content section {
    margin: 0 0 1.375rem 0;
}

/* Lesetypo innerhalb ed-content */

.ed-content p {
    margin: 0 0 1rem 0;
}

.ed-content h1 {
    font-size: 1.625rem;
    line-height: 1.25;
    margin: 0 0 1.5rem 0;
}

.ed-content h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.ed-content h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.625rem;
}

/* =============================================================================
   Topbar / Header
   ============================================================================= */
/* Default = Desktop */
.ed-brand-logo-full {
    height: 3rem;
    width: auto;
    display: block;
}

.ed-brand-logo-icon {
    height: 3rem;
    width: auto;
    display: none;
}

/* Mobile */
@media (max-width: 600px) {

    .ed-brand-logo-full {
        display: none;
    }

    .ed-brand-logo-icon {
        display: block;
    }
}

.ed-topbar {
    height: 4.5rem;
    padding-right: 2rem;
    background: #000;
    display: flex;
    align-items: center;
}

.ed-brand {
    color: #fff !important;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    line-height: 1;
    padding-left: 2rem;
}

    .ed-brand:hover {
        text-decoration: none !important;
    }

.ed-spacer {
    flex: 1;
}

/* Footer: kompakt + zentriert (einzeilig) */
.ed-footer.ed-footer--compact {
    background: var(--ed-primary);
    padding: 0; /* kein fetter Block */
}

.ed-footer-bar {
    min-height: 4rem; /* statt fixe Höhe */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* wichtig */
    gap: 0.4rem 0.8rem; /* vertikal / horizontal */
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #fff;
    text-align: center;
}

/* Links optisch passend */
.ed-footer.ed-footer--compact .ed-footer-link {
    color: inherit;
    text-decoration: none;
}

    .ed-footer.ed-footer--compact .ed-footer-link:hover {
        text-decoration: underline;
    }

/* optional: Separator etwas dezenter */
.ed-footer-sep {
    opacity: 0.8;
}
