
/* --------------------------------------------------------
 * Theme Name: HAAS Recycling Theme 2
 * Description: Based on HSH based on blankslate
 * Author: M.D. (BRAIN interactive)
 *
 * google fonts :: https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_ZpC7g4.ttf
 * google fonts :: https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-U1Ug.ttf
 * -------------------------------------------------------- */


/* =========================================================
   20261103::BASIS AUS BOOTSTRAP 3 UEBERNOMMEN
   Bootstrap 3.3.7 (assets/css/bootstrap.min.css) wird nicht mehr geladen,
   es bleibt Bootstrap 5 (CDN). Diese Regeln kamen bisher aus Bootstrap 3
   und werden weiter gebraucht (alle rem-Angaben rechnen mit 1rem = 10px).
   ========================================================= */

html {
  font-size: 10px;
}

body {
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
}

button,
input,
select,
textarea {
  color: inherit;
}

input {
  line-height: normal;
}

label {
  max-width: 100%;
}

.navigation.pagination {
  display: inline-block;
  margin: 20px 0;
}


/* =========================================================
   VARIABLEN
   ========================================================= */

:root {
  --hellgruen: #B0D5BF;
  --gruen: #1E9D5C;
  --hellgrau: #F5F5F5;
  --mittelgrau: #DADADA;
  --dunkelgrau-1: #6D6D6D;
  --dunkelgrau-2: #4A4A49;

  --font-size-h1: 2.55rem;
  --font-size-h2: 2.20rem;
  --font-size-h3: 1.88rem;
  --font-size-h4: 1.66rem;
  --font-size-p: 1.5rem;
  --font-size-span: 1.56rem;
  --font-size-header-headline: 2.5rem;
  --font-size-header-p: 1.65rem;

  --font-size-h1-mobile: 1.8rem;
  --font-size-h2-mobile: 1.56rem;
  --font-size-h3-mobile: 1.44rem;
  --font-size-h4-mobile: 1.33rem;
  --font-size-p-mobile: 1.06rem;
  --font-size-span-mobile: 1.25rem;
  --font-size-header-headline-mobile: 1.56rem;
  --font-size-header-p-mobile: 1.06rem;

  --container-width: 1420px;
  --container-padding: 60px;
  --container-padding-tablet: 40px;
  --container-padding-mobile: 16px;

  --font-weight-h1: 900;
  --font-weight-h2: 700;
  --font-weight-h3: 700;
  --font-weight-link-strong: 700;
}

@media (max-width: 767px) {
  :root {
    --font-size-h1: var(--font-size-h1-mobile);
    --font-size-h2: var(--font-size-h2-mobile);
    --font-size-h3: var(--font-size-h3-mobile);
    --font-size-h4: var(--font-size-h4-mobile);
    --font-size-p: var(--font-size-p-mobile);
    --font-size-span: var(--font-size-span-mobile);
    --font-size-header-headline: var(--font-size-header-headline-mobile);
    --font-size-header-p: var(--font-size-header-p-mobile);
  }
}

/* =========================================================
   FONTS
   ========================================================= */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Roboto-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Roboto-Bold.ttf) format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/Roboto-Black.ttf) format("truetype");
}

/* =========================================================
   BASIS LAYOUT
   ========================================================= */

.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding: 0 18.75rem;
}

section {
  margin-bottom: 0;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  box-sizing: border-box;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
}

strong {
  font-weight: 700;
}

h1,
h2,
.subheadline,
p,
.footer_subheadline,
.p_weis,
.header_headline,
.header_subheadline,
.p_frage,
.h2_kontakt,
.subheadline_weis {
  text-align: left;
}

/* =========================================================
   TYPOGRAFIE
   ========================================================= */

h1,
h2,
h3,
h4,
p {
  font-family: "Roboto", sans-serif;
  color: #000000;
}

h1 {
  font-weight: var(--font-weight-h1);
  font-size: var(--font-size-h1);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

h2 {
  font-weight: var(--font-weight-h1);
  font-size: var(--font-size-h2);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
  position: relative;
  padding-bottom: 18px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background-color: var(--gruen);
}

h3 {
  font-weight: var(--font-weight-h3);
  font-size: var(--font-size-h3);
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

h4 {
  font-weight: var(--font-weight-h3);
  font-size: var(--font-size-h4);
  line-height: 1.3;
  text-transform: none;
  margin: 0 0 1.25rem;
}

p {
  font-weight: 400;
  font-size: var(--font-size-p);
  line-height: 1.65;
  text-transform: none;
  margin: 0 0 1.25rem;
}

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

a {
  color: #2fa84f;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

a:hover {
  color: #1f7e3a;
  text-decoration-color: #1f7e3a;
}

.weiterleitungbutton,
.weiterleitungbutton:hover,
.weiterleitungbutton:focus,
.module-card__link,
.module-card__link:hover,
.module-components__link,
.module-components__link:hover {
  text-decoration: none;
}

.weiterleitungbutton,
.weiterleitungbutton:visited,
.weiterleitungbutton:hover,
.weiterleitungbutton:active {
  color: #ffffff;
}

.module-hero__text a,
.module-text-block__text a,
.module-text-image__text a,
.module-cta__text a,
.module-cards__text a,
.module-process__text a,
.module-configurator__text a,
.module-card__text a {
  color: #2fa84f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.module-card__link {
  font-weight: 900;
}

.module-hero__text a:hover,
.module-text-block__text a:hover,
.module-text-image__text a:hover,
.module-cta__text a:hover,
.module-cards__text a:hover,
.module-process__text a:hover,
.module-configurator__text a:hover,
.module-card__text a:hover {
  color: #1f7e3a;
}

/* =========================================================
   SUBHEADLINES
   ========================================================= */

[class*="__subheadline"] {
  display: inline-block;
  margin-bottom: 10px;
  padding-left: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2fa84f;
  position: relative;
}

[class*="__subheadline"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: #2fa84f;
}

/* =========================================================
   FIXER KONTAKT BUTTON
   ========================================================= */

.floating-contact-button {
  position: fixed;
  top: 32%;
  right: 0;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 220px;
  background: #cfe5d6;
  color: #000000;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  box-sizing: border-box;
  transition: background 0.25s ease, color 0.25s ease;
}

.floating-contact-button span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.05em;
}

.floating-contact-button:hover {
  background: #2fa84f;
  color: #ffffff;
}

/* =========================================================
   BUTTON SYSTEM GLOBAL CLEAN
   ========================================================= */

/* =========================
   PRIMARY BUTTON (GRÜN)
   ========================= */

.weiterleitungbutton,
.home-hinweis-block__button--primary,
.home-text-ganze-breite__button--primary,
.home-auflockerungsblock__button--primary,
.home-karte__button--primary,
.home-karte__button--secondary /* <- beide im Kartenblock grün */
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  background: #2fa84f;
  color: #ffffff;
  border: none;
  border-radius: 4px;

  transition: all 0.25s ease;
  cursor: pointer;
  box-sizing: border-box;
}

/* Hover */
.weiterleitungbutton:hover,
.home-hinweis-block__button--primary:hover,
.home-text-ganze-breite__button--primary:hover,
.home-auflockerungsblock__button--primary:hover,
.home-karte__button--primary:hover,
.home-karte__button--secondary:hover
{
  background: #1f7e3a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   OUTLINE BUTTON (optional)
   ========================= */

.weiterleitungbutton--outline,
.home-hinweis-block__button--secondary,
.home-text-ganze-breite__button--secondary,
.home-auflockerungsblock__button--secondary
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 4px;

  transition: all 0.25s ease;
  cursor: pointer;
  box-sizing: border-box;
}

/* Hover Outline */
.weiterleitungbutton--outline:hover,
.home-hinweis-block__button--secondary:hover,
.home-text-ganze-breite__button--secondary:hover,
.home-auflockerungsblock__button--secondary:hover
{
  background: #1f7e3a;
  border-color: #1f7e3a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   TEXT VERERBUNG FIX
   ========================= */

.weiterleitungbutton,
.weiterleitungbutton *,
.home-hinweis-block__button--primary,
.home-hinweis-block__button--primary *,
.home-text-ganze-breite__button--primary,
.home-text-ganze-breite__button--primary *,
.home-auflockerungsblock__button--primary,
.home-auflockerungsblock__button--primary *,
.home-karte__button--primary,
.home-karte__button--primary *,
.home-karte__button--secondary,
.home-karte__button--secondary *
{
  color: inherit;
}

/* =========================
   TEXT IMMER WEISS (PRIMARY)
   ========================= */

.weiterleitungbutton,
.weiterleitungbutton:link,
.weiterleitungbutton:visited,
.home-hinweis-block__button--primary,
.home-text-ganze-breite__button--primary,
.home-auflockerungsblock__button--primary,
.home-karte__button--primary,
.home-karte__button--secondary {
  color: #ffffff;
}

/* auch für ALLE Inhalte im Button */
.weiterleitungbutton *,
.home-hinweis-block__button--primary *,
.home-text-ganze-breite__button--primary *,
.home-auflockerungsblock__button--primary *,
.home-karte__button--primary *,
.home-karte__button--secondary * {
  color: #ffffff;
}

[class*="__button"],
[class*="__button"]:hover,
[class*="__button"]:focus,
[class*="__button"]:active,
.weiterleitungbutton,
.weiterleitungbutton:hover,
.weiterleitungbutton:focus,
.weiterleitungbutton:active,
.weiterleitungbutton--outline,
.weiterleitungbutton--outline:hover,
.weiterleitungbutton--outline:focus,
.weiterleitungbutton--outline:active {
  text-decoration: none;
}

/* =========================================================
   MODUL HINTERGRÜNDE
   ========================================================= */

.module--grau_dunkel {
  background: #e3e3e3;
}

.module--grau_hell {
  background: #f5f5f5;
}

.module--weiss {
  background: #ffffff;
}

/* =========================================================
   MODULE BASIS
   ========================================================= */

.module-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.module {
  padding: 50px 0;
}

/* =========================================================
   SITE HEADER
   ========================================================= */

.site-header {
  background: #f5f5f5;
  position: relative;
  z-index: 1000;
  overflow: visible;
}


/* ---------------------------------------------------------
   20261030::Header bleibt beim Scrollen oben (sticky statt fixed:
   behaelt seinen Platz im Seitenfluss und funktioniert mit dem
   verschobenen .site-canvas des mobilen Menues)
   --header-height = Hoehe im Ruhezustand, fuer Sprungmarken und
   die sticky Sidebar der Produktseiten (.linke-seite)
   --------------------------------------------------------- */

:root {
  --header-height: 92px;
  --header-offset: 0px; /* WordPress-Adminleiste */
}

@media (max-width: 1199px) {
  :root {
    --header-height: 73px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 61px;
  }
}

html {
  scroll-padding-top: calc(var(--header-height) + var(--header-offset) + 16px);
}

body.admin-bar {
  --header-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --header-offset: 46px;
  }
}

/* unter 600px scrollt die Adminleiste mit */
@media (max-width: 600px) {
  body.admin-bar {
    --header-offset: 0px;
  }
}

.site-header {
  position: sticky;
  top: var(--header-offset);

  transition: box-shadow 0.25s ease;
}

html.is-header-scrolled .site-header {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   20261030::Header beim Scrollen flacher (zum Ausprobieren;
   zum Entfernen diesen Block und in theme.js den Abschnitt
   "Header beim Scrollen" loeschen)
   margin-bottom gleicht die geringere Hoehe aus, damit der
   Inhalt darunter nicht springt (--header-shrink misst theme.js)
   --------------------------------------------------------- */

.site-header,
.site-header__inner,
.site-branding__logo {
  transition:
    box-shadow 0.25s ease,
    margin-bottom 0.25s ease,
    padding 0.25s ease,
    width 0.25s ease;
}

html.is-header-scrolled .site-header {
  margin-bottom: var(--header-shrink, 0px);
}

html.is-header-scrolled .site-header__inner {
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}

html.is-header-scrolled .site-branding__logo {
  width: 190px;
}

@media (max-width: 1199px) {
  html.is-header-scrolled .site-header__inner {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  html.is-header-scrolled .site-branding__logo {
    width: 160px;
  }
}

@media (max-width: 767px) {
  html.is-header-scrolled .site-branding__logo {
    width: 125px;
  }
}

/* zum Messen in theme.js: Zustand ohne Animation umschalten */
html.header-no-anim .site-header,
html.header-no-anim .site-header__inner,
html.header-no-anim .site-branding__logo {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__inner,
  .site-branding__logo {
    transition: none;
  }
}

.site-header__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  padding-top: 2rem;
  padding-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  box-sizing: border-box;
}

.site-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.site-branding__link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-branding__logo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
}

.header-navigation {
  overflow: visible;
}

.header-navigation__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  width: 100%;
  overflow: visible;
}

.header-navigation__menu {
  display: flex;
  align-items: center;
}

.header-navigation--desktop {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  overflow: visible;
  position: relative;
}

.header-navigation--mobile {
  display: none;
}

.main-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4rem;
  margin: 0;
  padding: 0;
}

.main-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu > li > a {
  display: inline-block;
  position: relative;
  padding: 0 0 1rem;
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.main-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 3px;
  background: var(--gruen);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.main-menu > li > a:hover {
  color: #000;
}

.main-menu > li > a:hover::after {
  transform: scaleX(1);
}

.main-menu > li.current-menu-item > a::after,
.main-menu > li.current_page_item > a::after,
.main-menu > li.current-menu-ancestor > a::after,
.main-menu > li.current-page-ancestor > a::after {
  transform: scaleX(1);
}

.main-menu > li:hover > .sub-menu,
.main-menu > li:focus-within > .sub-menu {
  display: block;
}

.main-menu .sub-menu li:hover > .sub-menu,
.main-menu .sub-menu li:focus-within > .sub-menu {
  display: block;
}

.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  opacity: 1;
  max-height: none;
  overflow: visible;
  z-index: 9999;
}

.main-menu .sub-menu .sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;
  padding: 0.75rem 0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.main-menu .sub-menu li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-menu .sub-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: #000;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1.25;
  white-space: normal;
}

.main-menu .sub-menu li a:hover {
  background: var(--hellgrau);
  color: var(--gruen);
}

.header-actions {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex: 0 0 auto;
  margin-left: 2rem;
  padding-bottom: 0.9rem;
}

.language-switch {
  display: flex;
  align-items: center;
}

.language-switch--mobile {
  display: none;
}

/* 20261103::nur unter 1200px sichtbar (siehe Media Query "max-width: 1199px") */
.header-contact-icon {
  display: none;
}

.language-switch__link {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bdbdbd;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
}

.language-switch__link + .language-switch__link {
  border-left: 0;
}

.language-switch__link.is-active {
  background: var(--gruen);
  border-color: var(--gruen);
  color: #fff;
}

.header-search-toggle {
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transform: translateY(-0.05rem);
}

.header-search-toggle img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.header-search-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 360px;
  background: #fff;
  border: 1px solid var(--mittelgrau);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 0.9rem;
  z-index: 9999;
}

.header-search-panel.is-open {
  display: block;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-search-form__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 4rem;
  border: 1px solid var(--mittelgrau);
  border-radius: 0;
  padding: 0 1.2rem;
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: #111111;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  text-transform: none;
}

.header-search-form__input:focus {
  border-color: var(--gruen);
}

.header-search-form__submit {
  flex: 0 0 auto;
  height: 4rem;
  border: 0;
  border-radius: 4px;
  background: var(--gruen);
  color: #fff;
  padding: 0 1.6rem;
  font-family: "Roboto", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: none;
  transition: background 0.25s ease;
}

.header-search-form__submit:hover {
  background: #1f7e3a;
}

/* =========================================================
   BURGER MENU
   ========================================================= */

.burger-menu {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  z-index: 1600;
}

.burger-menu__line {
  position: absolute;
  left: 50%;
  width: 1.7rem;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-menu__line:nth-child(1) {
  top: calc(50% - 7px);
  transform: translateX(-50%);
}

.burger-menu__line:nth-child(2) {
  top: 50%;
  transform: translateX(-50%);
}

.burger-menu__line:nth-child(3) {
  top: calc(50% + 7px);
  transform: translateX(-50%);
}

.burger-menu.is-active .burger-menu__line:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.burger-menu.is-active .burger-menu__line:nth-child(2) {
  opacity: 0;
}

.burger-menu.is-active .burger-menu__line:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-nav-overlay,
.mobile-nav-close {
  display: none;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.submenu-toggle {
  display: none;
}

/* =========================================================
   TABLET UND MOBILE OFF CANVAS
   ========================================================= */

@media (max-width: 1199px) {

html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
  height: 100%;
}

/* 20261030::body nur abschneiden, nicht zum Scroll-Container machen,
   sonst springt der sticky Header bei offenem Menue nach oben weg */
body.is-menu-open {
  overflow: clip;
}

.site-canvas {
  transition: transform 0.35s ease;
}

body.is-menu-open .site-canvas {
  transform: translateX(82vw);
}

  .site-header {
    z-index: 1500;
  }

  .site-header__inner {
    position: relative;
    gap: 1.5rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .site-branding__logo {
    width: 180px;
  }

  .burger-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .language-switch--mobile {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .language-switch--mobile + .burger-menu {
    margin-left: 0;
  }

  /* 20261103::Kontakt (Sprechblase) im mobilen Header, schiebt Sprachumschalter + Burger nach rechts */
  .header-contact-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-left: auto;
    background: var(--gruen);
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
  }

  /* allgemeine .fa-solid-Regel (Footer) gibt Symbolen margin rechts/unten -> hier aufheben, sonst nicht mittig */
  .header-contact-icon i {
    margin: 0;
  }

  /* 20261103::Beschriftung nur, wenn genug Platz ist (ab 576px) */
  .header-contact-icon__text {
    display: none;
  }

  @media (min-width: 576px) {
    .header-contact-icon {
      width: auto;
      gap: 0.8rem;
      padding: 0 1.2rem;
    }

    .header-contact-icon__text {
      display: inline;
      font-size: 1.3rem;
      font-weight: 600;
      line-height: 1;
      white-space: nowrap;
    }
  }

  .header-contact-icon:hover,
  .header-contact-icon:focus-visible {
    background: #1f7e3a;
    color: #fff;
  }

  .header-contact-icon + .language-switch--mobile {
    margin-left: 0;
  }

  /* 20261103::Kontakt-Button unten im mobilen Menue */
  .header-navigation__contact {
    width: 100%;
  }

  .header-navigation__contact .weiterleitungbutton {
    width: 100%;
    justify-content: center;
  }

    .header-navigation--desktop {
    display: none;
  }

  .header-navigation--mobile {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1400;
  }

  body.is-menu-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

    .header-navigation--mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 82vw;
    max-width: 420px;
    height: 100vh;
    background: #f5f5f5;
    border-right: 1px solid #dddddd;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.10);
    padding: 96px 24px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 1501;
    justify-content: flex-start;
  }

  .header-navigation--mobile.is-open {
    transform: translateX(0);
  }

  .header-navigation__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.5rem;
    min-height: 100%;
    position: relative;
    z-index: 2;
  }

  .header-navigation__menu {
    display: block;
    width: 100%;
  }

  .header-navigation__search {
    width: 100%;
  }

  .header-search-form--mobile .header-search-form__input {
    font-size: 1.6rem;
  }

  .main-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .main-menu > li {
    width: 100%;
    border-bottom: 1px solid #dddddd;
    position: relative;
  }

  .main-menu > li > a {
    display: block;
    width: 100%;
    padding: 1rem 2.75rem 1rem 0;
    font-size: 1.7rem;
    font-weight: 500;
    white-space: normal;
    text-decoration: none;
    color: #000;
  }

  .main-menu > li > a::after {
    display: none;
  }

  .submenu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 0;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  .submenu-toggle::before,
  .submenu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #666;
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .main-menu li.is-open > .submenu-toggle::after {
    opacity: 0;
  }

  .main-menu .sub-menu .submenu-toggle {
    top: 0.6rem;
  }

  /* Praefix .header-navigation--mobile: Vorrang vor Desktop-Dropdown-CSS aus dem Customizer */
  .header-navigation--mobile .main-menu li > .sub-menu {
    display: block;
    position: static;
    min-width: 100%;
    background: transparent;
    box-shadow: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .header-navigation--mobile .main-menu li.is-open > .sub-menu {
    max-height: 1500px;
    opacity: 1;
    padding: 0 0 0.8rem 0;
  }

  .header-navigation--mobile .main-menu .sub-menu li a {
    display: block;
    padding: 0.7rem 2.75rem 0.7rem 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #6b6b6b;
    text-decoration: none;
  }

  .header-navigation--mobile .main-menu .sub-menu .sub-menu li a {
    padding-left: 2rem;
  }

  .header-navigation--mobile .main-menu .sub-menu .sub-menu .sub-menu li a {
    padding-left: 3rem;
  }
  .header-actions {
    display: none;
  }

  .mobile-nav-close {
    position: fixed;
    top: 20px;
    left: calc(min(82vw, 420px) - 62px);
    width: 44px;
    height: 44px;
    z-index: 1602;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0s linear 0.15s;
  }

  body.is-menu-open .mobile-nav-close {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease 0.22s, visibility 0s linear 0s;
  }

  .mobile-nav-close__button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    cursor: pointer;
  }

  .mobile-nav-close__button span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 3px;
    background: #000;
    border-radius: 2px;
  }

  .mobile-nav-close__button span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav-close__button span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .header-navigation::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 24px;
    width: 220px;
    height: 220px;
    background-image: url('/wp-content/uploads/2026/02/HAAS_Logo_Vektor_RecyclingSystems_2.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
  }

  .floating-contact-button {
    display: none;
  }
  body.is-page-loading .site-canvas {
  visibility: hidden;
}

body.is-page-loading .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-page-loading .header-navigation {
  transform: translateX(0);
}

body.is-page-loading .mobile-nav-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

}

/* =========================================================
   TABLET QUER UND KLEINERE TABLETS
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

  .site-header__inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .site-branding__logo {
    width: 190px;
  }

  .header-navigation {
    padding-left: 32px;
    padding-right: 32px;
  }

  .main-menu > li > a {
    font-size: 1.7rem;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  body.is-menu-open .site-canvas{
    transform: translateX(86vw);
  }

  .site-header__inner {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
    gap: 1rem;
  }

  .site-canvas {
  position: relative;
  min-height: 100%;
  background: #fff;
}

  .site-branding__logo {
    width: 145px;
  }

  .burger-menu {
    width: 2.5rem;
    height: 2.5rem;
  }

  .header-navigation {
    width: 86vw;
    padding: 88px 20px 32px;
  }

  .mobile-nav-close {
    left: calc(86vw - 56px);
    top: 16px;
  }

  .main-menu > li > a {
    font-size: 1.7rem;
    padding: 0.9rem 2.5rem 0.9rem 0;
  }

  .header-navigation--mobile .main-menu .sub-menu li a {
    font-size: 1.5rem;
    padding-left: 0.9rem;
  }

  .header-navigation::after {
    width: 170px;
    height: 170px;
    right: 20px;
    bottom: 18px;
  }
}

/* =========================================================
   STARTSEITE EINLEITUNG
   ========================================================= */

