/* =========================================================================
   Natur.BAU – Basis-Stylesheet
   Reihenfolge: Tokens → Reset → Typografie → Layout-Primitive → Buttons
                → Header/Menü → Footer → Galerie → Slider
   Breakpoints (wie im Original): 1830 / 1023 / 767 / 479 px (max-width)
   ========================================================================= */

:root {
  --gruen: #26413c;          /* Tannengrün – Primärfarbe */
  --gruen-dunkel: #152622;
  --terrakotta: #b87447;     /* Akzent */
  --blattgruen: #469b3f;
  --text: #404040;
  --hintergrund: #f0f0f0;
  --hellgrau: #e6e7e8;       /* Menü-Pille */
  --weiss-warm: #fcfcfb;
  --font-text: 'effra', sans-serif;
  --font-display: 'practical-serif', serif;
  --max-breite: 1830px;
  --rand: 4vw;
}

/* ---------- Reset (Auszug normalize.css v7 + Oxygen-Basis) ---------- */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; box-sizing: border-box; }
*, ::after, ::before { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6 { margin: 0; }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; }
figure { margin: 1em 40px; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
a { background-color: transparent; -webkit-text-decoration-skip: objects; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; max-width: 100%; }
svg:not(:root) { overflow: hidden; }
button, input, optgroup, select, textarea { font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
[type="reset"], [type="submit"], button, html [type="button"] { -webkit-appearance: button; }
[type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner, button::-moz-focus-inner { border-style: none; padding: 0; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
textarea { overflow: auto; }
[hidden], template { display: none; }

/* ---------- Typografie ---------- */
html, body { background-color: var(--hintergrund); }
body {
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: -0.1px;   /* stammt im Original aus den WordPress-Global-Styles */
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.125; letter-spacing: -0.1px; }
h2, h3, h4, h5, h6 { font-size: 30px; }
h3, h4, h5, h6 { font-size: 24px; }
h4, h5, h6 { font-size: 20px; }
h5, h6 { font-size: 18px; }
h6 { font-size: 16px; }
a { color: #5c8603; text-decoration: none; }
a:hover { text-decoration: none; }
.rich-text p:first-child { margin-block-start: 0; }
.rich-text p:last-child { margin-block-end: 0; }

/* ---------- Layout-Primitive ---------- */
.section { width: 100%; background-size: cover; background-repeat: repeat; }
.section__inner {
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  min-height: inherit;
  max-width: var(--max-breite);
  padding-left: var(--rand);
  padding-right: var(--rand);
}
.section > .section__inner { display: flex; flex-direction: column; align-items: flex-start; }
/* Vertikaler Flex-Container (Standard-Block des Layouts) */
.stack { display: flex; flex-wrap: nowrap; flex-direction: column; align-items: flex-start; }
/* Link als zentrierter Flex-Container (Logo, Buttons, Kacheln) */
.flex-link { display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.text-link { display: inline-block; }
.inline-block { display: inline-block; text-decoration: inherit; }
.icon { display: inline-flex; border-radius: 50%; }
.icon > svg { width: 55px; height: 55px; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  border-radius: 90px;
  padding: 15px 25px;
}
.btn--white { background-color: var(--weiss-warm); color: var(--gruen); }
.btn--brown { background-color: var(--terrakotta); color: #fff; }
.btn--dark { background-color: var(--gruen); color: #fff; }
.btn--grau { background-color: #404c50; border: 1px solid #404c50; }
@media (max-width: 1023px) { .btn--dark { margin-top: 0; } }
@media (max-width: 479px) { .btn { padding: 10px 20px; } }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  z-index: 400;
  width: 100%;
  padding: 30px 6vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.site-header__pill {
  position: fixed;
  right: 6vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px;
  background-color: var(--hellgrau);
  border-radius: 90px;
  text-align: left;
}
.site-header__cta { display: none; }
@media (max-width: 1830px) { .site-header__logo-img { width: 10vw; height: auto; } }
@media (max-width: 1023px) {
  .site-header__logo-img { width: 140px; min-width: 140px; height: auto; }
  .site-header__pill { padding-right: 10px; }
  .site-header__cta { display: flex; }
}
@media (max-width: 767px) { .site-header__cta-prefix { display: none; } }
@media (max-width: 479px) {
  .site-header { padding-left: 4vw; padding-right: 4vw; text-align: justify; }
  .site-header__logo-img { width: 90px; min-width: 90px; height: auto; }
}

/* ---------- Hauptmenü ---------- */
.menu__toggle,
.menu__close {
  display: none;
  cursor: pointer;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}
.menu__toggle { padding: 15px; transition-duration: 0.4s; }
.menu__toggle svg { width: 30px; height: 30px; fill: currentColor; transition-duration: 0.4s; }
.menu__close { position: absolute; top: 20px; left: 20px; transition-duration: 0.4s; }
.menu__close svg { width: 24px; height: 24px; fill: currentColor; transition-duration: 0.4s; }
.menu__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__list > .menu__item { white-space: nowrap; }
.menu__item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
}
.menu__item--parent { flex-direction: row; align-items: center; }
.menu__item,
.menu__item a {
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gruen);
}
.menu__item a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 20px 25px 16px;
  text-align: left;
  text-decoration: none;
  border: 0 solid transparent;
}
.menu__list > .menu__item > a { border-radius: 90px; }
.menu__caret { display: flex; align-items: center; justify-content: center; }
.menu__item--parent > a svg {
  width: 1.4em;
  height: 1.4em;
  font-size: 10px;
  margin-top: -7px;
  margin-left: 10px;
  fill: currentColor;
  transition-property: transform;
  transition-duration: 0.4s;
}
/* Dropdown (Desktop) */
.menu__sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.menu__item--parent:hover > .menu__sub,
.menu__item--parent:focus-within > .menu__sub { visibility: visible; opacity: 1; }
.menu__sub .menu__item { flex-direction: column; }
.menu__sub .menu__item a { background-color: var(--gruen); color: #fff; }
.menu__sub > li:first-child > a { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.menu__sub > li:last-child > a { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
@media screen and (min-width: 1026px) {
  .menu__list > .menu__item > .menu__sub { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 10px; }
  .menu__list > .menu__item { border-radius: 90px; }
  .menu__list > .menu__item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -10px;
    width: 2px;
    height: 20px;
    background-color: var(--gruen);
    opacity: 0.2;
  }
  .menu__list > .menu__item:last-child::after,
  .menu__list > .menu__item:nth-last-child(2)::after { display: none; }
  .menu__item--cta { background-color: var(--terrakotta); color: #fff; margin-left: 4vw; }
  .menu__item--cta a { color: #fff !important; }
}
@media screen and (max-width: 1024px) {
  .menu__item--cta { background-color: var(--terrakotta); color: #fff; margin-left: 4vw; }
  .menu__item--cta a { color: #fff !important; }
}
@media (max-width: 1830px) {
  .menu__item, .menu__item a { font-size: 18px; }
  .menu__item a { padding-left: 15px; padding-right: 15px; }
}
/* Off-Canvas (Mobil/Tablet) */
@media (max-width: 1023px) {
  .menu {
    position: relative;
    z-index: 100000000;
    display: flex;
    overflow: visible;
    margin: -4px 19px 0 10px;
  }
  .menu__item, .menu__item a { font-size: 16px; }
  .menu__item a { padding: 15px 10px 10px; }
  .menu__toggle { display: inline-flex; }
  .menu__toggle svg { width: 30px; height: 30px; color: var(--gruen); }
  .menu__toggle:hover svg { color: var(--gruen-dunkel); }
  .menu--open .menu__toggle { display: none; }
  .menu__close svg { width: 30px; height: 30px; }
  .menu__panel { display: none; }
  .menu--open .menu__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50vw;
    max-height: 100vh;
    overflow: auto;
    background-color: #fff;
    visibility: visible;
    opacity: 0;
    transform: translate3d(100px, 0, 0);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
  }
  .menu--open.menu--visible .menu__panel { opacity: 1; transform: none; pointer-events: auto; }
  .menu--open .menu__close { display: inline-flex; }
  .menu--open .menu__list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100%;
  }
  .menu--open .menu__item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 32px;
    text-align: center;
  }
  .menu--open .menu__item a { width: 100%; text-align: left; justify-content: flex-start; }
  .menu--open .menu__item--parent > a .menu__caret { min-width: 32px; min-height: 32px; margin-right: -4px; }
  .menu--open .menu__item:not(.menu__item--parent) .menu__caret { min-height: 32px; width: 0; }
  .menu--open .menu__item > a svg { width: 1em; height: 1em; }
  .menu--open .menu__sub {
    position: static;
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    white-space: normal;
    visibility: visible;
    opacity: 1;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  .menu--open .menu__sub.is-open { display: flex; }
  .menu--open .menu__sub .menu__item a { background-color: transparent; color: var(--gruen); }
}
@media (max-width: 479px) {
  .menu__item a { padding-left: 10px; }
  .menu__toggle { padding: 5px; }
  .menu__toggle svg { width: 32px; height: 32px; }
  .menu--open .menu__panel { width: 65%; }
  .menu--open .menu__item a { padding-left: 4vw; padding-right: 4vw; }
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--gruen);
  background-image: linear-gradient(rgba(184, 116, 71, 0.31), rgba(184, 116, 71, 0.31)), url(/assets/img/naturbau-handwerk-eiche-holz-bg-1.jpg);
}
.site-footer > .section__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__logo { margin-right: 90px; }
.site-footer__instagram {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 54px;
  color: #fff;
  text-align: center;
}
.site-footer__instagram-icon { color: #fff; }
.site-footer__instagram-icon > svg { width: 45px; height: 45px; }
.site-footer__instagram-text { margin-left: 10px; font-size: 30px; }
.site-footer__address { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.site-footer__company { margin-top: 0; margin-bottom: 23px; color: #fff; }
.site-footer__company-name { font-weight: 600; }
.site-footer__contact-link { color: #fff; font-weight: 600; }
.site-footer__menu { display: flex; flex-direction: column; align-items: flex-start; }
.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu__item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
  color: #fff;
}
.footer-menu__item a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  color: #fff;
  text-align: left;
  text-decoration: none;
  border: 0 solid transparent;
}
.site-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 400px;
  text-align: left;
}
.site-footer__cta-text {
  margin: 0 0 15px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-align: right;
}
.site-footer__bottom { background-color: var(--gruen); color: #fff; }
.site-footer__bottom > .section__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.site-footer__copyright { margin-right: auto; }
.site-footer__legal-link { color: #fff; }
.site-footer__legal-link:hover { color: #dbdbdb; }
@media (max-width: 1023px) {
  .site-footer { text-align: left; }
  .site-footer > .section__inner { flex-wrap: wrap; padding-top: 58px; padding-bottom: 63px; }
  .site-footer__brand { width: 100%; text-align: center; }
  .site-footer__logo { margin-right: 0; }
  .site-footer__address, .site-footer__menu { width: 30%; }
  .site-footer__cta {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .site-footer__cta-text { margin-bottom: 0; text-align: left; }
}
@media (max-width: 767px) {
  .site-footer__brand, .site-footer__address, .site-footer__menu { width: 100%; }
  .site-footer__cta { flex-direction: column; margin-top: 18px; }
}
@media (max-width: 479px) {
  .site-footer > .section__inner { flex-direction: column; align-items: center; }
  .site-footer__brand, .site-footer__address, .site-footer__menu { align-items: center; text-align: left; }
  .site-footer__cta-text { text-align: center; }
  .footer-menu__item a { justify-content: center; text-align: center; }
  .site-footer__bottom { text-align: center; }
  .site-footer__bottom > .section__inner { flex-direction: column; align-items: center; gap: 5px; }
  .site-footer__copyright { margin-left: auto; margin-right: auto; }
}

/* ---------- Hero-Titel (Start- und Leistungsseite) ---------- */
.hero__line { display: block; }
.hero__title {
  display:  flex;
  flex-direction:  column;
  align-items:  flex-start;
}
.hero__title {
  position:  relative;
  z-index:  2;
  font-size:  80px;
  font-weight:  700;
  color:  #26413c;
  line-height:  1;
  font-family:  'practical-serif';
}
.hero__line--1 {
  padding-left:  25px;
  padding-top:  8px;
  padding-bottom:  8px;
  padding-right:  25px;
  background-color:  rgba(255,255,255,0.8);
  font-size:  60px;
  margin-left:  45px;
}
.hero__line--2 {
  padding-left:  25px;
  padding-top:  8px;
  padding-bottom:  8px;
  padding-right:  25px;
  background-color:  rgba(255,255,255,0.8);
}
.hero__line--3 {
  padding-left:  25px;
  padding-top:  8px;
  padding-bottom:  8px;
  padding-right:  25px;
  background-color:  rgba(255,255,255,0.8);
  font-weight:  200;
  font-size:  60px;
  margin-left:  95px;
}
@media (max-width:1830px) {
  .hero__title {
    font-size:  50px;
  }
  .hero__line--1 {
    font-size:  40px;
  }
  .hero__line--3 {
    font-size:  40px;
  }
}
@media (max-width:767px) {
  .hero__title {
    position:  relative;
    margin-top:  -60px;
  }
  .hero__line--1 {
    background-color:  #c49a70;
    color:  #ffffff;
    font-size:  20px;
  }
  .hero__line--2 {
    color:  #ffffff;
    background-color:  #26413c;
    font-size:  30px;
  }
  .hero__line--3 {
    color:  #ffffff;
    background-color:  rgba(38,65,60,0.7);
    font-size:  20px;
  }
}

/* ---------- Seitenübergreifende Komponenten (Trenner, Check-Karte, Icon-Karte, USP-Grid, Info-Kachel, Info-Spalte) ---------- */
.check-karte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.check-karte__liste {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.check-karte__punkt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.check-karte__punkt--gross {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.icon-karte__kopf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.usp-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.usp-grid__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.info-kachel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.info-spalte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.trenner {
  text-align: left;
}
.trenner .section__inner {
  padding-top: 58px;
  padding-right: 0;
  padding-bottom: 97px;
  padding-left: 0;
}
.trenner > .section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.check-karte {
  background-color: #ffffff;
}
.check-karte__liste {
  width: 100%;
  padding-right: 4vw;
  padding-left: 4vw;
}
.check-karte__punkt:before {
  background-image: url(/assets/img/check-icon.png);
  background-size: contain;
  width: 27px;
  height: 21px;
  background-repeat: no-repeat;
  position: absolute;
  left: 0px;
  top: 4px;
  content: "";
}
.check-karte__punkt {
  position: relative;
  padding-left: 40px;
  font-size: 20px;
  line-height: 1.4;
  color: #26413c;
  margin-bottom: 10px;
  font-weight: 500;
  list-style: none;
}
.check-karte__punkt--gross {
  font-size: 30px;
  margin-top: 21px;
}
.icon-karte__kopf {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-karte__titel {
  font-family: effra;
  margin-top: 25px;
  color: #b87447;
  font-size: 34px;
  line-height: 1.2;
  text-align: center;
  max-width: 75%;
}
.icon-karte__icon {
  width: 140px;
  position: relative;
  margin-bottom: -71px;
  margin-left: 4vw;
  margin-top: -15px;
  margin-right: auto;
}
.icon-karte__text {
  padding-left: 2vw;
  padding-top: 1vw;
  padding-right: 2vw;
  padding-bottom: 1vw;
  font-weight: 600;
  color: #26413c;
  line-height: 1.2;
  margin-top: 30px;
}
.usp-grid {
  max-width: 1220px;
  width: 100%;
  padding-top: 60px;
  display: grid !important;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
.usp-grid__item {
  padding-top: 20px;
  padding-bottom: 120px;
  padding-left: 4vw;
  padding-right: 4vw;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.usp-grid__icon {
  height: 100%;
  max-height: 157px;
  margin-bottom: 30px;
}
.usp-grid__titel {
  line-height: 1.2;
  text-transform: uppercase;
  color: #26413c;
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.usp-grid__text {
  text-align: center;
}
.info-kachel {
  background-color: #26413c;
  color: #ffffff;
  padding-top: 40px;
  padding-right: 45px;
  padding-bottom: 40px;
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.info-kachel__titel {
  font-family: practical-serif;
  font-size: 26px;
  text-align: center;
  margin-bottom: 25px;
  color: #e6e7e8;
  line-height: 1.2;
}
.info-kachel__text {
  text-align: center;
  font-weight: 100;
  color: #e6e7e8;
  font-size: 22px;
}
.info-spalte {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info-spalte__icon {
  height: 8vw;
}
.info-spalte__titel {
  font-size: 28px;
  color: #26413c;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.info-spalte__untertitel {
  font-weight: 600;
  text-align: center;
}
.info-spalte__text {
  text-align: center;
  margin-top: 10px;
}
@media (max-width:1830px) {
  .check-karte__punkt--gross {
    font-size: 20px;
  }
  .info-kachel__titel {
    font-size: 24px;
  }
  .info-kachel__text {
    font-size: 20px;
  }
}
@media (max-width:1023px) {
  .icon-karte__titel {
    font-size: 28px;
  }
}
@media (max-width:767px) {
  .info-spalte__icon {
    height: 28vw;
  }
}
@media (max-width:479px) {
  .check-karte {
    padding-left: 4vw;
    padding-right: 4vw;
    padding-bottom: 10vw;
  }
  .icon-karte__titel {
    margin-bottom: 0px;
  }
  .usp-grid {
    display: grid !important;
    align-items: stretch;
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .usp-grid__item {
    padding-bottom: 30px;
  }
}

/* ---------- Galerie (Masonry, Lightbox via PhotoSwipe) ---------- */
.gallery { width: 100%; }
.gallery--masonry { display: block; overflow: auto; column-count: 3; column-gap: 10px; }
.gallery--masonry .gallery__item {
  position: relative;
  display: block;
  margin-bottom: 10px;
  line-height: 0;
  break-inside: avoid;
  opacity: 0.8;
  transition: 0.3s ease-in-out opacity;
}
.gallery--masonry .gallery__item:hover { opacity: 1; }
.gallery--masonry .gallery__figure { margin: 0; }
.gallery--masonry .gallery__figure img { max-width: 100%; }
.gallery--masonry .gallery__figure figcaption { display: none; }

/* ---------- Slider (Fade, Autoplay) – Markup/Maße wie der frühere Unslider ---------- */
.slider { width: 100%; height: 100%; }
.slider__track { position: relative; height: 100%; margin: 0; padding: 0; }
.slider__list { position: relative; display: flex; height: 100%; margin: 0; padding: 0; list-style: none; border: none; }
.slider__list > li {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 8;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transition: opacity 0.75s;
}
.slider__list > li.is-active { position: relative; z-index: 10; opacity: 1; }
.slider__slide {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 100%;
  padding: 0;
  text-align: center;
}
.slider__img { object-fit: cover; }
.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 100;
  display: block;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.2) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAQAAABuQZ3IAAAAi0lEQVR4AU3OISBEQQBAwS0AACS9NxqQgCZpkiYBVddFvWhAAUABAPQCAGC4g/0vTnrBqCfDIZl70J+kMUBPpEwT4FNXxBxz4F1HxHyr4EVTxBLb4EFNxEon4CJSlVNw9AcV9sC16h8osgke1P1ArgXwouVvdQq86ww/GQefusNf7kBviBlxpT8k+gL/Wox4r1d4MwAAAABJRU5ErkJggg==") no-repeat scroll 50% 50% / 7px 11px;
  opacity: 0.6;
  overflow: hidden;
  text-indent: -999em;
  cursor: pointer;
  transition: opacity 0.2s ease 0s;
}
.slider__arrow:hover { opacity: 1; }
.slider__arrow--prev { left: 10px; transform: rotate(-180deg); }
.slider__arrow--next { right: 10px; }
.slider__nav { position: absolute; right: 0; bottom: 0; left: 0; z-index: 100; }
.slider__nav ol { margin: 0; padding: 0; list-style: none; text-align: center; border: none; }
.slider__nav li {
  display: inline-block;
  box-sizing: content-box;
  width: 6px;
  height: 6px;
  margin: 0 4px;
  border: 2px solid #fff;
  border-radius: 5px;
  background: transparent;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.2) inset;
  overflow: hidden;
  text-indent: -999em;
  cursor: pointer;
}
.slider__nav li.is-active { background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); cursor: default; }

/* ---------- Fehlerseite (404) ---------- */
.fehlerseite > .section__inner { align-items: center; padding-top: 260px; padding-bottom: 140px; text-align: center; }
.fehlerseite__title { margin-bottom: 20px; color: var(--gruen); font-size: 60px; }
.fehlerseite__text { margin: 0 0 30px; }
@media (max-width: 767px) {
  .fehlerseite > .section__inner { padding-top: 180px; padding-bottom: 80px; }
  .fehlerseite__title { font-size: 36px; }
}
