:root {
    --brand-primary: #f9ca3a;
    --brand-accent: rgb(0 70 124 / 1);
    --text-dark: #2b2b2b;
    --muted: #6b6b6b;
    --bg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---- Header ---- */
.site-header {
    background: var(--brand-primary);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
}

.logo-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    /*color: #2b2200;*/
    color: var(--brand-accent);
}

.site-nav a {
    /*color: #2b2200;*/
    color: var(--brand-accent);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 20px;
    font-weight: 600;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* ---- Main content ---- */
.site-main {
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.content-page h1 {
    font-size: 1.7rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.content-page .subtitle {
    color: var(--muted);
    margin-top: 0;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.content-page section {
    margin-bottom: 26px;
}

.content-page h2 {
    font-size: 1.1rem;
    border-left: 4px solid var(--brand-accent);
    padding-left: 10px;
    margin-bottom: 8px;
    color: var(--brand-accent);
}

.content-page p,
.content-page li {
    line-height: 1.6;
    font-size: 0.95rem;
}

.content-page a {
    color: var(--brand-accent);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--brand-primary);
    padding: 18px 28px calc(18px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    font-size: 0.85rem;
    /*color: #2b2200;*/
    color: var(--brand-accent);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

    .site-footer a,
    .footer-link-btn {
        /*color: #2b2200;*/
        color: var(--brand-accent);
        font-weight: 600;
        text-decoration: underline;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 0.85rem;
        padding: 0;
    }

/* ---- Buttons ---- */
.btn {
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-accent {
    background: var(--brand-accent);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--brand-accent);
    border: 1px solid #999;
}

/* ---- Cookie banner ---- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #1f1f1f;
    color: #fff;
    padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 50;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.85rem;
    max-width: 560px;
    color: #eee;
}

.cookie-banner-text a {
    color: var(--brand-primary);
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---- Modal (Cookie-Einstellungen) ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-box {
    background: #fff;
    max-width: 480px;
    width: 100%;
    border-radius: 10px;
    padding: 26px 24px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-box h2 {
    margin-top: 0;
}

.modal-intro {
    color: var(--muted);
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--muted);
}

.consent-category {
    border-top: 1px solid #eee;
    padding: 12px 0;
}

.consent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.consent-row small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 0.8rem;
    margin-top: 2px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

[hidden] {
    display: none !important;
}