.einleitung {
  padding: 40px 0 56px;
}

.einleitung__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.einleitung h1,
.einleitung p {
  max-width: 720px;
}

.einleitung h1 {
  margin-bottom: 28px;
}

.einleitung h3 {
  font-size: var(--font-size-header-p);
  font-weight: 700;
  line-height: 1.5;
  color: var(--gruen);
  text-transform: none;
  margin: 0 0 18px;
}

.einleitung p:last-of-type {
  margin-bottom: 0;
}

/*  EINLEITUNG ANWENDUNGSBEREICHE */

.einleitung__anwendungsbereiche {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
  max-width: 1000px; /* etwas schmaler */
}

.einleitung__anwendungsbereich {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);

  box-sizing: border-box;
  min-height: 70px;
}

/* ICON LINKS */
.einleitung__anwendungsbereich-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.einleitung__anwendungsbereich-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* TEXT RECHTS */
.einleitung__anwendungsbereich-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.einleitung__anwendungsbereich-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #111111;
}

.einleitung__anwendungsbereich-text {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #555555;
}



/* =========================================================
   TEXT GANZE BREITE MODUL
   ========================================================= */

.home-text-ganze-breite {
  width: 100%;
  box-sizing: border-box;
}

.home-text-ganze-breite__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.home-text-ganze-breite__title {
  max-width: 760px;
  margin-bottom: 26px;
}

.home-text-ganze-breite__text {
  max-width: 1120px;
  margin-bottom: 34px;
}

.home-text-ganze-breite__text p:last-child {
  margin-bottom: 0;
}

.home-text-ganze-breite__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =========================================================
   HOME VIDEOS
   20261103::Regeln vom 21.06.2026 wiederhergestellt
   ========================================================= */

.home-videos {
  width: 100%;
  padding: 78px 0;
  box-sizing: border-box;
}

.home-videos__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.home-videos__title {
  max-width: 760px;
  margin-bottom: 26px;
}

.home-videos__text {
  max-width: 1120px;
  margin-bottom: 34px;
}

.home-videos__text p:last-child {
  margin-bottom: 0;
}

.home-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 767px) {
  .home-videos__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PRODUKTHIGHLIGHTS (Fest im home.php)
   ========================================================= */

.produkthighlights {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto 40px;
  padding: 40px var(--container-padding);
  box-sizing: border-box;
}

.produkthighlights_title {
  margin-bottom: 40px;
}

.ph_slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: visible;
}

.ph_viewport {
  flex: 1 1 auto;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.ph_viewport.is-dragging {
  cursor: grabbing;
}

.ph_track {
  display: flex;
  -webkit-user-select: none;
  user-select: none;
}

.ph_slide {
  min-width: 100%;
  -webkit-user-select: none;
  user-select: none;
}

.ph_card {
  display: grid;
  grid-template-columns: 440px 1fr;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    133deg,
    #ececec 0%,
    #ececec 50%,
    #ffffff 50%,
    #ffffff 100%
  );
  -webkit-user-select: none;
  user-select: none;
}

.ph_left {
  position: relative;
  z-index: 3;
  padding: 52px 42px 46px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ph_h3 {
  margin: 0 0 16px;
  text-transform: none;
}

.ph_p {
  max-width: 340px;
  margin: 0 0 26px;
  line-height: 1.45;
  text-transform: none;
}

.ph_list {
  margin: 0 0 28px;
  padding: 0 0 0 26px;
}

.ph_list li {
  margin-bottom: 12px;
  font-size: var(--font-size-p);
  line-height: 1.35;
  color: #000000;
}

.ph_link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  font-size: var(--font-size-p);
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.ph_link:hover {
  color: #000000;
}

.ph_link_arrow {
  font-size: 3rem;
  line-height: 1;
  color: #7a7a7a;
}

.ph_right {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.ph_right::before {
  display: none;
}

.ph_right::after {
  content: "Platz für\AIcon";
  white-space: pre-line;
  position: absolute;
  left: 22px;
  bottom: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--hellgruen);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.2;
  z-index: 3;
}

.ph_img {
  position: absolute;
  right: 10px;
  bottom: -28px;
  width: 77%;
  max-width: none;
  height: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pfeil-Buttons: fuer Tastaturbedienung; nur sichtbar, wenn sie per Tab fokussiert sind
   (Maus/Touch: Swipe-Hinweis .ph_swipe oben rechts bzw. Wischen) */
.ph_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: #333333;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.ph_nav:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.ph_nav::before {
  content: "";
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6 8.5 12l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6 8.5 12l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ph_next::before {
  transform: scaleX(-1);
}

.ph_nav:hover,
.ph_nav:focus-visible {
  background: var(--gruen);
  color: #ffffff;
}

.ph_nav:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -5px;
}

.ph_prev {
  left: 16px;
}

.ph_next {
  right: 16px;
}

/* Swipe-Hinweis als Viertelkreis in der Ecke oben rechts (Klick blaettert weiter, siehe main.js).
   right: 24px = gap von .ph_slider, um den die (leere) .ph_nav_row die Karte schmaler macht */
.ph_swipe {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 16;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 64px;
  height: 64px;
  padding: 10px 10px 0 0;
  border: 0;
  border-radius: 0 0 0 100%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ph_swipe svg {
  width: 26px;
  height: 26px;
}

.ph_swipe:hover {
  background: var(--gruen);
}

/* Nur eine Karte: nichts zu blaettern */
.ph_slider:has(.ph_slide:only-child) .ph_swipe {
  display: none;
}

.produkthighlights > .weiterleitungbutton {
  display: inline-flex;
  margin-top: 44px;
}


/* =========================================================
   ANLAGENTECHNIK MODUL
   ========================================================= */

/* ---------------------------------------------------------
   Grundelement
   --------------------------------------------------------- */

.home-anlagentechnik {
    width: 100%;
    padding: 64px 0 64px;
    box-sizing: border-box;
    margin-bottom: 80px;
}


/* ---------------------------------------------------------
   Inneres Layout
   --------------------------------------------------------- */

.home-anlagentechnik__inner {
    display: grid;

    /* 20261029::zweite Spalte 1fr statt 260px, damit die Kacheln die volle Breite nutzen */
    grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);

    grid-template-areas:
        "title cta"
        "text cta"
        "cards cards";

    column-gap: 90px;
    row-gap: 20px;

    max-width: var(--container-width);
    margin: 0 auto;

    padding-left: var(--container-padding);
    padding-right: var(--container-padding);

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Überschrift
   --------------------------------------------------------- */

.home-anlagentechnik__title {
    grid-area: title;

    position: relative;

    margin: 0;
    padding-bottom: 17px;
}


/* grüne Linie unter der Überschrift */

.home-anlagentechnik__title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 62px;
    height: 2px;

    background: #1e9d5c;
}


/* ---------------------------------------------------------
   Text
   --------------------------------------------------------- */

.home-anlagentechnik__text {
    grid-area: text;

    max-width: 760px;
}

.home-anlagentechnik__text p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.home-anlagentechnik .weiterleitungbutton {
    grid-area: cta;

    justify-self: end;
    align-self: start;
}


/* ---------------------------------------------------------
   Kachel-Grid
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalten {
    grid-area: cards;

    /* 20261029::Flex statt festem 5er-Grid: 3 bis 5 Kacheln teilen sich die volle Breite */
    display: flex;
    flex-wrap: wrap;

    gap: 16px;
}

.home-anlagentechnik .anlagentechnik_spalten > .anlagentechnik_spalte {
    flex: 1 1 0;
}


/* ---------------------------------------------------------
   Einzelne Kachel
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalte {
    position: relative;

    min-width: 0;
    min-height: 142px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    padding: 27px 25px 25px;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #d5d5d5;

    color: #111111;

    text-align: left;
    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}


/* ---------------------------------------------------------
   Grüne technische Linie
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalte::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 42px;
    height: 3px;

    background: #1e9d5c;

    transition: width 0.25s ease;
}


/* ---------------------------------------------------------
   Abgeschrägte Ecke
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalte::after {
    content: "";

    position: absolute;

    right: -1px;
    bottom: -1px;

    width: 22px;
    height: 22px;

    background: #dedede;

    clip-path: polygon(
        100% 0,
        100% 100%,
        0 100%
    );

    transition: background-color 0.22s ease;
}


/* ---------------------------------------------------------
   Typografie innerhalb der Kacheln
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalte__headline {
    display: block;

    margin: 0 0 9px;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;

    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #686868;
}


.home-anlagentechnik .anlagentechnik_spalte__text {
    display: block;

    padding-right: 25px;

    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;

    color: #080808;
}


/* ---------------------------------------------------------
   Pfeil nur bei klickbaren Kacheln
   --------------------------------------------------------- */

.home-anlagentechnik
.anlagentechnik_spalte--link
.anlagentechnik_spalte__text::after {

    content: "→";

    position: absolute;

    right: 24px;
    bottom: 19px;

    font-size: 21px;
    line-height: 1;
    font-weight: 400;

    color: #1e9d5c;

    opacity: 0;
    transform: translateX(-5px);

    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}


/* ---------------------------------------------------------
   Hover nur bei klickbaren Kacheln
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalte--link:hover {
    transform: translateY(-3px);

    border-color: #1e9d5c;

    color: #111111;
}


.home-anlagentechnik .anlagentechnik_spalte--link:hover::before {
    width: calc(100% - 50px);
}


.home-anlagentechnik .anlagentechnik_spalte--link:hover::after {
    background: #1e9d5c;
}


.home-anlagentechnik
.anlagentechnik_spalte--link:hover
.anlagentechnik_spalte__text::after {

    opacity: 1;
    transform: translateX(0);
}


/* ---------------------------------------------------------
   Tastatur-Navigation
   --------------------------------------------------------- */

.home-anlagentechnik .anlagentechnik_spalte--link:focus-visible {
    outline: 2px solid #1e9d5c;
    outline-offset: 3px;
}


/* TABLET */

