/* ========= Hero Kontakt ========= */
.hero-kontakt {
  background: linear-gradient(135deg, #4338CA, #6B5AED);
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero-overlay {
  max-width: 860px;
  margin: 0 auto;
}

.hero-kontakt h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-kontakt p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.hero-buttons.single {
  display: flex;
  justify-content: center;
}

/* ========= Responsive Hero ========= */
@media (max-width: 768px) {
  .hero-kontakt {
    padding: 20px;
    min-height: 400px;
  }
  
  .hero-kontakt h1 {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }
  
  .hero-kontakt p {
    max-width: 90%;
    font-size: 1rem;
    margin-bottom: 32px;
  }
}

/* ========= Quick Info Cards ========= */
.kontakt-infos {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
}

.info-icon {
  font-size: 2.5rem;
  color: #4338CA;
  margin-bottom: 16px;
}

.info-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--black);
}

.info-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--black);
}

.info-card a {
  color: var(--black);
  text-decoration: none;
}

.info-card a:hover {
  color: #4338CA;
  text-decoration: underline;
}

/* ========= Kontaktformular ========= */
.kontakt-formular {
  background: #f8fafc;
  padding: 100px 20px;
}

.form-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: #4338CA;
  margin-bottom: 20px;
  line-height: 1.2;
}

.form-header p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 24px;
}

label {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

input, select, textarea {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  border-color: #4338CA;
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========= Dynamische Unter-Dropdowns ========= */
#subDropdowns {
  transition: all 0.3s ease;
}

#subDropdowns .form-group {
  transition: all 0.3s ease;
}

#subDropdowns .form-group[style*="display: none"] {
  opacity: 0;
  transform: translateY(-10px);
}

#subDropdowns .form-group[style*="display: block"] {
  opacity: 1;
  transform: translateY(0);
}

/* ========= Submit Button ========= */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  background: #4338CA;
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}

.btn-submit:hover {
  background: #5B52D5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.trust-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 16px;
  line-height: 1.5;
}

/* ========= Responsive Design ========= */
@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .kontakt-formular {
    padding: 60px 16px;
  }
  
  .contact-form {
    padding: 24px;
    margin: 0 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-header h2 {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  .form-header p {
    font-size: 1rem;
  }
  
  .btn-submit {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    margin: 0;
    border-radius: 0;
  }
  
  .kontakt-formular {
    padding: 40px 0;
  }
}

/* ========= Google Maps Section ========= */
.kontakt-maps {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.kontakt-maps h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  color: #4338CA;
  margin-bottom: 32px;
}

.maps-frame {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.maps-frame iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* ========= CTA Section ========= */
.cta-kontakt {
  background: #4338CA;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.cta-kontakt h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-kontakt p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
}

.cta-buttons .btn-brand-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-buttons .btn-brand-outline:hover {
  background: #fff;
  color: #4338CA;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ========= Contact Form Messages ========= */
#contactMessage {
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

#contactMessage.contact-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#contactMessage.contact-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ========= Responsive Maps & CTA ========= */
@media (max-width: 768px) {
  .maps-frame iframe {
    height: 300px;
  }
  
  .cta-kontakt h2 {
    font-size: clamp(24px, 6vw, 32px);
  }
}