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


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

@import url('../bones/vendor/bootstrap-5.3.8-dist/css/bootstrap.min.css');
@import url('vendor/fontawesome-free-7.3.1-web/css/all.min.css');


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

.wpforms-image-choices-image img {
	width: 100%!important;
	max-width: 300px!important;
	height: auto!important;
}
.wpforms-image-choices-label {
	display: block;
	width: 100%;
	max-width: 300px;
	padding: 0 2rem;
}
.wpforms-field.wpf-disable-field .wpforms-image-choices-image,
.wpforms-field.wpforms-field-readonly .wpforms-image-choices-image {
	opacity: 1!important
}


:root {

  --theme-font-extra: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

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


  --theme-primary: #193A5F;
  --theme-primary-rgb: 25 58 95;

  --theme-primary-hover: #11293f;
  --theme-primary-hover-rgb: 17 41 63;

  --theme-primary-active: #11293f;
  --theme-primary-active-rgb: 17 41 63;

  --theme-beige: #fcfbfa;
  --theme-beige-rgb: 252 251 250;

  --theme-beige-dark: #eaeaea;
  --theme-beige-dark-rgb: 234 234 234;

  --theme-link: #22537F;
  --theme-link-rgb: 34 83 127;
  --theme-link-hover: #193A5F;
  --theme-link-hover-rgb: 25 58 95;

  --bs-link-color: var(--theme-link);
  --bs-link-color-rgb: var(--theme-link-rgb);
  --bs-link-hover-color: var(--theme-link-hover);
  --bs-link-hover-color-rgb: var(--theme-link-hover-rgb);

}

.wpforms-container .wpforms-page-indicator {
	padding-bottom: 2rem!important;
}
div.wpforms-container-full .wpforms-form .wpforms-field-layout:not(:first-child) > .wpforms-field-label:not(.wpforms-label-hide)::before {
	border-top: 0!important;
}
.wpforms-field-pagebreak {
	margin-top: 2rem!important;
}
div.wpforms-container .wpforms-form .wpforms-field-layout > .wpforms-field-label {
	margin-top: 0!important;
}
.wpforms-currency-symbol {
	font-weight: bold;
}


/* // 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 Globals
------------------------------------------------------------------------ */

body {
  background-color: var(--theme-primary);
  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;
	margin-inline: auto;
}

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;
}

.interview-item {
  margin-bottom: 1.5rem;
}

.interview-question {
  font-size: 1.3rem;
  font-weight: 600;
}
.interview-answer {
  font-style: italic;
}


/* --------- 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%;
  }
}

.color-purple {
  color: var(--theme-primary)!important;
}

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

.bg-blue {
	background-color: var(--theme-primary);
	
	h2,p,
  a {
    color: var(--theme-white);
  }
}

/* --------- 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: 30%;
  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
------------------------------------------------------------------------ */

.site-banner {
  background: linear-gradient(
    287deg,
    var(--theme-primary) 0%,
    var(--theme-primary-active) 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%;
  color: #FFF;
  padding: 0 1.5rem;
}
.site-banner a {
  color: #FFF;
  display: block;
  text-decoration: none;
}

/* --------- 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;
}


/*! TEAM */

.block-team{margin-top:1rem}
.block-team .team-item img{border-radius:10px}
.block-team .team-item{margin-bottom:2.5rem}
.block-team .team-name{color: var(--theme-primary);font-size: 1.3rem;font-family:var(--theme-font-extra);line-height:1.2;margin:1rem 0 0;padding:0;text-align:center}
.block-team .team-position{font-size: .85rem;line-height:1.2;margin:.25rem 0 1rem 0;padding:0 1.5rem;text-align:center}

/*

.quote-item{background-color:#FFF;border:4px solid var(--theme-beige-dark);display:block;border-radius:8px;margin-bottom:1.5rem;padding:1.5rem 2rem;position:relative;}
.quote-item:before{content:"";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid var(--theme-beige-dark);border-top:10px solid var(--theme-beige-dark);border-bottom:10px solid transparent;left:20px;bottom:-23px}
.quote-item:after{content:"";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid #fff;border-top:10px solid #fff;border-bottom:10px solid transparent;left:16px;bottom:-13px}
.quote-item p{font-family:var(--theme-font-extra);font-size:1.4rem;line-height:1.2;margin-bottom:.5rem}
*/

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9001;
  background-color: var(--theme-beige);
  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-bottom: 1rem;

/*  margin-top: 36px; */
}

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

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

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