@media (max-width: 1100px) {

    /*
       Das Desktop-Grid benötigt sonst zu viel Platz.
       Überschrift, Text und CTA werden deshalb untereinander
       angeordnet.
    */

    .home-anlagentechnik__inner {
        grid-template-columns: 1fr;

        grid-template-areas:
            "title"
            "text"
            "cta"
            "cards";

        column-gap: 0;
        row-gap: 20px;
    }


    .home-anlagentechnik .weiterleitungbutton {
        justify-self: start;
    }


    .home-anlagentechnik .anlagentechnik_spalten > .anlagentechnik_spalte {
        flex: 1 1 calc((100% - 32px) / 3);
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .home-anlagentechnik {
        padding: 45px 0 50px;
        margin-bottom: 0px;
    }


    .home-anlagentechnik__inner {
        row-gap: 20px;
    }


    .home-anlagentechnik .anlagentechnik_spalten {
        gap: 10px;
    }

    .home-anlagentechnik .anlagentechnik_spalten > .anlagentechnik_spalte {
        flex: 1 1 100%;
    }


    .home-anlagentechnik .anlagentechnik_spalte {
        min-height: 105px;

        padding: 22px;
    }


    .home-anlagentechnik .anlagentechnik_spalte::before {
        left: 22px;
    }


    /*
       Auf Touch-Geräten Pfeil dauerhaft sichtbar,
       da es keinen klassischen Hover gibt.
    */

    .home-anlagentechnik
    .anlagentechnik_spalte--link
    .anlagentechnik_spalte__text::after {

        right: 22px;
        bottom: 17px;

        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   REFERENZEN MODUL
   ========================================================= */

.home-referenzen {
  width: 100%;
  margin-bottom: 80px;
}

.home-referenzen__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.home-referenzen__title {
  margin-bottom: 56px;
}

.home-referenzen__slider {
  width: 100%;
}

.home-referenzen__viewport {
  width: 100%;
  overflow: hidden;
}

.home-referenzen__track {
  display: flex;
  gap: 28px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.home-referenzen__slide {
  flex: 0 0 230px;
}

.home-referenzen__item {
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: transparent;
}

.home-referenzen__item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-referenzen__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.home-referenzen__arrow {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--gruen);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-referenzen__arrow:hover {
  transform: scale(1.08);
  opacity: 0.8;
}

.home-referenzen__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.home-referenzen__arrow--next {
    clip-path: polygon(0 0, 50% 50%, 0 100%);
    margin-left: 30px;
}

.home-referenzen__arrow--prev {
    clip-path: polygon(100% 0, 50% 50%, 100% 100%);
    margin-right: 30px;
}


/* =========================================================
   CASE STUDIES MODUL
   ========================================================= */

.home-case-studies {
  width: 100%;
  overflow: hidden;
  margin-bottom: 80px;
}

.home-case-studies__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.home-case-studies .wrapper_inhalt {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

/* 20261111::doppelten Block entfernt (Tabs, Tab-Leiste, aktiver Tab, Fokus, Media 990/600):
   stand zweimal fast identisch hier, der zweite hat den ersten komplett ueberschrieben.
   Abstand nach Text-Ganze-Breite war -40px, gilt aber schon immer 30px (unten). */
.home-text-ganze-breite + .home-case-studies {
    margin-top: 30px;
}


/* ---------------------------------------------------------
   Tab-Bereich
   Alten Grid-Aufbau neutralisieren
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__top {
    display: block;

    width: 100%;
    max-width: none;

    height: auto;
    min-height: 0;

    margin: 0 0 30px;
    padding: 0;

    background: transparent;

    box-sizing: border-box;

    grid-template-columns: none;
    grid-template-rows: none;
    grid-template-areas: none;
}


/* ---------------------------------------------------------
   Tab-Leiste
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__cards {
    display: flex;
    flex-direction: row;
    align-items: stretch;

    width: 100%;
    max-width: none;
    min-width: 0;

    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    gap: 0;

    background: transparent;
    border: 0;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Einzelne Tabs
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1 1 0;

    width: auto;
    min-width: 0;
    max-width: none;

    min-height: 58px;

    margin: 0;
    padding: 11px 12px;

    box-sizing: border-box;

    background: #f4f4f4;

    border: 1px solid #d8d8d8;
    border-left: 0;

    color: #222222;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;

    text-align: center;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* erster Tab benötigt zusätzlich die linke Außenkante */
.home-case-studies .home-case-studies__card:first-child {
    border-left: 1px solid #d8d8d8;
}


/* ---------------------------------------------------------
   Grüne Linie des aktiven Tabs
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__card::before {
    content: "";

    position: absolute;
    top: -1px;
    left: 0;
    right: 0;

    height: 3px;

    background: transparent;

    transition: background-color 0.2s ease;
}


/* ---------------------------------------------------------
   Hover
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__card:hover {
    background: #ffffff;
}


/* ---------------------------------------------------------
   Aktiver Tab
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__card.is-active {
    background: #ffffff;

    color: #1e9d5c;
    font-weight: 700;
}

.home-case-studies .home-case-studies__card.is-active::before {
    background: #1e9d5c;
}


/* ---------------------------------------------------------
   Tastatur-Fokus
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__card:focus-visible {
    z-index: 2;

    outline: 2px solid #1e9d5c;
    outline-offset: -2px;
}


/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__content {
    margin-top: 0;
}


/* TABLET */

@media (max-width: 990px) {

    /* 20261030::Tabs in einer wischbaren Leiste, jeder Tab in natuerlicher Breite
       (vorher teilten sich alle Tabs die Breite; bei 7 Tabs nur ca. 48px je Tab) */
    .home-case-studies .home-case-studies__top {
        position: relative;
    }

    .home-case-studies .home-case-studies__cards {
        overflow-x: auto;
        overflow-y: hidden;

        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-case-studies .home-case-studies__cards::-webkit-scrollbar {
        display: none;
    }

    /* Ziehen mit der Maus (theme.js): kein Einrasten, keine Textauswahl */
    .home-case-studies .home-case-studies__cards.is-dragging {
        scroll-snap-type: none;

        cursor: grabbing;
        user-select: none;
    }

    .home-case-studies .home-case-studies__card {
        flex: 0 0 auto;

        width: auto;
        min-width: 0;
        height: auto;

        min-height: 54px;

        padding: 11px 18px;

        font-size: 15px;
        text-align: center;
        white-space: nowrap;
        hyphens: none;

        scroll-snap-align: start;
    }

    /* bis zu 4 Tabs (z. B. Home): teilen sich die volle Breite, Text darf umbrechen;
       erst ab 5 Tabs ist die Leiste wischbar */
    .home-case-studies .home-case-studies__cards:not(:has(> .home-case-studies__card:nth-child(5))) .home-case-studies__card {
        flex: 1 1 0;

        padding-left: 8px;
        padding-right: 8px;

        white-space: normal;
        hyphens: auto;
    }

    /* alter Mobil-Effekt (Skalieren) wuerde in der Scrollleiste abgeschnitten */
    .home-case-studies .home-case-studies__card.is-active {
        transform: none;
        box-shadow: none;
    }

    /* Verlauf rechts: es gibt weitere Tabs (Klasse setzt theme.js) */
    .home-case-studies .home-case-studies__top::after {
        content: "";

        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;

        width: 48px;

        background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 85%);

        opacity: 0;
        pointer-events: none;

        transition: opacity 0.2s ease;
    }

    .home-case-studies.has-more-cards .home-case-studies__top::after {
        opacity: 1;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .home-case-studies .home-case-studies__card {
        min-height: 50px;

        padding: 9px 14px;

        font-size: 14px;
    }
}


/* ---------------------------------------------------------
   20261030::Swipe-Hinweis + Einblenden beim Wechsel
   Viertelkreis oben rechts wie .ph_swipe (Produkthighlights);
   nur Tablet/mobil, dort ist die Tab-Leiste wischbar
   --------------------------------------------------------- */

.home-case-studies .home-case-studies__content {
    position: relative;

    overflow: hidden;
}

.home-case-studies__swipe {
    display: none;
}

@media (max-width: 990px) {

    .home-case-studies__swipe {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 5;

        display: inline-flex;
        align-items: flex-start;
        justify-content: flex-end;

        width: 56px;
        height: 56px;

        padding: 8px 8px 0 0;

        border: 0;
        border-radius: 0 0 0 100%;

        background: rgba(0, 0, 0, 0.45);
        color: #ffffff;

        cursor: pointer;

        transition: background-color 0.2s ease;
    }

    .home-case-studies__swipe svg {
        width: 24px;
        height: 24px;
    }

    .home-case-studies__swipe:hover {
        background: var(--gruen);
    }
}

.home-case-studies__pane.is-enter-next {
    animation: home-case-in-next 0.3s ease;
}

.home-case-studies__pane.is-enter-prev {
    animation: home-case-in-prev 0.3s ease;
}

@keyframes home-case-in-next {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: none; }
}

@keyframes home-case-in-prev {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {

    .home-case-studies__pane.is-enter-next,
    .home-case-studies__pane.is-enter-prev {
        animation: none;
    }
}

/* =========================================================
   CASE STUDIES NAVIGATION
   ========================================================= */

.home-case-studies__top {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
  z-index: 10;
}

.home-case-studies__cards-wrap {
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  position: relative;
  padding: 0 12px;
  box-sizing: border-box;
}

.home-case-studies__cards {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 24px 36px;
  box-sizing: border-box;
  will-change: transform;
  position: relative;
  z-index: 2;
}

.home-case-studies__cards-wrap::before,
.home-case-studies__cards-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 1;
  pointer-events: none;
}

.home-case-studies__cards-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.home-case-studies__cards-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.home-case-studies__card {
  position: relative;
  z-index: 1;
  width: 205px;
  min-width: 205px;
  height: 120px;
  padding: 18px 16px;
  border: 2px solid #d8d8d8;
  background: #ffffff;
  color: #000000;
  font-weight: 900; /* 20261111::font-size 1.05rem entfernt (wirkungslos, Schriftgroesse siehe Case-Studies-Block oben) */
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-case-studies__card:hover {
  border-color: #bcbcbc;
}

.home-case-studies__card.is-active {
  border-color: var(--gruen);
  transform: scale(1.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.home-case-studies__arrow {
  appearance: none;
  border: none;
  background: transparent;
  color: #6a6a6a;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-case-studies__arrow:hover {
  transform: scale(1.08);
  opacity: 0.75;
}

/* Extras für sauberes Swipe Gefühl */

.home-referenzen__viewport,
.home-case-studies__cards-wrap {
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.home-referenzen__viewport.is-dragging,
.home-case-studies__cards-wrap.is-dragging {
  cursor: grabbing;
}

.home-referenzen__item img,
.home-case-studies__image,
.home-case-studies__card,
.home-referenzen__slide {
  -webkit-user-drag: none;
}


/* =========================================================
   CASE STUDIES CONTENT
   ========================================================= */

.home-case-studies__content {
  width: 100%;
}

.home-case-studies__pane {
  display: none;
  width: 100%;
}

.home-case-studies__pane.is-active {
  display: block;
}

.home-case-studies__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50%;
  align-items: stretch;
  width: 100%;
  min-height: 560px;
  margin: 0;
  background: #f1f1f1;
}

.home-case-studies__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 78px 60px 54px 60px;
}

.home-case-studies__media {
  width: 100%;
  min-width: 0;
  min-height: 560px;
  height: 100%;
}

.home-case-studies__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

/* Desktop Swipe Effekt für Referenzen und Case Studie */

.home-referenzen__viewport,
.home-case-studies__cards-wrap {
  touch-action: pan-y;
  cursor: grab;
}

.home-referenzen__viewport.is-dragging,
.home-case-studies__cards-wrap.is-dragging {
  cursor: grabbing;
}

/* Referenzen und Case Studies: Text markieren und Bild-Drag verhindern */
.home-referenzen__slider,
.home-referenzen__viewport,
.home-referenzen__track,
.home-referenzen__slide,
.home-referenzen__item,
.home-referenzen__item img,
.home-case-studies__top,
.home-case-studies__cards-wrap,
.home-case-studies__cards,
.home-case-studies__card {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.home-referenzen__item img,
.home-case-studies__image {
  pointer-events: none;
}


/* =========================================================
   HAAS – TEXT VIDEO
   ========================================================= */

.module-text-video {
    width: 100%;
}


/* =========================================================
   BODY / MODUL HEADER
   ========================================================= */

.module-text-video__body {
    width: 100%;
}


.module-text-video__header {
    max-width: 900px;

    margin-bottom: 40px;
}


/* Überschrift auf normalen Übersichtsseiten */

.module-text-video__section-headline {
    position: relative;

    margin: 0 0 24px;
    padding-bottom: 18px;

    color: #111111;

    line-height: 1.25;

    text-transform: uppercase;
}


.module-text-video__section-headline::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 62px;
    height: 2px;

    background: #1e9d5c;
}


/* =========================================================
   MODUL INTRO / TEASERTEXT
   ========================================================= */

.module-text-video__intro {
    max-width: 980px;

    margin: 0 0 38px;

    color: #222222;

    line-height: 1.65;
}


.module-text-video__intro p {
    margin: 0 0 16px;
}


.module-text-video__intro p:last-child {
    margin-bottom: 0;
}


/*
 * Wenn der Introtext innerhalb des normalen Headers liegt,
 * brauchen wir unten nicht doppelt Abstand.
 */

.module-text-video__header
.module-text-video__intro {
    margin-bottom: 0;
}


/* =========================================================
   REPEATER
   ========================================================= */

.module-text-video__items {
    display: flex;

    flex-direction: column;

    gap: 64px;

    width: 100%;
}


/* =========================================================
   EIN VIDEO-EINTRAG
   ========================================================= */

.module-text-video__item {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 50px;

    align-items: start;

    width: 100%;

    box-sizing: border-box;
}


/* =========================================================
   VIDEO RECHTS
   ========================================================= */

.module-text-video__item--video-right
.module-text-video__item-content {
    order: 1;
}


.module-text-video__item--video-right
.module-text-video__media {
    order: 2;
}


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

.module-text-video__item--video-left
.module-text-video__media {
    order: 1;
}


.module-text-video__item--video-left
.module-text-video__item-content {
    order: 2;
}


/* =========================================================
   FALLS EIN VIDEO KEINEN TEXT BESITZT
   ========================================================= */

.module-text-video__item--video-only {
    display: block;
}


.module-text-video__item--video-only
.module-text-video__media {
    max-width: 720px;
}


/* =========================================================
   TEXTSPALTE
   ========================================================= */

.module-text-video__item-content {
    min-width: 0;

    align-self: start;
}


/* ---------------------------------------------------------
   Video-Titel
   --------------------------------------------------------- */

.module-text-video__item-title {
    position: relative;

    margin: 0 0 22px;
    padding-bottom: 15px;

    color: #111111;

    font-size: clamp(20px, 1.6vw, 26px);
    line-height: 1.25;

    text-transform: uppercase;
}


/* kleine HAAS-Linie */

.module-text-video__item-title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 48px;
    height: 2px;

    background: #1e9d5c;
}


/* =========================================================
   FLIESSTEXT
   ========================================================= */

.module-text-video__text {
    max-width: 620px;

    color: #222222;

    line-height: 1.65;
}


.module-text-video__text p {
    margin: 0 0 18px;
}


.module-text-video__text p:last-child {
    margin-bottom: 0;
}


/* Listen */

.module-text-video__text ul,
.module-text-video__text ol {
    margin: 0 0 18px;

    padding-left: 22px;
}


.module-text-video__text li {
    margin-bottom: 6px;
}


.module-text-video__text li:last-child {
    margin-bottom: 0;
}


/* Links */

.module-text-video__text a {
    color: #1e9d5c;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.module-text-video__text a:hover {
    color: #167a47;

    text-decoration: underline;
}


/* =========================================================
   VIDEO
   ========================================================= */

.module-text-video__media {
    position: relative;

    min-width: 0;
    width: 100%;

    aspect-ratio: 16 / 9;

    align-self: start;

    overflow: hidden;

    background: #111111;

    box-sizing: border-box;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.module-text-video__placeholder {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================================================
   PREVIEW
   ========================================================= */

.module-text-video__preview {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.module-text-video__preview-fallback {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            #333333 0%,
            #111111 100%
        );
}


/* leichter Zoom */

.module-text-video__placeholder:hover
.module-text-video__preview {
    transform: scale(1.025);
}


/* =========================================================
   OVERLAY
   ========================================================= */

.module-text-video__overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 30px;

    box-sizing: border-box;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.42)
        );

    text-align: center;
}


/* =========================================================
   PLAY BUTTON
   ========================================================= */

.module-text-video__play {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 52px;

    padding:
        12px
        38px
        12px
        22px;

    background: #1e9d5c;

    border: 0;
    border-radius: 0;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;


    /*
     * HAAS Schräge
     */
    clip-path: polygon(
        0 0,
        calc(100% - 18px) 0,
        100% 100%,
        0 100%
    );


    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.module-text-video__play:hover {
    background: #167a47;

    transform: translateY(-2px);
}


.module-text-video__play:focus-visible {
    outline: 2px solid #ffffff;

    outline-offset: 4px;
}


/* =========================================================
   PLAY ICON
   ========================================================= */

.module-text-video__play-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    font-size: 16px;
    line-height: 1;

    transform: translateX(1px);
}


.module-text-video__play-text {
    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   DATENSCHUTZ
   ========================================================= */

.module-text-video__privacy {
    max-width: 360px;

    margin: 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   IFRAME
   ========================================================= */

.module-text-video__iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   PRODUKTSEITE / ACCORDION
   ========================================================= */

/*
 * Der eigentliche Accordion-Header verwendet absichtlich
 * die vorhandenen ps-section / module-configurator Regeln.
 * Dadurch sieht dieser Block genauso aus wie Downloads,
 * Technische Daten, alte Videos usw.
 */

.module-text-video--accordion
.module-text-video__body {
    width: 100%;
}


/*
 * Wichtig:
 * Auf der Produktseite keinen zusätzlichen .module-Container.
 * Dadurch nutzt das Video-Modul exakt die vorhandene
 * Breite des Produktseiten-Inhalts.
 */

.module-text-video--accordion
.module-text-video__items {
    width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 990px) {

    .module-text-video__items {
        gap: 54px;
    }


    .module-text-video__item {
        gap: 32px;
    }


    .module-text-video__item-title {
        font-size: 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .module-text-video__items {
        gap: 48px;
    }


    .module-text-video__item {
        grid-template-columns: 1fr;

        gap: 26px;
    }


    /*
     * 20261029::Mobil immer (egal ob Video links oder rechts):
     *
     * Video
     * Text
     */

    .module-text-video__item--video-left
    .module-text-video__media,

    .module-text-video__item--video-right
    .module-text-video__media {
        order: 1;
    }


    .module-text-video__item--video-left
    .module-text-video__item-content,

    .module-text-video__item--video-right
    .module-text-video__item-content {
        order: 2;
    }


    .module-text-video__item--video-only
    .module-text-video__media {
        max-width: none;
    }


    .module-text-video__intro {
        margin-bottom: 30px;
    }


    .module-text-video__section-headline {
        margin-bottom: 20px;

        padding-bottom: 15px;
    }


    .module-text-video__item-title {
        margin-bottom: 18px;

        padding-bottom: 13px;

        font-size: 19px;
    }


    .module-text-video__overlay {
        gap: 12px;

        padding: 20px;
    }


    .module-text-video__play {
        min-height: 48px;

        padding:
            11px
            34px
            11px
            18px;

        font-size: 13px;
    }


    .module-text-video__privacy {
        max-width: 300px;

        font-size: 11px;
    }

}


/* =========================================================
   SEHR KLEINE DISPLAYS
   ========================================================= */

@media (max-width: 420px) {

    .module-text-video__items {
        gap: 42px;
    }


    .module-text-video__item {
        gap: 22px;
    }


    .module-text-video__overlay {
        padding: 15px;
    }


    .module-text-video__play {
        min-height: 44px;

        padding:
            10px
            29px
            10px
            15px;

        gap: 8px;

        font-size: 12px;
    }


    .module-text-video__play-icon {
        width: 18px;
        height: 18px;

        font-size: 14px;
    }


    .module-text-video__privacy {
        max-width: 260px;

        font-size: 10px;
    }

}

/* =========================================================
   TEXT MIT BILD MODUL (LINKS)
   ========================================================= */

.home-hinweis-block {
  width: 100%;
  margin-bottom: 80px;
}

.home-hinweis-block__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  position: relative;
}

.home-hinweis-block__media {
  position: relative;
  z-index: 2;
  min-height: 460px;
  margin-right: -70px;
}

.home-hinweis-block__image {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.home-hinweis-block__content {
  position: relative;
  z-index: 1;
  background: #f2f2f2;
  min-height: 400px;
  padding: 70px 60px 70px 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hinweis-block__title {
  margin: 0 0 24px;
}

.home-hinweis-block__text {
  margin-bottom: 30px;
}

.home-hinweis-block__text p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   VARIANTE: BILD RECHTS
   ========================================================= */

.home-hinweis-block--reverse .home-hinweis-block__media {
  order: 2;
  margin-left: -70px;
  margin-right: 0;
}

.home-hinweis-block--reverse .home-hinweis-block__content {
  order: 1;
  padding: 70px 110px 70px 60px;
}

/* =========================================================
   AUFLOCKERUNGSBLOCK MODUL
   ========================================================= */

.home-auflockerungsblock {
  position: relative;
  width: 100%;
  padding: 90px 0;
  overflow: hidden;
}

.home-auflockerungsblock__bg {
  display: none;
}

.home-auflockerungsblock__container {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
  z-index: 2;
}

.home-auflockerungsblock__content {
  position: relative;
  z-index: 2;
  width: 44%;
  padding: 110px 80px 110px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background: transparent;
}

.home-auflockerungsblock__content::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: -100vw;
  right: -100vw;
  background: #f2f2f2;
  z-index: -1;
}

.home-auflockerungsblock__title {
  margin: 0 0 22px;
}

.home-auflockerungsblock__text {
  max-width: 420px;
  margin-bottom: 34px;
}

.home-auflockerungsblock__text p:last-child {
  margin-bottom: 0;
}

.home-auflockerungsblock__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-auflockerungsblock__media {
  position: absolute;
  right: var(--container-padding);
  top: 50%;
  transform: translateY(-50%);
  width: 64%;
  z-index: 3;
}

.home-auflockerungsblock__image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* =========================================================
   STARTSEITE FAQ – im Configurator Style
   ========================================================= */

.home-faq {
  width: 100%;
  margin-bottom: 80px;
  box-sizing: border-box;
}

.home-faq__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.home-faq__title {
  max-width: 980px;
  margin: 0 auto 40px;
}

.home-faq__list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

/* ITEM */

.home-faq__item {
  background: #e3e3e3;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.home-faq__item:hover {
  border-color: rgba(47, 168, 79, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  background: #dcdcdc;
}

.home-faq__item.is-active {
  border-color: rgba(47, 168, 79, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* TRIGGER */

.home-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

/* QUESTION */

.home-faq__question {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

/* ICON */

.home-faq__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2fa84f;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.home-faq__item.is-active .home-faq__icon {
  transform: rotate(45deg);
  background: #1f7e3a;
}

/* CONTENT */

.home-faq__answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.38s ease, opacity 0.28s ease;
  will-change: height, opacity;
}

.home-faq__item.is-active .home-faq__answer {
  opacity: 1;
}

/* INNER */

.home-faq__answer-inner {
  padding: 0 28px 28px;
}

.home-faq__answer-inner p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   STARTSEITE KARTE
   ========================================================= */

.home-karte {
    position: relative;
    margin-bottom: 80px;
    overflow: visible;
}

.home-karte__inner {
    position: relative;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    height: clamp(380px, 32vw, 440px);
}

.home-karte__content-wrap {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;

    /* FULL WIDTH BREAKOUT */
    width: 100vw;
    margin-left: calc(50% - 50vw);

    /* Content wieder richtig positionieren */
    padding: 70px calc((100vw - 1340px) / 2 + 470px) 70px calc((100vw - 1340px) / 2 + 30px);
}

.home-karte__content {
    max-width: 420px;
}

/* Bildbereich */
.home-karte__media-wrap {
    position: absolute;
    top: 0;
    right: clamp(0px, 2vw, 20px);
    width: clamp(480px, 55vw, 800px);
    height: 100%;
    z-index: 3;
}

.home-karte__media {
    position: relative;
}

.home-karte__image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  clip-path: polygon(55% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* =========================================================
   STARTSEITE AKTUELLE NEWS
   ========================================================= */

.home-aktuelle-news {
  width: 100%;
  padding: 64px 0;
  box-sizing: border-box;
  margin-bottom: 80px;
}

.home-aktuelle-news__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.home-aktuelle-news__top {
  margin-bottom: 26px;
}

.home-aktuelle-news__headline-wrap {
  max-width: 760px;
}

.home-aktuelle-news__title {
  margin: 0 0 14px;
}

.home-aktuelle-news__subheadline {

    margin: 0 0 18px;
    font-size: var(--font-size-header-p);
    font-weight: 700;
    line-height: 1.5;
    color: var(--gruen);
    text-transform: none;

}

.home-aktuelle-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-aktuelle-news__card {
  min-width: 0;
}

.home-aktuelle-news__card-link-wrap {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

/* Hover: keine Unterstreichung, Karte hebt sich weiss vom hellgrauen Hintergrund ab */
.home-aktuelle-news__card-link-wrap:hover,
.home-aktuelle-news__card-link-wrap:focus,
.home-aktuelle-news__card-link-wrap * {
  text-decoration: none;
}

.home-aktuelle-news__card-link-wrap:hover,
.home-aktuelle-news__card-link-wrap:focus-visible {
  background-color: #ffffff;
}

.home-aktuelle-news__card-title,
.home-aktuelle-news__card-arrow {
  transition: color 0.2s ease;
}

.home-aktuelle-news__card-link-wrap:hover .home-aktuelle-news__card-title,
.home-aktuelle-news__card-link-wrap:hover .home-aktuelle-news__card-arrow,
.home-aktuelle-news__card-link-wrap:focus-visible .home-aktuelle-news__card-title,
.home-aktuelle-news__card-link-wrap:focus-visible .home-aktuelle-news__card-arrow {
  color: var(--gruen);
}

.home-aktuelle-news__image {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.home-aktuelle-news__image--placeholder {
  background: #e8e8e8;
}

.home-aktuelle-news__content {
  padding: 12px 14px 16px;
}

.home-aktuelle-news__card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.home-aktuelle-news__card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
  text-transform: none;
}

.home-aktuelle-news__card-arrow {
  color: #111111;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-2px);
}

.home-aktuelle-news__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #111111;
  text-transform: none;
}

/* 20261102::Datum und "Weiterlesen" wie bei den Blog-Karten (parts/blog/card.php) */
.home-aktuelle-news__date {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--dunkelgrau-1);
}

.home-aktuelle-news__more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gruen);
}

/* 20261102::Karten nebeneinander auf gleicher Zeilenhoehe ausrichten (Subgrid):
   Bild | Datum | Ueberschrift | Text | Weiterlesen. Text max. 5 Zeilen.
   Nur ab Tablet (mobil steht jede Karte allein) und nur mit Subgrid-Unterstuetzung. */
.home-aktuelle-news__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .home-aktuelle-news__grid {
      row-gap: 0;
    }

    .home-aktuelle-news__card,
    .home-aktuelle-news__card-link-wrap {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .home-aktuelle-news__content,
    .home-aktuelle-news__card-top {
      display: contents;
    }

    .home-aktuelle-news__date {
      margin: 0;
      padding: 12px 14px 6px;
    }

    .home-aktuelle-news__card-title {
      padding: 0 14px 8px;
    }

    .home-aktuelle-news__excerpt {
      padding: 0 14px;
      align-self: start;
    }

    .home-aktuelle-news__more {
      align-self: end;
      justify-self: start;
      margin: 0;
      padding: 10px 14px 16px;
    }
  }
}

.home-aktuelle-news__bottom {
  margin-top: 28px;
}

/* =========================================================
   DEFAULT SINGLE / NEWS BEITRÄGE (also die News selber)
   ========================================================= */

.single-page {
  width: 100%;
}


/* ---------------------------------------------------------
   SEITE / CONTAINER
   --------------------------------------------------------- */

.default-single {
  width: 100%;
  padding: 60px 0 80px;
  background: #ffffff;
}

.default-single__inner {
  width: 100%;
  max-width: var(--container-width);

  margin: 0 auto;

  padding-left: var(--container-padding);
  padding-right: var(--container-padding);

  box-sizing: border-box;
}


/* ---------------------------------------------------------
   SEITENTITEL
   --------------------------------------------------------- */

.default-single__title {
  margin: 0 0 42px;

  font-size: var(--font-size-h1);
  line-height: 1.08;
  font-weight: 700;

  text-transform: uppercase;

  color: #111111;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.default-single__content,
.job-single__form {
  width: 100%;

  margin: 0;

  font-size: var(--font-size-p);
  line-height: 1.65;

  color: #111111;
}


/* ---------------------------------------------------------
   HEADLINES IM BEITRAG
   --------------------------------------------------------- */

.default-single__content h2 {
  position: relative;

  margin: 48px 0 24px;

  padding-bottom: 16px;

  font-size: var(--font-size-h2);
  line-height: 1.15;

  text-transform: uppercase;

  color: #111111;
}

.default-single__content h2::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 56px;
  height: 2px;

  background: var(--gruen);
}


.default-single__content h3 {
  margin: 36px 0 12px;

  font-size: var(--font-size-h3);
  line-height: 1.25;

  color: #111111;
}


.default-single__content h4 {
  margin: 28px 0 10px;

  font-size: 18px;
  line-height: 1.3;

  color: #111111;
}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.default-single__content p {
  margin: 0 0 18px;

  font-size: var(--font-size-p);
  line-height: 1.65;

  color: #111111;

  text-transform: none;
}

.default-single__content p:last-child {
  margin-bottom: 0;
}


.default-single__content strong {
  font-weight: 700;
}


/* ---------------------------------------------------------
   LISTEN
   --------------------------------------------------------- */

.default-single__content ul,
.default-single__content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.default-single__content li {
  margin-bottom: 8px;

  font-size: var(--font-size-p);
  line-height: 1.6;
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

.default-single__content a {
  color: var(--gruen);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.default-single__content a:hover {
  text-decoration: none;
}


/* ---------------------------------------------------------
   BILDER
   --------------------------------------------------------- */

.default-single__content img {
  display: block;

  /* nicht ueber die Originalgroesse hinaus vergroessern */
  width: auto;
  max-width: 100%;
  height: auto;

  margin: 28px 0;

  object-fit: cover;
}


/*
 * Bei dir steckt aktuell teilweise ein Bild direkt
 * innerhalb eines H3. Diese Regel verhindert,
 * dass dadurch Headline-Abstände entstehen.
 */
.default-single__content h3:has(img) {
  margin: 32px 0;
  padding: 0;

  font-size: 0;
  line-height: 0;
}

.default-single__content h3:has(img) img {
  margin: 0;
}


/* ---------------------------------------------------------
   ZITATE
   --------------------------------------------------------- */

.default-single__content blockquote {
  margin: 32px 0;

  padding: 20px 24px;

  border-left: 4px solid var(--gruen);

  background: var(--hellgrau);

  font-size: 1.05em;
  line-height: 1.6;
}


/* ---------------------------------------------------------
   JOB SINGLE FORM / GENERISCHER FORMULARBEREICH
   --------------------------------------------------------- */

.job-single__form {
  margin-top: 40px;

  padding: 28px;

  background: var(--hellgrau);

  border-left: 4px solid var(--gruen);

  box-sizing: border-box;
}

/* =========================================================
   MASCHINEN BLOCK MODUL
   ========================================================= */

.maschinen-block {
  padding: 70px 0;
}

.maschinen-block__headline {
  margin: 0 0 20px;
}

.maschinen-block__headline::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin-top: 16px;
  background: #21b573;
}

.maschinen-block__intro {
  max-width: 1080px;
  margin: 0 0 60px;
}

.maschinen-block__intro p {
  margin: 0 0 16px;
}

.maschinen-block__intro p:last-child {
  margin-bottom: 0;
}

.maschinen-block__panel {
  background: #ececec;
  padding: 26px;
}

.maschinen-block__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.module-maschinen .maschinen-block__nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 16px 22px;
  border: none;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #000000;
  background: #f1f1f1;
}

.module-maschinen .maschinen-block__nav-item:nth-child(1) {
  background: #dadada;
}

.module-maschinen .maschinen-block__nav-item:nth-child(2) {
  background: #dadada;
}

.module-maschinen .maschinen-block__nav-item:nth-child(3) {
  background: #dadada;
}

.module-maschinen .maschinen-block__nav-item.is-active {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #3a3a3a;
}

.maschinen-block__nav-item:hover,
.maschinen-block__nav-item.is-active {
  background: #ffffff;
}

.maschinen-block__nav-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.maschinen-block__tab {
  display: none;
}

.maschinen-block__tab.is-active {
  display: block;
}

.maschinen-block__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.maschinen-card {
  background: #ffffff;
  border: 1px solid #d6d6d6;
}

.maschinen-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.maschinen-card__image-wrap {
  aspect-ratio: 4 / 2.2;
  overflow: hidden;
  background: #ddd;
}

.maschinen-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maschinen-card__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 18px;
}

.maschinen-card__headline {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.maschinen-card__subheadline {
  font-size: 18px;
  line-height: 1.35;
}

.maschinen-card__arrow {
  font-size: 42px;
  line-height: 1;
  color: #6a6a6a;
  flex-shrink: 0;
}

.module-maschinen {
  padding: 60px 0;
}

/* gleiche max-width Logik wie Textblock */
.module-maschinen .maschinen-block__headline,
.module-maschinen .maschinen-block__intro {
  max-width: 760px;
}

.module-maschinen .maschinen-block__intro {
  margin-bottom: 40px;
}

/* =========================================================
   OVERVIEW PAGE (ÜBERSICHTSSEITE TEMPLATE)
   ========================================================= */

.overview-page {
  width: 100%;
  background: #ffffff;
}

.overview-hero,
.overview-intro {
  width: 100%;
  padding: 3rem 0 0;
}

.overview-hero__inner,
.overview-intro__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: stretch;
}

.overview-hero__content,
.overview-intro__text {
  padding: 3rem 0;
}

.overview-hero__headline,
.overview-intro h2 {
  margin: 0 0 2.5rem;
}

.overview-hero__subheadline,
.overview-intro__subheadline {
  margin: 0 0 1.25rem;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: 1.3;
  color: var(--gruen);
  text-transform: none;
}

.overview-hero__text p,
.overview-intro__content p {
  max-width: 720px;
  margin: 0;
}

.overview-hero__media,
.overview-intro__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #ddd;
}

.overview-hero__media img,
.overview-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.overview-hero__media::before,
.overview-intro__media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background: #f5f5f5;
  clip-path: polygon(0 0, 100% 0, 45% 100%, 0 100%);
  z-index: 2;
}

.overview-intro__actions {
  margin-top: 2rem;
}


/* =========================================================
   MODULE SPACING
   ========================================================= 

.module-text-image,
.module-cards,
.module-process,
.module-configurator,
.module-cta,
.module-double-cta {
  padding: 30px 0;
}*/

/* =========================================================
   TEXT BILD MODUL (zB in Anlagentechnik)
   ========================================================= */

/* BASIS */

.module-text-image__headline,
.module-cards__headline,
.module-process__headline,
.module-configurator__headline,
.module-cta__headline,
.module-double-cta__headline {
  margin-top: 0;
}

/* 20261105::Text Block, Komponenten, Text-Karten, Teaser-Grid ergaenzt (hatten noch die kleine Grossbuchstaben-Subheadline) */
.module-text-image__subheadline,
.module-cards__subheadline,
.module-process__subheadline,
.module-configurator__subheadline,
.module-cta__subheadline,
.module-text-block__subheadline,
.module-components__subheadline,
.module-text-karten__subheadline,
.module-teaser-grid__subheadline {
  margin: 0 0 1.25rem;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: 1.3;
  color: var(--gruen);
  text-transform: none;
}

.module-text-image__text {
  margin-bottom: 2rem;
}

.module-text-image__text p,
.module-card__text p,
.module-process__text p,
.module-configurator__text p,
.module-configurator__content p,
.module-double-cta__text p,
.module-double-cta__text li {
  text-transform: none;
}

.module-text-image__text p:last-child,
.module-process__text p:last-child,
.module-configurator__text p:last-child,
.module-configurator__content p:last-child,
.module-double-cta__text p:last-child {
  margin-bottom: 0;
}

.module-text-image__media {
  width: 100%;
}

.module-text-image__image,
.module-text-image__media img,
.module-hero__media img,
.module-card__media img,
.module-process__icon img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   STANDARD
   ========================================================= */

.module-text-image--standard .module-text-image__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.module-text-image--standard.is-image-left .module-text-image__content {
  order: 2;
}

.module-text-image--standard.is-image-left .module-text-image__media {
  order: 1;
}

.module-text-image--standard.is-image-right .module-text-image__content {
  order: 1;
}

.module-text-image--standard.is-image-right .module-text-image__media {
  order: 2;
}

/* =========================================================
   SPEZIAL
   ========================================================= */

.module-text-image--spezial {
  background: transparent;
}

.module-text-image--spezial .module-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
  background: transparent;
}

.module-text-image--spezial .module-text-image__grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  position: relative;
  gap: 0;
  background: transparent;
}

.module-text-image--spezial .module-text-image__media {
  position: relative;
  z-index: 2;
  min-height: 460px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-text-image--spezial .module-text-image__image {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.module-text-image--spezial .module-text-image__content {
  position: relative;
  z-index: 1;
  background: #e3e3e3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-text-image--spezial {
  background: transparent !important;
}

/* SPEZIAL BILD LINKS */

.module-text-image--spezial.is-image-left .module-text-image__media {
  order: 1;
  margin-right: -70px;
}

.module-text-image--spezial.is-image-left .module-text-image__content {
  order: 2;
  padding: 70px 60px 70px 110px;
}

/* SPEZIAL BILD RECHTS */

.module-text-image--spezial.is-image-right .module-text-image__media {
  order: 2;
  margin-left: -70px;
  margin-right: 0;
}

.module-text-image--spezial.is-image-right .module-text-image__content {
  order: 1;
  padding: 70px 110px 70px 60px;
}


/* =========================================================
   KARTEN MODUL
   ========================================================= */


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

.module-cards__header {
    max-width: 760px;
}

.module-cards__headline {
    margin-top: 0;
}

.module-cards__subheadline {
    margin: 0 0 1.25rem;

    color: var(--gruen);

    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-h3);
    line-height: 1.3;

    text-transform: none;
}

.module-cards__text p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   Grid
   --------------------------------------------------------- */

.module-cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-top: 20px;
}


/* ---------------------------------------------------------
   Allgemeine Karte
   --------------------------------------------------------- */

.module-card {
    position: relative;

    height: 100%;
    min-height: 132px;

    background: #f4f4f4;
    border: 1px solid #d0d0d0;

    box-sizing: border-box;
}

.module-card__content {
    /* 20261105::vorher height: 100% -> bei Karten mit Bild ragte der Inhalt um die Bildhoehe
       unsichtbar aus der Karte und verdeckte Buttons im naechsten Modul (z. B. Service) */
    height: auto;

    padding: 14px 16px;

    box-sizing: border-box;
}

.module-card__title {
    margin: 0 0 10px;

    font-size: 16px;
    line-height: 1.25;
}

.module-card__text {
    font-size: 15px;
    line-height: 1.45;
}

.module-card__text p {
    margin: 0 0 8px;
}

.module-card__text p:last-child {
    margin-bottom: 0;
}

.module-cards__actions {
    margin-top: 24px;
}

.module-card__link {
    display: inline-block;

    margin-top: 18px;
}

/* 20261103::Formular-Button je Karte (ACF "cta_button"), oeffnet das Overlay */
.module-card__actions {
    margin-top: 18px;
}

.module-card__actions--kachel {
    margin-top: 0;
    padding: 0 16px 14px;
}


/* ---------------------------------------------------------
   20261029::Verlinkte Kachel (ACF "link_kachel")
   Keine Unterstreichung, normale Textfarbe; Hover/Fokus:
   leicht anheben, Schatten, gruener Rahmen, Bild-Zoom
   --------------------------------------------------------- */

.module-card.link_kachel {
    overflow: hidden;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.module-card.link_kachel a,
.module-card.link_kachel a:hover,
.module-card.link_kachel a:focus {
    color: inherit;
    text-decoration: none;
}

.module-card.link_kachel .module-card__link,
.module-card.link_kachel .module-card__link:hover {
    color: var(--gruen);
}

.module-card.link_kachel .module-card__media {
    overflow: hidden;
}

.module-card.link_kachel .module-card__media img {
    transition: transform 0.35s ease;
}

.module-card.link_kachel:hover,
.module-card.link_kachel:focus-within {
    transform: translateY(-3px);

    border-color: var(--gruen);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.module-card.link_kachel:hover .module-card__media img,
.module-card.link_kachel:focus-within .module-card__media img {
    transform: scale(1.04);
}

.module-card.link_kachel:hover .module-card__link,
.module-card.link_kachel:focus-within .module-card__link {
    text-decoration: underline;
}

.module-card.link_kachel a:focus-visible {
    outline: 2px solid var(--gruen);
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .module-card.link_kachel,
    .module-card.link_kachel .module-card__media img {
        transition: none;
    }

    .module-card.link_kachel:hover,
    .module-card.link_kachel:focus-within,
    .module-card.link_kachel:hover .module-card__media img,
    .module-card.link_kachel:focus-within .module-card__media img {
        transform: none;
    }
}


/* =========================================================
   PARTNER-KARTEN
   ========================================================= */


/*
   Nur Karten, in denen tatsächlich eine .partner-card liegt,
   bekommen den spezielleren Partner-Look.
*/

.module-card:has(.partner-card) {
    overflow: hidden;

    background: #ffffff;
    border-color: #d3d3d3;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Grüne technische Linie oben */

.module-card:has(.partner-card)::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 46px;
    height: 3px;

    background: #1e9d5c;
}


/* dezenter Hover */

.module-card:has(.partner-card):hover {
    transform: translateY(-2px);

    border-color: #bdbdbd;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}


/* Partnerkarte bekommt etwas mehr Luft */

.module-card:has(.partner-card) .module-card__content {
    padding: 22px 20px 24px;
}


/* Region wie NORDWEST / SÜDOST */

.module-card:has(.partner-card) .module-card__title {
    margin: 0 0 9px;

    color: #111111;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   Grundtypografie Partner
   --------------------------------------------------------- */

.partner-card {
    color: #222222;

    font-size: 14px;
    line-height: 1.5;
}

.partner-card p {
    margin: 0 0 14px;
}

.partner-card p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   PLZ / Gebiet
   --------------------------------------------------------- */

.partner-card > span:first-child,
.partner-card > p:first-child > span:first-child {
    display: inline-block;

    margin-bottom: 3px;

    color: #686868;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Logos
   --------------------------------------------------------- */

.partner-card img {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 70px;

    object-fit: contain;
    object-position: left center;
}


/* ---------------------------------------------------------
   Ansprechpartner / Strong
   --------------------------------------------------------- */

.partner-card strong {
    color: #111111;
    font-weight: 700;
}


/* ---------------------------------------------------------
   Firmenbereich / Trenner
   --------------------------------------------------------- */

.partner-card h4 {
    margin: 18px 0 7px;
    padding-top: 17px;

    border-top: 1px solid #dedede;

    color: #111111;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   Unterer Kontaktbereich
   --------------------------------------------------------- */

.partner-card h4 ~ p {
    margin-bottom: 13px;
}


/*
   Labels wie Telefon, E-Mail, Web etc.
*/

.partner-card h4 ~ p strong {
    display: inline-block;

    margin-bottom: 3px;

    color: #5f5f5f;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   Links
   --------------------------------------------------------- */

.partner-card a {
    color: #1e9d5c;

    font-weight: 500;
    text-decoration: none;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color 0.2s ease;
}

.partner-card a:hover {
    color: #167a47;
    text-decoration: underline;
}

/* =========================================================
   HAAS – VERTRIEBSPARTNER / SERVICE KARTE
   ========================================================= */


/* ---------------------------------------------------------
   Innerer Bereich
   --------------------------------------------------------- */

.module-service-karte__inner {
    width: 100%;
}


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

.module-service-karte__header {
    max-width: 850px;
    margin-bottom: 45px;
}

.module-service-karte__subheadline {
    margin: 0 0 10px;

    color: #1e9d5c;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-service-karte__headline {
    position: relative;

    margin: 0;
    padding-bottom: 18px;
}

.module-service-karte__headline::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 62px;
    height: 2px;

    background: #1e9d5c;
}

.module-service-karte__text {
    max-width: 760px;
    margin-top: 22px;
}

.module-service-karte__text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HAUPTLAYOUT
   links Partner / rechts Karte
   ========================================================= */

.service-map-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1.45fr);
    gap: 60px;
    align-items: start;
    width: 100%;
}


/* ---------------------------------------------------------
   Linke Spalte
   --------------------------------------------------------- */

.service-map-sidebar {
    min-width: 0;
}


/* ---------------------------------------------------------
   SELECT
   --------------------------------------------------------- */

.service-map-select {
    display: block;

    width: 100%;
    height: 48px;

    margin: 0 0 28px;
    padding: 0 42px 0 15px;

    box-sizing: border-box;

    background-color: #ffffff;

    border: 1px solid #cfcfcf;
    border-radius: 0;

    color: #222222;

    font-family: inherit;
    font-size: 15px;
    line-height: 1;

    cursor: pointer;
}

.service-map-select:hover {
    border-color: #9d9d9d;
}

.service-map-select:focus {
    border-color: #1e9d5c;
    outline: 2px solid rgba(30, 157, 92, 0.15);
    outline-offset: 0;
}


/* =========================================================
   PARTNERDETAILS
   ========================================================= */

.service-map-details {
    width: 100%;
}

.service-map-details__card {
    width: 100%;
}


/* Region */

.service-map-details__region {
    margin: 0 0 18px;

    color: #1e9d5c;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


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

.service-map-details__logo {
    display: block;

    width: auto;
    max-width: 100%;

    max-height: 170px;

    margin: 0 0 25px;

    object-fit: contain;
    object-position: left center;
}


/* ---------------------------------------------------------
   Firmenname
   --------------------------------------------------------- */

.service-map-details__name {
    margin: 0 0 24px;

    color: #111111;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   Kleine Abschnittsüberschriften
   --------------------------------------------------------- */

.service-map-details__section-title {
    margin: 22px 0 6px;

    color: #6a6a6a;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: 0.03em;
    text-transform: uppercase;
}


/* erster Abschnitt etwas kompakter */

.service-map-details__name
+ .service-map-details__section-title {
    margin-top: 0;
}


/* ---------------------------------------------------------
   Ansprechpartner / Kontaktdaten
   --------------------------------------------------------- */

.service-map-details__ansprechpartner {
    margin: 0;
}

.service-map-details__contact {
    margin-top: 20px;
}

.service-map-details__section-entries {
    color: #333333;

    font-size: 15px;
    line-height: 1.55;
}

.service-map-details__section-entries strong {
    color: #111111;
    font-weight: 600;
}

.service-map-details__section-entries a {
    color: #1e9d5c;
    text-decoration: none;
}

.service-map-details__section-entries a:hover {
    text-decoration: underline;
}

.service-map-details__entry-label {
    color: #555555;
}

/* 20261105::Kontakt Block (WYSIWYG) statt Adresse/Telefon/E-Mail/Web */
.service-map-details__kontakt-block p {
    margin: 0 0 12px;
}

.service-map-details__kontakt-block > :last-child {
    margin-bottom: 0;
}

.service-map-details__kontakt-block h2,
.service-map-details__kontakt-block h3,
.service-map-details__kontakt-block h4,
.service-map-details__kontakt-block h5,
.service-map-details__kontakt-block h6 {
    margin: 22px 0 6px;

    color: #6a6a6a;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.service-map-details__kontakt-block > h2:first-child,
.service-map-details__kontakt-block > h3:first-child,
.service-map-details__kontakt-block > h4:first-child,
.service-map-details__kontakt-block > h5:first-child,
.service-map-details__kontakt-block > h6:first-child {
    margin-top: 0;
}


/* ---------------------------------------------------------
   Leerzustand
   --------------------------------------------------------- */

.service-map-details__empty {
    margin: 0;

    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   20261112::Gebiet + Zusatzinfo je Standort
   --------------------------------------------------------- */

.service-map-details__gebiet {
    margin: 0 0 4px;

    color: #222222;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.service-map-details__gebiet-info {
    margin: 0 0 22px;

    color: #666666;

    font-size: 14px;
    line-height: 1.5;
}

.service-map-details__gebiet:last-child {
    margin-bottom: 22px;
}


/* ---------------------------------------------------------
   20261112::Slider bei mehreren Partnern je Land
   Swipe-Symbol wie bei den Case Studies (Startseite), hier immer sichtbar
   --------------------------------------------------------- */

.service-map-slider {
    position: relative;
}

.service-map-slider__head {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 56px;

    margin: 0 0 12px;
    padding-right: 68px;
}

.service-map-slider__head .service-map-details__region {
    margin: 0;
}

.service-map-slider__counter {
    margin-left: auto;

    color: #666666;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;
}

.service-map-slider__swipe {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;

    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;

    width: 56px;
    height: 56px;

    padding: 8px 8px 0 0;

    border: 0;
    border-radius: 0 0 0 100%;

    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.service-map-slider__swipe svg {
    width: 24px;
    height: 24px;
}

.service-map-slider__swipe:hover {
    background: var(--gruen);
}

.service-map-slider__track {
    display: flex;

    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.service-map-slider__track::-webkit-scrollbar {
    display: none;
}

.service-map-slider__track:focus-visible {
    outline: 2px solid var(--gruen);
    outline-offset: 4px;
}

.service-map-slider__slide {
    flex: 0 0 100%;
    min-width: 0;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}

@media (hover: hover) and (pointer: fine) {

    .service-map-slider__track {
        cursor: grab;
    }
}

.service-map-slider__track.is-dragging {
    scroll-snap-type: none;

    cursor: grabbing;
    user-select: none;
}


/* =========================================================
   RECHTE SPALTE / KARTE
   ========================================================= */

.service-map-main {
    min-width: 0;
    width: 100%;
}


/*
   Sehr wichtig:
   Ohne definierte Höhe bekommt jsVectorMap kaum vertikalen
   Platz und erscheint extrem flach.
*/

.module-service-karte__map {
    width: 100%;
    height: 560px;

    background: transparent;
}


/* vom Plugin erzeugte Elemente ebenfalls begrenzen */

.module-service-karte__map svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   SERVICE MAP – BASIS
   ========================================================= */

.service-map-main {
    width: 100%;
    min-width: 0;
}

.module-service-karte__map {
    width: 100%;
    height: clamp(420px, 42vw, 680px);
    min-height: 420px;
}

.module-service-karte__map .jvm-container,
.module-service-karte__map svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .service-map-layout {
        grid-template-columns:
            minmax(280px, 340px)
            minmax(0, 1fr);

        gap: 40px;
    }

    .module-service-karte__map {
        height: 480px;
        min-height: 0;
    }

}


/* =========================================================
   MOBILE / KLEINES TABLET
   ========================================================= */

@media (max-width: 800px) {

    .module-service-karte__header {
        margin-bottom: 35px;
    }

    .service-map-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-map-sidebar,
    .service-map-main {
        width: 100%;
        min-width: 0;
    }

    .service-map-select {
        width: 100%;
        max-width: 100%;
    }

    .module-service-karte__map {
        width: 100%;

        height: auto;
        min-height: 0;

        aspect-ratio: 880 / 420;
    }

    .service-map-details__logo {
        max-height: 140px;
    }

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .module-service-karte__header {
        margin-bottom: 30px;
    }

    .service-map-layout {
        gap: 24px;
    }

    .service-map-select {
        height: 46px;

        margin-bottom: 22px;

        font-size: 14px;
    }

    .service-map-details__name {
        font-size: 17px;
    }

    .service-map-details__section-entries {
        font-size: var(--font-size-p-mobile);
        line-height: 1.6;
    }

    .module-service-karte__map {
        width: 100%;
    }


    /* Zoom Controls etwas kompakter */

    .module-service-karte__map .jvm-zoom-btn {
        width: 24px;
        height: 24px;

        line-height: 24px;
        font-size: 14px;
    }

}

/* =========================================================
   PROZESS MODUL
   ========================================================= */

.module-process__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.module-process__headline {
  margin: 0 0 14px;
}

.module-process__subheadline {
  margin: 0 0 1.25rem;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: 1.3;
  color: var(--gruen);
  text-transform: none;
}

.module-process__text p:last-child {
  margin-bottom: 0;
}

.module-process__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 0;
}

.module-process__item {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  background: #f5f5f5;
  transition: all 0.2s ease;
}

.module-process__item--nolink {
  padding: 10px 16px;
}

.module-process__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: #222222;
}

.module-process__item:hover {
  background: #ffffff;
  border-color: #bfbfbf;
}

.module-process__link:hover {
  color: #222222;
}

.module-process__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  white-space: nowrap;
  color: inherit;
}

/* =========================================================
   KONFIGURATOR ACCORDION MODUL (FAQ)
   ========================================================= */

.module-configurator__header {
  max-width: var(--container-width);
  margin-bottom: 40px;
}

.module-configurator__headline {
  margin: 0 0 18px;
}

.module-configurator__subheadline {
  margin: 0 0 1.25rem;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: 1.3;
  color: var(--gruen);
  text-transform: none;
}

.module-configurator__text p:last-child,
.module-configurator__content-inner p:last-child {
  margin-bottom: 0;
}

.module-configurator__accordion {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.module-configurator__item {
  background: #e3e3e3;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.module-configurator__item:hover {
  border-color: rgba(47, 168, 79, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  background: #dcdcdc;
}

.module-configurator__item.is-active {
  border-color: rgba(47, 168, 79, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.module-configurator__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.module-configurator__trigger span:first-child {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

.module-configurator__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2fa84f;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.module-configurator__item.is-active .module-configurator__icon {
  transform: rotate(45deg);
  background: #1f7e3a;
}

.module-configurator__content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.38s ease, opacity 0.28s ease;
  will-change: height, opacity;
}

.module-configurator__item.is-active .module-configurator__content {
  opacity: 1;
}

.module-configurator__content-inner {
  padding: 0 28px 28px;
}

.module-configurator__actions {
  margin-top: 32px;
}



/* =========================================================
   HERO MODUL (Global)
   ========================================================= */

.module-hero {
  position: relative;
  margin-bottom: 0;
  padding: 28px 0 54px;
  background: #e6e6e6;
  overflow: hidden;
  min-height: 430px;
}

.module-hero__container {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.module-hero__intro {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding-top: 22px;
}

.module-hero__intro::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -52px;
  bottom: -10px;
  left: -9999px;
  background: #e6e6e6;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  z-index: -1;
}

.module-hero__headline {
  max-width: 620px;
  margin: 0 0 2rem;
}

.module-hero__subheadline {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  font-size: var(--font-size-header-p);
  font-weight: 700;
  line-height: 1.5;
  color: var(--gruen);
  text-transform: none;
}

.module-hero__intro-text {
  max-width: 620px;
}

.module-hero__intro-text p:last-child {
  margin-bottom: 0;
}

.module-hero__visual {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 2;
  width: clamp(520px, 42vw, 760px);
}

.module-hero__media {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  background: #d9d9d9;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.module-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
}

/* =========================================================
   CTA MODUL
   ========================================================= */

.module-cta {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.module-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.42) 42%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.module-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.module-cta__headline,
.module-cta__subheadline,
.module-cta__text,
.module-cta__text p {
  color: #ffffff;
}

.module-cta__subheadline {
  margin: 0 0 1.25rem;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: 1.3;
  text-transform: none;
}

.module-cta__text p:last-child {
  margin-bottom: 0;
}

.module-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

/* =========================================================
   DOPPEL CTA MODUL
   ========================================================= */

.module-double-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 60px;
  align-items: stretch;
}

.module-double-cta__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.module-double-cta__headline {
  margin: 0 0 22px;
  line-height: 1.1;
  position: relative;
  padding-bottom: 18px;
}

.module-double-cta__headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background-color: var(--gruen);
}

.module-double-cta__subheadline {
  margin: 0 0 18px;
  font-size: var(--font-size-header-p);
  font-weight: 700;
  line-height: 1.5;
  color: var(--gruen);
  text-transform: none;
}

.module-double-cta__text {
  margin-bottom: 32px;
}

.module-double-cta__text p:last-child {
  margin-bottom: 0;
}

.module-double-cta__text ul,
.module-double-cta__text ol {
  margin: 0 0 20px 20px;
  padding: 0;
}

.module-double-cta__text li {
  margin-bottom: 10px;
}

.module-double-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
}

/* =========================================================
   DOUBLE CTA GALERIE
   ========================================================= */

.module-double-cta__gallery {
  position: relative;
  width: 100%;
  background: #efefef;
  padding: 24px 30px 26px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.module-double-cta__gallery-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gruen);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.module-double-cta__gallery-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  position: relative;
  padding-bottom: 14px;
}

.module-double-cta__gallery-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 2px;
  background: var(--gruen);
}

/* GRID */

.module-double-cta__gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  height: 100%;
  min-height: 0;
}

.gallery-item {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #d9d9d9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

/* KLICKBEREICH */

.module-double-cta__gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

/* ruhiger technischer Hover */
.module-double-cta__gallery-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.04) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.module-double-cta__gallery-trigger:hover::after {
  opacity: 1;
}

/* BILDER */

.module-double-cta__gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.module-double-cta__gallery-trigger:hover img {
  transform: scale(1.025);
  filter: contrast(1.03);
}

/* kleines Icon Gefühl unten rechts */
.gallery-item::after {
  content: "+";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gruen);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHTBOX */

.module-double-cta__lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.module-double-cta__lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.module-double-cta__lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.module-double-cta__lightbox.is-open .module-double-cta__lightbox-overlay {
  opacity: 1;
}

.module-double-cta__lightbox-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100vw - 40px));
  height: min(90vh, 900px);
  margin: 5vh auto;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.module-double-cta__lightbox.is-open .module-double-cta__lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.module-double-cta__lightbox-image-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  max-height: 100%;
}

.module-double-cta__lightbox-image {
  max-width: 100%;
  max-height: calc(90vh - 110px);
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.module-double-cta__lightbox-caption {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  position: relative;
  z-index: 3;
}

.module-double-cta__lightbox-close,
.module-double-cta__lightbox-prev,
.module-double-cta__lightbox-next {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  z-index: 4;
  transition: background 0.25s ease, transform 0.25s ease;
}

.module-double-cta__lightbox-close:hover,
.module-double-cta__lightbox-prev:hover,
.module-double-cta__lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.05);
}

.module-double-cta__lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
}

.module-double-cta__lightbox-prev {
  justify-self: start;
}

.module-double-cta__lightbox-next {
  justify-self: end;
}

.module-double-cta__gallery-slider {
  position: relative;
  height: 100%;
}

.module-double-cta__gallery-viewport {
  height: 100%;
}

.module-double-cta__gallery-nav {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.module-double-cta__gallery-nav--prev {
  left: 10px;
}

.module-double-cta__gallery-nav--next {
  right: 10px;
}

/* =========================================================
   HAAS – TEXT KARTEN MODUL
   ========================================================= */

.module-text-karten__inner {
    width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.module-text-karten__header {
    max-width: 900px;

    margin-bottom: 42px;
}


.module-text-karten__headline {
    margin-top: 0;
}


.module-text-karten__subheadline {
    margin: 0 0 1.25rem;

    font-weight: var(--font-weight-h3);
    line-height: 1.3;

    color: var(--gruen);

    text-transform: none;
}


.module-text-karten__text {
    max-width: 980px;
}


.module-text-karten__text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   GRID
   ========================================================= */

.module-text-karten__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px 44px;
}


/* =========================================================
   KARTE
   ========================================================= */

.module-text-karten__card {
    position: relative;

    display: grid;

    grid-template-columns:
        82px 1fr;

    gap: 22px;

    align-items: center;

    min-height: 140px;

    padding: 28px 26px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #d5d5d5;

    box-sizing: border-box;
}


/* =========================================================
   ICON
   ========================================================= */

.module-text-karten__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    flex-shrink: 0;
}


.module-text-karten__icon img {
    display: block;

    width: 100%;
    max-width: 64px;
    height: auto;

    object-fit: contain;
}


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

.module-text-karten__card-content {
    min-width: 0;
}


.module-text-karten__card-title {
    margin: 0 0 10px;

    font-size: clamp(24px, 1.8vw, 30px);
    line-height: 1.2;

    text-transform: none;
}


.module-text-karten__card-text {
    color: #111111;

    font-size: 16px;
    line-height: 1.5;
}


.module-text-karten__card-text p {
    margin: 0;
}


.module-text-karten__card-text a {
    color: #1e9d5c;

    text-decoration: underline;

    text-underline-offset: 2px;
}


.module-text-karten__card-text a:hover {
    color: #167a47;
}


/* =========================================================
   COLLAPSIBLE
   ========================================================= */


/*
 * Solange JS nicht initialisiert wurde,
 * bleibt alles sichtbar.
 *
 * Das bedeutet:
 * Selbst wenn JS ausfällt, verschwinden keine Inhalte.
 */

.module-text-karten__toggle-wrap {
    display: none;
}


/*
 * JS setzt diese Klasse nach Initialisierung.
 */

.module-text-karten.is-collapsible-ready
.module-text-karten__toggle-wrap {
    display: flex;

    justify-content: center;

    margin-top: 24px;
}


/* =========================================================
   EINGEKLAPPTER ZUSTAND
   ========================================================= */


/*
 * Karten 7+ komplett ausblenden.
 */

.module-text-karten.is-collapsed
.module-text-karten__card--hidden-collapsed {
    display: none;
}


/*
 * Karte 5 und 6 bilden die Vorschau.
 */

.module-text-karten.is-collapsed
.module-text-karten__card--preview {
    min-height: 105px;
    height: 105px;

    overflow: hidden;

    pointer-events: none;

    border-bottom: 0;
}


/*
 * Fade nach unten.
 */

.module-text-karten.is-collapsed
.module-text-karten__card--preview::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 10%,
            rgba(255, 255, 255, 0.35) 42%,
            rgba(255, 255, 255, 0.85) 72%,
            #ffffff 100%
        );
}


