/* Keep component styles above Hello Elementor's button/type selectors,
   including when the theme stylesheet is loaded after this stylesheet. */
a.weymann-stoerungsbutton,
.elementor a.weymann-stoerungsbutton,
.weymann-form button.weymann-stoerungsbutton {
    --weymann-accent: var(--e-global-color-accent, #0075bf);
    display: inline-flex; align-items: center; justify-content: center;
    padding: .85em 1.25em; border: 2px solid transparent; border-radius: 4px;
    background: var(--weymann-accent); color: #fff !important;
    font: inherit; font-weight: 700; line-height: 1.35; text-align: center;
    text-decoration: none !important; cursor: pointer; white-space: normal;
}
a.weymann-stoerungsbutton:hover,
a.weymann-stoerungsbutton:focus,
.elementor a.weymann-stoerungsbutton:hover,
.elementor a.weymann-stoerungsbutton:focus,
.weymann-form button.weymann-stoerungsbutton:hover,
.weymann-form button.weymann-stoerungsbutton:focus {
    background: var(--weymann-accent); color: #fff !important; border-color: transparent;
}
a.weymann-stoerungsbutton:hover,
.elementor a.weymann-stoerungsbutton:hover,
.weymann-form button.weymann-stoerungsbutton:hover { filter: brightness(.87); }
.weymann-form button.weymann-stoerungsbutton:disabled { opacity: .65; cursor: wait; }
.weymann-form { max-width: 840px; margin-inline: auto; color: inherit; font: inherit; line-height: 1.6; }
.weymann-form *, .weymann-form *::before, .weymann-form *::after { box-sizing: border-box; }
.weymann-form [hidden] { display: none !important; }
.weymann-form__eyebrow { font-size: .85em; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.weymann-form h2 { margin: 0 0 .5em; }
.weymann-form fieldset { min-width: 0; margin: 1.8em 0 0; padding: 0; border: 0; }
.weymann-form legend { float: none; width: 100%; margin-bottom: .7em; padding: 0; font-size: 1.1em; font-weight: 700; }
.weymann-form label { display: block; margin-bottom: .8em; font-weight: 600; }
.weymann-form label span, .weymann-form small { font-weight: 400; }
.weymann-form .weymann-form__choice { display: flex; gap: .7em; align-items: flex-start; border: 1px solid #a9b6bd; border-radius: 5px; padding: 1em; cursor: pointer; }
.weymann-form__choice:has(input:checked) { border-color: #174d69; background: #f0f6f8; color: #173b4c; }
.weymann-form small { display: block; margin-top: .2em; font-size: .85em; }
.weymann-form input:not([type=radio]):not([type=checkbox]), .weymann-form textarea {
    display: block; width: 100%; margin-top: .35em; border: 1px solid #82939b; border-radius: 3px;
    padding: .7em; background: #fff; color: #172b35; font: inherit; font-weight: 400;
}
.weymann-form textarea { resize: vertical; min-height: 140px; }
.weymann-form input[type=radio], .weymann-form input[type=checkbox] { flex: 0 0 auto; width: 1.15em; height: 1.15em; margin: .25em .25em 0 0; accent-color: #174d69; }
.weymann-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5em 1.2em; }
.weymann-form .weymann-form__privacy { display: flex; gap: .6em; align-items: center; margin-top: 1.2em; }
.weymann-form .weymann-form__privacy input[type=checkbox] { margin: 0; }
.weymann-form__urgent, .weymann-form__notice { padding: 1em 1.2em; background: #f0f6f8; border-left: 4px solid #174d69; color: #173b4c; }
.weymann-form__notice { margin-top: 1.5em; }
.weymann-form__notice h3 { margin-top: 0; font-size: 1.15em; }
.weymann-form__notice p:last-child { margin-bottom: 0; }
.weymann-form__hint { font-size: .9em; }
.weymann-form .weymann-form__operation { margin: 1em 0; }
.weymann-form__status:not(:empty) { padding: 1em; margin-top: 1.5em; border-left: 4px solid #226044; background: #eef6f0; color: #163c29; }
.weymann-form__status.is-error { border-color: #a42222; background: #fff1ee; color: #731818; }
.weymann-form .weymann-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.weymann-form :focus-visible, .weymann-stoerungsbutton:focus-visible { outline: 3px solid #087bba; outline-offset: 4px; }
.weymann-form a { text-decoration: underline; color: inherit; }
@media (max-width: 600px) { .weymann-form__grid { grid-template-columns: 1fr; } }
/* Compact header link on mobile; retain the form submit button's size. */
@media (max-width: 767px) {
    a.weymann-stoerungsbutton,
    .elementor a.weymann-stoerungsbutton {
        font-size: 14px;
        line-height: 1.3;
        padding: 8px 12px;
    }
}
