/*
 * Suravi navigation redesign
 *
 * Load this file AFTER the existing base and responsive stylesheets.
 * No changes to nav/top.twig or nav/main.twig are required.
 */

.pagetop {
  --suravi-nav-bg: var(--pr-color, #f9f7f2);
  --suravi-nav-text: #66665f;
  --suravi-nav-heading: #384331;
  --suravi-nav-accent: #d07b63;
  --suravi-nav-border: rgba(56, 67, 49, 0.10);
  --suravi-nav-divider: #e5e0d7;
  --suravi-nav-content-width: 1380px;
  --suravi-nav-top-font-size: 16px;
  --suravi-nav-bottom-font-size: 17px;
  border-bottom: 1px solid var(--suravi-nav-divider);
  background-color: var(--suravi-nav-bg) !important;
  box-shadow: 0 4px 14px rgba(56, 67, 49, 0.08);
  box-sizing: border-box;
}

/* Keep every navigation surface a touch richer than the page background. */
.pagetop > .pageinner.globalnav,
.pagetop > .pageinner.globalnav > .topnav,
.pagetop > .navigation,
.pagetop > .navigation > .pageinner {
  background-color: var(--suravi-nav-bg) !important;
}

/*
 * Desktop navigation
 * The explicit source order keeps nav/top above nav/main even if the Twig
 * partials are included in the opposite order.
 */
@media only screen and (min-width: 1201px) {
  .pagetop {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--suravi-nav-bg);
    color: var(--suravi-nav-text);
    opacity: 1;
  }

  /* Full-width hairline between the 70 px and 45 px rows. */
  .pagetop::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 69px;
    right: 0;
    left: 0;
    height: 1px;
    background-color: var(--suravi-nav-divider);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    pointer-events: none;
  }

  .pagetop > .pageinner.globalnav {
    order: 1;
    display: block;
    width: 100%;
    max-width: var(--suravi-nav-content-width);
    margin: 0 auto;
    padding: 0 32px;
  }

  .pagetop > .navigation {
    order: 2;
    width: 100%;
    max-width: none;
    height: 45px;
    margin: 0;
    background-color: var(--suravi-nav-bg);
    opacity: 1;
  }

  .pagetop > .navigation > .pageinner {
    display: block;
    width: 100%;
    max-width: var(--suravi-nav-content-width);
    height: 45px;
    margin: 0 auto;
    padding: 0 32px;
    background-color: var(--suravi-nav-bg);
  }

  /* Top row: logo and telephone left; links and search right. */
  .pagetop .pageinner.globalnav > .topnav {
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: transparent;
  }

  .pagetop .topnav > .burger {
    display: none;
  }

  .pagetop .topnav > .logo {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 54px;
    width: 54px;
    height: 70px;
    padding: 0 !important;
    line-height: normal;
  }

  .pagetop .topnav > .logo > a.home {
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    background: url("../images/logo/logo.png") no-repeat 50% 50%;
    background-size: contain;
    line-height: 48px;
  }

  .pagetop .topnav > .logo > a.home > .fa {
    visibility: hidden;
  }

  .pagetop .topnav > .telit {
    order: 2;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 70px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    line-height: normal;
  }

  .pagetop .topnav > .telit > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--suravi-nav-text);
    line-height: 44px;
  }

  .pagetop .topnav > .telit > a:hover,
  .pagetop .topnav > .telit > a:focus-visible,
  .pagetop .topnav > .logo > a.home:focus-visible,
  .pagetop .topnav > .seekit > a:focus-visible {
    color: var(--suravi-nav-accent);
    outline: 1px solid var(--suravi-nav-accent);
    outline-offset: 3px;
  }

  .pagetop .topnav > .nav {
    order: 10;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    width: auto;
    height: 70px;
    margin-left: auto;
  }

  .pagetop .topnav > .nav > ul {
    display: flex;
    align-items: center;
    float: none;
    width: auto;
    height: 70px;
    margin: 0;
    font-size: var(--suravi-nav-top-font-size);
    line-height: 1.2;
  }

  .pagetop .topnav > .nav > ul > li {
    display: block;
    width: auto;
    height: 70px;
    line-height: normal;
  }

  .pagetop .topnav > .nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 15px;
    color: var(--suravi-nav-text);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    word-spacing: 0;
    text-transform: none;
  }

  .pagetop .topnav > .nav > ul > li > a:hover,
  .pagetop .topnav > .nav > ul > li > a:focus-visible,
  .pagetop .topnav > .nav > ul > li.akt > a {
    color: var(--suravi-nav-heading);
    font-weight: 500 !important;
  }

  .pagetop .topnav > .callit {
    display: none;
  }

  .pagetop .topnav > .seekit {
    order: 11;
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 45px;
    width: 45px;
    height: 70px;
    margin-left: 18px;
    padding: 0 !important;
    line-height: normal;
  }

  .pagetop .topnav > .seekit > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    color: var(--suravi-nav-text);
    line-height: 45px;
  }

  /* The legacy selectors include .pageinner and would otherwise win. */
  .pagetop .pageinner.globalnav > .topnav > .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .pagetop .pageinner.globalnav > .topnav > .seekit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  /* Neutralize legacy icon offsets and center every top-row icon exactly. */
  .pagetop .topnav > .telit > a > .fa,
  .pagetop .topnav > .seekit > a > .fa {
    position: static;
    top: auto;
    display: block;
    margin: 0;
    line-height: 1;
    transform: none;
  }

  /* Keep the existing search behavior; only align the opened form. */
  .pagetop .topnav > .seekit > .seekform {
    top: 16px;
    right: 32px;
    width: calc(100% - 64px);
    max-width: 600px;
  }

  /* Bottom row: centered categories. */
  .pagetop .navigation .mainnav,
  .pagetop .navigation .mainnav > .nav {
    display: block;
    width: 100%;
    height: 45px;
    background-color: transparent;
  }

  .pagetop .mainnav > .nav > ul {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 45px;
    margin: 0 auto;
  }

  .pagetop .mainnav > .nav > ul > li {
    display: block;
    width: auto;
    height: 45px;
    padding: 0;
    line-height: 45px;
  }

  .pagetop .mainnav > .nav > ul > li:empty {
    display: none;
  }

  .pagetop .mainnav > .nav > ul > li > a {
    display: block;
    height: 45px;
    padding: 0 clamp(18px, 2vw, 30px);
    color: var(--suravi-nav-text);
    font-size: var(--suravi-nav-bottom-font-size);
    font-weight: 400;
    line-height: 45px;
    letter-spacing: 0;
    word-spacing: 0;
    text-transform: none;
  }

  /* Remove the legacy Font Awesome triangle. */
  .pagetop .mainnav > .nav > ul > li:hover > a::before {
    content: none;
    display: none;
  }

  .pagetop .mainnav > .nav > ul > li > a::after {
    content: "";
    position: absolute;
    right: clamp(18px, 2vw, 30px);
    bottom: 4px;
    left: clamp(18px, 2vw, 30px);
    height: 1px;
    background-color: var(--suravi-nav-accent);
    opacity: 0;
    transform: scaleX(0.65);
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .pagetop .mainnav > .nav > ul > li.akt > a,
  .pagetop .mainnav > .nav > ul > li > a:hover,
  .pagetop .mainnav > .nav > ul > li > a:focus-visible {
    color: var(--suravi-nav-heading);
    font-weight: 500 !important;
  }

  .pagetop .mainnav > .nav > ul > li.akt > a::after,
  .pagetop .mainnav > .nav > ul > li > a:hover::after,
  .pagetop .mainnav > .nav > ul > li > a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  /* Preserve the existing dropdown structure and improve its finish. */
  .pagetop .mainnav > .nav > ul > li > .subnav {
    z-index: 20;
    top: 100%;
    min-width: 280px;
    padding: 12px 16px;
    border: 1px solid var(--suravi-nav-border);
    background-color: rgba(249, 247, 242, 0.98);
    box-shadow: 0 8px 24px rgba(56, 67, 49, 0.10);
  }

  .pagetop .mainnav > .nav > ul > li:focus-within > .subnav {
    display: block;
  }

  .pagetop .mainnav > .nav > ul > li > .subnav ul > li > a {
    color: var(--suravi-nav-text);
    font-size: var(--suravi-nav-bottom-font-size);
    font-weight: 400;
  }

  .pagetop .mainnav > .nav > ul > li > .subnav ul > li.akt > a,
  .pagetop .mainnav > .nav > ul > li > .subnav ul > li > a:hover,
  .pagetop .mainnav > .nav > ul > li > .subnav ul > li > a:focus-visible {
    color: var(--suravi-nav-heading);
  }
}

