
html {  scroll-padding-top: 200px;}




*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root {
  /* Corporate Colors */
  --primary: #17365d;
  --primary-dark: #102744;

  /* Waldhaus Grün */
  --green: #6b963d;          /* Hauptgrün */
  --green-dark: #3d6f2d;     /* Überschriften, Hover */
  --green-light: #8eb55c;    /* Buttons, Highlights */
  --green-soft: #eef5e8;     /* Icons, Karten */
  --green-pale: #f7faf3;     /* Sektionen */
  --green-border: #d9e6cf;   /* Linien */

  /* Text */
  --text: #2f3430;
  --text-light: #666f68;

  /* Hintergründe */
  --background: #f7faf3;
  --page-background: rgba(247, 250, 243, 0.82);
  --white: #ffffff;

  /* Fonts */
  --font-headline: "Source Sans 3", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}
}
	
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
}

/* ==========================================
   SEITENTITEL
========================================== */


.grau {background: linear-gradient( 180deg, #f7f9fb 0%, #ffffff 100% );}
/* Obertitel */


/* ==========================================
   LINKS
========================================== */

a {

    color: #294a70;

    text-decoration: none;

    transition: .25s;
}

a:hover {

    color: #c7a76a;
}

/* ==========================================
   CONTENT
========================================== */



/* ==========================================
   MOBIL
========================================== */

@media (max-width:991px){

    .page-header,
    .frame-type-header,
    .ce-header{

        padding-left:22px;
        margin-bottom:2.8rem;
    }

    .page-header::before,
    .frame-type-header::before,
    .ce-header::before{

        width:3px;
    }

    h1{

        font-size:2.4rem;
    }

    h2{

        font-size:1.8rem;
    }

    p{

        font-size:1rem;
        line-height:1.75;
    }

}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark);
}

strong {
  font-weight: 700;
}

small {
  color: var(--text-light);
}


/* Navigation */
nav,
.mainnav,
.navbar,
.navigation {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

/* ==========================================================
   Buttons
========================================================== */

.btn,
.button,
.more,
input[type="submit"],
button{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.75rem;

    min-height:54px;
    padding:0 2rem;

    background:var(--primary);
    border:2px solid var(--primary);
    border-radius:3px;

    color:#fff !important;

    font-size:.95rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    text-decoration:none !important;

    cursor:pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

/* Hover */

.btn:hover,
.button:hover,
.more:hover,
input[type="submit"]:hover,
button:hover,

.btn:focus-visible,
.button:focus-visible,
.more:focus-visible,
input[type="submit"]:focus-visible,
button:focus-visible{

    background:#1f3e60;
    border-color:#c7a76a;
    color:#fff !important;

    transform:translateY(-2px);

    box-shadow:
        0 10px 25px rgba(24,58,93,.22);
}

/* Active */

.btn:active,
.button:active,
.more:active,
button:active{

    transform:translateY(0);

    box-shadow:none;
}

/* Icon */

.btn i,
.button i,
.more i{

    transition:transform .25s ease;
}

.btn:hover i,
.button:hover i,
.more:hover i{

    transform:translateX(4px);
}

/* Textauswahl */
::selection {
  background: var(--primary);
  color: var(--white);
}


header .textmedia,
main .textmedia {gap:0;}



main {margin-top: 100px;}
/* mmenu Fix */
.mm-page .site-header,
.mm-wrapper .site-header {
  position: sticky;
  top: 0;
	z-index: 10000;
}



footer p  {    margin-bottom: 0;}

.footer-menu {background: #dddcd6; line-height: 3rem;}



.hunderter .megazeil,
.hunderter .ce-outer,
.hunderter .ce-row,
.hunderter .ce-gallery,
.hunderter .ce-textpic,
.hunderter .image { width: 100% !important;}
.hunderter .container {padding: 0 !important;}
.hunderter .frame {width: 100%; height: auto; margin: 0;
padding: 0;}

.hunderter .ce-gallery[data-ce-columns="3"] .ce-column {
    width: 33.33333% !important;}

.hunderter {max-width: 100% !important; padding: 0 !important; z-index: 0;}
.hunderter .ce-gallery img {padding: 0;width: 100%; }
.hunderter .ce-column {padding: 0 !important ;}
.hunderter .textmedia {gap:0;}
.hunderter hr {height: 0; padding: 2% 0; background:none !important;}
.hunderter .frame-container-default {
  max-width: 100%; padding: 0; margin:0;
}
.headerimage-outer {margin-top: -130px;}

.headerimage {position: relative; width: 100%; overflow: hidden; margin-bottom: 0.5%;}
.headerimage .carousel-image picture {width: 100%;}
.headerimage .carousel .carousel-content-inner,
.headerimage  .frame-container {min-width: 100% !important; max-width: inherit !important; padding: 0; margin:0; }


.headerimage .carousel .carousel-content {  height: inherit;}
.headerimage .carousel-item-type-image .carousel-image img {	width: 100%;}
.headerimage .frame {padding: 0;}
.headerimage .carousel .item {height: auto;}


.headerimage .carousel-image {
  display: block;
	z-index: 1;
  width: 100%;
}

.headerimage .carousel-text p {text-align: center; background-color: rgba(255,255,255,0.55); font-size: 3rem; padding: 1% 0.5%; }

.headerimage  .carousel-image img {
	width: 100%;}


.frame-space-before-extra-small {margin-top:0.5% !important;display: inline-block;}
.frame-space-before-small {margin-top:3% !important;display: inline-block;}
.frame-space-before-medium {margin-top:6% !important;display: inline-block;}
.frame-space-before-large {margin-top:9% !important;display: inline-block;}

.frame-space-after-extra-small {margin-bottom:0.5% !important;display: inline-block;}
.frame-space-after-small {margin-bottom:3%!important;display: inline-block;}
.frame-space-after-medium {margin-bottom:6%!important;display: inline-block; padding-left: 5%;}
.frame-space-after-large {margin-bottom:9%!important; display: inline-block;}

/* Waldhaus Footer
   Farben bei Bedarf zentral hier ändern. */
:root {
  --waldhaus-green: #4f922f;
  --waldhaus-green-dark: #275b24;
  --waldhaus-green-soft: #edf6e7;
  --waldhaus-cream: #fbfdf7;
  --waldhaus-text: #1f2b22;
  --waldhaus-muted: #556159;
  --waldhaus-line: #dce8d4;
  --waldhaus-white: #ffffff;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  color: var(--waldhaus-text);
  background: var(--waldhaus-cream);
  border-top: 1px solid var(--waldhaus-line);
  font-family: inherit;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--waldhaus-green);
}

.site-footer a:focus-visible {
  outline: 3px solid rgba(79, 146, 47, 0.28);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-footer__main {
  background:
    radial-gradient(circle at 12% 15%, rgba(133, 181, 91, 0.10), transparent 28rem),
    linear-gradient(180deg, #fcfdf9 0%, #f7faF2 100%);
}

.site-footer__inner,
.site-footer__partners-inner,
.site-footer__bottom-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) 0.75fr 1fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(64px, 7vw, 104px) 0;
}

.site-footer__logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.site-footer__intro {
  max-width: 34ch;
  margin: 34px 0 0;
  color: var(--waldhaus-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.site-footer__column h3 {
  position: relative;
  margin: 7px 0 32px;
  color: var(--waldhaus-green-dark);
  font-size: 1.22rem;
  line-height: 1.2;
}

.site-footer__column h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 14px;
  background: var(--waldhaus-green);
}

.site-footer__column ul {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__column li a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--waldhaus-text);
  line-height: 1.45;
}

.site-footer__column li a span {
  color: var(--waldhaus-green);
  font-size: 1.3em;
}

.site-footer__contact address {
  display: grid;
  gap: 20px;
  margin: 0;
  font-style: normal;
}

.site-footer__contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 16px;
  color: var(--waldhaus-text);
  line-height: 1.65;
}

.site-footer__icon,
.site-footer__social a {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--waldhaus-green-soft);
  color: var(--waldhaus-green-dark);
}