/* =========================================================
   TOGGLE BUTTON
   ========================================================= */

.module-text-karten__toggle {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 44px;

    padding: 8px 4px;

    background: transparent;

    border: 0;

    color: #1e9d5c;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.2s ease;
}


.module-text-karten__toggle:hover {
    color: #167a47;
}


.module-text-karten__toggle:focus-visible {
    outline: 2px solid #1e9d5c;
    outline-offset: 4px;
}


/* =========================================================
   TOGGLE PFEIL
   ========================================================= */

.module-text-karten__toggle-icon {
    width: 9px;
    height: 9px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform:
        translateY(-2px)
        rotate(45deg);

    transition:
        transform 0.25s ease;
}


/*
 * Bei ausgeklapptem Zustand:
 * Pfeil nach oben.
 */

.module-text-karten.is-expanded
.module-text-karten__toggle-icon {
    transform:
        translateY(2px)
        rotate(225deg);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .module-text-karten__grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .module-text-karten__card {
        width: 100%;

        padding: 20px;
    }


    .module-text-karten__headline {
        word-break: normal;

        overflow-wrap: break-word;

        hyphens: auto;
    }


    .module-text-karten__text {
        word-break: normal;

        overflow-wrap: break-word;
    }


    /*
     * Auch mobil:
     * 4 vollständige Karten,
     * danach 2 Fade-Karten.
     */

    .module-text-karten.is-collapsed
    .module-text-karten__card--preview {
        min-height: 95px;
        height: 95px;
    }

}