/*
 * Compact desktop stage directly above the 1200 px burger breakpoint.
 * Only the outer controls become slightly narrower; menu spacing stays stable.
 */
@media only screen and (min-width: 1201px) and (max-width: 1380px) {
  .pagetop > .pageinner.globalnav,
  .pagetop > .navigation > .pageinner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pagetop .topnav > .logo {
    flex-basis: 50px;
    width: 50px;
  }

  .pagetop .topnav > .telit,
  .pagetop .topnav > .telit > a,
  .pagetop .topnav > .seekit,
  .pagetop .topnav > .seekit > a {
    flex-basis: 40px;
    width: 40px;
  }

}

/*
 * Navigation-only burger extension for tablet and smaller desktop widths.
 * The site's other responsive rules remain at their original 860 px limit.
 */
@media only screen and (min-width: 861px) and (max-width: 1200px) {
  .pagetop .pageinner.globalnav {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .pagetop .pageinner.globalnav > .topnav {
    position: fixed;
    left: 0;
    display: table;
    width: 100%;
    min-width: 310px;
    padding: 0;
    border-collapse: collapse;
    background-color: var(--suravi-nav-bg);
  }

  .pagetop .pageinner.globalnav > .topnav > .nav {
    display: none;
  }

  .pagetop .pageinner.globalnav > .topnav > .burger {
    display: table-cell;
  }

  .pagetop .pageinner.globalnav > .topnav > .burger,
  .pagetop .pageinner.globalnav > .topnav > .telit,
  .pagetop .pageinner.globalnav > .topnav > .callit,
  .pagetop .pageinner.globalnav > .topnav > .seekit {
    width: 75px !important;
    min-width: 75px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow: hidden;
  }

  .pagetop .pageinner.globalnav > .topnav > .burger > .trigger,
  .pagetop .pageinner.globalnav > .topnav > .telit > a,
  .pagetop .pageinner.globalnav > .topnav > .callit > a,
  .pagetop .pageinner.globalnav > .topnav > .seekit > a {
    width: 75px !important;
    min-width: 75px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow: hidden;
  }

  .pagetop .pageinner.globalnav > .topnav > .telit {
    left: 75px;
  }

  .pagetop .pageinner.globalnav > .topnav > .callit {
    right: 75px;
  }

  .pagetop .pageinner.globalnav > .topnav > .logo {
    width: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center;
  }

  .pagetop .telit,
  .pagetop .callit {
    display: block;
  }

  .pagetop > .navigation,
  .pagetop > .navigation > .pageinner,
  .pagetop .navigation .mainnav,
  .pagetop .navigation .mainnav > .nav,
  .pagetop .navigation .mainnav > .nav > ul,
  .pagetop .navigation .mainnav > .nav > ul > li,
  .pagetop .navigation .mainnav > .nav > ul > li.mobileitem,
  .pagetop .navigation .mainnav > .nav > ul > li > a {
    position: relative;
    z-index: 1;
    display: block;
    width: 300px;
    height: auto;
    text-align: left;
  }

  .pagetop > .navigation {
    position: absolute;
    left: -310px;
    background-color: var(--suravi-nav-bg);
  }

  .pagetop .navigation .mainnav > .nav {
    margin-bottom: 3em;
  }

  .pagetop .navigation .mainnav > .nav > ul > li {
    padding: 0 !important;
    border-top: 1px solid rgba(56, 67, 49, 0.10);
    background-color: #fff;
  }

  .pagetop .navigation .mainnav > .nav > ul > li:first-child {
    border-top: 0;
  }

  .pagetop .navigation .mainnav > .nav > ul > li > a {
    min-height: 45px;
    padding: 0 2em;
    color: var(--suravi-nav-text);
    font-size: var(--suravi-nav-bottom-font-size);
    line-height: 45px;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
  }

  .pagetop .navigation .mainnav > .nav > ul > li.hassub > a::before {
    content: "\f054";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 2em;
    color: rgba(56, 67, 49, 0.55);
    font-family: "fontawesome";
    font-size: 0.8em;
    line-height: 45px;
    text-align: center;
  }

  .pagetop .navigation .mainnav > .nav > ul > li.hassub.on > a::before,
  .pagetop .navigation .mainnav > .nav > ul > li.hassub.akt:not(.off) > a::before {
    content: "\f078";
  }

  .pagetop .navigation .mainnav > .nav > ul > li > a::after {
    content: none;
    display: none;
  }

  .pagetop .navigation .mainnav > .nav > ul > li > .subnav {
    position: relative;
    top: auto;
    left: 0;
    display: none;
    width: 300px;
    min-width: 300px;
    padding: 0.5em 1em 1.5em;
    border: 0;
    border-top: 1px solid rgba(56, 67, 49, 0.10);
    background-color: #fff;
    box-shadow: none;
  }

  .pagetop .navigation .mainnav > .nav > ul > li.on > .subnav,
  .pagetop .navigation .mainnav > .nav > ul > li.akt:not(.off) > .subnav {
    display: block;
  }

  body.navigate .pagetop .pageinner.globalnav {
    position: fixed;
    z-index: 999;
  }

  body.navigate .pagetop .pageinner.globalnav > .topnav,
  body.navigate .pagetop > .navigation {
    left: -310px;
    display: block;
    width: 100%;
    max-width: 310px;
    padding-bottom: 2em;
    text-align: left;
  }

  body.navigate .pagetop .pageinner.globalnav > .topnav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: table;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
  }

  body .pageouter {
    transition: all 0.2s ease-in;
  }

  body.navigate .pageouter {
    position: fixed;
    height: 100%;
    padding-left: 310px;
    overflow-x: hidden;
  }

  body.navigate .page {
    position: fixed;
  }

  body .pagetop .navmask,
  body .pagetop .navmask::after {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: -310px;
    z-index: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.33);
    transition: all 0.2s ease-in;
  }

  body.navigate .pagetop .navmask,
  body.navigate .pagetop .navmask::after {
    left: 0;
    width: 100%;
  }

  body.navigate .pagetop .navmask::after {
    content: "";
    width: 310px;
    background-color: #fff;
  }

  body.navigate .pagetop .burger > .trigger::before {
    content: "\f00d";
  }
}

