/* waldfuermorgen.de theme. Values measured from the previous site. */
:root {
  --green: #73b750;
  --green-dark: #52843a;
  --heading: #3b3c42;
  --text: #000;
  --muted: #555;
  --wrap: 1160px;
  --header-h: 164px;
  --gutter: 30px;
}
@font-face { font-family: Quicksand; font-weight: 400; font-display: swap; src: url(fonts/quicksand-v20-latin-regular.woff2) format("woff2"); }
@font-face { font-family: Quicksand; font-weight: 700; font-display: swap; src: url(fonts/quicksand-v20-latin-700.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.8 Quicksand, sans-serif; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--green-dark); overflow-wrap: anywhere; }
p { margin: 0 0 15px; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 25px; color: var(--heading); font-weight: 400; line-height: 1.3; overflow-wrap: break-word; }
h1 { font-size: 51px; } h2 { font-size: 39.66px; } h3 { font-size: 33px; } h4 { font-size: 28px; } h5 { font-size: 20px; } h6 { font-size: 17px; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 8px 10px; text-align: left; vertical-align: top; }
.visually-hidden, .invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: 10px 16px; background: #fff; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; }
.meta-links { max-width: var(--wrap); height: 18px; margin: 0 auto; padding-top: 2px; color: var(--muted); font-size: 11px; line-height: 18px; text-align: right; }
.meta-links a { color: inherit; text-decoration: none; }
.site-header__bar { display: flex; align-items: center; max-width: var(--wrap); height: 146px; margin: 0 auto; }
.logo { flex: none; display: block; width: 195px; margin-right: 59px; }
.logo img { display: block; width: 195px; height: 145px; object-fit: contain; }
.site-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; height: 100%; }
.mod_navigation ul { margin: 0; padding: 0; list-style: none; }
.site-nav .level_1 { display: flex; gap: 65px; height: 100%; }
.site-nav .mod_navigation { height: 100%; }
.site-nav .level_1 > li { position: relative; display: flex; align-items: center; }
.site-nav .level_1 > li > a, .site-nav .level_1 > li > strong { display: flex; align-items: center; height: 100%; border-bottom: 3px solid transparent; color: var(--green-dark); font-size: 16px; font-weight: 400; text-decoration: none; text-transform: uppercase; }
.site-nav .level_1 > li.active > :is(a, strong), .site-nav .level_1 > li.trail > :is(a, strong), .site-nav .level_1 > li:hover > :is(a, strong) { border-bottom-color: #666; }
.site-nav .level_2, .site-nav .level_3 { position: absolute; top: 100%; left: 0; z-index: 2; display: none; min-width: 240px; padding: 10px 0; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.site-nav .level_3 { top: -10px; left: 100%; }
.site-nav li:hover > .level_2, .site-nav li:focus-within > .level_2, .site-nav li:hover > .level_3, .site-nav li:focus-within > .level_3 { display: block; }
.site-nav .level_2 li { position: relative; }
.site-nav .level_2 :is(a, strong) { display: block; padding: 6px 20px; color: var(--green-dark); font-size: 15px; font-weight: 400; line-height: 1.5; text-decoration: none; }
.site-nav .level_2 a:hover { background: #f2f7ef; }
.site-actions { display: flex; flex: none; align-items: center; gap: 14px; }
.site-actions__sep { width: 1px; height: 58px; margin: 0 2px; background: #ddd; }
.icon-link { display: block; width: 16px; height: 16px; line-height: 0; }
.icon-link--search, .icon-link--instagram { background: var(--green-dark); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-link--search { --icon: url(img/search.svg); }
.icon-link--instagram { --icon: url(img/instagram.svg); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; display: flex; min-height: calc(100vh - var(--header-h)); overflow: hidden; background: #141414; color: #fff; }
.hero > .mod_article { position: relative; z-index: 1; width: 100%; }
.hero > .mod_article:first-child { position: absolute; inset: 0; z-index: 0; }
.hero .hero-media, .hero .hero-media figure { position: absolute; inset: 0; }
.hero .hero-media figure { opacity: 0; transition: opacity 1.2s ease; }
.hero .hero-media figure:first-of-type, .hero .hero-media figure.is-active { opacity: 1; }
.hero .hero-media.is-running figure:first-of-type:not(.is-active) { opacity: 0; }
.hero .hero-media :is(picture, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero:not(:has(.slidertxt_layer)) { min-height: 300px; }
.hero--top img, .hero-media.hero--top img { object-position: center top; }
.hero-media > :is(h1, h2, h3, h4) { position: absolute; z-index: 1; top: 24px; left: 5%; margin: 0; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
/* Pages whose top area holds plain content instead of images */
.hero:not(:has(.hero-media)) { display: block; min-height: 0; overflow: visible; background: #fff; color: var(--green-dark); }
.hero:not(:has(.hero-media)) > .mod_article { position: static; max-width: var(--wrap); margin: 0 auto; padding: 30px 0 10px; }
.hero:not(:has(.hero-media)) :is(h1, h2, h3, table) { color: var(--green-dark); }
.hero:not(:has(.hero-media)) table { font-size: 17px; }
.hero:not(:has(.hero-media)) .g-10-80-10 { grid-template-columns: minmax(0, 1fr); }
.hero:not(:has(.hero-media)) .grid > .col:not(:has(*)) { display: none; }
.hero:not(:has(.hero-media)) td { padding: 2px 10px; }
.slidertxt_layer { width: min(500px, calc(100% - 40px)) !important; margin: 0 5% 0 auto; padding: 50px; background: rgba(82, 132, 58, .7); color: #fff; max-height: calc(100vh - var(--header-h)); min-height: calc(100vh - var(--header-h)); overflow: auto; }
.slidertxt_layer :is(h1, h2, h3, h4, h5, h6, p, a) { color: #fff; }
.slidertxt_layer h3 { font-size: 33px; }
.hero .content-html iframe, .hero .content-unfiltered-html iframe { display: block; }

/* Content */
.site-main:empty { display: none; }
.site-main { overflow-wrap: break-word; }
.site-main > .mod_article { max-width: var(--wrap); margin: 0 auto; padding: 100px 0 60px; }
.site-main > .mod_article + .mod_article { padding-top: 0; }
.fs-l, .fs-l p { font-size: 20.4px; line-height: 1.8; }
.fs-m, .fs-m p { font-size: 17px; line-height: 1.8; }
.justify { text-align: justify; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.grid { display: grid; gap: var(--gutter); margin-bottom: var(--gutter); }
.g-25-25-25-25 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-33-33-33 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-25-75 { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.g-10-80-10 { grid-template-columns: minmax(0, 1fr) minmax(0, 8fr) minmax(0, 1fr); }
.g-100 { grid-template-columns: minmax(0, 1fr); }
.btn { display: inline-block; margin: 0 8px 15px 0; }
.btn a { display: inline-block; padding: 12px 20px; border: 2px solid var(--green-dark); color: var(--green-dark); font-size: 22.1px; line-height: 30.6px; text-decoration: none; transition: background .2s, color .2s; }
.btn a:hover { background: var(--green-dark); color: #fff; }
.btn--white { display: block; margin: 0 0 30px; }
.btn--white a { padding: 8px 15px; border: 1px solid #fff; color: #fff; }
.btn--white a:hover { background: #fff; color: var(--green-dark); }
.btn--solid a { padding: 8px 14px; background: var(--green-dark); color: #fff; font-size: 17px; }
.btn--solid a:hover { background: var(--green); border-color: var(--green); }
.btn--pdf a::before { content: ""; display: inline-block; width: 20px; height: 22px; margin-right: 8px; vertical-align: -4px; background: currentColor; -webkit-mask: url(img/pdf.svg) center / contain no-repeat; mask: url(img/pdf.svg) center / contain no-repeat; }
.img-center { text-align: center; }
.img-center img { margin-inline: auto; }
.img-rounded img { border-radius: 50%; }
.content-image img, .content-gallery img { display: block; }
.content-image a[data-lightbox], .content-gallery a[data-lightbox] { cursor: zoom-in; }
.content-gallery ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.content-gallery--cols-1 ul { grid-template-columns: minmax(0, 1fr); }
.content-gallery--cols-2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-gallery--cols-3 ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-gallery--cols-4 ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sponsor { display: flex; flex-direction: column; justify-content: center; min-height: 172px; text-align: center; }
.sponsor img { max-height: 110px; width: auto; margin-inline: auto; }
.sponsor figcaption { margin-top: 4px; }
.content-accordion { border: 1px solid #ddd; }
.content-accordion .handorgel__header { margin: 0; font-size: 17px; }
.content-accordion .handorgel__header__button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 20px; border: 0; background: none; color: #000; font: 700 17px/1.6 Quicksand, sans-serif; text-align: left; cursor: pointer; }
.content-accordion .handorgel__header__button::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border: solid var(--green-dark); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.content-accordion .handorgel__header--open .handorgel__header__button::after { transform: rotate(-135deg); }
.content-accordion .handorgel__content { border: 0; }
.content-accordion .handorgel__content__inner { padding: 8px 20px 16px; }
.grid:has(> .col > .content-accordion) { row-gap: 2px; margin-bottom: 2px; }
.ico-heart { display: inline-block; width: 16px; height: 14px; background: #fff; vertical-align: -1px; -webkit-mask: url(img/heart.svg) center / contain no-repeat; mask: url(img/heart.svg) center / contain no-repeat; }
.search-form { max-width: 600px; }
.mod_search .formbody, .mod_search form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mod_search input[type=search], .mod_search input.text { flex: 1 1 240px; padding: 10px 20px; border: 1px solid rgba(0, 0, 0, .2); font: inherit; }
.mod_search button, .mod_search .submit { padding: 10px 20px; border: 0; background: var(--green-dark); color: #fff; font: inherit; cursor: pointer; }
.consent-reset { padding: 12px 20px; border: 2px solid var(--green-dark); background: none; color: var(--green-dark); font: inherit; cursor: pointer; }

/* Footer */
.site-footer { position: relative; padding: 65px 0 45px; background: var(--green); color: #fff; font-size: 15px; line-height: 26px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { margin-bottom: 25px; color: #fff; font-size: 20px; line-height: 26px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: var(--wrap); margin: 0 auto; }
.to-top { position: absolute; top: 0; left: 50%; width: 40px; height: 40px; margin-left: -20px; background: rgba(255, 255, 255, .15); }
.to-top::before { content: ""; position: absolute; inset: 12px; background: #fff; -webkit-mask: url(img/up.svg) center / contain no-repeat; mask: url(img/up.svg) center / contain no-repeat; }

/* Consent + lightbox */
.consent { position: fixed; top: 10px; right: 10px; z-index: 50; width: min(450px, calc(100% - 20px)); padding: 15px 20px; border: 1px solid #fff; background: #555; color: #fff; text-align: center; }
.consent a { color: #fff; }
.consent__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 8px; }
.consent button { padding: 6px 12px; border: 0; background: var(--green); color: #fff; font: inherit; font-size: 22px; cursor: pointer; }
.lightbox { max-width: 95vw; max-height: 95vh; padding: 0; border: 0; background: none; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { display: block; max-width: 95vw; max-height: 95vh; width: auto; height: auto; }
.lightbox__close { position: fixed; top: 10px; right: 20px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* Tablet */
@media (max-width: 1240px) {
  .meta-links, .site-header__bar { padding-inline: 20px; }
  .site-nav .level_1 { gap: 28px; }
  .logo { margin-right: 28px; }
  .site-main > .mod_article, .footer-cols { padding-inline: 20px; }
}
/* Phone and small tablet */
@media (max-width: 991px) {
  :root { --header-h: 100px; }
  body { font-size: 15px; line-height: 26px; }
  h1 { font-size: 32px; } h2 { font-size: 28px; } h3 { font-size: 24px; } h4 { font-size: 22px; }
  .meta-links { display: none; }
  .site-header__bar { position: relative; justify-content: space-between; height: 100px; padding-inline: 20px; }
  .logo, .logo img { width: 130px; height: 97px; margin: 0; }
  .nav-toggle { display: block; width: 36px; height: 36px; border: 0; background: var(--green-dark); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: relative; display: block; width: 16px; height: 2px; margin: auto; background: #fff; }
  .nav-toggle__bars::before { position: absolute; top: -5px; }
  .nav-toggle__bars::after { position: absolute; top: 5px; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; height: auto; max-height: calc(100vh - 100px); padding: 10px 20px 20px; overflow: auto; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
  .site-nav.is-open { display: block; }
  .site-nav .level_1 { display: block; height: auto; }
  .site-nav .level_1 > li { display: block; }
  .site-nav .level_1 > li > :is(a, strong) { height: auto; padding: 10px 0; border: 0; }
  .site-nav :is(.level_2, .level_3) { position: static; display: block; min-width: 0; padding: 0 0 0 16px; box-shadow: none; }
  .site-actions { margin-top: 12px; }
  .site-actions__sep { height: 16px; }
  .slidertxt_layer { width: auto !important; max-height: none; min-height: 0; margin: 0 20px; padding: 30px; overflow: visible; }
  .slidertxt_layer h3 { font-size: 24px; }
  .site-main > .mod_article { padding-block: 50px 30px; }
  .fs-l, .fs-l p { font-size: 17px; }
  .justify { text-align: left; }
  .grid:not(.g-10-80-10) { grid-template-columns: minmax(0, 1fr); }
  .grid:not(.g-10-80-10) > .col:not(:has(*)) { display: none; }
  .btn a { font-size: 19px; }
  .btn--white a { display: block; text-align: center; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .hero:not(:has(.hero-media)) > .mod_article { padding: 20px 12px 10px; }
  .hero:not(:has(.hero-media)) table { font-size: 13px; line-height: 1.4; }
  .hero:not(:has(.hero-media)) td { padding: 3px 4px; overflow-wrap: anywhere; }
  .content-gallery--cols-3 ul, .content-gallery--cols-4 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent button { font-size: 18px; }
}
