/*
 * legal-style.css
 * Vereinfacht: Nur noch Dark Mode
*/
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Arial'); /* Nutzt die lokale Arial-Schriftart als Basis */
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 107%;
}

/* 1. Lokale Fonts laden */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('Font/Poppins-Light.ttf') format('truetype');
    font-display: swap; 
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('Font/Poppins-Regular.ttf') format('truetype');
    font-display: swap; 
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('Font/Poppins-SemiBold.ttf') format('truetype');
    font-display: swap; 
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('Font/Poppins-Bold.ttf') format('truetype');
    font-display: swap; 
}

/* 2. Farbvariablen & Basis-Stile */
:root {
    /* KORREKTUR: Die Dark-Mode-Farben sind jetzt der Standard */
    --accent-color: #FCB500;
    --bg-color: #1a1a1a;
    --border-color: #333333;
    --link-color: #FCB500;
    --text-color: #eeeeee;
}

/* GELÖSCHT: Die body.dark-mode Regel ist nicht mehr nötig. */

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', 'Poppins Fallback', sans-serif;
    line-height: 1.7;
    margin: 0;
    /* padding: 2rem; */ /* Padding wird von anderen Containern gesteuert */
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* 3. Container & Inhalt */
.legal-container {
    margin: 0 auto;
    max-width: 800px;
}

/* Schriftgrößen und Stile bleiben gleich */
.legal-container h1 {
    border-bottom: 1px solid var(--border-color);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 10px;
}

.legal-container h2 {
    border-bottom: 1px solid var(--border-color);
    font-size: 1.62rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 10px;
    text-align: left;
}

.legal-container h3 {
    font-size: 1.17rem;
    font-weight: 600;
    margin-top: 2.25rem;
}

.legal-container h4 {
    font-size: 0.99rem;
    font-weight: 600;
    margin-top: 1.8rem;
}

.legal-container li {
    margin-bottom: 0.5rem;
}

.legal-container ol,
.legal-container ul {
    padding-left: 1.8rem;
}

.legal-container p,
.legal-container ul,
.legal-container ol,
.legal-container li {
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

.contact-item {
    align-items: center;
    display: flex;
    gap: 15px;
    margin-bottom: 0.5rem;
}

.contact-item i {
    color: var(--accent-color);
    text-align: center;
    width: 20px;
}

/* 4. Zurück-Button */
.back-link {
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    color: var(--accent-color);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2.7rem;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.back-link i {
    margin-right: 0.45rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
}

.back-link:hover i {
    transform: translateX(-5px);
}
