@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

/* ========== Desktop Menü: NICHT verändern ========== */
@media (min-width: 1025px) {
  /* Desktop Menü bleibt unverändert - keine Regeln */
}

/* ========== Mobile Menü: ab 1024px und kleiner ========== */
@media (max-width: 1024px) {

  /* Menü-Icon Hintergrund & Ränder */
  button.menu-toggle {
    background-color: #f7f3f3 !important;
    border-radius: 6px;
    padding: 8px;
    border: none;
  }

  /* Hamburger Lines Farbe */
  button.menu-toggle svg,
  button.menu-toggle .menu-toggle-icon,
  button.menu-toggle span {
    fill: #4d92bd !important;
    stroke: #4d92bd !important;
  }

  /* Mobile Menü Container */
  .ast-mobile-header-wrap .main-header-menu {
    width: 66% !important;
    max-width: 400px !important;
    background-color: #dfdedb !important;
    border-radius: 5px 0 0 5px !important;
    margin: 0 0 0 auto !important; /* rechts andocken */
    padding-top: 0 !important;
    margin-top: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* Menü direkt an Button andocken (Abstand oben entfernen) */
  .ast-mobile-header-wrap .main-header-menu {
    position: absolute;
    top: 0px; /* Höhe vom Menübutton anpassen */
    right: 0;
  }

  /* Menü Links */
  .ast-mobile-header-wrap .main-header-menu li a {
    color: #162359 !important;
    font-family: 'DM Serif Display', serif !important;
    font-weight: 400 !important;
    font-size: 13pt !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, color 0.15s ease;
    transform-origin: center;
  }

  /* Hover Effekt */
  .ast-mobile-header-wrap .main-header-menu li a:hover {
    color: #0f1a40 !important;
    transform: scale(1.03);
  }

  /* Hintergrund Overlay transparent */
  body.ast-mobile-header-open,
  body.ast-mobile-header-open * {
    background: transparent !important;
    background-color: transparent !important;
  }
}



/* Labels & Schrift in den Feldern */
#wpforms-53 label,
#wpforms-53 input,
#wpforms-53 textarea {
    font-family: "DM Display", serif;
    font-size: 18pt;
    font-weight: 400;
    color: #162359;
}

/* Eingabefelder (Input & Textarea) */
#wpforms-53 input,
#wpforms-53 textarea,
#wpforms-53 select {
    background-color: #f7f3f3;
    border: 1px solid #ccc;
    border-radius: 6px; /* leicht abgerundet, aber NICHT oval */
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
}

/* Eingabefelder beim Fokussieren */
#wpforms-53 input:focus,
#wpforms-53 textarea:focus,
#wpforms-53 select:focus {
    border-color: #4d92bd;
    outline: none;
    box-shadow: 0 0 5px rgba(77, 146, 189, 0.3);
}

/* Button-Styling im Formular #wpforms-53 */
#wpforms-53 button,
#wpforms-53 input[type="submit"],
#wpforms-53 input[type="button"] {
    background-color: #4d92bd !important;  /* neue Buttonfarbe */
    border: none;
    color: white;  
    cursor: pointer;
    border-radius: 6px;
    padding: 14px 20px 37px 20px;   /* mehr Abstand innen */
    font-family: "DM Serif Display", serif !important;
    font-weight: 400;
    font-size: 22px;      /* größere Schrift */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button Hover Effekt */
#wpforms-53 button:hover,
#wpforms-53 input[type="submit"]:hover,
#wpforms-53 input[type="button"]:hover {
    background-color: #3a7397 !important;  /* etwas dunkler beim Hover */
    transform: scale(1.02); /* leichter Zoom für Klickgefühl */
}

