/*
	Theme Name: SENLEB25
	Author:     Pedro Stoehr, stoehr@ticktoo.com
	Author URI: https://ticktoo.com/
  Template: bones
	 ___       ___
	/\  \___  /\  \
	\ \   __\_\_\  \
	 \ \  \ /\____  \
	  \ \__\\/___/\__\
	   \/__/     \/__/
*/

/* // ANCHOR Imports
------------------------------------------------------------------------ */

@import url('../bones/vendor/bootstrap-5.3.6-dist/css/bootstrap.min.css');
@import url('fonts/PlayfairDisplay/PlayfairDisplay.css');

/* // ANCHOR Vars
------------------------------------------------------------------------ */

:root {

  --theme-font-extra: 'Playfair Display', serif;

  --theme-white: #ffffff;
  --theme-white-rgb: 255 255 255;
  --theme-black: #000000;
  --theme-black-rgb: 0 0 0;

  --theme-primary: #a60c73;
  --theme-primary-rgb: 166 12 115;

  --theme-primary-hover: #7f0a5e;
  --theme-primary-hover-rgb: 127 10 94;

  --theme-primary-active: #66084c;
  --theme-primary-active-rgb: 102 8 76;

  --theme-beige: #f1edeb;  
  --theme-beige-rgb: 241 237 235;

  --theme-beige-dark: #c1b6b2;
  --theme-beige-dark-rgb: 193 182 178;


  --bs-link-color: var(--theme-primary);
  --bs-link-color-rgb: 166,12,115;
  --bs-link-hover-color: var(--theme-primary-hover);
  --bs-link-hover-color-rgb: 127,10,94;


}

/* // ANCHOR A11Y
------------------------------------------------------------------------ */

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}

.visually-hidden.focusable:focus,
.visually-hidden.focusable:active {
  position: static !important;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
}

.invisible {
  visibility: hidden;
}

a:focus,
input:focus,
button:focus,
select:focus,
textarea:focus,
[tabindex]:not([tabindex="-1"]):focus {
  outline: 2px solid currentColor !important;
  outline-offset: 2px;
}

.wpforms-container input:focus,
.wpforms-container button:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus,
.submenu-toggle:focus,
[tabindex]:not([tabindex="-1"]):focus {
  outline: none !important;
  outline-offset: 0;
}

[class^="icon-"],
[class*=" icon-"],
[class^="element-"],
[class*=" element-"] {
  display: inline-block;
  width: 1em;
  aspect-ratio: 1 / 1;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  line-height: 1;
  margin: 0;
  padding: 0;
}

#skiptocontent a {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 100000;
  padding: 6px;
  color: var(--theme-white);
  background: var(--theme-primary);
  border-right: 1px solid var(--theme-white);
  border-bottom: 1px solid var(--theme-white);
  border-bottom-right-radius: 8px;
  transition: top 0.5s ease-out;
}

#skiptocontent a:focus {
  top: 0;
  outline-color: transparent;
  transition: top 0.05s ease-in;
}

@media (prefers-reduced-motion: reduce) {
  #skiptocontent a {
    transition-duration: 0.001ms !important;
  }
}

/* // ANCHOR WP Adminbar
------------------------------------------------------------------------ */

#wpadminbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

body.show-adminbar #wpadminbar {
  transform: translateY(0);
}

#toggle-adminbar {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #21759b;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

#toggle-adminbar:hover {
  background-color: #245a72;
}

#toggle-adminbar:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#toggle-adminbar .ab-icon {
  font-size: 32px;
  line-height: 1;
  width: 1em;
  height: 1em;
  aspect-ratio: 1 / 1;
  display: inline-block;
}

/* // ANCHOR Globals
------------------------------------------------------------------------ */

