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

html, body {
  height: 100%;
}

body {
  font-family: Garamond, Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  color: #e8d9b0;
  background-image: url('Hintergrund.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  padding: 2rem;
}

.card {
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(20, 14, 10, 0.6);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(232, 185, 118, 0.35);
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.5);
  padding: 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 185, 118, 0.5) rgba(20, 14, 10, 0.3);
}

.card::-webkit-scrollbar {
  width: 0.6rem;
}

.card::-webkit-scrollbar-track {
  background: rgba(20, 14, 10, 0.3);
  border-radius: 0.3rem;
}

.card::-webkit-scrollbar-thumb {
  background-color: rgba(232, 185, 118, 0.5);
  border-radius: 0.3rem;
}

.card::-webkit-scrollbar-thumb:hover {
  background-color: rgba(232, 185, 118, 0.75);
}

.logo {
  display: block;
  max-width: 16rem;
  width: 60%;
  height: auto;
  margin: 0 auto 1.75rem;
}

.tabs {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  border-bottom: 1px solid rgba(232, 185, 118, 0.25);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  color: #b8ac93;
  font-family: inherit;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: #e8d9b0;
}

.tab-btn.active {
  color: #e8b976;
  border-bottom-color: #e8b976;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h1 {
  font-size: 2.1rem;
  font-weight: normal;
  letter-spacing: 0.03em;
  color: #e8b976;
  margin-bottom: 1.25rem;
  text-align: center;
}

.tab-content h2 {
  font-size: 1.2rem;
  font-weight: normal;
  color: #e8b976;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.tab-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #cbb98f;
  margin-top: 1.1rem;
  margin-bottom: 0.3rem;
}

.tab-content p {
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.tab-content p.intro {
  text-align: center;
  font-size: 1.25rem;
}

.tab-content ul {
  margin: 0.5rem 0 0.6rem 1.3rem;
}

.tab-content li {
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.tab-content p.source {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #8b8270;
}

.tab-content a {
  color: #e8b976;
}

.portrait {
  display: block;
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(232, 185, 118, 0.5);
  margin: 0 auto 1.5rem;
}

footer {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(232, 217, 176, 0.6);
  pointer-events: none;
}

@media (max-width: 30rem) {
  .card {
    padding: 1.5rem;
  }
  .tabs {
    gap: 0.75rem;
  }
  .tab-btn {
    font-size: 0.95rem;
  }
}