/* --------- 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!important;
}

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

.site-contact {
  background: linear-gradient(
    287deg,
    var(--theme-primary) 0%,
    var(--theme-primary-active) 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%;
  color: #FFF;
}
.site-contact .icon-menu {
  margin-right: 6px
}

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

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

.n2_clear {
  margin: -80px 0 6rem 0;
}

/* --------- 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:
    linear-gradient(
      287deg,
      var(--theme-primary) 0%,
      var(--theme-primary-active) 100%
    );
  background-repeat: no-repeat;
  background-position: center;
  background-size: 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-dark);
  border-radius: 10px;
/*  min-height: 580px; */
height: 100%;

  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;
  padding-bottom: 1.75rem; /* ≥ 23px Pfeilhöhe → Platz für die Sprechblasen-Spitze */
}
.slide .quote-item {
  margin-bottom: 0;
}

.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: 2rem;
}

/* --------- 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: 125px;
  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: 2rem
}

.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;
}

/* HINWEIS: --theme-color existiert nicht (Altlast). Deklaration ist
   ungueltig -> Farbe faellt auf inherit zurueck. Absichtlich unveraendert
   gelassen, da ausserhalb des Auftrags. */
.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;
}

/* ----------- Timeline */

.timeline-wrapper{display:flex;justify-content:flex-end;flex-direction:column;position: relative;}
.timeline-item{position:relative;}
.timeline-item.has-image::before {top:315px!important}
.timeline-line{position:absolute;top:0;height:calc(100% - 40px);width:1px;
  
  background: var(--theme-beige-dark);
background: linear-gradient(180deg,rgba(193,182,178, 0) 0%, rgba(193,182,178, 1) 10%, rgba(193,182,178, 1) 90%, rgba(193,182,178, 0) 100%);
}
.item-year{font-family:var(--theme-font-extra);color:var(--theme-primary);font-size:2rem;display:block;position:relative}
.timeline-item .item-image {margin-bottom: 2rem;}
.timeline-item img {
  border-radius: 10px;
}

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

footer {
  color:var(--theme-white);
  font-size: 0.9rem;
  padding-block: 2rem;
}

.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) {

  .site-banner {
    display: none;
  }

  .site-header .container.mast {
    margin-top: 0;
  }

blockquote {
  width:100%;max-width:60%;margin:0 auto 2rem auto;
}


  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-cta.current_page_item a {
  color: #FFF!important
}



  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);
  }

/* --------- 3. Ebene (Sub-Sub-Menü), Desktop
   FIX 2026-07: war zuvor in ein zweites, identisches
   @media (min-width: 992px) verschachtelt. Flachgezogen. */

  /* Sub-Sub-Menü inline im Panel statt als Flyout */
  nav > ul > li > ul ul {
    display: block;
    position: static;
    list-style: none;
    box-shadow: none;
    min-width: 0;
    margin: .15rem 0 .75rem;
    padding: 0 0 0 .75rem;
  }

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

  nav > ul > li > ul ul a {
    font-weight: 400;
  }

  /* Zweiten Chevron in Untermenüs entfernen */
  nav > ul > li > ul .submenu-toggle {
    display: none !important;
  }

  /* Reservierten Platz für den entfernten Toggle zurücksetzen */
  nav > ul > li > ul li.menu-item-has-children > a {
    padding-right: 0;
  }

/* --------- Timeline Desktop */

  .timeline-wrapper {margin-top: 1.5rem;}
  .timeline-line{left:50%}
  .timeline-item:nth-child(odd){align-self:flex-end}
  .timeline-item:nth-child(even){align-self:flex-start}
  .timeline-item:nth-child(odd) .item-year:before{left:-57px}
  .timeline-item:nth-child(even) .item-year:before{left:calc(100% + 43px)}
  .timeline-item:nth-child(even){text-align:right}
  .timeline-item{width:calc(50% - 50px);position:relative;margin:0}

  .timeline-item .item-year:before{content:'';background:url(img/circle.svg) no-repeat center center;background-size:16px 16px;height:16px;width:16px;position:absolute;top:15px;z-index:23}
 .timeline-item .item-year {padding-top:.5rem;}
  .timeline-item:nth-child(odd) .item-image {margin-top:-2rem;margin-bottom:0;}
  .timeline-item:nth-child(even) .item-image {margin-top:-2rem;margin-bottom:0;}
  .timeline-item:first-child .item-image {margin-top:0rem;}
  .timeline-item .item-content{margin-bottom:3rem;}

}

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

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



