:root {
  --refresh-ink: #17211d;
  --refresh-muted: #62706a;
  --refresh-line: #dfe8e1;
  --refresh-soft: #f6f8f2;
  --refresh-mint: #eef8f1;
  --refresh-blue: #2f6f8f;
  --refresh-green: #8aaa1f;
  --refresh-gold: #f2b544;
  --refresh-white: #ffffff;
  --refresh-shadow: 0 18px 50px rgba(27, 39, 34, 0.12);
}

html,
body {
  background: var(--refresh-soft) !important;
  color: var(--refresh-ink);
}

body,
button,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#Wrapper,
#Content {
  background: transparent !important;
}

#Top_bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(23, 33, 29, 0.08);
  box-shadow: 0 10px 32px rgba(23, 33, 29, 0.08);
  backdrop-filter: blur(14px);
}

body:not(.template-slider) #Header,
body.header-below:not(.template-slider) #Header {
  min-height: 0 !important;
  padding-top: 0 !important;
}

#Top_bar .container,
#Top_bar .column {
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: none !important;
}

#Top_bar .top_bar_left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

#Top_bar .logo {
  float: none !important;
  margin: 0 !important;
}

#Top_bar #logo {
  display: flex !important;
  align-items: center;
  height: auto !important;
  line-height: 1 !important;
  padding: 8px 0 !important;
}

#Top_bar #logo img {
  width: auto !important;
  max-height: 58px !important;
}

#Top_bar .menu_wrapper {
  float: none !important;
  margin-left: auto;
}

#Top_bar .menu > li > a {
  padding: 0 !important;
}

#Top_bar .menu > li > a span:not(.description) {
  line-height: 1.2 !important;
  padding: 12px 10px !important;
  border-radius: 6px;
  color: var(--refresh-ink);
}

#Top_bar .menu > li.current-menu-item > a span,
#Top_bar .menu > li > a:hover span {
  background: var(--refresh-mint);
  color: #315f0f !important;
}

#Top_bar .sub-menu {
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  box-shadow: var(--refresh-shadow);
  overflow: hidden;
}

#Top_bar a[href*="interne-kunden-info"],
#Side_slide a[href*="interne-kunden-info"] {
  display: none !important;
}

#Subheader {
  padding: 56px 0 42px !important;
  background:
    linear-gradient(135deg, rgba(138, 170, 31, 0.14), rgba(47, 111, 143, 0.13)),
    var(--refresh-white) !important;
}

#Subheader .title {
  color: var(--refresh-ink) !important;
  font-size: 42px !important;
  line-height: 1.08 !important;
  font-weight: 750 !important;
}

#Subheader .breadcrumbs {
  margin-top: 14px !important;
}

.section_wrapper,
.container {
  max-width: 1180px !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--refresh-ink);
  letter-spacing: 0 !important;
}

.entry-content p,
.entry-content li,
.mfn-visualeditor-content {
  color: #33413b;
  font-size: 17px;
  line-height: 1.75;
}

.image_frame,
.wp-caption {
  border: 0 !important;
}

.image_frame img {
  border-radius: 8px;
}

#Footer {
  background: #18241f !important;
  color: #dce6df !important;
}

#Footer .footer_action {
  background: #101713 !important;
  border: 0 !important;
}

#Footer .widgets_wrapper {
  padding: 42px 0 !important;
}

#Footer h4,
#Footer a {
  color: #ffffff !important;
}

#Footer a:hover {
  color: var(--refresh-gold) !important;
}

#Footer .footer_copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.refresh-home {
  display: block;
}

.refresh-section {
  padding: 72px 24px;
}

.refresh-band {
  background: var(--refresh-white);
}

.refresh-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.refresh-hero {
  padding: 70px 24px 46px;
  background:
    linear-gradient(140deg, rgba(238, 248, 241, 0.96), rgba(255, 255, 255, 0.9)),
    var(--refresh-soft);
}

.refresh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.refresh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #486206;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.refresh-kicker:before {
  width: 30px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--refresh-green);
}

.refresh-title {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: 54px;
  line-height: 1.03;
  font-weight: 800;
  color: var(--refresh-ink);
}

.refresh-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: #3f4d46;
  font-size: 21px;
  line-height: 1.55;
}

.refresh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.refresh-button,
.advisor-button,
.advisor-card a.advisor-mail,
.advisor-card a.advisor-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--refresh-blue);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(47, 111, 143, 0.22);
}

.refresh-button.secondary {
  background: #ffffff;
  color: var(--refresh-ink) !important;
  border: 1px solid var(--refresh-line);
  box-shadow: none;
}