/*
 * Existing mobile/off-canvas behavior remains in charge at <= 860 px.
 * These rules only make its visible surfaces fully opaque and warm.
 */
@media only screen and (max-width: 1200px) {
  /* Keep the viewport gutter stable when the fixed drawer disables page scrolling. */
  html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
  }

  .pagetop,
  .pagetop > .navigation {
    background-color: var(--suravi-nav-bg);
    opacity: 1;
  }

  .pageheader,
  .pagetop,
  .pagetop .pageinner.globalnav,
  .pagetop .pageinner.globalnav > .topnav {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
  }

  .pagetop .pageinner.globalnav > .topnav > .burger,
  .pagetop .pageinner.globalnav > .topnav > .telit,
  .pagetop .pageinner.globalnav > .topnav > .logo,
  .pagetop .pageinner.globalnav > .topnav > .callit,
  .pagetop .pageinner.globalnav > .topnav > .seekit {
    height: 75px !important;
    line-height: 75px !important;
    vertical-align: middle;
  }

  .pagetop .pageinner.globalnav > .topnav > .telit > a,
  .pagetop .pageinner.globalnav > .topnav > .logo > a,
  .pagetop .pageinner.globalnav > .topnav > .callit > a,
  .pagetop .pageinner.globalnav > .topnav > .seekit > a,
  .pagetop .pageinner.globalnav > .topnav > .burger > .trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    line-height: 1 !important;
  }

  .pagetop .pageinner.globalnav > .topnav > .telit i.fa,
  .pagetop .pageinner.globalnav > .topnav > .logo i.fa,
  .pagetop .pageinner.globalnav > .topnav > .callit i.fa,
  .pagetop .pageinner.globalnav > .topnav > .seekit i.fa,
  .pagetop .pageinner.globalnav > .topnav > .burger i.fa {
    position: static;
    top: auto;
    line-height: 1 !important;
  }

  .pagetop .pageinner.globalnav > .topnav > .logo > a.home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    padding: 0;
    border-radius: 50%;
    background: url("../images/logo/logo.png") no-repeat 50% 50%;
    background-size: contain;
    line-height: 52px !important;
  }

  .pagetop .pageinner.globalnav > .topnav > .logo > a.home > .fa {
    visibility: hidden;
  }

  .pagetop .pageinner.globalnav > .topnav > .seekit {
    margin-left: 0;
  }

  .pagetop .topnav .seekit > .seekform {
    top: 19px;
  }

  .pagetop > .navigation {
    top: 80px;
  }

  body.navigate .pagetop .pageinner.globalnav,
  body.navigate .pagetop .pageinner.globalnav .topnav,
  body.navigate .pagetop .pageinner.globalnav .seekit {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
  }

  /* Keep the control bar viewport-wide while only the drawer stays 310px. */
  body.navigate .pagetop .pageinner.globalnav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.navigate .pagetop .pageinner.globalnav > .topnav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0 !important;
    display: table;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  /* Open the drawer above the page instead of pushing the whole layout aside. */
  body .pageouter {
    transition: none !important;
  }

  body.navigate {
    overflow: hidden;
  }

  body.navigate .pageouter {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    padding-left: 0 !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
  }

  body.navigate .page {
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }

  .pagetop > .navigation {
    position: fixed;
    z-index: 998;
    top: 75px;
    bottom: 0;
    left: -310px;
    width: min(310px, 100vw) !important;
    max-width: 310px;
    height: calc(100dvh - 75px);
    overflow-x: hidden;
    overflow-y: auto;
    transition: left 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.navigate .pagetop > .navigation {
    left: 0 !important;
    width: min(310px, 100vw) !important;
    max-width: 310px;
  }

  body .pagetop .navmask,
  body .pagetop .navmask::after {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
  }

  body.navigate .pagetop .navmask,
  body.navigate .pagetop .navmask::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 180ms ease;
  }

  body.navigate .pagetop .navmask {
    left: 0;
    z-index: 0;
    width: 100vw;
    background-color: rgba(26, 31, 25, 0.48);
    pointer-events: auto;
  }

  body.navigate .pagetop .navmask::after {
    width: min(310px, 100vw);
    background-color: #fff;
    pointer-events: none;
  }

  /* colors.css declares these surfaces translucent with !important. */
  body.navigate .pagetop .pageinner.globalnav,
  .pagetop .pageinner.globalnav > .topnav {
    background-color: var(--suravi-nav-bg) !important;
    opacity: 1;
  }
}

/*
 * Full-bleed hero/slider on every page using module/teaser.
 * The image spans the viewport; interactive content remains on the 1380 px grid.
 */
@media only screen and (min-width: 861px) {
  .pageteaser > .pageinner.stage {
    width: 100%;
    max-width: none;
    overflow: hidden;
  }

  .pageteaser .slide > .bg,
  .pageteaser .slide.off > .bg {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding-top: 0;
    background-position: 50% 30%;
    background-size: cover;
    transform: none;
  }

  .pageteaser .slide .inner {
    width: 100%;
    max-width: var(--suravi-nav-content-width, 1380px);
    margin: 0 auto;
  }

  .pageteaser .pageinner .logo {
    right: max(4em, calc((100vw - 1380px) / 2 + 4em));
  }

  .pageteaser .pageinner .go {
    right: auto;
    left: 50%;
    width: min(100%, 1380px);
    transform: translate(-50%, -50%);
  }
}

