:root {
    --bg-color: #f4f4f4;
    --container-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
    --accent-color: #00709d;
    --footer-bg: #e0e0e0;
    --footer-text: #111111;
    --footer-line: rgba(0, 0, 0, 0.1);
    --text-primary: #333333;
    --text-secondary: #555555;
    --border-color: #dddddd;
    --hover-bg: #f0f0f0;
}

[data-theme="dark"] {
    --bg-color: #0d0d0d;
    --container-bg: #141414;
    --header-bg: rgba(15, 15, 15, 0.95);
    --footer-bg: #0a0a0a;
    --footer-text: #ffffff;
    --footer-line: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a2a;
    --hover-bg: #333333;
}

body { margin: 0; background-color: var(--bg-color); font-family: 'Roboto', sans-serif; color: var(--text-primary); overflow-x: hidden; }

header {
    position: fixed; top: 0; left: 0; right: 0; height: 65px;
    background-color: var(--header-bg); backdrop-filter: blur(8px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 30px; z-index: 2000; border-bottom: 1px solid var(--border-color);
}

.header-brand { display: flex; align-items: center; gap: 12px; }
.header-brand-logo { height: 35px; width: auto; }
.header-logo-text { font-weight: 700; color: var(--accent-color); font-size: 16px; }

.content-wrapper {
    margin-top: 65px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 65px);
}

.legal-content { flex: 1; padding: 60px 20px; display: flex; justify-content: center; }
.container { background-color: var(--container-bg); padding: 40px; border-radius: 12px; max-width: 800px; width: 100%; border: 1px solid var(--border-color); }

h1 { color: var(--accent-color); font-size: 26px; margin-top: 0; margin-bottom: 25px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; }
h2 { color: var(--accent-color); font-size: 18px; font-weight: bold; margin-top: 30px; margin-bottom: 12px; }
p { color: var(--text-secondary); margin-bottom: 15px; font-size: 15px; line-height: 1.6; }

/* --- FOOTER --- */
footer { background-color: var(--footer-bg); color: var(--footer-text); padding: 60px 0 0 0; text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; }
.footer-nav a { color: var(--footer-text); text-decoration: none; font-size: 15px; opacity: 0.7; }
.footer-nav a:hover { opacity: 1; color: var(--accent-color); }

.footer-social { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.footer-social a { color: var(--footer-text); opacity: 0.7; }
.footer-social a:hover { opacity: 1; color: var(--accent-color); }

.footer-bottom {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--footer-line);
    margin: 0 20px;
}

.copyright { font-size: 12px; opacity: 0.5; margin: 0; line-height: 25px; }

/* Pfeil Logo Korrektur */
.footer-arrow {
    position: absolute;
    right: 15px;
    height: 25px; /* Minimalistisch und passend zur Texthöhe */
    width: auto;
    opacity: 0.6;
}

/* UI Controls */
.header-controls { display: flex; align-items: center; gap: 10px; }
.icon-btn { background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; border-radius: 50%; display: flex; align-items: center; }
.icon-btn:hover { background: var(--hover-bg); }
.lang-menu { position: absolute; top: 60px; right: 0; background: var(--container-bg); border: 1px solid var(--border-color); border-radius: 6px; width: 150px; opacity: 0; visibility: hidden; transition: 0.2s; }
.lang-menu.show { opacity: 1; visibility: visible; }
.lang-option { padding: 10px 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; }

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: none; }