.site-banner {
  height: 72px;
}

 .site-header .container.mast {
    margin-top: 55px;
  }

    main {
    padding-top: 140px; 
  }


blockquote {
  margin-top: 1rem;
}

  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%;
  }


  .site-header .container.mast {
    padding-block: 1rem;
    /* margin-top: 72px; */
  }

  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;
  }

.timeline-line{display:none}
  .timeline-item{position:relative;margin:0 0 1.5rem}
  .timeline-item:nth-child(odd) .item-image,
  .timeline-item:nth-child(even) .item-image {margin-bottom:.5rem;margin-top: 1.5rem;}
  .item-year{font-size:1.8rem}

}

/* --------- Mobile-Navigation: Styling

   FIX 2026-07: Dieser Block (und der Sub-Sub-Menue-Teil) lag zuvor
   INNERHALB von @media (min-width: 992px). Verschachtelte Media
   Queries werden mit UND verknuepft -> die Bedingung
   "min-width:992px AND max-width:991.98px" ist nie wahr, das Styling
   war wirkungslos. Deshalb waren die Menue-Links mobil orange
   (Bootstrap-Default) und zu klein.

   Position ist wichtig: dieser Block muss NACH "SMALL + MEDIUM" stehen,
   sonst gewinnt dort nav > ul > li > ul { font-size: 0.9rem }.        */

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

  nav > ul > li > ul ul {
    list-style: none;
    margin-left: 1rem;
    padding-left: 0;
  }

  /* Alle Nav-Links: kontraststarkes Orange, ohne Default-Underline.
     War var(--theme-primary) (Braun) -- auf --theme-link geaendert,
     damit Links im Menue als Links erkennbar bleiben.
     Fuer Braun einfach --theme-link durch --theme-primary ersetzen. */
  nav > ul a {
    color: var(--theme-link) !important;
    text-decoration: none;
  }

  nav > ul a:hover,
  nav > ul a:focus {
    color: var(--theme-link-hover) !important;
    text-decoration: underline;
  }

  /* Top-Level (Leistungen, Standort, …) */
  nav > ul > li > a {
    font-size: 1.25rem;
    font-weight: 600;
    padding-block: .5rem;
  }

  /* Untermenü-Container mit Guide-Line */
  nav > ul > li > ul {
    margin: .25rem 0 .5rem .25rem;
    padding-left: 1rem;
    border-left: 2px solid var(--theme-beige-dark);
    font-size: 1.05rem;
  }

  nav > ul > li > ul a {
    display: block;
    padding-block: .4rem;
  }

  /* 2. Ebene = Gruppen-Überschrift */
  nav > ul > li > ul > li > a {
    font-weight: 600;
  }

  /* 3. Ebene: eingerückt mit Punkt-Marker statt ■ */
  nav > ul > li > ul ul {
    list-style: none;
    margin: .15rem 0 .75rem;
    padding-left: 1rem;
    font-size: 1rem;
  }

  nav > ul > li > ul ul > li > a {
    position: relative;
    padding-left: 1.1rem;
    font-weight: 400;
  }

  nav > ul > li > ul ul > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: .4rem;
    height: .4rem;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: var(--theme-primary);
  }

  /* Die Buchen-CTA ist ein Menuepunkt in #main-nav und damit mobil erst
     nach Oeffnen des Burgers sichtbar. Weisser Text auf braunem Button
     bleibt weiss -- die !important-Regel oben wuerde sie sonst umfaerben. */
  .nav-cta a,
  .nav-cta a:hover,
  .nav-cta a:focus {
    color: var(--theme-white) !important;
  }
}

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

 .menu-header-container.open > ul {
    max-height: calc(100vh - 148px);
    max-height: calc(100dvh - 148px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-bottom: 2rem;
  }
}

/* --------- 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);
  }
}

/* // ANCHOR Mobile Fixes 2026-07 (Kundenfeedback)
------------------------------------------------------------------------ */

/* --------- Menue-Button

   .nav-toggle hatte keine eigene color. Die Icons erben ueber
   fill: currentColor, also griff der UA-Default fuer <button>
   (buttontext) -- den Safari/iOS als Systemblau rendert.            */