/* Calm slide typography matching the supplied reference. */
.pageteaser .slide .info h1,
.pageteaser .slide .info h1 a,
.pageteaser .slide .info h2,
.pageteaser .slide .info h2 a {
  color: #3f4939 !important;
  font-family: "Lora", Georgia, serif !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
  text-shadow: none !important;
}

.pageteaser .slide .info .txt,
.pageteaser .slide .info .txt p {
  color: #6f6f68;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-shadow: none !important;
}

/* Static reference slide injected by j.js before the Craft-managed slides. */
.pageteaser .slide-static-reference > .bg {
  /* WWD (Server-Patch 030): Bild darmgesundheit-sibo.jpg (KI-generiert, Craft-Upload) statt darm-gesundheit.jpg */
  background-image: url("../bilder/teaser/_w1380/darmgesundheit-sibo.jpg") !important;
  background-position: 50% 30% !important;
}

/* WWD (Server-Patch 030): sichtbare Kennzeichnung des KI-Bildes in diesem Slide. Nicht von Artis. */
.pageteaser .slide-static-reference::after {
  content: "KI-generiert";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  padding: 3px 8px 4px;
  border-radius: 4px;
  background-color: rgba(28, 28, 28, 0.66);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.pageteaser .slide-static-reference .info {
  width: 54%;
  max-width: 720px;
  padding: 2em 2em 2em 4em;
}

.pageteaser .slide-static-reference .info h1 {
  max-width: 620px;
  margin: 0;
}

.pageteaser .slide-static-reference .static-kicker {
  margin-top: 0.35em;
  color: #617657;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.25;
}

.pageteaser .slide-static-reference .info .txt {
  width: 100%;
  max-width: 520px;
  margin-top: 0.75em;
  font-size: 1.05em;
  line-height: 1.4;
}

.pageteaser .slide-static-reference .static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.15em;
}

.pageteaser .slide-static-reference .static-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0.7em 1.25em;
  border: 1px solid #d77d61;
  border-radius: 999px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.pageteaser .slide-static-reference .static-button span {
  margin-left: 1.5em;
  font-size: 1.25em;
  line-height: 1;
}

.pageteaser .slide-static-reference .static-button.primary {
  border-color: #d77d61;
  background-color: #d77d61;
  color: #fff;
}

.pageteaser .slide-static-reference .static-button.secondary {
  border-color: #d8b9a9;
  background-color: rgba(255, 255, 255, 0.72);
  color: #5f5e58;
}

.pageteaser .slide-static-reference .static-button:hover,
.pageteaser .slide-static-reference .static-button:focus-visible {
  border-color: #bd654c;
  background-color: #bd654c;
  color: #fff;
}

.pageteaser .stage > .logo {
  display: none !important;
}

.pageteaser .stage.static-slide-active > .logo {
  opacity: 0;
  pointer-events: none;
}

@media only screen and (max-width: 860px) {
  .pageteaser .slide-static-reference::after {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
    padding: 2px 7px 3px;
  }

  .pageteaser .slide-static-reference > .bg {
    background-image: url("../bilder/teaser/_w800/darmgesundheit-sibo.jpg") !important;
    background-position: 60% 30% !important;
  }

  .pageteaser .slide-static-reference .info {
    width: 100%;
    max-width: none;
    padding: 1.5em 1.25em;
  }

  .pageteaser .slide-static-reference .info h1 {
    max-width: 72%;
    font-size: clamp(2rem, 7vw, 2.8rem) !important;
  }

  .pageteaser .slide-static-reference .static-kicker,
  .pageteaser .slide-static-reference .info .txt {
    max-width: 72%;
  }

  .pageteaser .slide-static-reference .static-actions {
    max-width: 72%;
  }
}

@media only screen and (max-width: 520px) {
  .pageteaser .slide-static-reference .info h1 {
    max-width: 100%;
    font-size: 1.75rem !important;
  }

  .pageteaser .slide-static-reference .static-kicker,
  .pageteaser .slide-static-reference .info .txt,
  .pageteaser .slide-static-reference .static-actions {
    max-width: 100%;
  }

  .pageteaser .slide-static-reference .static-actions {
    gap: 8px;
  }

  .pageteaser .slide-static-reference .static-button {
    min-height: 40px;
    padding: 0.55em 0.9em;
    font-size: 0.82em;
  }

  .pageteaser .slide-static-reference .static-button span {
    margin-left: 0.75em;
  }
}

/*
 * Equal-height, responsive slider system.
 * Every slide uses the same viewport-dependent height. On narrower layouts the
 * portrait badge is removed and its reserved space is returned to the copy.
 */
.pageteaser > .pageinner.stage,
.pageteaser .slide {
  overflow: hidden;
}

.pageteaser {
  --suravi-slide-height: clamp(520px, 34vw, 620px);
  margin-top: 0;
}

.pageteaser .slide {
  height: var(--suravi-slide-height) !important;
  min-height: var(--suravi-slide-height) !important;
  padding-top: 0 !important;
}

