* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body,
html {
  height: 100%;
  font-family: "Montserrat", sans-serif;
}

.sternenhimmel {
  position: relative;
  width: 100%;
  height: 400px; /* Oder beliebige Höhe */
  background: black;
  overflow: hidden;
}
.stars {
  position: absolute;
  width: 200%;
  height: 200%;
  animation: drift 120s linear infinite;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 4s infinite alternate;
}
@keyframes twinkle {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}
@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-25%, -25%);
  }
}
.sternenhimmel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1; /* Über den Sternen */
  color: white;
}
.sternenhimmel-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rhodium-timeless {
  background-color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}
.rhodium-text {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 2s forwards;
  animation-delay: 0.3s;
}
.rhodium-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #333;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toc-section {
  background-color: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #eee;
}
.toc-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.toc-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}
.toc-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}
.toc-wrapper li a {
  display: block;
  padding: 1rem;
  background-color: #ffffff;
  color: #555;
  font-size: 1.1rem;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.toc-wrapper li a:hover {
  background-color: #8e44ad;
  color: #ffffff;
  border-color: #8e44ad;
}

.content-section {
  background-color: #ffffff;
  padding: 5rem 2rem;
  border-top: 1px solid #eee;
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.content-section h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  line-height: 1.3;
}
.content-section p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.content-highlight {
  background: linear-gradient(to bottom right, #f5f7fa, #e8ebf0);
  padding: 5rem 2rem;
  border-top: 1px solid #ddd;
}
.highlight-wrapper {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}
.content-highlight h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2.5rem;
}
.highlight-text {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.highlight-text p {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.content-section {
  background-color: #ffffff;
  padding: 5rem 2rem;
  border-top: 1px solid #eee;
}

.content-flex {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.content-text {
  flex: 1 1 500px;
}

.content-text h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}
.content-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}
.content-image {
  flex: 1 1 400px;
  text-align: center;
}
.content-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.section-final {
  background-color: #f8f8f8;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #eee;
}
.final-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.section-final h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}
.section-final p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.kontakt-button {
  display: inline-block;
  margin-top: 2rem;
  background-color: #8e44ad;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.kontakt-button:hover {
  background-color: #732d91;
}

header {
  background-color: #ffffff;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #8e44ad; /* edler violett-grauer Ton */
}
.logo a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1rem;
    display: none; /* für spätere mobile Erweiterung */
  }
}

.footer {
  background-color: #2c2c2c;
  color: #eee;
  padding: 3rem 2rem 1.5rem;
  font-size: 0.95rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
}
.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li {
  margin-bottom: 0.5rem;
}
.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #8e44ad;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}
