/* kommentare hier einfügen */

:root {
  --ks-lila: #7b1fa2;
  --ks-lila-hell: #b56dff;
  --ks-neon-gruen: #39ff14;
  --ks-dunkel: #16051f;
  --ks-text: #2a1f2f;
}

* {
  box-sizing: border-box;
}

/* Bedeutung:

--ks-lila          Hauptfarbe / Marke
--ks-lila-hell     Highlights, Linien, leichte Glows
--ks-neon-gruen    kleine Akzente, Buttons, Hover-Effekte
--ks-dunkel        dunkle Flächen / Footer / starke Kontraste
--ks-text          normale Textfarbe */

nav a{
    color: var(--ks-neon-gruen);
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 0.5rem;
}

nav a,
nav a:visited,
footer a,
footer a:visited {
  color: var(--ks-neon-gruen);
  text-decoration: none;
  font-weight: normal;
  font-size: 18px;
}

nav {
    background-color: var(--ks-lila);
    width: 100%;
    color: white;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
nav ul {
   display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 12px 20px;
  margin: 0;
  flex-wrap: wrap;
}

/* sanftes scrollen aktivieren */

html {
    scroll-behavior: smooth;
}

footer {
  background-color: var(--ks-lila);
  padding: 14px 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  right: 30px;
  top: 14px;
  display: flex;
  gap: 20px;
}

/* Abstand zwischen Logo und dem folgenden Absatz anpassen */

header h1{
    margin-bottom: 0;
}

header h1 + p{
    margin-top: 0;
}

/* flexible Bilder */

img{
    max-width: 100%;
    height: auto;
}

.hero-slogan {
  color: var(--ks-lila);
  font-style: italic;
  font-size: 44px;
  letter-spacing: 4px;
  text-align: center;

  width: 100%;
  display: block;

  margin-top: 10px;
  margin-bottom: 34px;
  padding-bottom: 12px;

text-shadow:
  -1px -1px 0 rgba(0, 0, 0, 0.45),
   1px -1px 0 rgba(0, 0, 0, 0.45),
  -1px  1px 0 rgba(0, 0, 0, 0.45),
   1px  1px 0 rgba(0, 0, 0, 0.45);
}

.hero-slogan::after {
  content: "";
  display: block;
  width: 220px;
  height: 3px;
  background-color: var(--ks-neon-gruen);
  margin: 14px auto 0 auto;
  border-radius: 999px;
}

header img {
  display: block;
  margin: 0 auto;
}

main {
    font-size: 18px;
    text-align: center;
      max-width: 760px;
        margin: 40px auto;
        padding: 30px;
}

main ul {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  padding-left: 20px;
}

body {
  margin: 0;
  min-height: 100vh;

  background-image: url("../bilder/hintergrund-nr-001.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.content-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 35px;
  border-radius: 18px;
}

.k4fun-logo {
  position: absolute;
  top: 35px;
  right: 60px;
  width:210px;
  height: auto;
}

@media (max-width: 700px) {
  .k4fun-logo {
    position: static;
    display: block;
    width: 110px;
    height: auto;
    margin: 10px auto 0 auto;
  }
}

.footer-credit {
  display: block;
  margin: 10px 0 0 0;
  color: white;
  font-size: 14px;
  text-align: center;
}

.text-link,
.text-link:visited {
  color: var(--ks-lila);
  text-decoration: none;
  font-weight: bold;
}

.text-link:hover {
  color: var(--ks-neon-gruen);
}

@media (max-width: 1000px) {
  body {
    overflow-x: hidden;
  }

  header img {
    max-width: 90%;
    height: auto;
  }

  .hero-slogan {
    font-size: 32px;
    letter-spacing: 2px;
    padding: 0 12px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav a {
    font-size: 18px;
  }

  main {
    max-width: 100%;
    margin: 30px 12px;
    padding: 20px;
    font-size: 18px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}