.pageteaser .slide .info,
.pageteaser .slide .info h1,
.pageteaser .slide .info h2,
.pageteaser .slide .info .txt,
.pageteaser .slide .info .txt p,
.pageteaser .slide .info a {
  max-width: 100%;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

/* Optional logo uploaded through Craft's teaseric field. */
.pageteaser .slide .info > img.ic {
  display: block;
  width: auto !important;
  height: 140px !important;
  max-width: min(100%, 590px) !important;
  max-height: 140px;
  margin: 0 0 0.85em;
  object-fit: contain;
  object-position: left center;
}

/* Craft-generated slide link, visually aligned with the static primary button. */
.pageteaser .slide:not(.slide-static-reference) .info a.mehr {
  position: relative;
  display: inline-flex !important;
  float: none !important;
  align-self: flex-start !important;
  align-items: center;
  justify-content: flex-start;
  clear: both;
  min-height: 46px;
  margin-top: 1.15em;
  padding: 0.7em 3em 0.7em 1.25em !important;
  border: 1px solid #d77d61;
  border-radius: 999px;
  background-color: #d77d61 !important;
  color: #fff !important;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.pageteaser .slide:not(.slide-static-reference) .info a.mehr::before {
  top: 50%;
  right: 1.1em;
  left: auto;
  width: 1em;
  height: 1em;
  color: #fff;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.pageteaser .slide:not(.slide-static-reference) .info a.mehr:hover,
.pageteaser .slide:not(.slide-static-reference) .info a.mehr:focus-visible {
  border-color: #bd654c;
  background-color: #bd654c !important;
  color: #fff !important;
}

@media only screen and (min-width: 1201px) {
  .pageheader {
    height: 115px;
    min-height: 115px;
  }

  .pageteaser .slide:not(.slide-static-reference) .info {
    padding-right: 4em !important;
  }

  .pageteaser .slide:not(.slide-static-reference) .info .txt {
    width: 100% !important;
    max-width: 760px;
  }
}

@media only screen and (max-width: 1200px) {
  .pageteaser {
    --suravi-slide-height: 620px;
  }

  .pageteaser .slide .info > img.ic {
    max-width: min(100%, 360px) !important;
    max-height: 100px;
  }

  .pageteaser .pageinner.stage > .logo {
    display: none !important;
  }

  .pageteaser .slide .inner {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--suravi-slide-height);
    min-height: var(--suravi-slide-height);
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 32px;
    transform: none;
    box-sizing: border-box;
  }

  .pageteaser .slide .info {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    padding: 2em 4em !important;
    transform: none;
    box-sizing: border-box;
  }

  .pageteaser .slide .info .txt {
    width: 100% !important;
    max-width: 760px;
  }

  .pageteaser .slide .info a.mehr {
    float: none;
    align-self: flex-start;
  }

  .pageteaser .slide > .bg,
  .pageteaser .slide.off > .bg {
    height: 100%;
    min-height: 100%;
  }
}

@media only screen and (max-width: 860px) {
  .pageteaser {
    --suravi-slide-height: 580px;
  }

  .pageteaser .slide .inner {
    align-items: center;
    height: var(--suravi-slide-height);
    min-height: var(--suravi-slide-height);
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 700px) {
  .pageteaser {
    --suravi-slide-height: 560px;
  }

  .pageteaser .slide .info > img.ic {
    max-width: 100% !important;
    max-height: 100px;
    margin-bottom: 0.65em;
  }

  .pageteaser .slide .info {
    padding: 1.5em 2.5em !important;
  }
}

@media only screen and (max-width: 520px) {
  .pageteaser {
    --suravi-slide-height: 540px;
  }

  .pageteaser .slide .inner {
    align-items: center;
    height: var(--suravi-slide-height);
    min-height: var(--suravi-slide-height);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .pageteaser .slide .info {
    width: 100%;
    padding: 1.25em !important;
  }

  .pageteaser .slide .info .txt {
    width: 100%;
  }

  .pageteaser .slide-static-reference .static-button {
    max-width: 100%;
    white-space: normal;
  }
}

/*
 * Final cross-breakpoint alignment.
 * Neutralizes the legacy desktop offset (top: 100px / height: calc(100% - 100px))
 * so copy and side arrows use the actual vertical center of the complete slide.
 */
.pageteaser .slide .inner {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--suravi-nav-content-width, 1380px);
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 32px;
  transform: none;
  box-sizing: border-box;
}

.pageteaser .slide .info {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  min-height: 0;
  transform: none;
  box-sizing: border-box;
}

/* Soft translucent reading layer without changing the Craft/Twig markup. */
.pageteaser .slide .info::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -16px;
  right: -6vw;
  bottom: -16px;
  left: -6vw;
  border-radius: 50% / 46%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.72) 18%,
    rgba(255, 255, 255, 0.60) 36%,
    rgba(255, 255, 255, 0.44) 54%,
    rgba(255, 255, 255, 0.28) 69%,
    rgba(255, 255, 255, 0.14) 81%,
    rgba(255, 255, 255, 0.05) 91%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(10px);
  pointer-events: none;
}

.pageteaser .slide .info > * {
  position: relative;
  z-index: 1;
}

/* Let the page background show through the main two-column content area. */
.pagemiddle > .pageinner.inhaltholder {
  background-color: transparent !important;
}

.pagemiddle > .pageinner.breadcrumb,
.pagemiddle > .breadcrumb {
  background-color: transparent !important;
  background-image: none !important;
}

/* Craft-managed feature cards placed directly after the hero. */
.home-feature-cards {
  clear: both;
  width: 100%;
  padding: 34px 0 38px;
  background-color: transparent;
}

.home-feature-cards > .pageinner {
  width: 100%;
  max-width: var(--suravi-nav-content-width, 1380px);
  margin: 0 auto;
  padding: 0 32px;
  background-color: transparent !important;
  box-sizing: border-box;
}

.home-feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 500px));
  justify-content: center;
  gap: 16px;
}

.home-feature-card {
  display: flex;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  min-height: 330px;
  margin-inline: auto;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(119, 104, 88, 0.18);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 10px rgba(56, 67, 49, 0.025);
}

.home-feature-card-media {
  width: 100%;
  height: 138px;
  overflow: hidden;
  background-color: #f4eee8;
}

.home-feature-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
  opacity: 0.72;
}

.home-feature-card-content {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 24px 22px;
  box-sizing: border-box;
}

.home-feature-card-icon {
  position: absolute;
  top: -28px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #fffdf9;
  color: #df8065;
}

