/*=================================================================================
    APP: SPD SOE
    Beschreibung: Main css für die SPD-SOE-APP

=================================================================================*/
/* Einbindung Schriftarten*/
/* playfair-display-regular - latin */
/* Headlines / Aufmacher */
@font-face {
    font-display: swap;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}
/* source-serif-4-regular - latin */
/* Artikeltext */
@font-face {
    font-display: swap;
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-serif-4-v14-latin-regular.woff2') format('woff2');
}
/* inter-regular - latin */
/* Navigation, Meta, Labels */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}

/* Grundeinstellungen */
:root {
    --app-color-red: rgb(227,0,15); /* rot */
    --app-color-reddark: rgb(155,11,34); /* dunkelrot */
    --app-color-black: rgb(0,0,0); /* schwarz */
    --app-color-grey: rgb(211,211,211); /* helles grau */
    --app-color-white: rgb(255,255,255);
    --gold:      #F5C518;

}

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

/* Basics */
body {
    background: var(--app-color-white);
    color: var(--app-color-black);
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    min-height: 100vh;
    padding-top: 83px;
    padding-bottom: 110px;
}

/* Top Header */
.app-header {
    height: 78px;
    padding: 0 20px;
    background: var(--app-color-red);
}
.top-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1050;
    height: 65px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: var(--app-color-red);
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Inter';
}
.logo-badge {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.25);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.logo-text {
    color: white;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
}
.logo-text span {
    display: block;
    font-weight: 300;
    font-size: .72rem;
    opacity: .80;
}
.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}
.app-header-right {
    gap: 5px;
}
.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.25);
    border-radius: 30%;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    position: relative;
}
.icon-btn:hover {
    background: rgba(255,255,255,0.38);
}

/* — Ressort tab bar — */
.ressort-bar {
    display: flex; align-items: center;
    height: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0px;
    gap: 1px;
}
.ressort-bar::-webkit-scrollbar { display: none; }

.ressort-tab {
    flex-shrink: 0;
    padding: 5px 14px;
    border: none; background: transparent;
    color: rgba(255,255,255,0.70);
    font-family: 'Barlow', sans-serif;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer; transition: color .2s, background .2s;
    white-space: nowrap;
}
.ressort-tab:hover { color: white; background: rgba(255,255,255,0.10); }
.ressort-tab.active {
    color: var(--app-color-red);
    background: var(--app-color-white);
}
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--app-color-red);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-top: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 -4px 28px rgba(215,38,56,0.30);
    padding-bottom: env(safe-area-inset-bottom);
}
/* ── Runde macOS-Buttons ── */
.mac-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transform: translateY(-50%);
    border: 2px solid rgba(255,255,255,0.68);
    border-radius: 30%;
    /*background: rgba(255,255,255,0.18);*/
    background: var(--app-color-red);
    color: rgba(255,255,255,0.85);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: background .2s, color .2s, transform .18s, box-shadow .2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.mac-btn:hover {
    background: rgba(255,255,255,0.30);
    color: #fff;
    transform: scale(1.12) translateY(-50%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.mac-btn:active {
    transform: scale(0.95) translateY(-50%);
}

/*indexv2.html*/
/* ══════════════════════════════════════
       FIXED BOTTOM NAV
    ══════════════════════════════════════ */
#bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 64px; z-index: 1060;
    background: var(--app-color-red);
    border-top: 2px solid var(--app-color-reddark);
    box-shadow: 0 -3px 20px rgba(0,0,0,0.18);
    display: flex; align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    background: none; border: none;
    color: rgba(255,255,255,0.55);
    font-size: .58rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    cursor: pointer; text-decoration: none;
    transition: color .18s, background .18s;
    position: relative;
    font-family: "Inter";
}
.nav-item i { font-size: 1.2rem; transition: transform .18s; }
.nav-item:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,0.07); }
.nav-item:hover i { transform: translateY(-2px); }
.nav-item.active { color: white; background: rgba(255,255,255,0.10); }
.nav-item.active::after {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 28px; height: 2.5px;
    background: var(--gold); border-radius: 0 0 4px 4px;
}