/* =========================================================
   SEHR KLEINE DISPLAYS
   ========================================================= */

@media (max-width: 500px) {

    .module-text-karten__card {
        grid-template-columns: 68px 1fr;

        gap: 16px;
    }


    .module-text-karten__icon {
        width: 68px;
        height: 68px;
    }


    .module-text-karten__icon img {
        max-width: 58px;
    }


    .module-text-karten__card-title {
        font-size: 20px;
    }


    .module-text-karten__card-text {
        font-size: 15px;
    }

}

/* ---------------------------------------------------------
   Text-Karten mit Firmenlogo (Querformat, z. B. Vertriebspartner)
   20261029::Logo rechts und groesser; Klasse setzt text-karten.php
   --------------------------------------------------------- */

.module-text-karten__card--logo {
    grid-template-columns: minmax(0, 1fr) min(200px, 35%);
}

.module-text-karten__card--logo .module-text-karten__icon {
    order: 2;

    justify-content: flex-end;

    width: 100%;
    height: auto;
}

.module-text-karten__card--logo .module-text-karten__icon img {
    width: 100%;
    max-width: 200px;
    max-height: 70px;

    object-fit: contain;
    object-position: right center;
}

/* sehr kleine Displays: Logo ueber dem Firmennamen */
@media (max-width: 500px) {

    .module-text-karten__card--logo {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .module-text-karten__card--logo .module-text-karten__icon {
        order: 0;

        justify-content: flex-start;
    }

    .module-text-karten__card--logo .module-text-karten__icon img {
        max-width: 180px;
        max-height: 60px;

        object-position: left center;
    }

}

/* =========================================================
   TEASER GRID MODUL
   ========================================================= */

.module-teaser-grid__inner {
  width: 100%;
}

.module-teaser-grid__subheadline {
  margin: 0 0 12px;
 
  font-weight: 700;

  letter-spacing: 0.08em;
  color: var(--gruen);
}

.module-teaser-grid__headline {
  margin: 0 0 18px;
  line-height: 1.08;
  color: #111111;
  position: relative;
  padding-bottom: 18px;
}

.module-teaser-grid__headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 3px;
  background: var(--gruen);
}

.module-teaser-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.module-teaser-grid__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.module-teaser-grid__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 20261029::keine Unterstreichung beim Hover/Fokus (Bootstrap a:hover) */
.module-teaser-grid__card:hover,
.module-teaser-grid__card:focus {
  text-decoration: none;
}

.module-teaser-grid__card--static:hover {
  transform: none;
  box-shadow: none;
}

.module-teaser-grid__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dddddd;
}

.module-teaser-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.module-teaser-grid__content {
  position: relative;
  padding: 22px 56px 22px 22px;
  min-height: 150px;
}

.module-teaser-grid__card-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  color: #111111;
}

.module-teaser-grid__card-text {
  font-size: 16px;
  line-height: 1.5;
  color: #222222;
}

.module-teaser-grid__card-text p {
  margin: 0;
}

.module-teaser-grid__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 46px;
  line-height: 1;
  color: #666666;
}

/* =========================================
   GALERIE MODUL
========================================= */

.haas-gallery {
    width: 100%;
    padding: 70px 0;
    box-sizing: border-box;
}

.haas-gallery__inner {
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* HEADLINE */

.haas-gallery__headline {
    margin: 0 0 24px;

    color: #000000D9;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}


/* Kleine HAAS-Linie unter der Überschrift */

.haas-gallery__headline::after {
    content: "";
    display: block;

    width: 60px;
    height: 3px;

    margin-top: 14px;

    background-color: #1e9d5c;
}


/* INTRO */

.haas-gallery__intro {
    max-width: 900px;
    margin-bottom: 35px;

    color: #000000D9;
    font-size: 16px;
    line-height: 1.7;
}

.haas-gallery__intro p {
    margin: 0 0 15px;
}

.haas-gallery__intro p:last-child {
    margin-bottom: 0;
}


/* THUMBNAIL GRID */

.haas-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* Einzelnes Bild */

.haas-gallery__item {
    position: relative;

    display: block;

    width: 100%;
    padding: 0;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #eeeeee;
    border: 0;

    cursor: pointer;
}


/* Bild */

.haas-gallery__thumbnail {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}


/* Dunkler Overlay beim Hover */

.haas-gallery__item::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0);

    transition: background 0.3s ease;

    pointer-events: none;
}


/* Hover */

.haas-gallery__item:hover .haas-gallery__thumbnail {
    transform: scale(1.04);
}

.haas-gallery__item:hover::after {
    background: rgba(0, 0, 0, 0.12);
}


/* Tastatur-Fokus */

.haas-gallery__item:focus-visible {
    outline: 3px solid #1e9d5c;
    outline-offset: 3px;
}


/* Lupen-Symbol: zeigt (v. a. mobil), dass sich die Bilder vergroessern lassen */

.haas-gallery__item::before {
    content: "";

    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;

    width: 44px;
    height: 44px;

    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.3 15.3 20 20M10.5 7.8v5.4M7.8 10.5h5.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;

    opacity: 0.6;

    transition: opacity 0.3s ease, background-color 0.3s ease;

    pointer-events: none;
}

.haas-gallery__item:hover::before,
.haas-gallery__item:focus-visible::before {
    opacity: 1;
    background-color: var(--gruen);
}

@media (max-width: 991px) {
    .haas-gallery__item::before {
        opacity: 0.85;
    }
}

@media (max-width: 767px) {
    .haas-gallery__item::before {
        right: 8px;
        bottom: 8px;

        width: 36px;
        height: 36px;
    }
}


/* LIGHTBOX */

.haas-gallery__lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.9);

    box-sizing: border-box;
}


/* Wird per JS gesetzt (assets/js/galerie.js) */

.haas-gallery__lightbox.is-open {
    display: flex;
}

/* Seite dahinter scrollt nicht, solange die Lightbox offen ist */
html.has-gallery-lightbox {
    overflow: hidden;
}


/* Innerer Bereich */

.haas-gallery__lightbox-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}


/* SLIDES */

.haas-gallery__slides {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.haas-gallery__slide {
    display: none;

    margin: 0;

    width: 100%;
    height: 100%;
}


/* Aktuelles Bild */

.haas-gallery__slide.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Großes Bild */

.haas-gallery__full-image {
    display: block;

    max-width: 85vw;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* LIGHTBOX BUTTONS */

.haas-gallery__close,
.haas-gallery__prev,
.haas-gallery__next {
    position: absolute;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #ffffff;

    background: transparent;
    border: 0;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* Schließen */

.haas-gallery__close {
    top: 0;
    right: 0;

    width: 50px;
    height: 50px;

    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}


/* Pfeile */

.haas-gallery__prev,
.haas-gallery__next {
    top: 50%;

    width: 55px;
    height: 70px;

    transform: translateY(-50%);

    font-size: 42px;
}

.haas-gallery__prev {
    left: 0;
}

.haas-gallery__next {
    right: 0;
}


/* Hover */

.haas-gallery__close:hover,
.haas-gallery__prev:hover,
.haas-gallery__next:hover {
    color: #1e9d5c;
}


/* TABLET
   6 Thumbnails */

@media (max-width: 990px) {

    .haas-gallery {
        padding: 50px 30px 70px;
    }

    .haas-gallery__headline {
        font-size: 28px;
    }

    .haas-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /*
       Desktop hat maximal 8 Bilder.
       Auf Tablet zeigen wir nur Bild 1–6.
    */

    .haas-gallery__item:nth-child(n+7) {
        display: none;
    }

    .haas-gallery__lightbox {
        padding: 30px;
    }

    .haas-gallery__full-image {
        max-width: 82vw;
        max-height: 82vh;
    }
}


/* SMARTPHONE
   4 Thumbnails */

@media (max-width: 600px) {

    .haas-gallery {
        padding: 35px 20px 50px;
    }

    .haas-gallery__headline {
        margin-bottom: 20px;

        font-size: 25px;
    }

    .haas-gallery__headline::after {
        width: 50px;
        margin-top: 12px;
    }

    .haas-gallery__intro {
        margin-bottom: 25px;

        font-size: 15px;
        line-height: 1.7;
    }

    .haas-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /*
       Mobile zeigen wir nur Bild 1–4.
    */

    .haas-gallery__item:nth-child(n+5) {
        display: none;
    }

    .haas-gallery__lightbox {
        padding: 15px;
    }

    .haas-gallery__full-image {
        max-width: 90vw;
        max-height: 78vh;
    }

    .haas-gallery__close {
        top: 5px;
        right: 5px;

        width: 45px;
        height: 45px;

        font-size: 36px;
    }

    .haas-gallery__prev,
    .haas-gallery__next {
        width: 42px;
        height: 60px;

        font-size: 32px;
    }

    .haas-gallery__prev {
        left: 0;
    }

    .haas-gallery__next {
        right: 0;
    }
}

/* =========================================================
   PRODUKTSEITE
   ========================================================= */

/* -------------------------
   Header / Hero
   ------------------------- */

.header_section {
  width: 100%;
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  margin-bottom: 80px;
  background-color: #e3e3e3;
  z-index: 1;
}

/* Hintergrundbild – diagonal 30/70 zugeschnitten via clip-path */
.header_section__bg {
  position: absolute;
  top: 0;
  /* MD::20260421::left: -120px; */
  left: 0px;
  right: 0;
  bottom: -45px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  clip-path: polygon(24% 0%, 100% 0%, 100% 100%, 0% 100%);
  margin-left: 40%;
}


.header_content {
  position: relative;
  z-index: 1;
  padding: 48px 0 48px 0;
}

.header_headline {
  font-family: "Roboto", sans-serif;
  font-size: var(--font-size-header-headline);
  font-weight: var(--font-weight-h1);
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 10px;
  line-height: 1.05;
  max-width: 400px;
}

.header_subheadline {
  font-family: "Roboto", sans-serif;
  font-size: var(--font-size-p);
  font-weight: 400;
  color: #000000;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* -------------------------
   Seiten-Layout
   ------------------------- */

.produktseite {
  padding-top: 40px;
  padding-bottom: 80px;
}

.produktseite .row {
  align-items: flex-start;
}

/* -------------------------
   Linke Sidebar
   ------------------------- */

.linke-seite {
  position: sticky;
  top: calc(var(--header-height) + var(--header-offset) + 24px); /* 20261030::vorher 100px, Header ist jetzt sticky */
  padding-right: 32px;
}

/* 20261103::einspaltig unter 992px (col-12 col-lg-3, vorher Bootstrap-3-Mischung col-xs-12 col-md-3):
   nicht sticky, sonst scrollt der Inhalt ueber die Sidebar (vorher Grenze 767px) */
@media (max-width: 991px) {
  .linke-seite {
    position: static;
    padding-right: calc(var(--bs-gutter-x) * .5);
    margin-bottom: 32px;
  }
}

/* 20261103::Maschinenseite: alter Rand von .container-fluid (0 18.75rem = 187px je Seite) aus;
   die Raender kommen wie auf allen Seiten nur noch aus .module-container */
.produktseite.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* Varianten-Widget */

.ps-varianten {
  margin-bottom: 32px;
}

.ps-varianten__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dunkelgrau-1);
  margin-bottom: 12px;
}

/* .ps-varianten__gruppe, __gruppe-toggle, __chevron nicht mehr verwendet (Sidebar ist jetzt flache Liste) */

.ps-varianten__optionen {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.ps-varianten__optionen li {
  border: 2px solid var(--mittelgrau);
  margin: 3px 0;
}

.ps-varianten__optionen li:last-child {
  border-bottom: 2px solid var(--mittelgrau);
}

.ps-varianten__option {
  display: block;
  width: 100%;
  padding: 10px 10px;
  background: none;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  color: var(--dunkelgrau-2);
  transition: background 0.15s ease, color 0.15s ease;
}

.ps-varianten__option:hover {
  background: var(--hellgrau);
  color: #000000;
  text-decoration: none;
}

.ps-varianten__option.is-active {
  /* background: #e8f5ee; */
  color: var(--gruen);
  font-weight: 700;
  border-bottom: 1px solid var(--mittelgrau);
}

.ps-varianten__image {
  display: block;
  width: 100%;
  margin-top: 10px;
  border-radius: 4px;
  object-fit: cover;
}

/* Sidebar CTA-Buttons */

.ps-sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-sidebar-cta .weiterleitungbutton {
  width: 100%;
  justify-content: center;
}

.ps-sidebar-cta button.weiterleitungbutton,
.module-cta__actions button.weiterleitungbutton,
.module-cards__actions button.weiterleitungbutton,
.module-card__actions button.weiterleitungbutton,
.module-text-block__actions button.weiterleitungbutton,
.module-double-cta__actions button.weiterleitungbutton,
.home-anlagentechnik button.weiterleitungbutton {
  font-family: inherit;
  line-height: 1.3;
  text-align: center;
}

/* -------------------------
   Anfrage-Formulare als Overlay (WPForms)
   ------------------------- */

html.has-form-dialog {
  overflow: hidden;
}

.form-dialog {
  width: calc(100% - 32px);
  max-width: 720px;
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.form-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

/* Ein- und Ausblenden: Overlay gleitet leicht hoch, Hintergrund dunkelt weich ab.
   Browser ohne @starting-style zeigen das Overlay einfach ohne Animation. */
.form-dialog {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    overlay 0.3s ease allow-discrete,
    display 0.3s ease allow-discrete;
}

.form-dialog[open] {
  opacity: 1;
  transform: none;
}

.form-dialog::backdrop {
  background: rgba(0, 0, 0, 0);
  transition:
    background-color 0.3s ease,
    overlay 0.3s ease allow-discrete,
    display 0.3s ease allow-discrete;
}

.form-dialog[open]::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

@starting-style {
  .form-dialog[open] {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  .form-dialog[open]::backdrop {
    background: rgba(0, 0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-dialog,
  .form-dialog::backdrop {
    transition: none;
  }
}

.form-dialog__panel {
  max-height: calc(100vh - 48px);
  padding: 32px 40px 36px;
  overflow-y: auto;
  box-sizing: border-box;
}

.form-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.form-dialog__title {
  margin: 0;
  font-size: var(--font-size-h2);
  color: #111111;
}

.form-dialog__close {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin: -6px -10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.form-dialog__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
}

.form-dialog__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.form-dialog__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.form-dialog__close:hover span {
  background: var(--gruen);
}

.form-dialog .wpforms-container {
  margin: 0;
}

/* 20261105::Overlay Partnerseite (Vertriebskarte): breiter, feste Hoehe, Seite als iFrame */
.form-dialog--partner {
  max-width: 1200px;
  height: calc(100vh - 48px);
}

.form-dialog--partner .form-dialog__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 24px 24px;
  overflow: hidden;
}

.form-dialog--partner .form-dialog__header {
  margin-bottom: 16px;
}

.form-dialog--partner .form-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
}

.form-dialog__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Button zur Partnerseite in den Details der Vertriebskarte */
.service-map-details__partner-site {
  margin-top: 24px;
}

.service-map-details__partner-site button.weiterleitungbutton {
  font-family: inherit;
  line-height: 1.3;
  text-align: center;
}

/* Seite im iFrame: Header, Footer, Kontakt-Button und mobiles Menue ausblenden.
   Footer per display: contents, damit Overlays aus wp_footer (Formulare) weiter funktionieren */
html.is-embedded #header,
html.is-embedded .floating-contact-button,
html.is-embedded .mobile-nav-overlay,
html.is-embedded #site-navigation-mobile,
html.is-embedded .mobile-nav-close,
html.is-embedded .wpml-ls-statics-footer,
html.is-embedded .otgs-development-site-front-end,
html.is-embedded footer.footer_bereich > :not(dialog):not(script) {
  display: none !important;
}

html.is-embedded footer.footer_bereich {
  display: contents;
}

@media (max-width: 767px) {
  .form-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
  }

  .form-dialog__panel {
    max-height: calc(100vh - 24px);
    padding: 20px 16px 24px;
  }

  .form-dialog__title {
    font-size: 1.8rem;
  }

  .form-dialog--partner {
    height: calc(100vh - 24px);
  }

  .form-dialog--partner .form-dialog__panel {
    padding: 14px 12px 12px;
  }
}

/* -------------------------
   Einleitung
   ------------------------- */

.einleitung {
  padding-bottom: 40px;
  margin-bottom: 8px;
}

.einleitung h1 {
  margin-bottom: 6px;
}

.einleitung .subheadline {
  font-size: 14px;
  font-weight: 400;
  color: var(--dunkelgrau-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.einleitung__text {
  margin-bottom: 24px;
}

.einleitung__galerie {
  gap: 12px 0;
}

.einleitung__galerie img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

/* -------------------------
   Sections / Accordion
   ------------------------- */

.ps-section {
  border-top: 1px solid var(--mittelgrau);
  margin-bottom: 0;
}

.ps-section:last-child {
  border-bottom: 1px solid var(--mittelgrau);
}

.ps-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

/* Konfigurator-Overrides im Produktseite-Kontext */
.ps-section .module-configurator__trigger {
  padding: 24px 0;
}

.ps-section .module-configurator__trigger span:first-child {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.ps-section .module-configurator__content-inner {
  padding: 0 0 32px;
}

.ps-section .module-configurator__item {
  background-color: #ffffff;
  margin: 0 20px;
  border: none;
}

.ps-section .module-configurator__item.is-active {
  border-color: transparent;
  box-shadow: none;
}

.ps-section .module-configurator__item:hover {
  box-shadow: none;
}

.ps-section__toggle:hover .ps-section__headline {
  color: var(--gruen);
}

.ps-section__headline {
  margin: 0;
  padding-bottom: 0;
  font-size: 1.6rem;
  transition: color 0.2s ease;
}

/* Kein grüner Strich unter der Accordion-Headline */
.ps-section__headline::after {
  display: none;
}

.ps-section__chevron {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--dunkelgrau-1);
  transition: transform 0.2s ease;
}

.ps-section__toggle[aria-expanded="false"] .ps-section__chevron {
  transform: rotate(-90deg);
}

.ps-section__body {
  padding-bottom: 32px;
}

.ps-section__text {
  font-size: var(--font-size-p);
  line-height: 1.65;
  margin-bottom: 20px;
}

.ps-section__text p:last-child {
  margin-bottom: 0;
}

/* -------------------------
   Tags / Chips
   ------------------------- */

.ps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--mittelgrau);
  /* border-radius: 20px; */
  font-size: 14px;
  font-weight: 400;
  color: var(--dunkelgrau-2);
  background: #ffffff;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ps-tag:hover {
  border-color: var(--gruen);
  color: var(--gruen);
}

/* -------------------------
   Modelle-Tabelle
   ------------------------- */

.ps-modelle-tabelle {
  width: 100%;
  border: 1px solid var(--mittelgrau);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.ps-modelle-tabelle__header {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  background: var(--hellgrau);
}

.ps-modelle-tabelle__col-head {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  border-right: 1px solid var(--mittelgrau);
}

.ps-modelle-tabelle__col-head:last-child {
  border-right: none;
}

.ps-modelle-tabelle__row {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  border-top: 1px solid var(--mittelgrau);
}

.ps-modelle-tabelle__spec-label {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dunkelgrau-2);
  border-right: 1px solid var(--mittelgrau);
  background: var(--hellgrau);
}

.ps-modelle-tabelle__cell {
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
  color: var(--dunkelgrau-2);
  border-right: 1px solid var(--mittelgrau);
  background: #ffffff;
}

.ps-modelle-tabelle__cell:last-child,
.ps-modelle-tabelle__col-head:last-child {
  border-right: none;
}

.ps-modelle-tabelle__col-head.is-highlighted,
.ps-modelle-tabelle__cell.is-highlighted {
  background: #e8f5ee;
  color: var(--gruen);
  font-weight: 700;
}

.ps-modelle-fussnoten {
  margin-top: 12px;
}

.ps-modelle-fussnoten p {
  font-size: 12px;
  color: var(--dunkelgrau-1);
  margin-bottom: 4px;
  line-height: 1.5;
}

/* Tab-Navigation */
/* 20261103::Regeln vom 05.07.2026 wiederhergestellt (schraege Tabs wie QuickChange .qc__tab);
   waren beim Ersetzen von style.css zwischen Juli und Oktober verloren gegangen */
.ps-modelle-tabs {
  --qc-tab-slant: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--mittelgrau);
  margin-bottom: 24px;
}

.ps-modelle-tab {
  padding: 10px calc(20px + var(--qc-tab-slant)) 10px 20px;
  background: var(--hellgrau);
  border: 1px solid var(--mittelgrau);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin-bottom: -2px;
  margin-right: calc(-1 * var(--qc-tab-slant));
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--dunkelgrau-1);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--qc-tab-slant)) 0, 100% 100%, 0 100%);
}