.home-feature-card-icon svg {
  width: 29px;
  height: 29px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-feature-card-icon > .fa {
  display: block;
  font-size: 29px;
  line-height: 1;
}

.home-feature-card h2 {
  margin: 0 0 8px;
  color: #3f4939;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.3rem, 1.6vw, 1.65rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.home-feature-card p {
  margin: 0 0 16px;
  color: #6f6f68;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.home-feature-card a {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: #d77d61;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.home-feature-card a span {
  margin-left: 0.55em;
  font-size: 1.15em;
  transition: transform 160ms ease;
}

.home-feature-card a:hover,
.home-feature-card a:focus-visible {
  color: #bd654c;
}

.home-feature-card a:hover span,
.home-feature-card a:focus-visible span {
  transform: translateX(3px);
}

@media only screen and (max-width: 860px) {
  .home-feature-cards {
    padding: 24px 0 30px;
  }

  .home-feature-cards > .pageinner {
    padding: 0 18px;
  }

  .home-feature-cards-grid {
    grid-template-columns: minmax(0, 500px);
    justify-content: center;
    gap: 14px;
  }

  .home-feature-card {
    min-height: 0;
  }

  .home-feature-card-media {
    height: 160px;
  }

  .home-feature-card h2 {
    font-size: 1.45rem;
  }
}

/* Restyle the existing Craft-powered homepage blog entries without changing Twig. */
.pagemiddle .table.zweispaltig > .tr:has(> .blogcell) {
  display: table-row !important;
  width: 100%;
}

.pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell {
  display: table-cell !important;
  width: 50% !important;
  min-width: 0;
  border: 0 !important;
}

.pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell:first-child {
  padding: 64px 8px 64px 32px !important;
}

.pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell:last-child {
  padding: 64px 32px 64px 8px !important;
}

.pagemiddle .blogcell > .box {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  padding: 0 !important;
  background-color: transparent !important;
}

.pagemiddle .blogcell > .box > h3.p0,
.pagemiddle .blogcell > .box > .h3 {
  min-height: 1.3em;
  margin: 0 0 14px;
  color: #3f4939;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.65rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.pagemiddle .blogcell > .box > .h3 {
  visibility: hidden;
}

.pagemiddle .blogcell .artikellist.collist {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(119, 104, 88, 0.18);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 10px rgba(56, 67, 49, 0.025);
}

.pagemiddle .blogcell .artikellist.collist article {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 20px 22px;
  box-sizing: border-box;
}

.pagemiddle .blogcell article > span[itemprop="publisher"],
.pagemiddle .blogcell article span[itemprop="image"]:not(:has(img)) {
  display: none !important;
}

.pagemiddle .blogcell article > header h3 {
  margin: 0 0 10px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.25;
}

.pagemiddle .blogcell article > header h3 > a {
  display: block;
  color: #3f4939;
  text-decoration: none;
}

.pagemiddle .blogcell article span.date {
  display: block;
  margin: 0 0 7px;
  color: #85847e;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.2;
}

.pagemiddle .blogcell article > section,
.pagemiddle .blogcell article > section > .table.vat,
.pagemiddle .blogcell article > section > .table.vat > .td.vat.p0 {
  display: flex !important;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
}

.pagemiddle .blogcell article p[itemprop="description"] {
  display: block;
  margin: 0 0 14px;
  color: #70706a;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}

.pagemiddle .blogcell article a.mehr {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0 1.2em 0 0;
  color: #d77d61;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  float: none !important;
}

.pagemiddle .blogcell article a.mehr::before {
  top: 0;
  right: 0;
  left: auto;
  color: currentColor;
  text-align: right;
}

.pagemiddle .blogcell article a.mehr:hover,
.pagemiddle .blogcell article a.mehr:focus-visible,
.pagemiddle .blogcell article > header h3 > a:hover,
.pagemiddle .blogcell article > header h3 > a:focus-visible {
  color: #bd654c;
}

/* Only entries which really contain a Craft image receive an image column. */
.pagemiddle .blogcell .artikellist.collist article:has(img) {
  display: grid;
  grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  padding: 12px;
}

.pagemiddle .blogcell article:has(img) > header {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 5px 8px 0 0;
}

.pagemiddle .blogcell article:has(img) > section,
.pagemiddle .blogcell article:has(img) > section > .table.vat {
  display: contents !important;
}

.pagemiddle .blogcell article:has(img) > section > .table.vat > .td.w25p {
  display: block !important;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100% !important;
  height: auto;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  align-self: start;
}

.pagemiddle .blogcell article:has(img) > section > .table.vat > .td.vat.p0 {
  grid-column: 2;
  grid-row: 2;
  width: auto !important;
  padding: 0 8px 4px 0 !important;
}

.pagemiddle .blogcell article:has(img) .td.w25p > a {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.pagemiddle .blogcell article:has(img) img.listthumb {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  border: 0;
  border-radius: 7px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  float: none !important;
}

@media only screen and (max-width: 860px) {
  .pagemiddle .table.zweispaltig > .tr:has(> .blogcell) {
    display: block !important;
    padding: 46px 18px;
    box-sizing: border-box;
  }

  .pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell,
  .pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell:first-child,
  .pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell:last-child {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .pagemiddle .table.zweispaltig > .tr:has(> .blogcell) > .blogcell + .blogcell {
    margin-top: 14px;
  }

  .pagemiddle .blogcell > .box > .h3 {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .pagemiddle .blogcell .artikellist.collist article,
  .pagemiddle .blogcell .artikellist.collist article:has(img) {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 18px;
  }

  .pagemiddle .blogcell article:has(img) > header {
    order: 0;
    padding: 16px 0 0;
  }

  .pagemiddle .blogcell article:has(img) > section,
  .pagemiddle .blogcell article:has(img) > section > .table.vat {
    display: contents;
  }

  .pagemiddle .blogcell article:has(img) > section > .table.vat > .td.w25p {
    width: 100%;
    height: auto;
    order: -1;
    aspect-ratio: 1 / 1;
  }

  .pagemiddle .blogcell article:has(img) > section > .table.vat > .td.vat.p0 {
    width: 100%;
    padding: 0 !important;
    order: 1;
  }

  .pagemiddle .blogcell article:has(img) img.listthumb {
    min-height: 0;
  }
}

/* Match the existing Craft-powered blog overview to the homepage card style. */
.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist:has(> article[itemtype="http://schema.org/NewsArticle"]) {
  margin: 0 0 16px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(119, 104, 88, 0.18);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 10px rgba(56, 67, 49, 0.025);
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist > article[itemtype="http://schema.org/NewsArticle"] {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  margin: 0 !important;
  padding: 20px 22px;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > span[itemprop="publisher"],
.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > span[itemprop="image"]:not(:has(img)),
.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > .cb {
  display: none !important;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > h3[itemprop="headline"] {
  margin: 0 0 10px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.25;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > h3[itemprop="headline"] > a {
  display: block;
  color: #3f4939;
  text-decoration: none;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article span.date {
  display: block;
  margin: 0 0 7px;
  color: #85847e;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.2;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > [itemprop="description"] {
  display: block;
  margin: 0 0 14px;
  color: #70706a;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > a.mehr {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0 1.2em 0 0;
  color: #d77d61;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  float: none !important;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > a.mehr::before {
  top: 0;
  right: 0;
  left: auto;
  color: currentColor;
  text-align: right;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > a.mehr:hover,
.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > a.mehr:focus-visible,
.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > h3[itemprop="headline"] > a:hover,
.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article > h3[itemprop="headline"] > a:focus-visible {
  color: #bd654c;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist > article[itemtype="http://schema.org/NewsArticle"]:has(img) {
  display: grid;
  grid-template-columns: minmax(160px, 34%) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  padding: 12px;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article:has(img) > h3[itemprop="headline"] {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 5px 8px 0 0;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article:has(img) > a[itemprop="image"] {
  display: block;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 100%;
  height: auto;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  align-self: start;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article:has(img) > [itemprop="description"] {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding-right: 8px;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article:has(img) > a.mehr {
  grid-column: 2;
  grid-row: 3;
}

.pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
  .artikellist article:has(img) > a[itemprop="image"] img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0;
  margin: 0 !important;
  border: 0;
  border-radius: 7px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  float: none !important;
}

@media only screen and (max-width: 600px) {
  .pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
    .artikellist > article[itemtype="http://schema.org/NewsArticle"],
  .pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
    .artikellist > article[itemtype="http://schema.org/NewsArticle"]:has(img) {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 18px;
  }

  .pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
    .artikellist article:has(img) > a[itemprop="image"] {
    width: 100%;
    height: auto;
    order: -1;
    margin-bottom: 16px;
    aspect-ratio: 1 / 1;
  }

  .pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
    .artikellist article:has(img) > h3[itemprop="headline"] {
    padding: 0;
  }

  .pagemiddle #fold .table.zweispaltig.col2_1 > .tr > .td:first-child
    .artikellist article:has(img) > [itemprop="description"] {
    padding-right: 0;
  }
}

/* Blog pagination and the opened calendar year. */
.pagemiddle #fold .paginationholder {
  overflow: hidden;
  border-radius: 8px;
}

.pagemiddle #fold .paginationholder .pagination {
  overflow: hidden;
  border: 0 !important;
  border-radius: 8px;
  background-color: #d77d61 !important;
}

.pagemiddle #fold .paginationholder .pagination.sticky {
  border-radius: 0 !important;
}

.pagemiddle #fold .paginationholder .pagination > .td,
.pagemiddle #fold .paginationholder .pagination > .td > a,
.pagemiddle #fold .paginationholder .pagination > .td > strong {
  color: #fff;
}

.pagemiddle #fold .paginationholder .pagination > .pagecurrent {
  background-color: rgba(255, 255, 255, 0.94) !important;
}

.pagemiddle #fold .paginationholder .pagination > .pagecurrent > strong {
  color: #d77d61;
}

.pagemiddle #fold .paginationholder .pagination > .td > a:hover,
.pagemiddle #fold .paginationholder .pagination > .td > a:focus-visible {
  background-color: #bd654c;
  color: #fff;
}

.pagemiddle #fold .akkordeon.calender > li.open {
  overflow: hidden;
  border: 1px solid rgba(119, 104, 88, 0.18) !important;
  border-radius: 8px;
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(56, 67, 49, 0.025);
}

.pagemiddle #fold .akkordeon.calender > li.open > h3.trigger,
.pagemiddle #fold .akkordeon.calender > li.open > .pump {
  background-color: #fff !important;
}

.pagemiddle #fold .akkordeon.calender > li.open > h3.trigger {
  border-radius: 7px 7px 0 0;
  color: #3f4939 !important;
}

.pagemiddle #fold .akkordeon.calender > li.open > h3.trigger::before {
  content: "\f274";
  color: #d77d61 !important;
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 860px) {
  .pagemiddle #fold .paginationholder .pagination.sticky {
    top: 75px !important;
    margin-top: 0 !important;
  }
}

.pageteaser .pageinner .go {
  top: 50% !important;
}

@media only screen and (min-width: 861px) {
  .pageteaser .pageinner .go {
    transform: translate(-50%, -50%) !important;
  }
}

@media only screen and (max-width: 860px) {
  .pageteaser .slide .inner {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .pageteaser .pageinner .go {
    transform: translate(0, -50%) !important;
  }
}

@media only screen and (max-width: 700px) {
  .pageteaser .slide .info::before {
    border-radius: 50% / 42%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.74) 0%,
      rgba(255, 255, 255, 0.67) 22%,
      rgba(255, 255, 255, 0.54) 43%,
      rgba(255, 255, 255, 0.38) 62%,
      rgba(255, 255, 255, 0.22) 76%,
      rgba(255, 255, 255, 0.10) 87%,
      rgba(255, 255, 255, 0.03) 94%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .pageteaser .pageinner .go {
    top: calc(100% - 50px) !important;
    right: 1em;
    left: auto;
    width: 8em;
    height: 2em;
    transform: none !important;
  }

  .pageteaser .pageinner .go .trigger {
    top: 0;
    font-size: 2em;
  }
}

@media only screen and (max-width: 520px) {
  .pageteaser .slide .inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* Centered search dialog using the existing mask and Craft/Twig form. */
.pagetop .topnav .seekit.akt > .mask {
  position: fixed !important;
  z-index: 10000 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100vw !important;
  height: 100dvh !important;
  background-color: rgba(26, 31, 25, 0.52) !important;
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.pagetop .topnav .seekit.akt > .seekform {
  position: fixed !important;
  z-index: 10001 !important;
  top: 50% !important;
  right: auto !important;
  left: 50% !important;
  display: block !important;
  width: min(720px, calc(100vw - 32px)) !important;
  max-width: 720px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(56, 67, 49, 0.16);
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 18px 48px rgba(26, 31, 25, 0.24);
  font-size: 16px;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box;
  line-height: normal !important;
}

.pagetop .topnav .seekit.akt > .seekform form,
.pagetop .topnav .seekit.akt > .seekform .table,
.pagetop .topnav .seekit.akt > .seekform .tr {
  width: 100%;
  height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagetop .topnav .seekit.akt > .seekform form.table {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  line-height: normal !important;
}

.pagetop .topnav .seekit.akt > .seekform .tr {
  position: relative;
  top: 0;
  display: flex !important;
  align-items: stretch;
  line-height: normal !important;
}

.pagetop .topnav .seekit.akt > .seekform .td {
  top: 0 !important;
  display: flex !important;
  align-items: center;
  height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal !important;
}

.pagetop .topnav .seekit.akt > .seekform .td:first-child {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0 !important;
}

.pagetop .topnav .seekit.akt > .seekform .td:first-child > div {
  width: 100%;
  height: 58px;
}

.pagetop .topnav .seekit.akt > .seekform input.focusit {
  position: static;
  top: auto;
  width: 100%;
  height: 58px !important;
  margin: 0 !important;
  padding: 0 48px !important;
  border: 0;
  background-color: transparent;
  font-size: 16px;
  line-height: 58px !important;
  box-sizing: border-box;
}

.pagetop .topnav .seekit.akt > .seekform span.clear,
.pagetop .topnav .seekit.akt > .seekform a.sitemap,
.pagetop .topnav .seekit.akt > .seekform span.clear::before,
.pagetop .topnav .seekit.akt > .seekform a.sitemap::before {
  top: 0 !important;
  width: 42px;
  height: 58px !important;
  line-height: 58px !important;
}

.pagetop .topnav .seekit.akt > .seekform .buttonholder {
  display: flex;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  width: 60px;
  max-width: 60px;
  height: 58px !important;
}

.pagetop .topnav .seekit.akt > .seekform form button {
  position: static;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px !important;
  height: 58px !important;
  margin: 0;
  padding: 0 !important;
}

.pagetop .topnav .seekit.akt > .seekform form button i.fa {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 58px !important;
  margin: 0;
  font-size: 1.2em;
  line-height: 1 !important;
}

.pagetop .topnav .seekit.akt > .seekform form button i.fa::before {
  content: "\f002" !important;
}

/* Keep the same lower divider visible on the fixed burger bar. */
@media only screen and (max-width: 1200px) {
  .pagetop .pageinner.globalnav > .topnav,
  body.navigate .pagetop .pageinner.globalnav > .topnav {
    border-bottom: 1px solid var(--suravi-nav-divider, #e5e0d7) !important;
    box-sizing: border-box;
  }
}

/* Contact section: warm form panel and the existing Suravi logo. */
.pagebottom > .pageinner > .table.zweispaltig > .tr > .leftcol {
  background-color: #eadbc2 !important;
}

.pagebottom > .pageinner > .table.zweispaltig > .tr > .rightcol > .box::before {
  content: "";
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 0 26px;
  background: url("../images/logo/logo.png") no-repeat center / contain;
}

.pagebottom #kontaktform .kontaktform input[type="search"],
.pagebottom #kontaktform .kontaktform input[type="email"],
.pagebottom #kontaktform .kontaktform input[type="text"],
.pagebottom #kontaktform .kontaktform input[type="number"],
.pagebottom #kontaktform .kontaktform input[type="date"],
.pagebottom #kontaktform .kontaktform select {
  height: 45px !important;
  padding: 0 12px;
  border-radius: 4px !important;
  line-height: 45px !important;
  box-sizing: border-box;
}

.pagebottom #kontaktform .kontaktform textarea {
  border-radius: 4px !important;
  box-sizing: border-box;
}

.pagebottom #kontaktform .kontaktform .labelinput:not(.on):not(.ok) > label {
  height: 45px;
  line-height: 45px;
}

#fold[itemtype="http://schema.org/ContactPage"] {
  margin-top: 32px;
}

/* Route planner: reuse the established red pill button without changing its logic. */
.pagemiddle #fold button[value="Route berechnen"] {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0.7em 1.25em !important;
  border: 1px solid #d77d61 !important;
  border-radius: 999px;
  background-color: #d77d61 !important;
  color: #fff !important;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  box-sizing: border-box;
}

.pagemiddle #fold button[value="Route berechnen"]::before,
.pagemiddle #fold button[value="Route berechnen"]::after {
  content: none !important;
  display: none !important;
}

.pagemiddle #fold button[value="Route berechnen"] > .fa {
  position: static;
  inset: auto;
  margin: 0;
  color: currentColor;
  line-height: 1;
}