body {
  background-color: var(--theme-white);
  color: var(--theme-black);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* --------- Headlines + Text */

h1,
h2 {
  font-family: var(--theme-font-extra);
  color: var(--theme-primary);
  text-align: center;
}

h2 {
  text-align: left;
  padding-block: 1rem;
}

.home h2 {
  text-align: center;
  font-size: 2.1rem;
  padding-block: 0;
}

.block-bild-text h2 {
  padding-top: 0;
}

h3 {
  font-size: 1.4rem;
  font-weight: 500;
}

.small-nfo {
  font-size: .9rem;
}

/* --------- Color */

.bg-theme {
  background: var(--theme-primary);
  background: linear-gradient(
    287deg,
    var(--theme-primary) 0%,
    var(--theme-primary-active) 100%
  );
  color: var(--theme-white);

  h2,
  a {
    color: var(--theme-white);
  }

  .hero-btn {
    color: var(--theme-primary);
    text-align: center;
    width: 100%;
  }
}

.bg-grey-light {
  background-color: var(--theme-beige);
}

/* --------- Images */

figure img {
  width: 1440px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

figure figcaption {
  color: var(--theme-beige-dark);
  text-align: right;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.block-bild-text {
  margin-block: 1rem;
}

.block-bild-text figure {
  margin-bottom: 1.5rem;
}

/* --------- Icons */

.nfo-icon [class^="icon-"],
.nfo-icon [class*=" icon-"] {
  width: 100%;
  fill: rgb(var(--theme-white-rgb) / 30%);
}

.onboarding-icon {
  text-align: center;
}

.onboarding-icon [class^="icon-"],
.onboarding-icon [class*=" icon-"] {
  width: 50%;
  fill: rgb(var(--theme-white-rgb) / 30%);
}

/* --------- THE BOX */

.box {
  color: var(--theme-white) !important;
  background: linear-gradient(
    287deg,
    var(--theme-primary) 0%,
    var(--theme-primary-active) 100%
  );
  padding-block: 3rem 2.5rem;
  margin-block: 2rem;
  transform: skewY(-3deg);
}

.box > .wrapper {
  transform: skewY(3deg);
}

.box h2 {
  color: var(--theme-white);
}

/* --------- Bootstrap */

.container {
  padding-inline: 1.5rem;
}

.btn-primary {
  font-size: 1.1rem;
  padding: .5rem 1rem;
  --bs-btn-color: var(--theme-white);
  --bs-btn-bg: var(--theme-primary);
  --bs-btn-border-color: var(--theme-primary);
  --bs-btn-hover-color: var(--theme-white);
  --bs-btn-hover-bg: var(--theme-primary-hover);
  --bs-btn-hover-border-color: var(--theme-primary-hover);
  --bs-btn-focus-shadow-rgb: var(--theme-primary);
  --bs-btn-active-color: var(--theme-white);
  --bs-btn-active-bg: var(--theme-primary-active);
  --bs-btn-active-border-color: var(--theme-primary-active);
  --bs-btn-active-shadow: inset 0 3px 5px rgb(var(--theme-black-rgb) / 2%);
  --bs-btn-disabled-color: var(--theme-white);
  --bs-btn-disabled-bg: rgb(var(--theme-primary-light));
  --bs-btn-disabled-border-color: var(--theme-beige-dark);
}

.btn-sm {
  font-size: .9rem;
  padding: .25rem .5rem
}

/* --------- WordPress */

.wp-block-button__link {
  background-color: var(--theme-primary);
  color: var(--theme-white);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.wp-block-button__link:hover {
  background-color: var(--theme-primary-hover);
}

/* --------- wpforms */

.wpforms-page-indicator-steps {
  display: none!important;
}

/* // ANCHOR Lazy Blocks
------------------------------------------------------------------------ */

/* --------- Spacer */

.block-spacer {
  display: block;
  width: 100%;
}

.block-spacer.s1 {
  height: 1rem;
}

.block-spacer.s2 {
  height: 2rem;
}

.block-spacer.s3 {
  height: 4rem;
}

.block-spacer.s4 {
  height: 6rem;
}

/* --------- Logos */

.logo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 1rem;
  padding: 10px;
}

.logo-image .style-svg {
  display: inline-block;
  max-width: 120px;
  max-height: 100px;
  height: 100%;
  width: auto;
}

.logo-image .style-pixel {
  display: inline-block;
  max-width: 120px;
  max-height: 100px;
  height: auto;
  width: auto;
}

/* // ANCHOR Header
------------------------------------------------------------------------ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9001;
  background-color: var(--theme-white);
  border-bottom: 1px solid var(--theme-beige);
}

html > body .site-header {
  position: fixed;
}

.site-header .container.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  padding-block: 2rem;
  margin-top: 36px;
}

/* --------- Logo */

.brand-logo {
  display: inline-block;
}

.brand-logo svg {
  height: 42px;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

/* --------- Toggle */

.nav-toggle {
  display: inline-block;
  border: none;
  background-color: transparent;
  padding: 0.5rem;
  font-weight: bold;
  line-height: 1;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="false"] .icon-close {
  display: none;
}

.nav-toggle [class^="icon-"],
.nav-toggle [class*=" icon-"] {
  width: 1.5em;
  height: 1.5em;
}

/* --------- CTA */

.nav-cta a {
  background-color: var(--theme-primary);
  color: var(--theme-white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.nav-cta a:hover {
  background-color: var(--theme-primary-hover);
  text-decoration: none;
}

/* --------- Contact */

.site-contact {
  background: linear-gradient(
    287deg,
    var(--theme-beige) 0%,
    var(--theme-beige-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  position: absolute;
  top: 0;
  height: 36px;
  width: 100%;;
}
.site-contact .icon-menu {
  margin-right: 6px
}

/* // ANCHOR Main
------------------------------------------------------------------------ */

main {
    background: linear-gradient(
    0deg,
    var(--theme-white) 75%,
    var(--theme-beige) 100%
  );
  padding-top: 130px;
}

/* --------- Hero + Content CTA */

.hero {
  padding-block: 2rem 4rem;
}

.hero-box,
.content-cta {
  color: var(--theme-white);
  border-radius: 6px;
  text-align: center;
  padding: 2.5rem 3.5rem;
  background:
    url("img/element_hands-white.svg"),
    linear-gradient(
      287deg,
      var(--theme-primary) 0%,
      var(--theme-primary-active) 100%
    );
  background-repeat: no-repeat, no-repeat;
  background-position: bottom 1rem right 1rem, center;
  background-size: 135px 120px, cover;
}

.hero-box h1,
.content-cta h2 {
  padding-bottom: 1rem !important;
  color: var(--theme-white);
  text-align: center;
  padding-inline: 0;
}

.hero-box p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.hero-box p:last-child,
.content-cta p:last-child {
  margin-bottom: 0.5rem;
}

.hero-btn,
.cta-btn {
  display: inline-block;
  background-color: var(--theme-white);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}

/* --------- Services Grid */

.service-item {
  background-color: var(--theme-beige);
  border-radius: 10px;
  min-height: 580px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.service-item .item-content {
  padding: 1.5rem;
}

.service-item h3 {
  color: var(--theme-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.service-item p {
  margin-bottom: 1.5rem;
}

.service-item p:last-child {
  margin-bottom: 0;
}

/* --------- Info Grid */

.nfo-item {
  margin-bottom: 2rem;
}

.nfo-item i {
  font-size: 4rem;
}

.nfo-icon {
  text-align: center;
}

/* --------- Slider */

.slider {
  overflow: hidden;
}

.slider .container {
  overflow: hidden;
}

.slides {
  display: flex;
  gap: 1.5rem;
  margin-right: -1.5rem;
  transition: transform 0.5s ease-in-out;
}

.slide {
  box-sizing: border-box;
  flex: 0 0 calc(100% - 1.5rem);
}

.slide[aria-hidden="true"] {
  pointer-events: none;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

/* --------- Quotes */

.quote-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: auto;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--theme-beige) url("img/element_hands-white-middle.svg") no-repeat bottom 1rem right 1rem;
  background-size: 135px 120px;
}

.quote-item img {
  max-width: 250px;
  height: auto;
  flex-shrink: 0;
}

.quote-item blockquote {
  margin: 0;
  padding: 1.5rem;
}

.quote-item p {
  margin-bottom: 0.5rem;
}

.quote-item cite {
  font-size: 0.9rem;
  font-weight: 600;
  font-style: italic;
  color: var(--theme-primary);
}

/* --------- Onboarding */

.onboarding h2 {
  text-align: center;
  padding-bottom: 0;
}

.onboard-item {
  margin-bottom: 2.5rem;
}

.onboard-item h3 {
  text-align: center;
}

/* --------- Storys */

.block-storys .story-item {
  margin-bottom: 1.5rem
}

.block-storys .story-item a {
  color: var(--theme-black);
  display: block;
  text-decoration: none;
}

.block-storys .story-cats {
  font-size: .85rem;
  margin-bottom: .75rem
}

.block-storys .story-cats a {
  border-radius: 1rem;
  border: 1px solid var(--theme-beige-dark);
  color: var(--theme-black);
  display: inline-block;
  line-height: 1;
  font-weight: 500;
  padding: .2rem .5rem .25rem
}

.block-storys .story-cats a:hover {
  border-color: var(--theme-primary);
  background-color: var(--theme-primary);
  color: var(--theme-white)
}

.block-storys a h3 {
  color: var(--theme-primary);
}

.block-storys a:hover h3 {
  text-decoration: underline
}

/* --------- Sharer */

.txt-share{text-align:center;padding-top:2rem}
.txt-share p{font-family:var(--theme-font-extra-two);}
.txt-share ul{list-style-type:none;margin:0 auto;padding:0}
.txt-share li{display:inline-block;margin:0 .15rem}

.txt-share [class^="icon-"],
.txt-share [class*=" icon-"] {
  width: 1.75em;
} 

.txt-share a,.txt-share a:hover,.txt-share a:focus{box-shadow:none}



/* // ANCHOR Lebenshelfer Overview
------------------------------------------------------------------------ */

/* --------- Bundeslaender */    

.region-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.region-item a {
  display: block;
  color: var(--theme-white);
}

.region-item .item-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: linear-gradient(
    287deg,
    rgb(var(--theme-primary-rgb) / 80%) 0%,
    rgb(var(--theme-primary-active-rgb) / 80%) 100%
  );
}

.region-item .item-footer p {
  font-size: 0.8rem;
  margin: 0;
  padding-block: 0.75rem 0.25rem;
}

.region-item .item-footer h3 {
  margin: 0;
  padding: 0.75rem 0;
}

/* --------- Staedte */

.citys ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}

.citys ol li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--theme-beige-dark);
  color: var(--theme-white);
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
}

.citys ol li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .citys ol li a:hover {
    background-color: var(--theme-primary-hover);
  }
}

.citys dl {
  padding-top: 16px;
  column-count: 1;
}

@media (min-width: 990px) {
  .citys dl {
    column-count: 3;
  }
}

.citys dl div {
  break-inside: avoid-column;
}

.citys dl dd {
  margin-bottom: 32px;
  padding: 0;
}

.citys dl dt a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--theme-primary);
  color: var(--theme-white);
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.citys dl dt a:hover {
  background-color: var(--theme-primary-hover);
}

.citys dl dd ul {
  list-style: none;
  margin: 16px 0 16px 38px;
  padding: 0;
}

.citys dl dd ul li {
  padding-bottom: 8px;
}

@media (min-width: 760px) {
  .citys dl dd ul li {
    padding-bottom: 4px;
  }
}

.citys dl dd ul a {
  color: var(--theme-black);
  transition: all 0.25s ease-in-out;
}

.citys dl dd ul a:hover {
  color: var(--theme-color);
}

/* --------- Lebenshelfer Grid */

.lebenshelfer-liste img {
  border-radius: 6px;
}

.lebenshelfer-liste .list-item {
  margin-bottom: 2.5rem;
}

.lebenshelfer-liste .list-item a {
  display: block;
  text-decoration: none;
}

.lebenshelfer-liste .list-name {
  font-weight: 500;
  line-height: 1.2;
  margin: 0.75rem 0 0;
  padding: 0;
  text-align: center;
}

.lebenshelfer-liste .list-position {
  font-size: 0.9rem;
  color: var(--theme-black);
  line-height: 1.2;
  margin-top: 0.25rem;
  padding-inline: 1.5rem;
  text-align: center;
}

/* // ANCHOR Lebenshelfer Detail
------------------------------------------------------------------------ */

/* --------- Services */

.lebenshelfer-leistungen .nfo-icon [class^="icon-"],
.lebenshelfer-leistungen .nfo-icon [class*=" icon-"] {
  width: 100%;
  fill: var(--theme-primary);
}

/* --------- Vita */

.lebenshelfer-vita {
  background: var(--theme-beige) url("img/element_hands-white-middle.svg") no-repeat bottom 1rem right 1rem;
  background-size: 135px 120px;
  border-radius: 10px;
  padding: 1rem 1.5rem 1.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.lebenshelfer-vita .vita-item {
  margin-top: 1.5rem;
}

.lebenshelfer-vita h2 {
  margin-bottom: 0;
  padding-bottom: 0;
}

.lebenshelfer-vita h3 {
  color: var(--theme-primary);
  padding-top: 1.5rem;
  line-height: 1;
}

.lebenshelfer-vita h4 {
  font-size: 1rem;
  font-weight: bold;
}

/* // ANCHOR Footer
------------------------------------------------------------------------ */

footer {
  font-size: 0.9rem;
  padding-block: 1.5rem;
}

.footer-item {
  margin-bottom: 1rem;
}

.footer-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-item p {
  margin-bottom: 0.15rem;
}

.footer-item strong {
  text-transform: uppercase;
}

.footer-item a {
  display: inline-block;
  text-decoration: none;
}

.footer-item a:hover {
  text-decoration: underline;
}

footer .logos a:first-child {
  margin-right: 14px;
}




/* // ANCHOR Responsive, Baby!
------------------------------------------------------------------------ */

/* --------- EXTRA LARGE */

@media screen and (min-width: 1200px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 1200px;
  }
}

/* --------- LARGE */

@media screen and (min-width: 992px) {

  h1 {
    padding: 1rem 8rem 1.5rem;
  }

  .lebenshelfer-vita {
    padding: 1rem 2.5rem 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 1rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }

  nav > ul > li {
    position: relative;
  }

  nav > ul > li a {
    display: inline-block;
    position: relative;
    color: var(--theme-black);
    font-weight: 500;
    text-decoration: none;
    padding-block: 0.3rem;
  }

  .page-id-262 .menu-item-259 > a,
  .single-post .menu-item-259 > a,
  .parent-pageid-262 .menu-item-259 > a {
    color: var(--theme-primary);
  }

/* 1) Aktiver Parent-Link (Parent selbst ist aktiv) */
nav > ul > li.current-menu-item > a,
nav > ul > li.current_page_item > a {
  color: var(--theme-primary);
}

/* 2) Parent-Link einfärben, wenn irgendein Nachfahr aktiv/Ancestor ist */
nav > ul > li:has(.current-menu-item,
                  .current-menu-ancestor,
                  .current_page_item,
                  .current_page_ancestor,
                  .current-page-ancestor) > a {
  color: var(--theme-primary);
}

/* 3) Aktive Links im Submenü einfärben */
nav ul.sub-menu li.current-menu-item > a,
nav ul.sub-menu li.current_page_item > a,
nav ul.sub-menu li.current-menu-ancestor > a,
nav ul.sub-menu li.current_page_ancestor > a,
nav ul.sub-menu li.current-page-ancestor > a {
  color: var(--theme-primary);
}

/* Optional: Hover-Optik bei aktiven Links */
nav > ul > li.current-menu-item > a:hover,
nav > ul > li.current_page_item > a:hover,
nav > ul > li:has(.current-menu-item,
                  .current-menu-ancestor,
                  .current_page_item,
                  .current_page_ancestor,
                  .current-page-ancestor) > a:hover,
nav ul.sub-menu li.current-menu-item > a:hover,
nav ul.sub-menu li.current_page_item > a:hover,
nav ul.sub-menu li.current-menu-ancestor > a:hover,
nav ul.sub-menu li.current_page_ancestor > a:hover,
nav ul.sub-menu li.current-page-ancestor > a:hover {
  text-decoration: underline;
}







  nav > ul > li.menu-item-type-custom a {
    color: var(--theme-white) !important;
  }

  nav > ul > li a:hover {
    text-decoration: underline;
  }

  nav > ul > li > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    right: 0;
    background-color: var(--theme-white);
    font-size: 0.9rem;
    list-style: none;
    padding: 0.75rem .5rem .25rem 1rem;
    margin: 0;
    min-width: 280px;
    box-shadow: 0 0 1px var(--theme-beige-dark);
  }

  nav > ul > li > ul > li {
    margin-bottom: 0.25rem;
  }

  nav > ul > li.open > ul {
    display: block;
  }

/* Platz für den Button vorhalten */
  nav > ul > li.menu-item-has-children {
    position: relative;               /* für absolute Positionierung des Buttons */
    --toggle-w: 1em;               /* Breite der Klickfläche rechts */
    --toggle-pad: 0.15rem;             /* Abstand zum Text */
  }

  /* Rechter Innenabstand für den Link = reservierter Button-Bereich */
  nav > ul > li.menu-item-has-children > a {
    padding-right: calc(var(--toggle-w) + var(--toggle-pad));
  }

  /* Button über dem reservierten Bereich rechts platzieren */
  .submenu-toggle {
    position: absolute;
    top: 50%;
    right: 0;                   /* Feinjustierung zum Rand */
    transform: translateY(-50%);
    width: var(--toggle-w);
    height: 2rem;                     /* ausreichende Klickfläche */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .submenu-toggle::after {
    content: '';
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-315deg);
    pointer-events: none;
  }

  /* Optional: visueller Hover */
  .submenu-toggle:hover,
  .submenu-toggle:focus {
    color: var(--theme-primary);
  }

}

/* --------- SMALL + MEDIUM */

@media screen and (max-width: 991.98px) {

  h1 {
    padding: 1rem 0 1.5rem;
  }

  .quote-item {
    flex-direction: column;
    align-items: stretch;
    min-height: 740px !important;
  }

  .quote-item img {
    max-width: 100%;
    width: 100%;
  }

  .quote-item blockquote {
    padding-top: 0 !important;
  }

  .tile-item .item-text {
    padding: 42.5px 23% 32.5px 45px;
    min-height: 350px;
  }

  .tile-item.reverse .item-text {
    padding: 42.5px 45px 32.5px 23%;
  }

  .tile-item .item-image {
    width: 33%;
  }

  main {
    padding-top: 75px;
  }

  .site-header .container.mast {
    padding-block: 1rem;
  }

  nav {
    flex: 0 0 100%;
    max-width: 100%;
  }

  nav > ul,
  nav > ul > li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav > ul > li > ul {
    margin-left: 1rem;
    font-size: 0.9rem;
  }

  nav > ul {
    border-top: 1px solid var(--theme-beige-dark);
    margin-top: 1.5rem;
    padding-block: 1rem;
  }

  .submenu-toggle {
    display: none !important;
  }

  #main-nav {
    display: none;
  }

  #main-nav.open {
    display: block;
  }

  .nav-cta {
    margin-top: 1.5rem;
  }

  .nav-cta a {
    padding: 1rem;
    text-align: center;
    display: block;
    text-decoration: none !important;
  }
}

/* --------- MEDIUM ONLY */

@media screen and (min-width: 576px) and (max-width: 991.98px) {
  /* medium goes here */
}

/* --------- SMALL ONLY */

@media screen and (max-width: 575.98px) {
  .tile-item .item-text {
    padding: 30px 25px 20px;
    min-height: 0 !important;
    width: 100%;
  }

  .tile-item.reverse .item-text {
    padding: 30px 25px 20px;
    margin: 0;
  }

  .tile-item .item-image {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    transform: translate(0, 0);
  }
}

/*! END OF LINE */