@charset "UTF-8";


/* =========================
   BODY + SEITENLAYOUT
========================= */
.datenschutz-page {
  background: rgb(15, 15, 15) url("../bilder/compass-free.png") no-repeat;
  background-position: center 0px;
  background-size: min(2000px, 140vw) auto;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

main {
  flex: 1;
}

.top-picture {
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  aspect-ratio: 4/1;
  position: relative;
  overflow: hidden;
  /* wichtig */
}

.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ersetzt background-size: cover */
  display: block;
}

header {
  position: relative;
  /* wichtig, damit absolute Position funktioniert */
}

.logo-urbangrafix {
  position: absolute;
  top: 10px;
  right: 60px;
  z-index: 10;
}

.logo-urbangrafix img {
  width: clamp(90px, 18vw, 380px);
  /* klein – mittel – groß */
  height: auto;
}

body {
  margin-top: 0px;
}


main a {
  color: #9AE0B6;
  /* hellgrün passend zum Design */
  text-decoration: underline;
  /* optional */
}

h1 {
  margin-left: 50px;
  margin-right: 50px;
  font-weight: lighter;
  text-align: left;
  font-size: clamp(3rem, 3vw, 4rem);
  color: rgb(59, 176, 100);
  margin-top: 0px;
}

h2 {
  margin-left: 50px;
  margin-right: 50px;

  font-weight: normal;
  text-align: left;
  font-size: clamp(1.1rem, 2vw, 2rem);
  color: rgb(154, 224, 182);
}

p {
  margin-left: 50px;
  margin-right: 50px;
  font-size: clamp(0.8rem, 1.5vw, 1.7rem);
  line-height: 1.6;
  color: rgb(247, 243, 243);
  font-weight: lighter;
}

h5 {margin-left: 50px;
  font-size: clamp(0.8rem, 1.5vw, 1.7rem);
  font-weight: bold;
  color: rgb(243, 163, 14);
}

hr {
  margin-left: 40px;
  margin-right: 40px;
  color: rgb(59, 176, 100, 0.4);
}


/* Burger-Menu */
.menu-checkbox {
  display: none;
}

/* Toggle (3 Striche / X) */
.menu-toggle {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
}

/* Striche */
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 2px;
}

/* Striche normal */
.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* X Animation */
/* X beim Öffnen */
.menu-checkbox:checked+.menu-toggle span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(2) {
  opacity: 0;
}

/* Menü selbst */
.burger-menu {
  position: absolute;
  top: 60px;
  left: 0;
  /* gleiche X-Position */
  width: 185px;
  background: rgba(18, 19, 19, 0.5);
  display: flex;
  flex-direction: column;
  padding: 0px 0;
  border-radius: 0 0 5px 5px;
  z-index: 1050;

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Links */
.burger-menu a {
  margin-left: 20px;
  padding: 10px;
  margin-bottom: 2px;
  color: white;
  font-size: 1.3rem;
  line-height: 1.3rem;
  text-decoration: none;
}

/* Aufklappen */
.menu-checkbox:checked~.burger-menu {
  max-height: 550px;
}


footer {
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  /* bricht sauber um bei kleinen Screens */
  text-align: center;
}

.copyright {
  color: rgb(249, 246, 246);
  margin: 0;
}

.footer-buttons {
  display: flex;
  gap: 20px;
}

.footer-button {
  width: 200px;
  padding: 5px;
  margin: 50px 0 10px 0;
  min-width: 100px;
  max-width: 140px;

  text-align: center;
  background-color: #3bb064;
  color: white;
  border-radius: 5px;
  border: 2px solid rgb(3, 92, 17);
  text-decoration: none;
}

.footer-button:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}


/* Responsive für Tablets und Smartphones */
@media (max-width: 900px) {
  h1 {
    font-size: clamp(2rem, 2vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.rem, 4vw, 2rem);
  }

  main {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .footer-buttons {
    flex-direction: row;
    gap: 15px;
  }
}


/* Große Bildschirme über 2000px */
@media (min-width: 1200px) {

  header,
  main,
  footer {
    max-width: 1400px;
    margin: 0 auto;
  }
}

@media (min-width: 1600px) {

  header,
  main,
  footer {
    max-width: 1800px;
  }
}


/* Burger Menü */
@media (max-width: 768px) {
  .menu-toggle {
    width: 25px;
    height: 20px;
  }

  .menu-toggle span {
    height: 2px;
  }

  .burger-menu {
    width: 90px;
  }

  .burger-menu a {
    font-size: 0.7rem;
    padding: 0px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  h2 {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }


  .logo-urbangrafix {
    top: 10px;
    right: 10px;
    width: clamp(80px, 30%, 150px);
  }

  p {
    margin-left: 5px;
    margin-right: 5px;
  }

  h1 {
    margin-top: -50px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .footer-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 0;
  }

  .footer-button {
    flex: none;
    width: 70%;
    max-width: 95px;
    min-width: 90px;
    text-align: center;
    margin: 2px 0;
    padding: 4px 0;
  }

  .button-menue a {
    font-size: 1rem;
  }

  h5 {
    margin-left: 5px;
  }

  hr {
    margin-left: 5px;
    margin-right: 5px;
  }

}