.pagemiddle #fold button[value="Route berechnen"]:hover,
.pagemiddle #fold button[value="Route berechnen"]:focus-visible {
  border-color: #bd654c !important;
  background-color: #bd654c !important;
  color: #fff !important;
}

.pagebottom #kontaktform .kontaktform button[type="submit"],
#fold[itemtype="http://schema.org/ContactPage"] #kontaktform .kontaktform button[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0.7em 1.25em !important;
  border: 1px solid #d77d61 !important;
  border-radius: 999px;
  background-color: #d77d61 !important;
  color: #fff !important;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  box-sizing: border-box;
}

.pagebottom #kontaktform .kontaktform button[type="submit"]::before,
.pagebottom #kontaktform .kontaktform button[type="submit"]::after,
#fold[itemtype="http://schema.org/ContactPage"] #kontaktform .kontaktform button[type="submit"]::before,
#fold[itemtype="http://schema.org/ContactPage"] #kontaktform .kontaktform button[type="submit"]::after {
  content: none !important;
  display: none !important;
}

.pagebottom #kontaktform .kontaktform button[type="submit"] > .fa,
#fold[itemtype="http://schema.org/ContactPage"] #kontaktform .kontaktform button[type="submit"] > .fa {
  position: static;
  right: auto;
  left: auto;
  margin: 0;
  color: currentColor;
  line-height: 1;
}

