/* Wylma brand palette: primary #551441; cream base #FFF0D7; white surfaces #FFFFFF. */
:root {
  --wylma-primary: #551441;
  --wylma-primary-light: #78245F;
  --wylma-primary-dark: #3C0E2E;
  --wylma-primary-soft: #FFF0D7;
  --wylma-primary-faint: #FFF0D7;
  --wylma-background: #FFF0D7;
  --wylma-surface: #FFFFFF;
  --color-yellow: #FFFFFF;
  --yellow: 0 0% 100%;
  --primary: 318.461538 61.904762% 20.588235%;
  --primary-light: 318 53.846154% 30.588235%;
  --color-blue: var(--wylma-primary);
  --color-blue-light: var(--wylma-primary-light);
  --color-blue-trans: rgba(85, 20, 65, .9);
  --color-mint: #FFF0D7;
  --secondary: var(--wylma-primary-faint);
  --medium: var(--wylma-primary-soft);
}
html, body, body.new2026, main#content {
  background-color: var(--wylma-background);
}

/* Center the placeholder logo in the complete header, including its compact state. */
header.elementor-location-header #logo,
body.scroll header.elementor-location-header #logo {
  top: 50%;
  transform: translateY(-50%);
  padding-top: 0;
}

/* The homepage consultation block is also available in the global footer. */
footer.elementor-location-footer #formular {
  background: var(--wylma-background);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  padding-block: var(--container-padding);
}
footer.elementor-location-footer #formular > * {
  max-width: var(--content-width, 1140px) !important;
  width: 96%;
  margin-inline: auto;
}
footer.elementor-location-footer #formular h2 {
  font-size: 32px;
  line-height: 1.5;
  position: relative;
  padding-bottom: 10px;
  margin-top: 0;
}
footer.elementor-location-footer #formular h2::after {
  content: "";
  height: 3px;
  width: 50px;
  left: 0;
  bottom: 0;
  background: var(--wylma-background);
  position: absolute;
}
footer.elementor-location-footer #formular .narrow-text > div { max-width: 900px; }
footer.elementor-location-footer #formular .text-center { text-align: center; }
footer.elementor-location-footer #formular .formular-wrapper {
  max-width: 600px !important;
  margin: 60px auto 30px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  padding: 30px;
  border-top: 3px solid hsl(var(--primary));
}
footer.elementor-location-footer #formular .formular2026 { margin-block-start: 25px; }
footer.elementor-location-footer #formular h2.gform_title,
footer.elementor-location-footer #formular .gform_description,
footer.elementor-location-footer #formular .gform_required_legend { display: none; }
footer.elementor-location-footer #formular h3 { margin: 0 0 15px; }
footer.elementor-location-footer #formular .gf_progressbar .percentbar_blue { background-color: var(--wylma-background); }
footer.elementor-location-footer #formular .gform_fields { row-gap: 20px; }
footer.elementor-location-footer #formular .gf_progressbar_title { font-size: 12px; }
footer.elementor-location-footer #formular .ginput_container.ginput_container_radio { max-width: 190px; }
footer.elementor-location-footer #formular .gform_page_footer { justify-content: space-between; }
footer.elementor-location-footer #formular .gform_next_button { background: hsl(var(--primary-light)); }
footer.elementor-location-footer #formular .gform_previous_button { background: var(--wylma-background); border-color: var(--lightgray); }
footer.elementor-location-footer #formular .elementor-icon-list-items > li { border: 0; padding: 0; font-weight: 400; font-size: 11px; }
@media (max-width: 1024px) {
  footer.elementor-location-footer #formular { font-size: 15px; }
  footer.elementor-location-footer #formular h2 { font-size: 6vw; }
}
@media (max-width: 750px) {
  footer.elementor-location-footer #formular h2 { font-size: 4.75vw; }
}

/* White consultation card on the homepage and in the shared footer. */
.formular-wrapper {
  background-color: #FFFFFF;
}

/* Keep the decorative left notice borders in the primary brand color. */
body.new2026 main#content .page-content .elementor .hinweis.border-left {
  border-left-color: var(--wylma-primary);
}

/* Yellow navigation/legal footer surface. */
footer.elementor-location-footer {
  background-color: var(--wylma-background);
}

/* Trial: violet background only for the federal/state and flat-rate aid sections. */
body.page-id-7 main#content .page-content .elementor > :is(.elementor-element-5a83a498, .elementor-element-4c608151) {
  background-color: var(--wylma-primary);
  color: #FFFFFF;
  border-top-color: var(--wylma-primary);

  & .bg-light { background-color: transparent; }

  & :is(h2, h3, h4, p, a, li, span, strong, em):not(.hinweis-v2 *, .boxen-weiss > div *) {
    color: #FFFFFF;
  }

  & .hinweis-v2,
  & .boxen-weiss > div:not(.elementor-element-overlay) {
    background-color: #FFF0D7;
    color: #000000;
  }

  & .hinweis.border-left { border-left-color: #FFFFFF; }
}

/* Generous outer spacing around the two adjoining violet sections. */
body.page-id-7 main#content .page-content .elementor > .elementor-element-5a83a498 {
  padding-block-start: 120px;
}
body.page-id-7 main#content .page-content .elementor > .elementor-element-4c608151 {
  padding-block-end: 120px;
}
@media (max-width: 1024px) {
  body.page-id-7 main#content .page-content .elementor > .elementor-element-5a83a498 {
    padding-block-start: 80px;
  }
  body.page-id-7 main#content .page-content .elementor > .elementor-element-4c608151 {
    padding-block-end: 80px;
  }
}