.nav-toggle {
  color: var(--theme-primary);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--theme-link-hover);
}

/* --------- Headerhoehe zentral steuern

   Der Header ist fixed. Die Hoehe war an zwei Stellen als Magic Number
   hinterlegt (130px / 75px) und mobil um ca. 78px zu niedrig:

     72px Banner + 16px + 48px Logo + 16px + 1px Border = 153px
     reserviert waren aber nur 75px

   Folge: Slider auf der Startseite und H1 auf Unterseiten lagen
   teilweise unter dem Header. --header-h ist ab jetzt die einzige
   Quelle fuer diesen Wert.                                          */

   /*
:root {
  --header-h: 130px;
}

main {
  padding-top: var(--header-h);
}
  */

/* Sprungmarken (#Inhalt, FAQ-Anker) landen sonst unter dem Header */

/*
html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
*/
@media screen and (max-width: 991.98px) {

  /*
  :root {
    --header-h: 156px;
  }
    */


  /* Slider-Bild vollstaendig zeigen, keine feste Hoehe erzwingen */
  .n2_clear img,
  .slider img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* --------- Button-Kontraste

   .hero-btn / .cta-btn haben weissen Hintergrund, aber keine eigene
   Textfarbe -> sie erben die Bootstrap-Linkfarbe. Betrifft u.a. den
   "Besichtigung buchen"-Button auf der Startseite.                  */

.hero-btn,
.cta-btn,
.bg-theme .hero-btn {
  color: var(--theme-primary);
  font-weight: 600;
}

.hero-btn:hover,
.cta-btn:hover,
.hero-btn:focus-visible,
.cta-btn:focus-visible {
  color: var(--theme-link-hover);
}

/* Bildunterschriften waren beige auf weiss (Kontrast ca. 1,05:1) */
figure figcaption {
  color: var(--theme-primary);
}

/* --------- Schriftgroessen mobil

   Das Theme rechnet durchgehend in rem. Ein angehobener Root-Wert
   skaliert Fliesstext, Ueberschriften, Abstaende und Bootstrap-Gutter
   konsistent mit -- deshalb kein Dutzend Einzelregeln.               */

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

  html {
    font-size: 106.25%;   /* 16px -> 17px */
  }

  body {
    line-height: 1.6;
  }

  footer {
    font-size: 1rem;      /* war 0.9rem = 14.4px */
  }

  .small-nfo,
  .lebenshelfer-liste .list-position,
  .block-team .team-position,
  .block-storys .story-cats {
    font-size: .95rem;
  }

  figure figcaption {
    font-size: .9rem;
  }

  /* Touch-Ziele mind. 44px (WCAG 2.5.8) */
  .footer-item a {
    padding-block: .35rem;
  }
}

/* --------- CTA ueber dem Logo

   Benoetigt zusaetzliches Markup in header.php, als erstes Kind von
   .container.mast:

     <div class="mast-cta">
       <a class="btn btn-primary" href="...">Besichtigung buchen</a>
     </div>

   .container.mast ist bereits flex + flex-wrap, order/flex-basis
   reichen daher aus.

   ACHTUNG: Der CTA macht den Header mobil ca. 66px hoeher. Wenn das
   Markup eingebaut ist, --header-h im Mobile-Block oben von 156px auf
   222px setzen -- sonst ist das Ueberlappungsproblem zurueck.        */

.mast-cta {
  display: none;
}

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

  .mast-cta {
    display: block;
    order: -1;
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }

  .mast-cta .btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
  }
}

/* --- Quote-Item: Sprechblase + Slider-Layout --- */

.quote-item {
	background-color: #fff;
	border: 4px solid var(--theme-beige-dark);
	border-radius: 8px;
	padding: 1.5rem 2rem;
	margin-bottom: 1.5rem;
	position: relative;
	box-sizing: border-box;

	/* Layout Desktop: Logo + Quote nebeneinander */
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.5rem;

	/* Gleiche Höhe im Slider */
	height: 100%;
}

/* Sprechblasen-Pfeil: Rand */
.quote-item::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	left: 20px;
	bottom: -23px;
	border-left: 10px solid transparent;
	border-right: 10px solid var(--theme-beige-dark);
	border-top: 10px solid var(--theme-beige-dark);
	border-bottom: 10px solid transparent;
}

