/* Ersetzt die Inline-`style`-Attribute des alten Razor-Layouts.
   Grund: die CSP erlaubt nur `style-src 'self'` — Inline-Styles waeren blockiert.
   Die Werte sind 1:1 aus _PublicLayout.cshtml / _PublicLanding.cshtml uebernommen,
   das Rendering bleibt identisch. */

.navbar-logo {
    height: 40px;
    width: auto;
}

.ud-footer-logo img {
    height: 34px;
    width: auto;
}

.ud-product-logo {
    max-width: 100px;
    opacity: 0.75;
}

.ud-about-image img {
    max-width: 350px;
    opacity: 0.75;
}

/* Seiten ohne Hero (Impressum, Datenschutz, 404): Abstand unter den fixierten Header. */
.ud-page-header {
    background: var(--primary-color);
    padding: 160px 0 60px;
}

.ud-page-header h1 {
    color: var(--white);
    font-weight: 700;
    font-size: 35px;
    line-height: 1.3;
    margin-bottom: 0;
}

.ud-legal {
    padding: 4rem 0 5rem;
}

.ud-legal h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Sprungziele in Rechtstexten (z. B. datenschutz.html#social) nicht unter dem
   fixierten Header verstecken. Header gescrollt: 2 x 0.75rem Padding + 40px Logo. */
.ud-legal h2[id] {
    scroll-margin-top: 90px;
}

.ud-legal h2:first-of-type {
    margin-top: 0;
}

.ud-legal p,
.ud-legal li {
    color: var(--gray-700);
}

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

.ud-legal .card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ud-notfound {
    padding: 180px 0 120px;
    text-align: center;
}

.ud-notfound-code {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