.refresh-button:hover,
.advisor-button:hover,
.advisor-card a.advisor-mail:hover,
.advisor-card a.advisor-route:hover {
  transform: translateY(-1px);
}

.refresh-hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 16px;
  align-items: end;
}

.refresh-hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(23, 33, 29, 0.14));
}

.refresh-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.refresh-copy-grid.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.72fr);
}

.refresh-text-box {
  padding: 30px;
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.07);
}

.refresh-text-box p:last-child {
  margin-bottom: 0;
}

.refresh-media img {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.refresh-feature-grid,
.advisor-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.refresh-feature {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.06);
}

.refresh-feature-free {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.refresh-feature img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 50%;
}

.refresh-feature-free img {
  border-radius: 0;
}

.refresh-feature strong {
  display: block;
  color: var(--refresh-ink);
  font-size: 19px;
}

.refresh-testimonials {
  background:
    linear-gradient(180deg, rgba(47, 111, 143, 0.08), rgba(138, 170, 31, 0.08)),
    #ffffff;
}

.refresh-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.refresh-list {
  padding: 24px 26px;
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  background: #ffffff;
}

.refresh-list li {
  margin: 0 0 10px;
}

.refresh-image-band {
  padding: 44px 24px;
  background: #2f6f8f;
  text-align: center;
}

.refresh-image-band img {
  width: min(760px, 100%);
  height: auto;
}

.advisor-page {
  background: var(--refresh-soft);
}

.advisor-hero {
  padding: 76px 24px 32px;
}

.advisor-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.advisor-search-panel {
  padding: 24px;
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--refresh-shadow);
}

.advisor-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.45fr) auto;
  gap: 12px;
  align-items: end;
}

.advisor-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--refresh-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.advisor-field input,
.advisor-field select {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #cbd9d0;
  border-radius: 6px;
  background: #ffffff;
  color: var(--refresh-ink);
  font-size: 16px;
  box-sizing: border-box;
}

.advisor-status {
  margin: 16px 0 0;
  color: var(--refresh-muted);
  font-size: 15px;
}

.advisor-directory {
  padding: 20px 24px 78px;
}

.advisor-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.advisor-toolbar h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.advisor-toolbar p {
  margin: 6px 0 0;
  color: var(--refresh-muted);
}

.advisor-card {
  display: flex;
  flex-direction: column;
  min-height: 276px;
  padding: 20px;
  border: 1px solid var(--refresh-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.07);
}

.advisor-card h4 {
  margin: 0 0 7px;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
}

.advisor-distance {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--refresh-mint);
  color: #486206;
  font-size: 13px;
  font-weight: 800;
}

.advisor-card address {
  margin: 0 0 14px;
  color: #35433d;
  font-style: normal;
  line-height: 1.55;
}

.advisor-contact {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

.advisor-contact a,
.advisor-contact span {
  color: #2f4038;
  overflow-wrap: anywhere;
}

.advisor-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.advisor-card a.advisor-route {
  background: var(--refresh-green);
  box-shadow: 0 12px 28px rgba(138, 170, 31, 0.2);
}

.advisor-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #b8c9bd;
  border-radius: 8px;
  background: #ffffff;
  color: var(--refresh-muted);
}

@media (max-width: 1020px) {
  #Top_bar .top_bar_left {
    min-height: 72px;
  }

  .refresh-title {
    font-size: 42px;
  }

  .refresh-hero-grid,
  .refresh-copy-grid,
  .refresh-copy-grid.reverse,
  .advisor-hero-grid {
    grid-template-columns: 1fr;
  }

  .advisor-results,
  .refresh-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #Wrapper {
    max-width: 100% !important;
  }

  #Top_bar .container,
  #Top_bar .column {
    width: calc(100% - 24px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #Top_bar #logo img {
    max-height: 48px !important;
  }

  #Top_bar .responsive-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: var(--refresh-mint) !important;
  }

  #Subheader {
    padding: 34px 0 28px !important;
  }

  #Subheader .title {
    font-size: 32px !important;
  }

  .refresh-section,
  .advisor-hero,
  .advisor-directory {
    padding-left: 18px;
    padding-right: 18px;
  }

  .refresh-hero {
    padding: 50px 18px 34px;
  }

  .refresh-title {
    font-size: 34px;
  }

  .refresh-lead {
    font-size: 18px;
  }

  .refresh-text-box,
  .advisor-search-panel {
    padding: 20px;
  }

  .advisor-form,
  .advisor-results,
  .refresh-feature-grid,
  .refresh-list-grid {
    grid-template-columns: 1fr;
  }

  .advisor-toolbar {
    display: block;
  }
}
