/*
Theme Name: child-theme
Theme URI:  https://example.com/
Author:     Dein Name
Template:   twentytwentyfive
Version:    1.0
*/


.header-background {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 2400px; /* Keep original size — no stretching */
  overflow: hidden; /* Crop sides */
}

.shadow-border {
 	box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0.4), -12px 0 8px -4px rgba(31, 73, 125, 0.4);

}

.menu-bar {
	background-color: blue;
	color: blue;
}

.menu-list{
	list-style: square !important;
}

/* Footer Abstand entfern */
footer {
  margin-block-start: 0 !important; /* entfernt den oberen Abstand vom Footer */
}

/*  Kontaktformular Design */

/* Grundlayout */
.contact-form {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2.5rem;
  background: #fff;

  /* 👇 hinzugefügt/geändert */
  border: 1px solid rgba(0, 0, 0, 0.15); /* dezente schwarze Linie */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05); /* leichter Schatten */
  
  border-radius: 1rem;
  font-family: "Inter", sans-serif;
}

/* Zwei Spalten für Name & E-Mail */
.form-row.two-cols {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

/* Volle Breite für bestimmte Felder */
.form-group.full-width {
  width: 100%;
}

/* Labels */
.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

/* Inputs & Textareas */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #fafafa;
  width: 100%;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0073e6;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.1);
}

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

/* Submit-Button */
/* Contact Form 7 Submit Button an WP-Design angleichen */
.wpcf7 form .form-submit input[type="submit"] {
  background-color: var(--wp--preset--color--contrast);
  border: none;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--medium);
  line-height: inherit;
  padding: 1rem 2.25rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 0.25s ease, transform 0.15s ease;
  display: inline-block;
}

/* Hover-Effekt mit verblassendem Hintergrund */
.wpcf7 form .form-submit input[type="submit"]:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, white);
  /* 👆 macht den Hintergrund 15 % heller */
  transition: background-color 0.25s ease;
}

.form-submit {
  text-align: center; /* 👈 neu hinzugefügt */
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .form-row.two-cols {
    flex-direction: column;
  }
}

