:root {
  --color-primary: #6750a4;
  --color-on-primary: #ffffff;
  --color-surface: #242424;
  --font: 'Roboto', sans-serif;
  --color-header-bg: #f5c518;
  --color-main-background: #424242;
  --color-footer-background: #424242;
  --radius: 12px;
}

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

body {
  font-family: var(--font);
  background: var(--color-surface);
  color: #ffffff;
  scroll-behavior: smooth;
}

h1{
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h2 {
  margin-bottom: 1rem;
}

h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p{
  margin-top: 1rem;
  margin-bottom: 1rem;
}


html, body {
  height: 100%;
  margin: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem; /* für Rand auf kleinen Bildschirmen */
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.logo img {
  height: 60px;
}

.logo-image {
  border-radius: 8px; /* oder z. B. 50% für rund */
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
}

.main-nav {
  align-items: center;
  padding: 0.68rem 2rem;
  background-color: var(--color-main-background);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}



.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}



.nav-links li {
  position: relative;
  font-weight: bold;
  padding: 0 0.75rem;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  position: relative;
  padding: 0 0.5rem;
  transition: color 0.3s ease; /* weiche Übergänge */
}

.nav-links li a:hover {
  color: var(--color-header-bg); /* z. B. dein Senfgelb */
}

.burger {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}


.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--color-surface);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.cta-button {
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(103, 80, 164, 0.3);
}

section {
  padding: 0rem 3rem;
  text-align: left;
}

section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

section li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}



/* Desktop – linksbündig */
@media (min-width: 769px) {
  .nav-inner {
    justify-content: flex-start; /* ← Das erzwingt Linksbündigkeit */
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
    list-style: none;
    padding: 0;
  }
  
  .nav-links li {
    position: relative;
    font-weight: bold;
    padding: 0 1rem;
  }

  .nav-links li + li::before {
    content: "•"; /* oder "•", "›", etc. */
    position: absolute;
    left: -0.75rem; /* stellt die Trenner-Mitte ein */
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    opacity: 0.5;
    font-size: 1.1rem;
  }
  
}

/* Responsive Design */
@media (max-width: 768px) {
  
  .main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .nav-inner {
    justify-content: center;
    position: relative;
  }

  .burger {
    display: block;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
  }

  .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 4rem;
    left: 1rem;
    background: var(--color-main-background);
    padding: 1rem;
    gap: 0.75rem;
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 1500;
  }

  .nav-links.open {
    transform: translateX(0);
  }
}


/* Animationen */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s forwards ease-out;
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards ease-out;
}

.slide-up.delay {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  color: #ffffff;
  background: var(--color-footer-background);
}