@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/OpenSans.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --text: #222;
  --green: #829900;
  --muted: #777;
  --site-width: 900px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 300 16px/1.6 'Open Sans', Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 2px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, h4 { color: #222; font-weight: 600; line-height: 1.6; }
h2 { font-size: 26px; margin: 0; }
h3 { font-size: 18px; margin: 0; }
h4 { font-size: 16px; margin: 0; }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.5em; margin: 0 0 1.5em; }
li + li { margin-top: .25em; }
hr { border: 0; border-top: 1px solid var(--green); margin: 40px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 100; padding: 8px 12px; background: #fff; }
.skip-link:focus { top: 8px; }

/* The same header and landscape strip appear throughout the original site. */
.site-header { background: #fff; }
.header-inner { height: 85px; max-width: var(--site-width); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; width: 250px; flex: 0 0 250px; }
.brand img { display: block; width: 100%; }
.site-nav { display: flex; align-items: center; gap: 11px; }
.site-nav > a, .nav-group > summary { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 1.9px; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav > a[aria-current], .site-nav > a:hover, .nav-group > summary:hover { color: var(--green); }
.nav-separator { color: var(--green); font-weight: 600; }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-submenu { position: absolute; top: 100%; left: -12px; min-width: 240px; padding: 9px 0; display: grid; background: #fff; border-top: 2px solid var(--green); box-shadow: 0 10px 20px #0002; z-index: 30; }
.nav-submenu a { padding: 6px 12px; text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.nav-submenu a:hover, .nav-submenu a[aria-current] { color: var(--green); background: #f6f8ee; }
.menu-toggle { display: none; }
.hero { height: 215px; background-image: var(--hero-image); background-position: center center; background-size: cover; }
.page--web-check .hero { background-position: center 70%; }
.page--profi-check .hero { background-position: center bottom; }

/* Text and media stay in editable page fragments; only the frame is shared. */
.content-wrap { max-width: var(--site-width); margin: auto; padding: 55px 0 70px; }
.content { min-width: 0; overflow-wrap: break-word; }
.content h2 { margin: 0 0 2px; }
.content h3 { margin: 0 0 22px; }
.content p + h2, .content ul + h2, .content figure + h2, .content .video + h2 { margin-top: 34px; }
.content p + h3, .content ul + h3, .content figure + h3, .content .video + h3 { margin-top: 30px; }
.content .video { width: 100%; aspect-ratio: 16 / 9; margin: 18px 0 24px; }
.content .video iframe { display: block; width: 100%; height: 100%; border: 0; }
.content figure { margin: 22px 0; }
.content figure img { display: block; max-width: 100%; max-height: 650px; object-fit: contain; }
.content a:not(.button) { text-decoration: none; }
.content a:not(.button):hover { color: var(--green); }
.content .button { display: inline-block; padding: 10px 18px; background: var(--green); color: #fff; border-radius: 2px; text-decoration: none; font-weight: 600; }
.content .button:hover { background: #687b00; }
.content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.content th, .content td { padding: 8px; border: 1px solid #ddd; text-align: left; }
.logo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; align-items: center; margin: 28px 0; }
.logo-gallery figure { margin: 0; }
.logo-gallery img { width: auto; max-height: 110px !important; }

/* The start page used a narrow article column and a right-hand news column. */
.home-layout { display: grid; grid-template-columns: 535px 235px; gap: 130px; align-items: start; }
.content--home > div:first-child h2 { width: 650px; max-width: calc(100vw - 30px); }
.content--home .video { width: 365px; max-width: 100%; margin: 21px 0 25px; }
.content--home hr { margin: 39px 0; }
.version-row { display: grid; grid-template-columns: 154px minmax(0, 1fr); gap: 17px; align-items: start; min-height: 165px; }
.version-row figure { margin: 0; }
.version-row img { width: 135px; height: auto; }
.version-row p { margin: 0; }
.home-sidebar h2 { font-size: 18px; font-weight: 600; margin: 0 0 20px; padding: 0 0 7px; border-bottom: 1px solid var(--green); }
.news-item { margin: 0 0 43px; }
.news-item h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.news-item p { font-size: 14px; line-height: 1.5; margin: 0; }
.news-category { color: #999; margin: 0 0 10px !important; font-size: 12px !important; }
.news-item .news-link { margin-top: 12px; font-weight: 600; }

/* Rebuild Squarespace's video rows as ordinary CSS grids. */
.page--mediathek .content > hr:first-of-type { margin: 15px 0 35px; }
.media-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin: 34px 0 18px; }
.media-overview p { margin: 0 0 22px; }
.media-overview a { font-weight: 300; }
.media-feature-video { width: 450px !important; max-width: 100%; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; row-gap: 22px; margin: 10px 0 28px; }
.media-tile { min-width: 0; }
.media-tile .video { width: 100%; margin: 0 0 6px; }
.media-tile p { margin: 0; }
.media-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.media-split .video { margin: 0; }
.examples-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 20px; margin-top: 38px; }
.example-tile .video { width: 100%; margin: 0; }
.example-tile h3 { margin: 0 0 8px; }
.effect-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 25px 0; }
.effect-row { display: flow-root; }
.effect-row .video { width: 50%; margin: 0 0 16px 16px; float: right; }
.page--wirkungsbereiche .content > div > h2[id^="wirkungsbereich"] { margin-bottom: 20px; }
.event-detail-row { display: grid; grid-template-columns: 25% 75%; align-items: start; }
.event-detail-row h3 { margin: 0; }
.instruction-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin: 0 0 12px; }
.instruction-row figure { margin: 0; }
.instruction-row p { margin-top: 0; }

/* Web-Check and Profi-Check share the original two-column tool layout. */
.tool-grid { display: grid; grid-template-columns: minmax(0, 450px) minmax(0, 355px); column-gap: 95px; row-gap: 150px; align-items: start; margin-top: 20px; }
.tool-overview, .tool-news, .tool-note-area, .tool-resources { min-width: 0; }
.tool-overview h3 { line-height: 1.6; margin-bottom: 22px; }
.tool-overview h3 strong { font-weight: 700; }
.tool-overview > p { margin: 75px 0 0; text-align: center; }
.tool-overview .button { padding: 17px 34px; border-radius: 40px; letter-spacing: 1px; }
.tool-news h3 { margin-bottom: 22px; font-size: 20px; font-weight: 400; }
.tool-news p { margin-bottom: 18px; }
.tool-news p > strong { font-weight: 700; }
.tool-news ul { padding-left: 40px; }
.tool-news li { padding-left: 0; }
.tool-news li::marker { font-size: 10px; }
.tool-news li + li { margin-top: 8px; }
.tool-news li p { margin-bottom: 0; }
.tool-news a { font-weight: 700; }
.tool-note-area em { font-weight: 300; }
.tool-resources { text-align: center; }
.tool-resources h3, .tool-resources > div { text-align: left; }
.tool-resources .button { background: #fff; color: var(--green); border: 2px solid var(--green); border-radius: 40px; padding: 12px 26px; letter-spacing: 1px; font-size: 14px; }
.tool-resources .button:hover { background: var(--green); color: #fff; }
.tool-resources > p { margin: 0 0 22px; }
.page--web-check .tool-grid { margin-top: 24px; row-gap: 165px; padding-bottom: 29px; }
.page--web-check .tool-note-area > div + div { margin-top: 72px; }
.page--web-check .tool-resources { padding-top: 125px; }
.page--profi-check .tool-grid { margin-top: 0; row-gap: 220px; padding-bottom: 31px; }
.page--profi-check .tool-note-area { text-align: center; }
.page--profi-check .tool-note-area p + p { margin-top: 25px; }
.page--profi-check .tool-resources { padding-top: 25px; }
.page--profi-check .tool-resources > div { margin-bottom: 65px; }

.post-list { display: grid; gap: 28px; }
.post-card { padding-bottom: 22px; border-bottom: 1px solid var(--green); }
.post-card h2 { font-size: 18px; line-height: 1.4; margin: 0 0 7px; }
.post-card p { margin-bottom: 8px; }
.eyebrow { font-size: 13px; color: var(--muted); }
.intro { margin-bottom: 25px; }
.site-footer { border-top: 1px solid #ddd; }
.footer-inner { max-width: var(--site-width); margin: auto; padding: 25px 0 35px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }

@media (max-width: 960px) {
  .header-inner, .content-wrap, .footer-inner { margin-left: 25px; margin-right: 25px; }
  .home-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 45px; }
  .content--home > div:first-child h2 { width: auto; }
  .tool-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 100px 8%; }
}

@media (max-width: 720px) {
  .header-inner { height: auto; min-height: 75px; flex-wrap: wrap; gap: 5px 15px; margin: 0 18px; padding: 12px 0; }
  .brand { width: min(230px, 57vw); flex-basis: min(230px, 57vw); }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px; background: #f2f5e9; border: 0; font: 600 14px 'Open Sans', Arial, sans-serif; cursor: pointer; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-group > summary { display: block; padding: 7px 0; font-size: 14px; }
  .nav-separator { display: none; }
  .nav-submenu { position: static; box-shadow: none; border: 0; border-left: 1px solid var(--green); margin-left: 10px; }
  .hero { height: 155px; }
  .content-wrap { margin: 0 20px; padding: 32px 0 55px; }
  .home-layout { display: block; }
  .content--home .video { width: min(365px, 100%); }
  .version-row { grid-template-columns: 100px minmax(0, 1fr); gap: 15px; min-height: 120px; }
  .version-row img { width: 95px; }
  .home-sidebar { margin-top: 50px; }
  .content h2 { font-size: 23px; }
  .footer-inner { margin: 0 20px; flex-direction: column; }
  .logo-gallery { grid-template-columns: 1fr; }
  .media-overview, .media-split { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples-grid, .effect-intro { grid-template-columns: 1fr; }
  .effect-row .video { width: 100%; float: none; margin: 0 0 20px; }
  .event-detail-row { grid-template-columns: 1fr; margin-bottom: 24px; }
  .instruction-row { grid-template-columns: 1fr; }
  .tool-grid, .page--web-check .tool-grid, .page--profi-check .tool-grid { display: flex; flex-direction: column; gap: 38px; margin-top: 20px; padding-bottom: 0; }
  .tool-overview > p { margin-top: 35px; }
  .tool-note-area, .tool-news, .tool-resources { width: 100%; }
  .page--web-check .tool-note-area > div + div { margin-top: 35px; }
  .page--web-check .tool-resources, .page--profi-check .tool-resources { padding-top: 0; }
  .page--profi-check .tool-resources > div { margin-bottom: 30px; }
}

@media (max-width: 480px) {
  .media-grid { grid-template-columns: 1fr; }
}