/* Sprechblasen-Pfeil: Füllung (überdeckt den Rand innen) */
.quote-item::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	left: 16px;
	bottom: -13px;
	border-left: 10px solid transparent;
	border-right: 10px solid #fff;
	border-top: 10px solid #fff;
	border-bottom: 10px solid transparent;
}

/* Logo */
.quote-item > img,
.quote-item > .img-fluid {
	flex: 0 0 auto;
	width: 140px;
	max-width: 35%;
	max-height: 90px;
	height: auto;
	object-fit: contain;
}

/* Zitat-Block */
.quote-item blockquote {
	flex: 1 1 auto;
	min-width: 0; /* erlaubt Umbruch/Kürzung im Flex-Kontext */
	margin: 0;
}

.quote-item blockquote p {
	font-family: var(--theme-font-extra);
	font-size: 1.4rem;
	line-height: 1.2;
	margin-bottom: 0.5rem;

	/* Höhe beschränken: max. 5 Zeilen, Rest wird abgeschnitten */
	display: -webkit-box;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.quote-item blockquote cite {
	display: block;
	font-style: normal;
	font-weight: 600;
}

/* Layout Mobile: Logo + Quote untereinander */
@media ( max-width: 767.98px ) {

	.quote-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.quote-item > img,
	.quote-item > .img-fluid {
		width: auto;
		max-width: 60%;
		max-height: 70px;
		margin-bottom: 1rem;
	}
}


/* --- Optionale Häkchen-Liste --- */
.check-list {
	list-style: none;
	margin: 0 0 1rem 0;
	padding: 0;
}

.check-list li {
	position: relative;
	padding-left: 1.75em;
	margin-bottom: 0.25em;
}
.check-list li::before {
	content: "\2713"; /* ✓ */
	position: absolute;
	left: .15rem;
	color: var(--theme-primary);
	font-weight: 700;
}

/*
.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 1em;
	height: 1em;
	background-color: var(--theme-primary);
	-webkit-mask: var(--check-icon) center / contain no-repeat;
	mask: var(--check-icon) center / contain no-repeat;
}

.check-list {
	--check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}
*/

.item-icon {
  color: var(--theme-primary);
  font-size: 3.5rem;
  margin: 0 auto -1rem auto;
  padding-top: 1.5rem;
  text-align: center;
}

.service-item {
	display: flex;
	flex-direction: column;
}

.item-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

/* schiebt den Button-Absatz nach unten */
.item-content > p:last-child {
	margin-top: auto;
	margin-bottom: 0;
}

.wp-block-paragraph{
  max-width: 70ch!important;
}

h1{
  max-width: 40ch!important;
}

.trust-row {
    display: grid;
    grid-template-columns: 1fr auto;   /* Desktop: Text | Logos nebeneinander */
    align-items: center;
    align-content: start;              /* kein vertikales Strecken, wenn Container höher ist */
    column-gap: 2rem;
    row-gap: 0;
  }
  .trust-row * { box-sizing: border-box; }

  /* Linke Spalte: Texte */
  .trust-row__text {
    min-width: 0; /* verhindert Überlauf bei langem Text */
  }
  .trust-row__eyebrow {
    margin: 0 0 -.5rem 0;
    font-size: 1.2rem;
    font-weight: 500;
  }
  .trust-row__title {
    margin: 0;
  }

  /* Rechte Spalte: Logozeile */
  .trust-row__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }
  .trust-row__logo {
    align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  text-align: center;
  }

.trust-row__logo img {
	display: inline-block;
	width: auto;
	height: 100%;
	max-width: 150px;
	max-height: 100px;
}

  /* Mobil: eine Spalte -> Texte und Logozeile untereinander */
@media (max-width: 900px) {
  .trust-row {
    grid-template-columns: 1fr;
    row-gap: 1rem;   /* Abstand Text <-> Logos; auf 0 setzen fuer gar keinen */
  }
  .trust-row__logos {
    flex-wrap: nowrap;   /* Logos in einer Zeile halten */
  }
  .trust-row__logo {
    flex: 1 1 0;   /* gleichmaessig verteilen */
    min-width: 0;  /* darf unter 8rem schrumpfen, statt umzubrechen */
  }
  .trust-row__logo img {
    max-width: 100%;   /* Bild an die (schrumpfende) Box binden */
    height: auto;      /* Seitenverhaeltnis halten */
  }
}

.infield {
	padding-inline: 1.5rem;
}

/*! END OF LINE */