.site-footer__icon {
  width: 44px;
  height: 44px;
}

.site-footer__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.site-footer__social a {
  width: 42px;
  height: 42px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.site-footer__social a:hover {
  color: var(--waldhaus-white);
  background: var(--waldhaus-green);
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer__partners {
  border-top: 1px solid var(--waldhaus-line);
  background: rgba(255,255,255,0.72);
}

.site-footer__partners-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  align-items: center;
  gap: 28px;
  padding: 34px 0;
}

.site-footer__partners a {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 16px;
  border: 1px solid #eef2ea;
  border-radius: 10px;
  background: var(--waldhaus-white);
  box-shadow: 0 8px 24px rgba(45, 79, 35, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-footer__partners a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 79, 35, 0.10);
}

.site-footer__partners img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer__bottom {
  color: var(--waldhaus-white);
  background: linear-gradient(90deg, #4f922f 0%, #3d7d2a 100%);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-footer__bottom nav a {
  color: var(--waldhaus-white);
  opacity: 0.94;
}

.site-footer__bottom nav a + a::before {
  content: "|";
  margin: 0 18px;
  opacity: 0.55;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: var(--waldhaus-white);
  opacity: 1;
}

@media (max-width: 1050px) {
  .site-footer__inner {
    grid-template-columns: 1.25fr 0.75fr 1fr;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__contact address {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__partners-inner {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-footer__inner,
  .site-footer__partners-inner,
  .site-footer__bottom-inner {
    width: min(100% - 32px, 680px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 46px 28px;
    padding: 56px 0;
  }

  .site-footer__brand,
  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__logo {
    width: min(310px, 100%);
  }

  .site-footer__intro {
    margin-top: 24px;
  }

  .site-footer__contact address {
    grid-template-columns: 1fr;
  }

  .site-footer__partners-inner {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .site-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .site-footer__bottom nav {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__bottom nav a + a::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand,
  .site-footer__contact {
    grid-column: auto;
  }

  .site-footer__partners-inner {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .site-footer__partners a {
    min-height: 76px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
