  a, button {
  -webkit-tap-highlight-color: transparent; /* Android & iOS */
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* alt */
  text-decoration: none;
  color: #ddd;
  }

/* Standard: Dark Mode */
:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #A67C52;
    --card-bg: #1e1e1e;
    --border-color: #444;
    --border-color2: rgba(250, 250, 250, 0.2);
    --s: block;
    --s2: none;
}

/* Light Mode Farben (wird per Klasse aktiviert) */
body.light-mode {
    --bg-color: #f9f9f9;
    --text-color: #333;
    --accent-color: #2c3e50;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --border-color2: rgba(0, 0, 0, 0.2);
    --s: none;
    --s2: block;
}
html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.legal-container {
    background: var(--card-bg);
    padding: 30px;
}

h1, h2 {
    color: var(--accent-color);
}

h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 10px;
}

a {
    color: dodgerblue;
}

nav {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

nav div {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

nav a {
    margin-right: 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}

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

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 40px 0;
}

ul {
    padding-left: 20px;
}

footer {
    margin-top: 50px;
    font-size: 0.9em;
    text-align: center;
    opacity: 0.7;
}

.material-symbols-outlined {
    vertical-align: middle;
}

#theme-toggle {
    cursor: pointer;
    background: none;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

#back {
    position: fixed;
    top: 20px;
    left: 20px;
    text-decoration: none;
    font-weight: bold;
    color: var(--accent-color);
    padding: 10px;
    font-size: 20px;
    border: 1px solid var(--border-color2);
    border-radius: 25px;
    backdrop-filter: brightness(1.2) contrast(1.2);
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.img {
    max-height: 260px;
    display: var(--s);
}
.img2 {
    max-height: 260px;
    display: var(--s2);
}

a p {
    color: var(--text-color);
}