.contact-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background: #1c1c1c;
  position: relative;
  overflow: hidden;
}

.contact-container {
  width: 80%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  padding: 100px 0;
}

.contact-subtitle {
  color: #3dcfb6;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.contact-title {
  font-size: 6.4rem;
  font-family: var(--font-code);
  font-weight: 700;
  font-style: bold;
  color: #3dcfb6;
  line-height: 1.1;
  margin: 20px 0 40px 0;
}
.contact-problem-title {
  color: #3dcfb6;
  font-size: 2.4rem;
  line-height: 1.2;
  font-family: var(--font-code);
  font-weight: 700;
  margin-bottom: 15px;
}
.contact-description {
  opacity: 0.8;
  font-family: var(--font-main);
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.2;
  max-width: 400px;
  margin-bottom: 20px;
}

.contact-cta {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.contact-cta a {
  text-decoration: none;
  color: #3dcfb6;
}

.d-none {
  display: none;
}

.input-group {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #3dcfb6;
  padding: 30px 0;
  padding-left: 20px;
}

.input-group label {
  color: #3dcfb6;
  font-family: var(--font-code);
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 15px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid var(--primary-color);
  transition: background-color 5000s ease-in-out 0s;
}

.input-group input,
.input-group textarea {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 18px;
  padding: 10px 0;
}

.input-group textarea {
  resize: none;
}

.input-group textarea::-webkit-scrollbar {
  width: 6px;
}

.input-group textarea::-webkit-scrollbar-track {
  background: #1c1c1c;
}

.input-group textarea::-webkit-scrollbar-thumb {
  background-color: #3dcfb6;
  border-radius: 10px;
}

.input-group textarea {
  scrollbar-width: thin;
  scrollbar-color: #3dcfb6 #1c1c1c;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.privacy-wrapper {
  display: flex;
  align-items: flex-start;
  padding-top: 30px;
  border-top: 1px solid #3dcfb6;
  gap: 10px;
  cursor: pointer;
  width: 100%;
}

#privacy-check {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.privacy-wrapper label {
  position: relative;
  padding-left: 40px;
  line-height: 1.5;
  display: block;
  cursor: pointer;
}

.privacy-wrapper label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  width: 24px;
  height: 24px;
  border: 1px solid #3dcfb6;
  background: transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.privacy-wrapper label::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 6px;
  height: 12px;
  border: solid #3dcfb6;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: rotate(45deg);
}

#privacy-check:checked + label::after {
  opacity: 1;
}

.privacy-wrapper label:hover::before {
  box-shadow: 0 0 20px rgba(61, 207, 182, 0.5);
}

#privacy-check:focus + label::before {
  outline: 2px solid rgba(61, 207, 182, 0.3);
}

.privacy-label {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
}

.privacy-link {
  color: #3dcfb6;
  font-family: var(--font-code);
  font-size: inherit;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
  font-weight: 500;
  margin: 0;
  display: inline;
}

.form-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-btn {
  position: relative;
  overflow: hidden;
  padding: 15px 40px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
}

.submit-btn span {
  display: inline-block;
  position: relative;
  font-size: 18px;
  transition: transform 0.3s ease;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-150%);
  }
}

.input-error-border {
  border-bottom: 1px solid #ff4d4d !important;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.animate-error {
  animation: shake 0.3s ease-in-out;
  color: #ff4d4d;
  display: block;
  font-size: 1.4rem;
}

/* Responsive Design */

@media (max-width: 1600px) {
  .contact-container {
    gap: 50px;
  }
  .contact-title {
    font-size: 4.8rem;
  }

  .input-group {
    padding: 20px 0;
  }

  .input-group label {
    font-size: 2rem;
  }

  .input-group input,
  .input-group textarea {
    font-size: 1.6rem;
  }
}

@media (max-width: 1200px) {
}

@media (hover: hover) {
  .submit-btn:hover {
    border: 1px solid #3dcfb6;
  }

  .submit-btn:hover span {
    color: #3dcfb6;
    animation: marquee 2s linear infinite;
  }

  .submit-btn span::after {
    content: attr(data-text);
    position: absolute;
    left: 150%;
    white-space: nowrap;
  }

  .mein-button:hover {
    
    background-color: gold;
  }
}

@media (max-width: 768px) {
  contact-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-container {
    width: 100%;
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-subtitle {
    font-size: 1.8rem;
  }

  .contact-title {
    font-size: 5.6rem;
  }

  .contact-problem-title {
    font-size: 2rem;
  }

  .submit-btn:active {
    transform: scale(0.95);
    opacity: 0.7;
    transition: transform 0.1s ease; 
  }
}
