@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --base-clr: #ffffff;
  --line-clr: #42434a;
  --hover-clr: #6e7075;
  --text-clr: #202022;
  --texthover-clr: white;
  --accent-clr: #f8693e;
  --secondary-text-clr: #777575;
  --sidebar-clr: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

html {
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
}

body {
  min-height: 100vh;
  min-height: 100dhv;
  background-color: var(--base-clr);
  color: var(--text-clr);
  display: grid;
  grid-template-columns: auto 1fr;
  overflow-y: hidden; /* Versteckt vertikalen Balken */
  overflow-x: hidden; /* Optional: Versteckt horizontalen Balken */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

body::before {
  content: "";
  position: fixed; /* Fixiert, damit es beim Scrollen bleibt */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Bild-Einstellungen */
  background-image: url("../images/kontakt.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;

  /* Fade-In Effekt */
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;

  /* Damit der Inhalt vor dem Bild bleibt */
  z-index: -1;
}

/* Animation definieren */
@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

main {
  padding: min(30px, 7%);
  
}
main p {
  color: var(--secondary-text-clr);
  margin-top: 5px;
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 4px;
  margin-bottom: 12px;
}
#container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.1rem;
  height: 100vh;
  border-radius: 1em;
  color: var(--text-clr);
  text-align: left;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
  h1 {
    margin-top: 0.5em;
    color: var(--accent-clr);
     text-shadow: 0px 1px 3px rgb(119, 118, 118);
  }
}

.sidebar.close ~ .form-box {
  left: 400px;
}

#sidebar.close ~ .form-box {
  left: calc(50% + 24px);
}

.boxinhalt > input {
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  width: 300px;
  height: 20px;
  padding: 8px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #333;
  box-shadow: 2px 2px 10px rgba(58, 57, 57, 0.8);

}

.boxinhalt{
  background-color: rgba(0, 0, 0, 0.6);
  padding: 35px;
  border-radius: 25px;
  border: 1px solid #302f2f;
  box-shadow: 2px 2px 20px rgba(255, 255, 255, 0.8);
  max-width: 680px;
}

.boxinhalt button {
  margin-top: 14px;
  background: #318ac5;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  margin-bottom: 10px;
  box-shadow: 5px 2px 10px rgba(58, 57, 57, 0.8);
}
button:hover {
  background: #00a331;
}

.boxinhalt textarea {
  padding: 8px;
  margin-bottom: 0px;
  font-size: 1rem;
  width: 500px;
  height: 140px;
  font-family: Poppins, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
  border-radius: 10px;
  border: 1px solid #333;
  box-shadow: 2px 2px 10px rgba(58, 57, 57, 0.8);
  
}

.boxinhalt h3 {
  font-size: 22px;
  color: rgb(255, 119, 28);
  text-shadow:
    0 0 2px #000000,
    0 0 20px #000000;
  margin-bottom: 14px;
}

[type="checkbox"] {
 
  height: 60px;
  width: 60px;
  accent-color: rgb(255, 119, 28);
}
.datenschutz{
  display: flex;
  align-items: flex-start; /* Checkbox oben ausrichten */
  gap: 10px; /* Abstand zw. Checkbox und Text */
  margin-bottom: 4px;
  color: white;
}
.datenschutz  input {
  margin-top: -8px; /* Feinanpassung, falls Text höher als Box ist */
}
.g-recaptcha {
  width: 302px;
  margin-top: 10px;
  border: 1px solid #333;
  box-shadow: 2px 2px 10px rgba(58, 57, 57, 0.8);
}

.boxinhalt p{
  
  color: white;
  font-weight: 600;
}
.boxinhalt span{
  font-size: 18px;
  color: rgb(255, 119, 28);
  font-weight: 600;
}

/* -----------------------SMARTPHONE ANSICHT--------------------------------- */
@media (max-width: 768px) {
  body {
    grid-template-columns: 1r;
    overflow-y: scroll;
  }
  main {
    padding: 2em 1em 60px 1em;
  }
  .container {
    border: none;
    padding: min(1.5em, 10%);
  }

  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slide-button {
    display: none;
  }

.boxinhalt{
  background-color: #000000;
  padding: 20px;
  border-radius: 25px;
  border: 1px solid #adabab;
  opacity: 85%;
  box-shadow: 2px 2px 20px rgba(255, 255, 255, 0.8);
  max-width: 280px;
}
.boxinhalt > input {
  font-size: 14px;
  max-width: 260px;
}

.boxinhalt h3 {
  font-size: 18px;
}
.boxinhalt textarea {
  font-size: 14px;
  max-width: 260px;
}
.boxinhalt p{
  font-size: 12px;
}
.boxinhalt span{
  font-size: 16px;
}
[type="checkbox"] {
  margin-top: 3px;
  height: 30px;
  width: 30px;
  accent-color: rgb(255, 119, 28);
}
.datenschutz{
  display: flex;
  font-size: 12px;
  align-items: flex-start; /* Checkbox oben ausrichten */
  gap: 10px; /* Abstand zw. Checkbox und Text */
  margin-bottom: 10px;
  color: white;
}
.rc-inline-block{
  font-size: 10px;
  max-width: 200px;
}
.recaptcha-checkbox-border{
width: 20px;
height: 20px;
}
}