.pagebottom #kontaktform .kontaktform button[type="submit"]:hover,
.pagebottom #kontaktform .kontaktform button[type="submit"]:focus-visible,
#fold[itemtype="http://schema.org/ContactPage"] #kontaktform .kontaktform button[type="submit"]:hover,
#fold[itemtype="http://schema.org/ContactPage"] #kontaktform .kontaktform button[type="submit"]:focus-visible {
  border-color: #bd654c !important;
  background-color: #bd654c !important;
  color: #fff !important;
}

@media only screen and (max-width: 600px) {
  .pagebottom > .pageinner > .table.zweispaltig > .tr > .rightcol > .box::before {
    width: 104px;
    height: 104px;
    margin-bottom: 22px;
  }
}

/*
 * Shared standard/overview pages: present the existing right content column
 * as a quiet card. Width and Craft-rendered content remain untouched.
 */
.pagemiddle #fold.inhaltholder
  > .table.zweispaltig:not(.col2_1):not(.col1_2):not(.seektable)
  > .tr:first-child
  > .td:last-child {
  border-left: 0 !important;
}

.pagemiddle #fold.inhaltholder
  > .table.zweispaltig:not(.col2_1):not(.col1_2):not(.seektable)
  > .tr:first-child
  > .td:last-child
  > .box:not(#kontaktform):has(> *) {
  overflow: hidden;
  margin-right: 2em;
  border: 1px solid rgba(119, 104, 88, 0.18);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 2px 10px rgba(56, 67, 49, 0.035);
  box-sizing: border-box;
}

/* Reusable Craft-managed items in the shared right content column. */
.right-column-focus-cards {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 18px 0 22px;
}

.right-column-focus-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  align-items: center;
  border: 1px solid rgba(119, 104, 88, 0.18);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(56, 67, 49, 0.025);
  box-sizing: border-box;
}

.right-column-focus-card-icon {
  display: flex;
  width: 40px;
  height: 40px;
  grid-row: 1 / span 3;
  align-items: center;
  justify-content: center;
  color: #d77d61;
}

.right-column-focus-card-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.right-column-focus-card-icon > .fa {
  position: static;
  display: block;
  color: currentColor;
  font-size: 32px;
  line-height: 1;
}

.right-column-focus-card > strong {
  min-width: 0;
  color: #55574f;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: calc(0.98rem + 2px);
  font-weight: 400;
  line-height: 1.3;
}

.right-column-focus-card > p {
  min-width: 0;
  margin: 3px 0 0;
  color: #77766f;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: calc(0.84rem + 2px);
  font-weight: 400;
  line-height: 1.35;
}

.right-column-focus-card > a {
  display: inline-block;
  width: fit-content;
  margin-top: 5px;
  color: #d77d61;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: calc(0.9rem + 2px);
  line-height: 1.25;
  text-decoration: none;
}

.right-column-focus-card > a:hover,
.right-column-focus-card > a:focus-visible {
  color: #bd654c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media only screen and (max-width: 860px) {
  .pagemiddle #fold.inhaltholder
    > .table.zweispaltig:not(.col2_1):not(.col1_2):not(.seektable)
    > .tr:first-child
    > .td:last-child {
    border-top: 0 !important;
  }

  .pagemiddle #fold.inhaltholder
    > .table.zweispaltig:not(.col2_1):not(.col1_2):not(.seektable)
    > .tr:first-child
    > .td:last-child
    > .box:not(#kontaktform):has(> *) {
    margin-top: 24px;
    margin-left: 0;
    margin-right: 0;
    border: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pagetop .mainnav > .nav > ul > li > a::after {
    transition: none;
  }
}
