@charset "UTF-8";


/* =========================
   BODY + SEITENLAYOUT
========================= */
.impressum-page {
  margin-left: 100px;
  margin-right: 100px;
  background: rgb(15, 15, 15) url("../bilder/compass-free.png") no-repeat;
  background-position: center -350px;

  background-size: min(2000px, 250vw) 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;
}

.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

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

body {
  margin-top: 0px;
}

main a {
  color: rgb(59, 176, 100);
  text-decoration: underline;
}

/* main a:hover {
  color: #ffffff;
} */

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(59, 176, 100);
}

p {
  margin-left: clamp(10px, 5vw, 50px);
  margin-right: clamp(10px, 5vw, 50px);
  font-size: clamp(1.1rem, 2.1vw, 2.8rem);
  line-height: clamp(1.1rem, 2.1vw, 2.8rem);
  color: rgb(243, 239, 239);
  font-weight: lighter;
}

h3 {
  padding-top: 40px;
  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;
}

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;
  text-decoration: none;
}

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

/* Mobile Ansicht */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-buttons {
    display: none;
  }
}

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(242, 235, 235);
  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;
  }
}

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

  }

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

  h3 {
    padding-top: 0px;
  }


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

  .footer-button {
    margin-top: 0px;
    font-size: 14px;
    min-width: 80px;
    max-width: 100px;
    gap: 18px;
  }

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

  .impressum-page {
    margin-left: 5px;
    margin-right: 5px;
  }

}

/* 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;
  }
}