.ps-modelle-tab:last-child {
  margin-right: 0;
}

.ps-modelle-tab:nth-child(1) { z-index: 9; }
.ps-modelle-tab:nth-child(2) { z-index: 8; }
.ps-modelle-tab:nth-child(3) { z-index: 7; }
.ps-modelle-tab:nth-child(4) { z-index: 6; }
.ps-modelle-tab:nth-child(5) { z-index: 5; }
.ps-modelle-tab:nth-child(6) { z-index: 4; }

.ps-modelle-tab:hover {
  color: var(--gruen);
  background: var(--mittelgrau);
}

.ps-modelle-tab.is-active {
  color: var(--gruen);
  background: #f6fdf8;
  border-color: rgba(47, 168, 79, 0.45);
  border-bottom-color: #ffffff;
  z-index: 10;
}

/* Tab-Panels */
.ps-modelle-panel {
  display: none;
}

.ps-modelle-panel.is-active {
  display: block;
  animation: ps-panel-fadein 0.25s ease;
}

@keyframes ps-panel-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ps-modelle-panel__body {
  margin-left: 0;
  margin-right: 0;
}

.ps-modelle-panel__bild-col {
  display: flex;
  align-items: center;
}

.ps-modelle-panel__subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dunkelgrau-1);
  margin-bottom: 6px;
}

.ps-modelle-panel__intro {
  margin-bottom: 20px;
  font-size: var(--font-size-p);
  line-height: 1.6;
}

.ps-modelle-block__headline {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dunkelgrau-1);
  margin-bottom: 8px;
  margin-top: 16px;
}

/* 20261103::Eigenschaften zweispaltig (Modell ohne Bild), Regel vom 21.06.2026 wiederhergestellt;
   mobil neu einspaltig */
.ps-modelle-eigenschaften-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

@media (max-width: 767px) {
  .ps-modelle-eigenschaften-cols {
    grid-template-columns: 1fr;
  }
}

/* 20261103::Modell mit Bild: mobil Liste und Bild untereinander (Bild unten, volle Breite) */
@media (max-width: 767px) {
  .row.ps-modelle-panel__body > .col-7,
  .row.ps-modelle-panel__body > .col-5 {
    width: 100%;
  }

  .row.ps-modelle-panel__body > .col-5 {
    margin-top: 20px;
  }
}

/* Eigenschaften-Liste */
.ps-modelle-eigenschaften {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-modelle-eigenschaft {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--mittelgrau);
  font-size: 14px;
  line-height: 1.4;
}

.ps-modelle-eigenschaft:first-child {
  border-top: 1px solid var(--mittelgrau);
}

.ps-modelle-eigenschaft__name {
  color: var(--dunkelgrau-1);
}

.ps-modelle-eigenschaft__wert {
  font-weight: 700;
  color: #111111;
  text-align: right;
}

/* Panel Bild */
.ps-modelle-panel__bild {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* -------------------------
   QuickChange
   ------------------------- */

.quickchange__inner {
  gap: 0;
}

.quickchange__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.quickchange__features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: var(--font-size-p);
  line-height: 1.5;
  color: var(--dunkelgrau-2);
}

.quickchange__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gruen);
}

.quickchange__bild {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* 20261102::QuickChange-Regeln wiederhergestellt (fehlten in style.css).
   Stand 05.07.2026 laut altem Sitzungsprotokoll / css-aenderungen.md.
   Einzige Anpassung: Galerie heisst im Markup jetzt .qc__slideshow (vorher .qc__pane-gallery). */
.qc__intro {
  margin-bottom: 24px;
}

/* Horizontale Tabs mit schräger rechter Kante + Überlappung */
.qc__tabs {
  /* ↓ Schräge anpassen: größerer Wert = flacherer Winkel / längere Schräge */
  --qc-tab-slant: 20px;

  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--mittelgrau);
  margin-bottom: 24px;
}

.qc__tab {
  padding: 10px calc(20px + var(--qc-tab-slant)) 10px 20px;
  background: var(--hellgrau);
  border: 1px solid var(--mittelgrau);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin-bottom: -2px;
  margin-right: calc(-1 * var(--qc-tab-slant));
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--dunkelgrau-1);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--qc-tab-slant)) 0, 100% 100%, 0 100%);
}

/* Letzter Tab: kein negativer Margin, Schräge voll sichtbar */
.qc__tab:last-child {
  margin-right: 0;
}

/* Linke Tabs überlagern rechte (absteigender z-index) */
.qc__tab:nth-child(1) { z-index: 9; }
.qc__tab:nth-child(2) { z-index: 8; }
.qc__tab:nth-child(3) { z-index: 7; }
.qc__tab:nth-child(4) { z-index: 6; }
.qc__tab:nth-child(5) { z-index: 5; }
.qc__tab:nth-child(6) { z-index: 4; }

.qc__tab:hover {
  color: var(--gruen);
  background: var(--mittelgrau);
}

.qc__tab.is-active {
  color: var(--gruen);
  background: #f6fdf8;
  border-color: rgba(47, 168, 79, 0.45);
  border-bottom-color: #ffffff;
  z-index: 10;
}

/* Panels: Text + Galerie nebeneinander */
.qc__pane {
  display: none;
  gap: 30px;
  align-items: flex-start;
}

.qc__pane.is-active {
  display: flex;
  animation: ps-panel-fadein 0.25s ease;
}

.qc__pane-text {
  flex: 1 1 auto;
  min-width: 0;
}

.qc__slideshow {
  position: relative;
  flex: 0 0 40%;
  width: 40%;
}

.qc__slide {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
}

.qc__slide.is-active {
  display: block;
}

.qc__slideshow-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.qc__slide-btn {
  background: none;
  border: 1px solid var(--mittelgrau);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--dunkelgrau-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
}

.qc__slide-btn:hover {
  background: var(--hellgrau);
  border-color: var(--dunkelgrau-1);
}

.qc__slide-counter {
  font-size: 13px;
  color: var(--dunkelgrau-1);
  min-width: 36px;
  text-align: center;
}

@media (max-width: 767px) {
  .qc__pane.is-active {
    flex-direction: column;
  }

  .qc__slideshow {
    flex: none;
    width: 100%;
  }
}

/* -------------------------
   Case Studies
   ------------------------- */

.ps-case-studies {
  gap: 24px 0;
}

.ps-case-study img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ps-case-study__titel {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* -------------------------
   Videos
   ------------------------- */

.ps-videos {
  gap: 24px 0;
  margin-left: 0;
  margin-right: 0;
}

.ps-video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ps-video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 20261103::Video Facade (Vorschaubild + Play-Button), Regeln vom 21.06.2026 wiederhergestellt */
.ps-video__facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-video__facade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-video__play-btn {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 48px;
  transition: transform 0.15s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.ps-video__play-btn svg {
  width: 100%;
  height: 100%;
}

.ps-video__facade:hover .ps-video__play-btn {
  transform: scale(1.1);
}

.ps-video__thumb-link {
  display: block;
  position: relative;
  margin-bottom: 10px;
  text-decoration: none;
}

.ps-video__thumb-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  transition: opacity 0.2s ease;
}

.ps-video__thumb-link:hover img {
  opacity: 0.85;
}

.ps-video__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  padding-left: 3px;
  transition: background 0.2s ease;
}

.ps-video__thumb-link:hover .ps-video__play-icon {
  background: var(--gruen);
}

.ps-video__titel {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.4;
}

/* -------------------------
   Downloads
   ------------------------- */

.ps-downloads {
  gap: 20px 0;
  margin-left: 0;
  margin-right: 0;
}

.ps-download {
  padding-right: 16px;
}

.ps-download a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ps-download img {
  width: 100%;
  border: 1px solid var(--mittelgrau);
  border-radius: 4px;
  margin-bottom: 8px;
  transition: border-color 0.2s ease;
}

.ps-download__icon {
  width: auto !important;
  height: 70px;
  display: block;
  margin: 20px auto;
  border: none !important;
}

.ps-download a:hover img {
  border-color: var(--gruen);
}

.ps-download__label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.4;
}

/* 20261112::mobil (bis 599px) eine Zeile je Download: Vorschaubild links, Text rechts daneben (vertikal mittig).
   Vorher 4 schmale Spalten (Bild ca. 52px breit, Text in sehr schmalen Zeilen) */
