@charset "UTF-8";

/* =========================
   BASIS
========================= */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* =========================
   SEITENLAYOUT
========================= */
.contactsite-page {
  max-width: 1800px;
  margin: 0 auto;
  background: rgb(16, 15, 15) url("../bilder/compass-free.png") no-repeat;
  background-position: center -250px;
  background-size: clamp(1500px, 100%, 1800px) auto;
}

header {
  position: relative;
}

/* TITEL */
h1 {
  margin: 10px 20px 0;
  text-align: center;
  font-size: clamp(3.5rem, 3vw, 4rem);
  font-weight: lighter;
  color: rgb(59, 176, 100);
}

h2 {
  margin: 10px;
  text-align: center;
  font-size: clamp(2.2rem, 2.5vw, 3rem);
  font-weight: lighter;
  color: rgb(184, 188, 186);
}

h3 {
  color: rgb(250, 247, 247);
  font-weight: normal;
  font-size: 1.5rem;
}

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

.logo-urbangrafix {
  position: absolute;
  top: 10px;
  right: 15px;
  width: clamp(100px, 20vw, 30%);
}

.logo-urbangrafix img {
  width: 100%;
  height: auto;
  display: block;
}



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

/* CONTAINER */
.container-contakt-map {
  width: min(90%, 1200px);
  margin: 40px auto;
  padding: clamp(20px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgb(59, 176, 100);
  border-radius: 5px;
}

/* FORMULAR */
.contact-form-map-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2vw, 25px);
}

.contact-form input,
.contact-form textarea,
.contact-form label {
  font-size: clamp(1.2rem, 1.8vw, 2rem);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: clamp(10px, 1.5vw, 15px);
  margin-bottom: 25px;
  border: 2px solid rgb(59, 176, 100);
  border-radius: 5px;
  background: white;
  color: rgb(255, 250, 250);
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form label {
  color: rgb(241, 236, 236);
  font-weight: normal;
}

/* CHECKBOX DATENSCHUTZ */
.data-policy {
  margin-top: -20px;
  display: flex;
  align-items: center;
  /* vertikal zentriert */
  gap: 10px;
  /* Abstand zwischen Box und Text */
}

.data-policy label {
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  /* verhindert Tiefenversatz */
}

.data-policy input[type="checkbox"] {
  margin-top: 25px;
  width: 24px;
  height: 24px;
  appearance: none;
  /* Standard-Stil entfernen */
  border: 2px solid rgb(59, 176, 100);
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
}

.data-policy input[type="checkbox"]:checked {
  background-color: rgb(59, 176, 100);
}

.data-policy input[type="checkbox"]:checked::after {
  content: "X";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* zentriert perfekt */
  color: white;
  font-size: 25px;
}

/* HONEYPOT (SPAM-SCHUTZ) */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* BUTTONS */
.button,
.contact-form button {
  display: flex;
  align-self: center;
  padding: 10px 10px;
  font-size: 18px;
  background: #3bb064;
  color: white;
  border: 2px solid rgb(3, 92, 17);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 200px;
  align-self: center;
}

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

/* FOOTER */
footer {
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;

  flex: 1;
  min-width: 130px;
  max-width: 140px;
  background: #3bb064;
  color: white;
  border: 2px solid rgb(3, 92, 17);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;

}

.footer-buttons {
  display: flex;
  gap: 20px;
  width: min(300px, 90%);
  margin: 0 auto;
  /* zentriert den ganzen Buttonblock */
  justify-content: center;
}

.footer-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   GRID ANGEBOT
========================= */
.angebot-formular {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.angebot-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.error-message {
  color: white;
  background: red;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: normal;
}

.success-message {
  color: white;
  background: green;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: normal;
}

p {
  color: white;
  font-size: 1.5rem;

}

.send-email a {
  color: white;
}


/* =========================
   RESPONSIVE
========================= */
@media (min-width: 600px) {
  .angebot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .angebot-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .top-picture {
    background-size: contain;
    background-position: center;
  }

  .logo-urbangrafix {
    width: clamp(80px, 20vw, 180px);
  }

  .container-contakt-map {
    width: min(95%, 1200px);
    padding: clamp(15px, 3vw, 30px);
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: calc(100% - 20px);
    padding: clamp(5px, 1vw, 12px);
  }
}

@media (max-width: 600px) {
  .logo-urbangrafix {
    width: clamp(60px, 30vw, 100px);
  }

  .container-contakt-map {
    width: min(95%, 1000px);
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form button {
    margin-top: 20px;
    max-width: 200px;
    width: auto;
    align-self: center;
  }

 .data-policy input[type="checkbox"] {
    position: relative;
    top: -10px; /* nach oben verschieben */
  }

  h1 {
    margin-top: -30px;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

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

  p {
    font-size: clamp(0.8rem, 3vw, 1rem);
    margin: 0 10px;
  }

  .footer-button,
  .contact-form button {
    padding: 8px 16px;
    font-size: 12px;
  }
  .footer-button{
    min-width: 105px;
  max-width: 140px;}


  .footer-buttons {
    min-width: 0px;
    gap: 8px;
  }
}

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