@media (prefers-color-scheme: light) {
  :root {
    --tabbar-bg: #fff;
    --tabbar-link: #1976d2;
    --tabbar-link-active: #0d47a1;
    --tabbar-icon-filter: none;
    --tabbar-btn-bg: #fff;
    --tabbar-btn-color: #1976d2;
    --tabbar-btn-bg-hover: #e3e3e3;
    --tabbar-btn-color-hover: #0d47a1;
    --tabbar-span: #1976d2;
  }
  body {
    background: #f5f5f5;
    color: #1976d2;
  }
  .spalte {
    background: #f5f5f5;
    color: #1976d2;
  }
  header {
    background: #f5f5f5;
    color: #1976d2;
    border-bottom: 4px solid #1976d2;
  }
  section:hover {
    background-color: #ffffff;
  }
  p {
    color: #000000;
  }
  li {
    color: #000000;
  }
  a {
    color: #1976d2;
  }
  .tabbar a, .tabbar-item {
    color: var(--tabbar-link);
  }
  .tabbar a.active, .tabbar-item.active {
    color: var(--tabbar-link-active);
  }
  .tabbar-icon {
    filter: var(--tabbar-icon-filter);
  }
  .tabbar-col.right span {
    color: var(--tabbar-span);
  }
  .tabbar-col.right button {
    background: var(--tabbar-btn-bg);
    color: var(--tabbar-btn-color);
  }
  .tabbar-col.right button:hover {
    background: var(--tabbar-btn-bg-hover);
    color: var(--tabbar-btn-color-hover);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --tabbar-bg: #222;
    --tabbar-link: #ff7f50;
    --tabbar-link-active: #fff;
    --tabbar-icon-filter: brightness(1.3) saturate(1.2);
    --tabbar-btn-bg: #222;
    --tabbar-btn-color: #ff7f50;
    --tabbar-btn-bg-hover: #333;
    --tabbar-btn-color-hover: #fff;
    --tabbar-span: #ff7f50;
  }
  body {
    background: #121212;
    color: #ff7f50;
  }
  .spalte {
    background: #121212;
    color: #ff7f50;
  }
  header {
    background: #121212;
    color: #ff7f50;
    border-bottom: 4px solid #ff7f50;
  }
  section:hover {
    background-color: #1e1e1e;
  }
  p {
    color: #ffffff;
  }
  li {
    color: #ffffff;
  }
  a {
    color: #ff7f50;
  }
  .tabbar {
    background: var(--tabbar-bg);
  }
  .tabbar a, .tabbar-item {
    color: var(--tabbar-link);
  }
  .tabbar a.active, .tabbar-item.active {
    color: var(--tabbar-link-active);
  }
  .tabbar-icon {
    filter: var(--tabbar-icon-filter);
  }
  .tabbar-col.right span {
    color: var(--tabbar-span);
  }
  .tabbar-col.right button {
    background: var(--tabbar-btn-bg);
    color: var(--tabbar-btn-color);
  }
  .tabbar-col.right button:hover {
    background: var(--tabbar-btn-bg-hover);
    color: var(--tabbar-btn-color-hover);
  }
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
    position: relative;
    text-align: center;
    padding: 0.25em;
    z-index: 1;
}

p {
    text-align: center;
    max-width: 50%;
}
  
.column-layout {
  display: flex;
  flex: 1;
  flex-direction: row;
  gap: 0;
  padding-bottom: 56px;
}

@media (max-width: 900px) {
  .column-layout {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  p {
    max-width: 90%;
  }
}

.column {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;      
}

.column h2 {
  padding-top: 3em;
}
  

.section-container {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}

section {
    position: relative;
    transition: background 0.2s, transform 0.2s;
    z-index: auto;
  }

section:hover {
  transform: scale(1.05);
  z-index: 10;
  position: relative;
}

.tabbar {
  display: grid;
  grid-template-columns: 1fr 60px 60px 60px 1fr;
  align-items: center;
  height: 60px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 100;
  background: var(--tabbar-bg);
}

.tabbar-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabbar-col.center {
  justify-content: center;
  padding-left: 1em;
  padding-right: 1em;
}

.tabbar-col.right {
  align-items: left;
  justify-content: flex-end;
}

.tabbar-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabbar-right span {
  font-size: 0.95em;
  margin-right: 0.5em;
}

.tabbar-right button {
  padding: 2px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.tabbar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: auto;
  padding: 0 8px;
  text-decoration: none;
}

.tabbar a {
  padding: 0 8px;
}

.tabbar-icon {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 80vh;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 16px;
  padding-bottom: 56px;
  box-sizing: border-box;
}

.privacy-content h1,
.privacy-content h2 {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.tabbar-col.right .language a {
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  .tabbar {
    background: #222;
  }
}