@media (max-width: 599px) {
  .ps-downloads {
    gap: 14px 0;
  }

  .ps-downloads .ps-download {
    width: 100%;
    padding-right: 0;
  }

  .ps-download a {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .ps-download img {
    flex: 0 0 64px;
    width: 64px;
    margin-bottom: 0;
  }

  .ps-download__icon {
    width: 64px !important;
    height: auto;
    margin: 0;
  }

  .ps-download__label {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* =========================================================
   ALLEINSTEHEND: KONTAKTSEITE TEMPLATE
   ========================================================= */


.kontaktseite {
  background: #ffffff;
}

/* MAIN */

.kontaktseite__main {
  padding: 80px 0 80px;
}

.kontaktseite__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.kontaktseite__grid {
  display: grid;
  grid-template-columns: 70% 5% 25%;
  align-items: start;
}

.kontaktseite__form-box,
.kontaktseite__sidebar-box,
.kontaktseite__map-box {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  padding: 24px;
  box-sizing: border-box;
}

.kontaktseite__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kontaktseite__headline {
  margin-top: 0;
  margin-bottom: 20px;
}

.kontaktseite__intro {
  margin-bottom: 24px;
}

.kontaktseite__intro p:last-child,
.kontaktseite__sidebar-text p:last-child,
.kontaktseite__info-text p:last-child {
  margin-bottom: 0;
}

.kontaktseite__sidebar-text {
  margin-bottom: 24px;
}

.kontaktseite__info-list {
  display: grid;
  gap: 14px;
}

.kontaktseite__info-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.kontaktseite__info-icon img {
  display: block;
  width: 16px;
  height: auto;
  object-fit: contain;
  margin-top: 4px;
}

.kontaktseite__map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* FORMULAR WRAPPER */

.kontaktseite__form .wpcf7,
.kontaktseite__form form {
  width: 100%;
}

.kontaktseite__form input[type="text"],
.kontaktseite__form input[type="email"],
.kontaktseite__form input[type="tel"],
.kontaktseite__form input[type="url"],
.kontaktseite__form input[type="file"],
.kontaktseite__form textarea,
.kontaktseite__form select {
  width: 100%;
  border: 1px solid #cfcfcf;
  padding: 12px 14px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  background: #ffffff;
}

.kontaktseite__form textarea {
  min-height: 180px;
  resize: vertical;
}

.kontaktseite__form input[type="submit"],
.kontaktseite__form button,
.kontaktseite__form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  background: #2fa84f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kontaktseite__form input[type="submit"]:hover,
.kontaktseite__form button:hover,
.kontaktseite__form .wpcf7-submit:hover {
  background: #1f7e3a;
}



                                        /*______________________________________Mobile______________________________________
                                          ______________________________________Mobile______________________________________
                                          ______________________________________Mobile______________________________________*/

/* =========================================================
   TYPOGRAFIE / GLOBAL / BUTTONS
   ========================================================= */

@media (max-width: 767px) {
  /* 20261030::clip statt hidden: hidden machte body zum Scroll-Container,
     dann bleibt der sticky Header nicht oben (hidden als Fallback fuer alte Browser) */
  html,
  body {
    overflow-x: hidden;
    overflow-x: clip;
  }

  body {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: normal;
    overflow-wrap: break-word;
  }

  section {
    margin-bottom: 0;
  }

  .floating-contact-button {
    display: none;
  }

  h1 {
    font-size: var(--font-size-h1-mobile);
    margin-bottom: 20px;
  }

  h2 {
    font-size: var(--font-size-h2-mobile);
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  h2::after {
    width: 56px;
  }

  h3 {
    font-size: var(--font-size-h3-mobile);
    margin-bottom: 14px;
  }

  p,
  .header_p,
  .module-hero__intro-text p,
  .module-text-image__text p,
  .module-card__text p,
  .module-double-cta__text p,
  .module-double-cta__text li,
  .home-hinweis-block__text p,
  .home-auflockerungsblock__text p,
  .home-karte__text p,
  .home-faq__answer p,
  .home-aktuelle-news__excerpt,
  .einleitung p,
  .home-anlagentechnik p {
    font-size: var(--font-size-p-mobile);
    line-height: 1.6;
    margin-bottom: 14px;
    text-transform: none;
  }

  .weiterleitungbutton,
  .weiterleitungbutton--outline,
  .home-hinweis-block__button,
  .home-text-ganze-breite__button,
  .home-auflockerungsblock__button,
  .home-karte__button,
  .home-aktuelle-news__bottom .weiterleitungbutton,
  .home-anlagentechnik .kontaktbutton {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   CONTAINER / GENERISCHE ABSTÄNDE
   ========================================================= */

@media (max-width: 767px) {
  .container-fluid,
  .module-container,
  .site-header__inner,
  .einleitung__inner,
  .home-text-ganze-breite__inner,
  .home-faq__inner,
  .home-aktuelle-news__inner,
  .home-referenzen__inner,
  .home-case-studies__inner,
  .module-hero__container,
  .home-auflockerungsblock__container,
  .home-karte__inner,
  .home-hinweis-block__inner,
  .home-anlagentechnik__inner,
  .overview-hero__inner,
  .overview-intro__inner,
  .header_section .module-container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
    box-sizing: border-box;
  }

  .module {
    padding: 30px 0;
  }
}

/* =========================================================
   SITE HEADER / HEADER BLOCK / HERO BLOCK
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {
  .header_section {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #e3e3e3;
  }

  .header_section::before {
    display: none !important;
  }

  .header_section__bg {
    position: absolute !important;
    top: 0;
    right: 0 !important;
    left: auto !important;
    bottom: 0;
    width: 42% !important;
    height: 100%;
    margin: 0 !important;
    transform: none !important;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
  }

  .header_section .module-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
  }

  .header_content,
  .header_content.col-4 {
    width: 40%;
    max-width: 40%;
    flex: 0 0 40%;
    margin: 0;
    padding: 40px 0 40px 24px;
    box-sizing: border-box;
  }

  .header_headline,
  .header_subheadline {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
  }

  .header_subheadline p {
    margin-left: 0;
    max-width: 100%;
  }

  .module-double-cta__subheadline {
    padding-left: 10px;
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .header_section {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background: #dcdcdc;
    margin-bottom: 20px;
  }

  .header_section::before {
    display: none !important;
  }

  .header_section__bg {
    display: block;
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
  }

  .header_section .module-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 18px;
    box-sizing: border-box;
  }

  /* TEXTBOX */
  .header_content,
  .header_content.col-4 {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 18px 16px 18px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.88);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);

    overflow: hidden;
  }

  .header_headline,
  .header_subheadline,
  .module-double-cta__subheadline {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
    position: relative;
    z-index: 5;
  }

  .header_subheadline p {
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 5;
  }

  .module-double-cta__subheadline {
    padding-left: 10px;
    margin-bottom: 15px;
  }
}

/* =========================================================
   EINLEITUNG
   ========================================================= */

@media (max-width: 991px) {
  .einleitung__anwendungsbereiche {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .einleitung {
    padding: 24px 0 20px;
  }

  .einleitung h1,
  .einleitung h3,
  .einleitung p {
    max-width: 100%;
  }

  .einleitung__anwendungsbereiche {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }

  .einleitung__anwendungsbereich {
    min-height: auto;
    padding: 18px 16px;
  }

  .einleitung__anwendungsbereich-title {
    font-size: 18px;
  }

  .einleitung__anwendungsbereich-text {
    font-size: 14px;
  }

  .header_section + .einleitung {
    padding-top: 8px;
  }
}

/* EINLEITUNG – KENNZAHLEN MOBILE */

@media (max-width: 767px) {

  /* Kennzahlen-Grid */
  .einleitung
  div[style*="minmax(220px,1fr)"] {
    grid-template-columns: 1fr !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 20px 0 10px !important;

    /* Grid-Rahmen */
    border-top: 1px solid #d4d4d4 !important;
    border-left: 1px solid #d4d4d4 !important;
    border-bottom: 0 !important;
  }


  /* einzelne Kennzahl */
  .einleitung
  div[style*="minmax(220px,1fr)"]
  > div {
    box-sizing: border-box;

    width: 100%;

    padding: 18px 16px !important;

    /* alte Desktop-Border entfernen */
    border-left: 0 !important;

    /* jede Zeile schließt rechts + unten ab */
    border-right: 1px solid #d4d4d4 !important;
    border-bottom: 1px solid #d4d4d4 !important;

    text-align: center !important;
  }


  /* große grüne Kennzahl */
  .einleitung
  div[style*="minmax(220px,1fr)"]
  strong {
    font-size: 26px !important;
    line-height: 1.15 !important;

    margin-bottom: 7px !important;
  }


  /* Beschreibung */
  .einleitung
  div[style*="minmax(220px,1fr)"]
  span {
    font-size: var(--font-size-p-mobile) !important;
    line-height: 1.6 !important;
  }

}

/* =========================================================
   HOME TEXT GANZE BREITE
   ========================================================= */

@media (max-width: 1100px) {

  .home-text-ganze-breite {
    margin: 30px 0px 20px;
  }

  .home-text-ganze-breite__inner {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
  }

  .home-text-ganze-breite__text {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .home-text-ganze-breite {
    margin: 30px 0px 20px;
  }

  .home-text-ganze-breite__title,
  .home-text-ganze-breite__text {
    max-width: 100%;
  }

  .home-text-ganze-breite__title {
    margin-bottom: 20px;
  }

  .home-text-ganze-breite__text {
    margin-bottom: 24px;
  }

  .home-text-ganze-breite__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

/* =========================================================
   PRODUKTHIGHLIGHTS
   ========================================================= */

/* Bezugspunkt für Platzhalter und Icon */
.ph_right {
  position: relative;
}

/* Identische Größe und Position */
.ph_right::after,
.ph_right .ph_icon {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 20px;
  left: 20px;

  width: 90px;
  height: 90px;
  max-width: none;
  max-height: none;

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transform: none;
}

/* Platzhalter hinter dem Icon, ohne Beschriftung */
.ph_right::after {
  content: "";
  z-index: 2;
}

/* Echtes Icon über dem Platzhalter */
.ph_right .ph_icon {
  display: block;
  z-index: 3;

  object-fit: contain;
  object-position: center;

  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .ph_card {
    grid-template-columns: 360px 1fr;
    min-height: 400px;
  }

  .ph_left {
    padding: 34px 28px 32px;
  }

  .ph_img {
    width: 88%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .produkthighlights {
    padding: 24px 16px 40px;
    margin-bottom: 0;
  }

  .produkthighlights_title {
    margin-bottom: 20px;
  }

  .ph_slider {
    display: block;
  }

  .ph_viewport {
    overflow: hidden;
  }

  .ph_card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    background: #ececec;
  }

  .ph_left {
    order: 2;
    padding: 24px 20px;
  }

  .ph_right {
    order: 1;
    position: relative;
    min-height: 240px;
  }

  /* Platzhalter und Icon bleiben exakt deckungsgleich */
  .ph_right::after,
  .ph_right .ph_icon {
    width: 64px;
    height: 64px;
    top: auto;
    right: auto;
    bottom: 16px;
    left: 16px;
  }

  .ph_img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .ph_h3 {
    font-size: 1.5rem;
    line-height: 1.15;
  }

  .ph_p,
  .ph_list li,
  .ph_link {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* mobil kein Flex-gap: direkt in die Ecke */
  .ph_swipe {
    right: 0;
    width: 56px;
    height: 56px;
    padding: 8px 8px 0 0;
  }

  .ph_swipe svg {
    width: 24px;
    height: 24px;
  }

  /* Pfeile (nur bei Tastatur-Fokus sichtbar) mittig ueber dem Produktbild */
  .ph_nav {
    top: 120px;
    width: 40px;
    height: 40px;
  }

  .ph_nav::before {
    width: 18px;
    height: 18px;
  }

  .ph_prev {
    left: 10px;
  }

  .ph_next {
    right: 10px;
  }
}

/* =========================================================
   HOME ANLAGENTECHNIK
   ========================================================= */

@media (max-width: 1100px) {
  .home-anlagentechnik .anlagentechnik_spalten > .anlagentechnik_spalte {
    flex: 1 1 calc((100% - 32px) / 3);
  }
}

@media (max-width: 767px) {
  .home-anlagentechnik {
    padding: 45px 0;
    row-gap: 20px;
    margin-bottom: 0px;
  }

  .home-anlagentechnik__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "text"
      "cta"
      "cards";
    row-gap: 20px;
    column-gap: 0;
  }

  .home-anlagentechnik__title,
  .home-anlagentechnik__text,
  .home-anlagentechnik p {
    max-width: 100%;
  }

  .home-anlagentechnik .weiterleitungbutton,
  .home-anlagentechnik .kontaktbutton {
    grid-area: cta;
    justify-self: stretch;
    align-self: start;
    min-height: 52px;
  }

  .home-anlagentechnik .anlagentechnik_spalten {
    gap: 12px;
    margin-top: 0;
  }

  .home-anlagentechnik .anlagentechnik_spalten > .anlagentechnik_spalte {
    flex: 1 1 100%;
  }

  .home-anlagentechnik .anlagentechnik_spalte {
    min-height: 72px;
    font-size: 0.95rem;
    padding: 16px;
  }
}

/* =========================================================
   HOME REFERENZEN
   ========================================================= */

@media (max-width: 1100px) {
  .home-referenzen {
    padding-top: 44px;
  }

  .home-referenzen__inner {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
  }

  .home-referenzen__track {
    gap: 20px;
  }

  .home-referenzen__slide {
    flex: 0 0 190px;
  }

  .home-referenzen__item {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 767px) {
    .home-referenzen {
        padding: 20px 0;
        margin: 0 0 0;
    }

  .home-referenzen__title,
  .home-referenzen h2 {
    margin-bottom: 24px;
  }

  .home-referenzen__track {
    gap: 16px;
  }

  .home-referenzen__slide {
    flex: 0 0 140px;
  }

  .home-referenzen__item {
    width: 140px;
    height: 140px;
    padding: 14px;
  }

  .home-referenzen__nav {
    margin-top: 20px;
  }

  .home-referenzen__arrow {
    font-size: 2rem;
  }
}

/* =========================================================
   HOME CASE STUDIES
   ========================================================= */

@media (max-width: 767px) {

  .home-case-studies {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .home-text-ganze-breite + .home-case-studies {
    margin-top: 20px;
  }


  /* Tabs */
  .home-case-studies__top {
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 16px;
  }


  .home-case-studies__cards-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
  }


  .home-case-studies__cards-wrap::-webkit-scrollbar {
    display: none;
  }


  .home-case-studies__cards {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 82px;

    padding: 0;

    width: max-content;
    min-width: 100%;
  }


  .home-case-studies__card {
    width: 115px;
    min-width: 115px;

    height: 72px;

    padding: 10px 8px;

    /* 20261111::font-size 0.9rem entfernt (wirkungslos) */
    line-height: 1.15;

    white-space: normal;
    overflow-wrap: break-word;

    text-align: center;

    flex: 0 0 auto;
  }


  .home-case-studies__card.is-active {
    transform: scale(1.03);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  }


  .home-case-studies__arrow {
    font-size: 1.8rem;
  }


  /* Inhalt unter den Tabs */
  .home-case-studies__grid {
    display: grid;
    grid-template-columns: 1fr;

    min-height: 0;

    background: #f1f1f1;
  }


  .home-case-studies__media {
    order: 1;

    min-height: 220px;
    height: 220px;
  }


  .home-case-studies__image {
    min-height: 220px;
    height: 220px;

    object-fit: cover;
  }


  .home-case-studies__text {
    order: 2;

    padding: 24px 20px;
  }


  .home-case-studies__cards-wrap::before,
  .home-case-studies__cards-wrap::after {
    width: 24px;
  }

}

/* =========================================================
   HOME HINWEIS BLOCK / HOME KARRIERE BLOCK
   ========================================================= */

@media (max-width: 991px) {
  .home-hinweis-block {
    padding: 40px 0;
  }

  .home-hinweis-block__inner {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-hinweis-block__media,
  .home-hinweis-block--reverse .home-hinweis-block__media {
    order: 1;
    margin: 0 0 -30px;
    min-height: auto;
  }

  .home-hinweis-block__image {
    height: 280px;
    min-height: 280px;
  }

  .home-hinweis-block__content,
  .home-hinweis-block--reverse .home-hinweis-block__content {
    order: 2;
    min-height: auto;
    padding: 60px 28px 35px;
  }
}

@media (max-width: 767px) {
  .home-hinweis-block,
  .home-karriere-block {
    padding: 40px 0;
    margin-bottom: 0px;
  }

  .home-hinweis-block__inner,
  .home-karriere-block .home-hinweis-block__inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .home-hinweis-block__media,
  .home-hinweis-block--reverse .home-hinweis-block__media,
  .home-karriere-block .home-hinweis-block__media {
    order: 1;
    margin: 0;
    min-height: 240px;
    display: block;
  }

  .home-hinweis-block__image,
  .home-karriere-block .home-hinweis-block__image {
    width: 100%;
    height: 240px;
    min-height: 240px;
    object-fit: cover;
    clip-path: none;
  }

  .home-hinweis-block__content,
  .home-hinweis-block--reverse .home-hinweis-block__content,
  .home-karriere-block .home-hinweis-block__content {
    order: 2;
    min-height: auto;
    padding: 24px 20px;
    background: #f2f2f2;
  }

  .home-hinweis-block__title,
  .home-karriere-block .home-hinweis-block__title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .home-hinweis-block__text,
  .home-karriere-block .home-hinweis-block__text {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .home-hinweis-block__buttons,
  .home-karriere-block .home-hinweis-block__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .home-hinweis-block__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-hinweis-block__content {
    padding: 28px 20px;
  }
}

/* =========================================================
   HOME AUFLOCKERUNGSBLOCK
   ========================================================= */

@media (max-width: 1100px) {
  .home-auflockerungsblock {
    padding: 70px 0;
  }

  .home-auflockerungsblock__bg {
    height: 260px;
  }

  .home-auflockerungsblock__container {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
    min-height: 360px;
  }

  .home-auflockerungsblock__content {
    width: 48%;
    padding: 50px 30px 50px 0;
  }

  .home-auflockerungsblock__content::before {
    display: none;
  }

  .home-auflockerungsblock__media {
    right: var(--container-padding-tablet);
    width: 46%;
  }

  .home-auflockerungsblock__image {
    height: 300px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 767px) {
  .home-auflockerungsblock {
    padding: 40px 0;
  }

  .home-auflockerungsblock__container {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
  }

  .home-auflockerungsblock__media {
    position: relative;
    order: 1;
    width: 100%;
    margin-top: 0;
    right: auto;
    top: auto;
    transform: none;
  }

  .home-auflockerungsblock__image {
    width: 100%;
    height: 240px;
    clip-path: none;
  }

  .home-auflockerungsblock__content {
    order: 2;
    width: 100%;
    min-height: auto;
    padding: 24px 20px;
    background: #f2f2f2;
  }

  .home-auflockerungsblock__content::before {
    display: none;
  }

  .home-auflockerungsblock__text {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .home-auflockerungsblock__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

/* =========================================================
   HOME FAQ
   ========================================================= */

@media (max-width: 767px) {
  .home-faq {
    padding: 40px 0;
    margin-bottom: 0px;
  }

  .home-faq__title {
    margin-bottom: 24px;
  }

  .home-faq__list {
    gap: 16px;
    margin-top: 24px;
  }

  .home-faq__trigger {
    padding: 20px;
    gap: 14px;
  }

  .home-faq__question {
    font-size: 16px;
    line-height: 1.4;
  }

  .home-faq__answer-inner {
    padding: 0 20px 20px;
  }

  .home-faq__icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

/* =========================================================
   HOME KARTE
   ========================================================= */

@media (max-width: 1199px) {

  .home-karte__content-wrap {
    width: 100%;

    padding:
      60px
      clamp(390px, 43vw, 500px)
      60px
      50px;
  }


  .home-karte__media-wrap {
    width: clamp(400px, 48vw, 560px);
    right: 20px;
  }

}

@media (max-width: 991px) {

  .home-karte {
    margin-bottom: 0;
  }


  .home-karte__inner {
    height: auto;
    min-height: 0;
  }


  .home-karte__content-wrap {
    width: 100%;

    height: auto;
    min-height: 0;

    padding: 40px;
  }


  .home-karte__media-wrap {
    position: relative;

    top: auto;
    right: auto;

    width: 100%;
    max-width: 100%;
    height: auto;

    transform: none;

    margin-top: 30px;
  }


  .home-karte__media {
    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;
  }


  .home-karte__image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    clip-path: none;
  }

}

@media (max-width: 767px) {

  .home-karte {
    padding: 20px 0;
    overflow: hidden;
  }


  .home-karte__inner {
    width: 100%;
    max-width: var(--container-width);

    margin: 0 auto;

    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);

    box-sizing: border-box;
  }


  .home-karte__content-wrap {
    width: 100%;
    min-height: auto;

    margin: 0;
    padding: 0;
  }

  .home-karte__media-wrap {
    display: none;
  }


  .home-karte__content {
    padding: 24px 20px;
  }


  .home-karte__title {
    max-width: 100%;
    margin-bottom: 18px;
  }


  .home-karte__text {
    max-width: 100%;
    margin-bottom: 22px;
  }


  .home-karte__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

}

/* Weltkarte auf die Höhe des Hintergrundbereichs begrenzen */
@media (min-width: 992px) {

  .home-karte__inner {
    position: relative;
  }

  .home-karte__media-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    height: auto;
    min-height: 0;
    transform: none;

    /* Innenabstand zum oberen und unteren Rand */
    padding: 40px 0;
    box-sizing: border-box;
  }

  .home-karte__media {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .home-karte__image {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;
    transform: none;
    clip-path: none;
  }

}

/* =========================================================
   HOME AKTUELLE NEWS
   ========================================================= */

@media (max-width: 1100px) {
  .home-aktuelle-news__inner {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
  }
}

@media (max-width: 767px) {
  .home-aktuelle-news {
    padding: 40px 0;
    margin-bottom: 0px;
  }

  .home-aktuelle-news__top {
    margin-bottom: 20px;
  }

  .home-aktuelle-news__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-aktuelle-news__image {
    height: 220px;
  }

  .home-aktuelle-news__card-title {
    font-size: 17px;
  }

  .home-aktuelle-news__excerpt {
    font-size: 14px;
    line-height: 1.5;
  }

  .home-aktuelle-news__bottom {
    margin-top: 24px;
  }
}

/* =========================================================
   OVERVIEW HERO / INTRO
   ========================================================= */

@media (max-width: 767px) {
  .overview-hero,
  .overview-intro {
    padding: 24px 0 0;
  }

  .overview-hero__inner,
  .overview-intro__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .overview-hero__media,
  .overview-intro__media {
    min-height: 220px;
  }

  .overview-hero__media::before,
  .overview-intro__media::before {
    display: none;
  }

  .overview-hero__headline,
  .overview-intro h2 {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .overview-hero__subheadline,
  .overview-intro__subheadline {
    font-size: 1rem;
  }

  .overview-hero__content,
  .overview-intro__text {
    padding: 20px 0 0;
  }
}

/* =========================================================
   MODULE TEXT IMAGE
   ========================================================= */

@media (max-width: 991px) {
  .module-text-image--standard .module-text-image__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .module-text-image--standard.is-image-left .module-text-image__content,
  .module-text-image--standard.is-image-left .module-text-image__media,
  .module-text-image--standard.is-image-right .module-text-image__content,
  .module-text-image--standard.is-image-right .module-text-image__media {
    order: initial;
  }

  .module-text-image--spezial {
    padding: 40px 0;
  }

  .module-text-image--spezial .module-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .module-text-image--spezial .module-text-image__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .module-text-image--spezial.is-image-left .module-text-image__media,
  .module-text-image--spezial.is-image-right .module-text-image__media {
    order: 1;
    margin: 0 0 -14px;
    min-height: auto;
  }

  .module-text-image--spezial.is-image-left .module-text-image__content,
  .module-text-image--spezial.is-image-right .module-text-image__content {
    order: 2;
    min-height: auto;
    padding: 60px 28px 35px;
  }

  .module-text-image--spezial .module-text-image__image {
    width: 100%;
    height: 280px;
    min-height: 280px;
    object-fit: cover;
  }
}

@media (max-width: 575px) {
  .module-text-image--spezial .module-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .module-text-image--spezial .module-text-image__content,
  .module-text-image--spezial.is-image-left .module-text-image__content,
  .module-text-image--spezial.is-image-right .module-text-image__content {
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {

  /* STANDARD VARIANTE */

  .module-text-image--standard .module-text-image__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }


  /* Auf Mobile immer Text zuerst, Bild danach */

  .module-text-image--standard.is-image-left .module-text-image__content,
  .module-text-image--standard.is-image-right .module-text-image__content {
    order: 1;
  }

  .module-text-image--standard.is-image-left .module-text-image__media,
  .module-text-image--standard.is-image-right .module-text-image__media {
    order: 2;
  }


  /* Inhalt */

  .module-text-image--standard .module-text-image__headline {
    margin-bottom: 18px;
  }

  .module-text-image--standard .module-text-image__subheadline {
    margin-bottom: 16px;
  }

  .module-text-image--standard .module-text-image__text {
    margin-bottom: 0;
  }


  /* CTA */

  .module-text-image--standard .module-text-image__actions {
    margin-top: 22px;
  }


  /* Bild */

  .module-text-image--standard .module-text-image__media {
    width: 100%;
    margin: 0;
  }

  .module-text-image--standard .module-text-image__image {
    display: block;
    width: 100%;
    height: auto;
  }

}

/* =========================================================
   MODULE GENERISCH
   ========================================================= */

@media (max-width: 767px) {
  .module-text-image__grid,
  .module-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .module-text-image__media,
  .module-hero__media,
  .module-card__media {
    width: 100%;
  }

  .module-text-image__image,
  .module-text-image__media img,
  .module-hero__image,
  .module-card__media img {
    width: 100%;
    height: auto;
  }
}

/* =========================================================
   MODULE CARDS – TABLET / MOBILE
   ========================================================= */


/* TABLET */

@media (max-width: 991px) {

  .module-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .module-card {
    min-width: 0;
  }

  .module-card:has(.partner-card) .module-card__content {
    padding: 18px;
  }

}


/* MOBILE */

@media (max-width: 767px) {

  /* ---------------------------------------------------------
     GRID
     --------------------------------------------------------- */

  .module-cards__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }


  /* ---------------------------------------------------------
     NORMALE CARD
     --------------------------------------------------------- */

  .module-card {
    min-height: 0;
    min-width: 0;
  }

  .module-card__content {
    padding: 16px;
  }


  /* Überschrift der einzelnen Card */
  .module-card__title {
    font-size: var(--font-size-h3-mobile);
    line-height: 1.2;
    margin-bottom: 14px;
  }


  /* Fließtext */
  .module-card__text,
  .module-card__text p {
    font-size: var(--font-size-p-mobile);
    line-height: 1.6;
  }

  .module-card__text p:last-child {
    margin-bottom: 0;
  }


  /* ---------------------------------------------------------
     PARTNER CARDS
     --------------------------------------------------------- */

  .module-card:has(.partner-card) .module-card__content {
    padding: 16px;
  }

  .module-card:has(.partner-card) .module-card__title {
    font-size: var(--font-size-h3-mobile);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .partner-card {
    font-size: var(--font-size-p-mobile);
    line-height: 1.6;
  }

  .partner-card p {
    font-size: inherit;
    line-height: inherit;
  }


  /* KENNZAHLEN / STATISTIKEN UNTEREINANDER */

  .module-cards__text
  > div[style*="grid-template-columns: repeat(3"] {

    grid-template-columns: 1fr !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 20px 0 10px !important;
  }


  /* einzelne Kennzahl */

  .module-cards__text
  > div[style*="grid-template-columns: repeat(3"]
  > div {

    padding: 18px 0 !important;

    border-left: 0 !important;

    text-align: left !important;
  }


  /* Trennlinie zwischen den Zeilen */

  .module-cards__text
  > div[style*="grid-template-columns: repeat(3"]
  > div + div {

    border-top: 1px solid #d4d4d4 !important;
  }


  /* große grüne Kennzahl */

  .module-cards__text
  > div[style*="grid-template-columns: repeat(3"]
  strong {

    font-size: 26px !important;
    line-height: 1.15 !important;

    margin-bottom: 6px !important;
  }


  /* Beschreibung der Kennzahl */

  .module-cards__text
  > div[style*="grid-template-columns: repeat(3"]
  span {

    font-size: var(--font-size-p-mobile) !important;
    line-height: 1.6 !important;
  }

}

/* =========================================================
   MODULE PROCESS
   ========================================================= */

@media (max-width: 767px) {
  .module-process__grid {
    gap: 10px;
  }

  .module-process__item,
  .module-process__link {
    width: 100%;
  }

  .module-process__title {
    white-space: normal;
  }
}

/* =========================================================
   MODULE CONFIGURATOR
   ========================================================= */

@media (max-width: 767px) {
  .module-configurator__trigger {
    padding: 18px;
  }

  .module-configurator__content-inner {
    padding: 0 18px 18px;
  }
}

/* =========================================================
   MODULE CTA
   ========================================================= */

@media (max-width: 767px) {

  .module-cta__inner {
    padding: 24px 20px;
  }

  .module-cta__headline {
    margin-bottom: 16px;
  }

  .module-cta__text {
    margin-bottom: 22px;
  }

  .module-cta__text p:last-child {
    margin-bottom: 0;
  }

  .module-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .module-cta__actions .weiterleitungbutton,
  .module-cta__actions .weiterleitungbutton--outline {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

}

/* =========================================================
   MODULE DOUBLE CTA
   ========================================================= */

@media (max-width: 991px) {
  .module-double-cta__gallery {
    min-height: auto;
    height: auto;
    padding: 28px 24px 24px;
  }

  .module-double-cta__gallery-grid {
    height: auto;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {
  .module-double-cta__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "headline"
      "subheadline"
      "text"
      "gallery"
      "actions";
    gap: 5px;
  }

  .module-double-cta__content {
    display: contents;
  }

  .module-double-cta__headline {
    grid-area: headline;
    margin-bottom: 0;
  }

  .module-double-cta__subheadline {
    grid-area: subheadline;
                margin: 20px 0 20px;
  }

  .module-double-cta__text {
    grid-area: text;
    margin-bottom: 0;
  }

  .module-double-cta__gallery {
    grid-area: gallery;
    padding: 20px 16px 20px;
    height: auto;
  }

  .module-double-cta__actions {
    grid-area: actions;
    margin-top: 0;
    flex-direction: column;
    gap: 12px;
  }

  .module-double-cta__actions .weiterleitungbutton {
    width: 100%;
    justify-content: center;
  }

  .module-double-cta__gallery-title {
    margin-bottom: 14px;
  }

  .module-double-cta__gallery-slider {
    position: relative;
  }

  .module-double-cta__gallery-viewport {
    overflow: hidden;
    width: 100%;
  }

  .module-double-cta__gallery-grid {
    display: flex;
    gap: 0;
    transition: transform 0.35s ease;
    will-change: transform;
    height: auto;
  }

  .gallery-item {
    flex: 0 0 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border: 0;
    background: transparent;
  }

  .module-double-cta__gallery-trigger {
    height: 100%;
  }

  .module-double-cta__gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .module-double-cta__gallery-nav {
    display: flex;
  }

  .gallery-item::after {
    display: none;
  }

  .module-double-cta__gallery-trigger::after {
    display: none;
  }

  .module-double-cta__lightbox-content {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    margin: 10px auto;
    grid-template-columns: 44px 1fr 44px;
  }

  .module-double-cta__lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 120px);
  }

  .module-double-cta__lightbox-close,
  .module-double-cta__lightbox-prev,
  .module-double-cta__lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .module-double-cta__lightbox-close {
    top: 6px;
    right: 0;
  }
}

/* =========================================================
   MODULE TEASER GRID – MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .module-teaser-grid {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .module-teaser-grid__subheadline {
    margin: 20px 0 20px;

    font-size: var(--font-size-header-p);
    font-weight: 700;
    line-height: 1.5;

    letter-spacing: 0.08em;
    color: var(--gruen);

    text-transform: none;
  }

  /* GRID */

  .module-teaser-grid__grid {
    grid-template-columns: 1fr;

    gap: 12px;

    margin-top: 24px;
  }


  /* CARD */

  .module-teaser-grid__card {
    min-width: 0;
    min-height: 0;
  }


  /* INHALT */

  .module-teaser-grid__content {
    min-height: 0;

    padding: 16px 46px 16px 16px;
  }


  /* TITEL */

  .module-teaser-grid__card-title {
    font-size: var(--font-size-h3-mobile);
    line-height: 1.2;

    margin-bottom: 14px;
  }


  /* TEXT */

  .module-teaser-grid__card-text {
    font-size: var(--font-size-p-mobile);
    line-height: 1.6;
  }

  .module-teaser-grid__card-text p {
    font-size: inherit;
    line-height: inherit;
  }

  .module-teaser-grid__card-text p:last-child {
    margin-bottom: 0;
  }


  /* PFEIL */

  .module-teaser-grid__arrow {
    right: 16px;

    font-size: 30px;
    line-height: 1;
  }

}

/* =========================================================
   KONTAKTSEITE
   ========================================================= */

@media (max-width: 991px) {
  .kontaktseite-hero__inner {
    grid-template-columns: 1fr;
  }

  .kontaktseite-hero__content {
    order: 2;
    padding: 32px 24px;
  }

  .kontaktseite-hero__media {
    order: 1;
    min-height: 260px;
  }

  .kontaktseite-hero__image {
    min-height: 260px;
  }

  .kontaktseite__container,
  .kontaktseite-hero__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .kontaktseite__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kontaktseite__spacer {
    display: none;
  }
}

@media (max-width: 575px) {
  .kontaktseite__container,
  .kontaktseite-hero__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .kontaktseite-hero__content,
  .kontaktseite__form-box,
  .kontaktseite__sidebar-box,
  .kontaktseite__map-box {
    padding: 20px;
  }

  .kontaktseite__map iframe {
    height: 260px;
  }
}

/* =========================================================
   MASCHINEN BLOCK
   ========================================================= */

@media (max-width: 1100px) {
  .maschinen-block__nav {
    grid-template-columns: 1fr;
  }

  .maschinen-block__cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .maschinen-block {
    padding: 40px 0;
  }

  .maschinen-block__panel {
    padding: 18px;
  }

  .maschinen-block__nav-item {
    min-height: 60px;
    font-size: 20px;
    padding: 14px 16px;
  }

  .maschinen-block__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .maschinen-card__headline {
    font-size: 20px;
  }

  .maschinen-card__subheadline {
    font-size: 16px;
  }
}

/* =========================================================
   CASE STUDY PDF DOWNLOAD – MOBILE
   ========================================================= */

   @media (max-width: 767px) {

  .module-text-block__subheadline {
    font-size: var(--font-size-header-p);
    font-weight: 700;
    line-height: 1.5;
    color: var(--gruen);
    text-transform: none;

        margin: 20px 0 20px;
  }

}

@media (max-width: 767px) {

  /* kompletter PDF-Block */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;

    width: 100% !important;
    min-height: 0 !important;

    padding: 20px !important;

    box-sizing: border-box;
  }


  /* linker Bereich: Icon + Text */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  > div:first-child {
    width: 100% !important;

    flex: none !important;

    align-items: flex-start !important;
    gap: 14px !important;

    min-width: 0;
  }


  /* PDF Icon */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  > div:first-child
  > div:first-child {
    flex: 0 0 44px !important;

    width: 44px !important;
    height: 50px !important;

    font-size: 13px !important;
  }


  /* Textbereich neben dem Icon */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  > div:first-child
  > div:last-child {
    flex: 1;
    min-width: 0;
  }


  /* Überschrift */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  strong {
    margin: 0 0 6px !important;

    font-size: 17px !important;
    line-height: 1.3 !important;
  }


  /* Beschreibung */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  span {
    font-size: var(--font-size-p-mobile) !important;
    line-height: 1.5 !important;
  }


  /* unnötige BRs aus dem WYSIWYG ausblenden */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  strong br,
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  span br {
    display: none;
  }


  /* Absatz um den Button */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  > p {
    width: 100%;

    margin: 0 !important;
  }


  /* Download Button */
  .module-text-block__text
  > div[style*="border-left: 4px solid #1e9d5c"]
  > p
  > a {
    display: flex !important;

    width: 100% !important;
    max-width: 100% !important;

    min-height: 48px;

    padding: 10px 18px !important;

    box-sizing: border-box;

    flex: none !important;
  }

}

/* =========================================================
   DEFAULT SINGLE / NEWS – MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .default-single {
    padding: 30px 0;
  }


.default-single__inner {
  width: 100%;
  max-width: 100%;

  margin: 0 auto;

  padding-left: 16px;
  padding-right: 16px;

  box-sizing: border-box;
}

  /* Seitentitel */

  .default-single__title {
    max-width: 100%;

    margin-bottom: 28px;

    font-size: var(--font-size-h1-mobile);
    line-height: 1.1;
  }


  /* Inhalt */

  .default-single__content,
  .job-single__form {
    max-width: 100%;
  }


  /* H2 */

  .default-single__content h2 {
    margin: 34px 0 20px;

    padding-bottom: 14px;

    font-size: var(--font-size-h2-mobile);
    line-height: 1.15;
  }


  /* H3 */

  .default-single__content h3 {
    margin: 28px 0 12px;

    font-size: var(--font-size-h3-mobile);
    line-height: 1.25;
  }


  /* Text */

  .default-single__content p,
  .default-single__content li {
    font-size: var(--font-size-p-mobile);
    line-height: 1.6;
  }


  /* Bilder */

  .default-single__content img {
    width: 100%;
    height: auto;

    margin: 22px 0;
  }


  .default-single__content h3:has(img) {
    margin: 24px 0;
  }


  /* Listen */

  .default-single__content ul,
  .default-single__content ol {
    padding-left: 20px;
    margin-bottom: 20px;
  }


  /* Zitate */

  .default-single__content blockquote {
    margin: 24px 0;

    padding: 18px 16px;
  }


  /* Formular */

  .job-single__form {
    margin-top: 30px;

    padding: 20px;
  }

}
                                    /*______________________________________JOB BEITRÄGE______________________________________
                                      ______________________________________JOB BEITRÄGE______________________________________
                                      ______________________________________JOB BEITRÄGE______________________________________*/

/* =========================================================
   JOB SINGLE
   ========================================================= */

.job-single,
.default-single {
  width: 100%;
  padding: 80px 0;
  box-sizing: border-box;
}

.job-single__inner,
.default-single__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

/* mobiler Rand wie Logo und uebrige Seiten (die Regel oben ueberschreibt sonst die fruehere Mobile-Regel) */
@media (max-width: 767px) {
  .default-single__inner {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }
}

.job-single__header,
.job-single__section {
  border-bottom: 1px solid #6D6D6D;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.job-single__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.job-single__title,
.default-single__title {
  margin: 0 0 32px;
}

/* Beitraege nutzen die volle Containerbreite, nur das Bewerbungsformular bleibt begrenzt */
.job-single__form {
  max-width: 980px;
}


/* =========================================================
   JOB SINGLE TOP
   ========================================================= */

.job-single__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.job-single__top-image,
.job-single__image {
  width: 100%;
}

.job-single__top-image img,
.job-single__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.job-single__top-content {
  display: flex;
  flex-direction: column;
}

.job-single__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.job-single__fact-box {
  border: 1px solid var(--mittelgrau);
  padding: 20px;
  background: #ffffff;
}

.job-single__fact-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--gruen);
}

.job-single__fact-value {
  display: block;
}

.job-single__intro,
.job-single__text {
  background: #DADADA;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   JOB SINGLE SECTION TITLE
   ========================================================= */

.job-single__section-title {
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 18px;
}

.job-single__section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 3px;
  background: var(--gruen);
}


/* =========================================================
   JOB SINGLE GRID / OVERLAP
   ========================================================= */

:root {
  --job-overlap: -10%;
  --job-button-offset: 0%;
}

.job-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.job-single__image {
  position: relative;
  z-index: 1;
  margin-top: 15px;
}

/* Bild / Text Position */
.job-single__grid:not(.job-single__grid--reverse) .job-single__image {
  grid-column: 1;
}

.job-single__grid:not(.job-single__grid--reverse) > div:last-child {
  grid-column: 2;
}

.job-single__grid--reverse > div:first-child {
  grid-column: 1;
}

.job-single__grid--reverse .job-single__image {
  grid-column: 2;
}

/* Textbox */
.job-single__text {
  position: relative;
  z-index: 2;
}

.job-single__grid:not(.job-single__grid--reverse) .job-single__text {
  margin-left: var(--job-overlap);
}

.job-single__grid--reverse .job-single__text {
  margin-right: var(--job-overlap);
}

/* Textabstände */
.job-single__text p:first-child {
  margin-top: 0;
}

.job-single__text p:last-child {
  margin-bottom: 0;
}

/* Button */
.job-single__button-wrap {
  margin-top: 20px;
}

.job-single__button-wrap .weiterleitungbutton {
  display: inline-flex;
}

/* Button Position je nach Layout */
.job-single__grid:not(.job-single__grid--reverse) .job-single__button-wrap {
  display: flex;
  justify-content: flex-end;
}

.job-single__grid--reverse .job-single__button-wrap {
  display: flex;
  justify-content: flex-start;
  margin-left: var(--job-button-offset);
}

/* =========================================================
   JOB SINGLE MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .job-single,
  .job-single__header {
    text-align: center;
  }

  .job-single__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .job-single__section {
    padding-left: 0;
    padding-right: 0;
  }

  .job-single__top,
  .job-single__grid,
  .job-single__grid--reverse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .job-single__top-image,
  .job-single__image,
  .job-single__top-content,
  .job-single__grid > div {
    width: 100%;
  }

  .job-single__top-content,
  .job-single__intro,
  .job-single__facts {
    width: 100%;
  }

  .job-single__top-image img,
  .job-single__image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .job-single__facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .job-single__fact-box,
  .job-single__intro,
  .job-single__text {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 14px;
  }

  .job-single__grid:not(.job-single__grid--reverse) .job-single__text,
  .job-single__grid--reverse .job-single__text {
    margin-left: 0;
    margin-right: 0;
  }

  .job-single__grid:not(.job-single__grid--reverse) .job-single__button-wrap,
  .job-single__grid--reverse .job-single__button-wrap,
  .job-single__button-wrap {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  .job-single__section-title {
    text-align: center;
  }

  .job-single__section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Reihenfolge fix für Reverse Layout */
  .job-single__grid--reverse .job-single__image {
    order: 1;
  }

  .job-single__grid--reverse > div:first-child {
    order: 2;
  }
}

                                    /*______________________________________FOOTER______________________________________
                                      ______________________________________FOOTER______________________________________
                                      ______________________________________FOOTER______________________________________*/



/* Dariia hat(??) footer gemacht */

/* main section:last-child {
    margin-bottom: 0;
} */

footer {
margin-bottom: 0;
width: 100vw;
margin-left: calc(50% - 50vw);
position: relative;
clip-path: polygon(25% 0%, 100% 0, 100% 50%, 100% 100%, 0 100%, 0% 50%);}

footer p
{text-transform: none;
}

/* PFEILE GROßE MENÜ */

.footer_links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_links li {
    margin-bottom: 12px;
}

.footer_links a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: #fff;
    text-decoration: none;
}

.footer_links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: translateY(-50%) rotate(45deg);
}

footer h2, h3
{padding:0px;
margin:0px;}


/*HELLER BLOCK MIT KONTAKT*/

.footer_kontakt
{
  margin-left: auto;
  background: #f5f5f5;
  padding: 60px 0px;
}

  .footer_kontakt_grid
  {width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;}


    .footer_kontakt_grid_1 {
    grid-column: 2;
    }
    .footer_kontakt_grid_1 p
    {padding-top: 30px;}

    .footer_kontakt_grid_2 {
    grid-column: 3;
    }

    .fa-solid
    {
        margin-right: 10px;
        margin-bottom: 5px;
    }

.social-icons a i {
    display: block;
    font-size: 24px;
    line-height: 1;
    }

    .social-icons a {
    all: unset;
    cursor: pointer;
    display: inline-block;
    margin-right:15px;
    margin-top: 10px;
}

/* 20261103::Social-Icons im Footer beim Hover/Fokus leicht vergroessern */
.social-icons a i {
    transition: transform 0.2s ease;
}

.social-icons a:hover i,
.social-icons a:focus-visible i {
    transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
    .social-icons a i {
        transition: none;
    }
}

    .footer_kontakt_grid_3 {
    grid-column: 4;}

    .footer_kontakt_grid_3 h3
    {text-transform: none;}

    .made_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;}

    .qua {
    width: 16px;
    height: 24px;}

.qua.grau1 {background-color: #050506;}
.qua.grau2 {background-color: #6d6d6d;}
.qua.grau3 {background-color: #dadada;}

.footer_kontakt_grid_1 h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.footer_kontakt_grid_1 h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: #1e9d5c;}


/*GROßER BLOCK MIT DUNKELGRAUER HG*/

.footer_headline 
{color: #ffffff;
text-transform: none;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.footer_headline::after
{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: #1e9d5c;}

.footer_dunkel_grau
{
background-color: #4a4a49;
padding: 60px 0px;}

.footer_dunkel_grau_grid
{width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Footer-Menues: schmale Bildschirme max. 2 nebeneinander (nur erste Ebene: depth in footer.php) */
@media (max-width: 991px) {
  .footer_dunkel_grau_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .footer_dunkel_grau_grid {
    width: calc(100% - 40px);
    gap: 30px 20px;
  }
}

.footer_kontakt_grid_1 h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.footer_kontakt_grid_1 h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: #1e9d5c;}



/*COPYRIGHT TEXT GANZ UNTEN*/
.copyright-text
{
 background-color: #6d6d6d;
padding: 30px 0px;
}

.copyright-text p
{color: #dadada;
    font-size: 1.25rem;
}

 .copyright-text a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: #dadada;
    text-decoration: none;
}

.footer_impressum li
{
display: inline-block;
}

  .footer_impressum {
    display: flex;
    flex-direction:row;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.footer_impressum li {
    line-height: 1.5;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: black;
    text-transform: none;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;}

.copyright-text-grid
{width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}


/*MOBILE*/
@media (max-width: 48rem) {

  footer {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

.footer_kontakt
  {clip-path: polygon(61% 0, 100% 66%, 100% 100%, 0 100%, 0 0);}

/*HELLER BLOCK MIT KONTAKT*/

.footer_kontakt
{
  padding: 30px 0px;
}

.footer_kontakt_grid
  {
    grid-template-columns: 1fr 1fr;
    gap: 0px;}


    .footer_kontakt_grid_1 {
    grid-column: 1;
    }
    .footer_kontakt_grid_1 p
    {padding-top: 10px;}
 

    .footer_kontakt_grid_2 {
    grid-column: 1;
    }

    .footer_kontakt_grid_3 {
      grid-column: 2;
    }





/*COPYRIGHT TEXT GANZ UNTEN*/

.copyright-text-grid
{
grid-template-columns: 1fr;
}
.copyright-text a {
    display: inline-block;
    padding-left: 0px;}

.kontakt_footer p, a {
    font-size: 1.2rem;}

    .copyright-text p {
    font-size: 1.2rem;}

.copyright-text-grid
{
  gap: 0px;
}
}

/* =========================================================
   RECHTSTEXTE (Template: rechtstexte.php)
   Impressum, Datenschutz, Hinweisgebersystem, AGB
   ========================================================= */

.legal-page {
  width: 100%;
  padding: 60px 0 80px;
  background: #ffffff;
}

.legal-page__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.legal-page__content {
  color: #111111;
  font-size: var(--font-size-p);
  line-height: 1.65;
}

/* Ueberschriften */

.legal-page__content h1 {
  margin: 0 0 42px;
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.08;
  color: #111111;
}

.legal-page__content h2 {
  margin: 48px 0 24px;
  padding-bottom: 16px;
  font-size: var(--font-size-h2);
  line-height: 1.15;
  color: #111111;
}

.legal-page__content h2::after {
  width: 56px;
}

.legal-page__content h3 {
  margin: 36px 0 12px;
  font-size: var(--font-size-h3);
  line-height: 1.25;
  color: #111111;
}

.legal-page__content h3 strong {
  font-weight: inherit;
}

/* kein zusaetzlicher Abstand direkt unter der H1 */
.legal-page__content h1 + *,
.legal-page__content h1 + * > :first-child,
.legal-page__content h1 + ol > li:first-child > h2 {
  margin-top: 0;
}

/* Text */

.legal-page__content p,
.legal-page__content li,
.legal-page__content address {
  font-size: var(--font-size-p);
  line-height: 1.65;
  color: #111111;
}

.legal-page__content p {
  margin: 0 0 18px;
  text-transform: none;
}

.legal-page__content address {
  margin: 0 0 18px;
  font-style: normal;
}

.legal-page__content strong {
  font-weight: 700;
}

/* Listen */

.legal-page__content ul,
.legal-page__content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.legal-page__content li {
  margin-bottom: 8px;
}

/* Nummerierte Abschnitte (Datenschutz): Nummer steht in der Ueberschrift */
.legal-page__content ol:has(> li > h2) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-page__content ol > li > h2:first-child::before {
  content: counter(list-item) ". ";
}

/* Links */

.legal-page__content a {
  color: var(--gruen);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-page__content a:hover {
  color: #1f7e3a;
}

/* Buttons (PDF-Downloads AGB, Meldestelle Hinweisgebersystem) */

.legal-page__content .action-btn,
.legal-page__content .haas-hinweisgeber__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 6px;
  padding: 12px 28px;
  background: #2fa84f;
  border-radius: 4px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: normal;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.legal-page__content .action-btn:hover,
.legal-page__content .haas-hinweisgeber__button:hover {
  background: #1f7e3a;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Zusatzinfos: Hinweis unter dem Button, "Stand" unter den AGB-Titeln */

.legal-page__content .haas-hinweisgeber__note,
.legal-page__content h1 + p,
.legal-page__content h2.underlined + p {
  color: var(--dunkelgrau-1);
  font-size: 1.4rem;
}

/* AGB: Trennlinie zwischen Verkaufs- und Einkaufsbedingungen */

.legal-page__content .inner-block + .inner-block {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--mittelgrau);
}

/* Mobile: Fliesstext bleibt bei 15px, Ueberschriften darauf abgestimmt */

@media (max-width: 767px) {
  .legal-page {
    padding: 40px 0 60px;
  }

  .legal-page__inner {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }

  .legal-page__content,
  .legal-page__content p,
  .legal-page__content li,
  .legal-page__content address {
    font-size: 1.5rem;
  }

  .legal-page__content h1 {
    margin-bottom: 28px;
    font-size: 2.2rem;
  }

  .legal-page__content h2 {
    margin: 36px 0 18px;
    padding-bottom: 12px;
    font-size: 1.8rem;
  }

  .legal-page__content h3 {
    margin-top: 28px;
    font-size: 1.6rem;
  }

  .legal-page__content .inner-block + .inner-block {
    margin-top: 48px;
    padding-top: 40px;
  }

  .legal-page__content .action-btn,
  .legal-page__content .haas-hinweisgeber__button {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* =========================================================
   SUCHERGEBNISSE (search.php)
   ========================================================= */

.search-page {
  width: 100%;
  padding: 60px 0 80px;
  background: #ffffff;
}

.search-page__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.search-page__title {
  margin: 0 0 32px;
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.08;
  color: #111111;
}

.search-page__form {
  max-width: 640px;
  margin-bottom: 20px;
}

.search-page__info {
  margin: 0 0 32px;
  color: var(--dunkelgrau-1);
  font-size: 1.4rem;
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--mittelgrau);
}

.search-result {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--mittelgrau);
}

.search-result__type {
  display: block;
  margin-bottom: 6px;
  color: var(--dunkelgrau-1);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-result__title {
  margin: 0 0 10px;
  padding: 0;
  font-size: var(--font-size-h3);
  line-height: 1.25;
  text-transform: none;
}

.search-result__title::after {
  display: none;
}

.search-result__title a {
  color: #111111;
  text-decoration: none;
}

.search-result__title a:hover {
  color: var(--gruen);
  text-decoration: underline;
}

.search-result__excerpt {
  margin: 0;
  color: #111111;
  font-size: var(--font-size-p);
  line-height: 1.65;
}

.search-result__excerpt mark {
  padding: 0;
  background: var(--hellgruen);
  color: inherit;
}

.search-page .navigation.pagination,
.blog-page .navigation.pagination {
  margin-top: 32px;
}

.search-page .nav-links,
.blog-page .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-page .page-numbers,
.blog-page .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1.2rem;
  border: 1px solid var(--mittelgrau);
  color: #111111;
  font-size: 1.4rem;
  text-decoration: none;
  box-sizing: border-box;
}

.search-page .page-numbers.current,
.blog-page .page-numbers.current {
  background: var(--gruen);
  border-color: var(--gruen);
  color: #ffffff;
}

.search-page a.page-numbers:hover,
.blog-page a.page-numbers:hover {
  border-color: var(--gruen);
  color: var(--gruen);
}

@media (max-width: 767px) {
  .search-page {
    padding: 40px 0 60px;
  }

  .search-page__inner {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }

  .search-page__title {
    margin-bottom: 24px;
    font-size: 2.2rem;
  }

  .search-result__title {
    font-size: 1.8rem;
  }

  .search-result__excerpt {
    font-size: 1.5rem;
  }
}

/* =========================================================
   BLOG-UEBERSICHT (blog-uebersicht.php, category.php)
   Seitennummerierung: siehe SUCHERGEBNISSE
   ========================================================= */

.blog-page {
  width: 100%;
  padding: 60px 0 80px;
  background: #ffffff;
}

.blog-page__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.blog-page__title {
  margin: 0 0 24px;
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.08;
  color: #111111;
}

.blog-page__intro {
  margin-bottom: 40px;
}

.blog-page__intro p {
  margin: 0 0 18px;
  color: #111111;
  font-size: var(--font-size-p);
  line-height: 1.65;
}

.blog-page__intro p:last-child {
  margin-bottom: 0;
}

.blog-page__empty {
  color: var(--dunkelgrau-1);
  font-size: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}

.blog-card {
  min-width: 0;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

/* Kachel ohne Unterstreichung, auch beim Hover */
.blog-card__link,
.blog-card__link:hover,
.blog-card__link:focus,
.blog-card__link * {
  text-decoration: none;
}

.blog-card__link:hover,
.blog-card__link:focus-visible {
  background-color: var(--hellgrau);
}

.blog-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card__image--placeholder {
  background: #e8e8e8;
}

.blog-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 14px 16px 18px;
}

.blog-card__date {
  margin-bottom: 6px;
  color: var(--dunkelgrau-1);
  font-size: 1.3rem;
}

.blog-card__title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  color: #111111;
  transition: color 0.25s ease;
}

.blog-card__title::after {
  display: none;
}

.blog-card__excerpt {
  margin: 0 0 12px;
  color: #111111;
  font-size: 1.4rem;
  line-height: 1.5;
}

.blog-card__more {
  margin-top: auto;
  color: var(--gruen);
  font-size: 1.4rem;
  font-weight: 600;
}

.blog-card__link:hover .blog-card__title,
.blog-card__link:focus-visible .blog-card__title {
  color: var(--gruen);
}

/* "Zurueck zur Uebersicht" unter einzelnen Beitraegen */
.default-single__back {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--mittelgrau);
}

.default-single__back a {
  color: var(--gruen);
  font-weight: 600;
  text-decoration: none;
}

.default-single__back a::before {
  content: "\2190\00a0";
}

.default-single__back a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .blog-page {
    padding: 40px 0 60px;
  }

  .blog-page__inner {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }

  .blog-page__title {
    font-size: 2.2rem;
  }

  .blog-page__intro p {
    font-size: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-card__excerpt {
    font-size: 1.5rem;
  }
}
