:root {
  --accent: rgb(141, 189, 40);
  --accent-dark: rgb(103, 145, 24);
  --accent-soft: rgb(195, 222, 132);

  --dark-section-start: rgb(35, 48, 28);
  --dark-section-end: rgb(23, 31, 19);
  --dark-surface: rgba(255, 255, 255, 0.07);
  --dark-line: rgba(255, 255, 255, 0.12);

  --text: #27312b;
  --text-soft: #667168;
  --text-light: rgba(255, 255, 255, 0.92);

  --bg: #f5f6f4;

  --shadow-soft: 0 12px 30px rgba(27, 34, 30, 0.05);
  --shadow-medium: 0 18px 44px rgba(27, 34, 30, 0.09);
  --shadow-large: 0 24px 60px rgba(27, 34, 30, 0.12);

  --content-width: 1240px;
  --content-width-wide: 1380px;
  --hero-width: 1440px;
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfcfb 0%, #f7f7f5 52%, #f4f4f2 100%);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.row-fluid,
.row,
.rowAll {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

[class*="span"],
.col,
.colAll {
  margin-left: 0 !important;
  box-sizing: border-box;
}

.BenefitsInfo .container,
.BenefitsInfo .row-fluid,
.BenefitsInfo .moduletable,
.BenefitsInfo .newsflash.newsflash-homepage {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =========================================================
   SICHERE BREITENBEGRENZUNG FÜR ALLE HAUPTBEREICHE
   ========================================================= */
.sectionAll,
.containerAll,
.rowAll,
.colAll,
.tmpl_main,
.below_tmpl_component,
.contentBottom,
.BenefitsInfo,
.article_preview,
.article-slider,
.system-message-container,
#tmpl_component {
  width: 100%;
  max-width: 100%;
}

.sectionAll,
.containerAll,
.rowAll,
.colAll,
.tmpl_main,
.below_tmpl_component,
.contentBottom,
.BenefitsInfo,
.article_preview,
.article-slider,
.system-message-container,
#tmpl_component,
.karriere-page,
.karriere-page .containerAll {
  overflow-x: clip;
}

/* =========================================================
   GLOBALE BREITEN
   Hero = breit, Content = einheitlich
   ========================================================= */
#tmpl_component .container,
.system-message-container .container,
.contentBottom .container,
.BenefitsInfo .container,
.article_preview .container,
.article-slider .container,
.tmpl_brotkrumen-nav .container {
  width: calc(100% - 64px);
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.tmpl_wide-image > .container {
  width: calc(100% - 64px);
  max-width: var(--hero-width);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  line-height: 1.16;
  margin-bottom: 18px;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  line-height: 1.22;
  margin-bottom: 16px;
  font-weight: 500;
}

h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.28;
  margin-bottom: 10px;
  font-weight: 500;
}

h4 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 600;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1rem;
}

.text-marker,
.highlight-heading {
  color: var(--accent-dark);
  font-weight: 600;
}

.readmore.btn,
.readon-button.btn,
.readon-button-wrap .btn,
a.btn,
.tmpl_wide-image-link .readmore.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  border: 0;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  box-shadow: 0 12px 26px rgba(111, 134, 103, 0.18);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter 0.3s ease;
}

.readmore.btn:hover,
.readon-button.btn:hover,
.readon-button-wrap .btn:hover,
a.btn:hover,
.tmpl_wide-image-link .readmore.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(111, 134, 103, 0.24);
  filter: brightness(1.03);
}

#tmpl_component h2,
.contentBottom .moduletable.newsflash-homepage > h2,
.article-slider h3 {
  color: var(--accent-dark) !important;
}

/* =========================================================
   HERO
   ========================================================= */
.tmpl_wide-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px;
  padding-top: 0;
  z-index: 1;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-large);
  background: #dfe5de;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 560px;
  max-height: 86vh;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transform-origin: center center;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.02) 38%, rgba(0, 0, 0, 0.01) 70%, rgba(0, 0, 0, 0.015) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.015), rgba(0, 0, 0, 0.03));
  z-index: 2;
  pointer-events: none;
}

.hero-slider .tmpl_wide-image-link,
.tmpl_main .tmpl_wide-image-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
}

.hero-slider .tmpl_wide-image-link .moduletable,
.tmpl_main .tmpl_wide-image-link .moduletable {
  width: min(var(--content-width), calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-slider .tmpl_wide-image-link .custom,
.tmpl_main .tmpl_wide-image-link .custom {
  max-width: 520px;
  width: 100%;
  padding: 24px 24px;
  border-radius: 24px;
  margin-left: auto;
  margin-right: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0.24));
  border: 1px solid rgba(255,255,255,0.34);
  box-shadow:
    0 14px 32px rgba(28, 36, 31, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.hero-slider .tmpl_wide-image-link h1,
.tmpl_main .tmpl_wide-image-link h1 {
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  line-height: 1.14;
  font-weight: 500;
  margin: 0 0 14px;
  color: #233028;
  text-align: left !important;
}

.hero-slider .tmpl_wide-image-link p,
.tmpl_main .tmpl_wide-image-link p {
  margin: 0;
  font-size: clamp(0.96rem, 1.15vw, 1.04rem);
  line-height: 1.7;
  text-align: left !important;
}

/* STANDARD-HERO FÜR UNTERSEITEN */
.tmpl_main .tmpl_wide-image .moduletable.span12 > .custom {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-large);
}

.tmpl_main .tmpl_wide-image .moduletable.span12 > .custom img {
  width: 100%;
  min-height: 560px;
  height: clamp(520px, 68vh, 760px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.tmpl_main .tmpl_wide-image .tmpl_wide-image_slide {
  position: relative;
  max-width: 100%;
}

.tmpl_main .tmpl_wide-image .tmpl_wide-image_slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 38%, rgba(0, 0, 0, 0.02) 70%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
  pointer-events: none;
}

/* =========================================================
   STARTSEITE / CONTENT
   ========================================================= */
#tmpl_component {
  position: relative;
  padding: 36px 0 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.24) 100%);
}

#tmpl_component::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
}

#tmpl_component .container {
  position: relative;
  z-index: 1;
}

#tmpl_component .item-page.home-page {
  max-width: 1400px;
  margin: 0 auto;
}

#tmpl_component .item-page.home-page [itemprop="articleBody"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

#tmpl_component .item-page.home-page h2 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

#tmpl_component .item-page.home-page p {
  max-width: 1150px;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--text-soft);
}

/* =========================================================
   UNTERSEITEN
   ========================================================= */
#tmpl_component .tmpl_component_sidebar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: clamp(36px, 4vw, 72px);
  padding: 10px 0 60px;
  max-width: 100%;
}

#tmpl_component .tmpl_component_sidebar > .span8.tmpl_inhalt {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}

#tmpl_component .tmpl_component_sidebar > .span4.tmpl_sidebar {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
  min-width: 340px !important;
  margin: 0 !important;
}

#tmpl_component .tmpl_inhalt .item-page,
#tmpl_component > .container > .row-fluid > .span12 > .item-page {
  padding: 34px 48px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,249,247,0.90));
  border: 1px solid rgba(210, 216, 206, 0.55);
  box-shadow:
    0 12px 34px rgba(27, 34, 30, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.52);
  max-width: 100%;
}

#tmpl_component .tmpl_inhalt .item-page h1 {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.1;
}

#tmpl_component .tmpl_inhalt .item-page h2 {
  margin-bottom: 22px;
  color: #42563a;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.22;
}

#tmpl_component .tmpl_inhalt .item-page h3 {
  margin-top: 26px;
  margin-bottom: 12px;
  color: #314233;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
}

#tmpl_component .tmpl_inhalt .item-page h4 {
  margin-top: 18px;
  margin-bottom: 10px;
  color: #526254;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#tmpl_component .tmpl_inhalt .item-page p {
  max-width: none;
  text-align: left;
  font-size: 1.03rem;
  line-height: 1.9;
  margin-bottom: 1.1rem;
  color: #4f5c53;
}

#tmpl_component .tmpl_inhalt .item-page ul {
  margin: 0 0 1.25rem 0;
  padding: 0;
  list-style: none;
}

#tmpl_component .tmpl_inhalt .item-page ul > li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: #4f5c53;
  line-height: 1.8;
}

#tmpl_component .tmpl_inhalt .item-page ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 4px rgba(141, 189, 40, 0.10);
}

/* =========================================================
   SIDEBARS
   ========================================================= */
.highlights-sidebar .custom.highlights-sidebar {
  position: sticky;
  top: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 28px 24px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgb(36, 49, 29) 0%, rgb(22, 31, 19) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-medium);
  color: rgba(255,255,255,0.92);
}

.highlights-sidebar .custom.highlights-sidebar h1,
.highlights-sidebar .custom.highlights-sidebar h2,
.highlights-sidebar .custom.highlights-sidebar h3,
.highlights-sidebar .custom.highlights-sidebar h4 {
  color: var(--accent) !important;
}

.tmpl_sidebar .moduletable .custom.ap-sidebar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ap-sidebar {
  position: sticky;
  top: 24px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  max-width: 100%;
}

/* =========================================================
   BLOG / PRODUKTE / SERVICES / PROJEKTE
   ========================================================= */
.blog .category-desc {
  margin: 0 0 34px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: none;
}

.blog .items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin: 0 0 15px !important;
  max-width: 100%;
}

.blog .items-row > [class*="span"] {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px) !important;
  max-width: calc(50% - 10px);
  margin: 0 !important;
  min-width: 0;
  display: flex;
}

.blog .item[itemscope] {
  width: 100%;
  min-height: 100%;
  padding: 20px 18px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(248,249,246,0.78));
  border: 1px solid rgba(204, 212, 198, 0.55);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color 0.3s ease;
  max-width: 100%;
}

.blog .item[itemscope]:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(186, 202, 175, 0.72);
}

.blog .item[itemscope] > a {
  flex: 0 0 88px;
  width: 88px;
  display: block;
  line-height: 0;
}

.blog .item-image {
  float: none !important;
  width: 88px;
  min-width: 88px;
  margin: 0 !important;
}

.blog .item-image img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}

.blog .item-Inhalt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.blog .item-Inhalt h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.26;
}

.blog .item-Inhalt p {
  margin-bottom: 10px;
  color: #4f5c53;
  line-height: 1.66;
  font-size: 0.95rem;
}

.blog .item-Inhalt .readmore {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 4px;
}

.blog .item-Inhalt .readmore .btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.blog .clear {
  display: none;
}

/* =========================================================
   STARTSEITE LEISTUNGEN
   ========================================================= */
.contentBottom {
  padding: 52px 0 28px;
}

.contentBottom .moduletable.newsflash-homepage > h2 {
  margin-bottom: 26px;
  text-align: center;
}

.contentBottom .newsflash.newsflash-homepage {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  align-items: stretch;
  max-width: 100%;
}

.contentBottom .news_item,
.contentBottom .news_item.span4 {
  flex: 1 1 0 !important;
  width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.contentBottom .news_item_res {
  min-height: 100%;
  padding: 48px 30px 34px !important;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.50));
  border: 1px solid rgba(255,255,255,0.46);
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

/* =========================================================
   DUNKELGRÜNER BEREICH
   ========================================================= */
.BenefitsInfo {
  padding: 64px 0 70px;
  background:
    linear-gradient(135deg, var(--dark-section-start) 0%, var(--dark-section-end) 100%);
}

.BenefitsInfo h2,
.BenefitsInfo h3,
.BenefitsInfo p,
.BenefitsInfo .newsflash-text h3 {
  color: var(--text-light);
}

/* =========================================================
   UNTERNEHMENSBEREICH
   ========================================================= */
.article_preview {
  padding: 58px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.42) 100%);
}

article_preview .row-fluid.custom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.article_preview .row-fluid.custom .span6:first-child p:last-child .readmore.btn {
  margin-left: -6px;
}

/* =========================================================
   KARRIERE SLIDER
   ========================================================= */
.article-slider {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, rgba(243,242,239,0.58) 0%, rgba(255,255,255,0.42) 100%);
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.tmpl_brotkrumen-nav {
  position: relative;
  padding: 12px 0 2px;
  z-index: 2;
  max-width: 100%;
  text-align: center;
}

.tmpl_brotkrumen-nav .container {
  display: flex;
  justify-content: center;
}

.tmpl_brotkrumen-nav .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  list-style: none;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.64));
  border: 1px solid rgba(255,255,255,0.60);
  box-shadow: 0 10px 24px rgba(27, 34, 30, 0.05);
  max-width: 100%;
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom,
.subpage-reveal-up,
.subpage-reveal-left,
.subpage-reveal-right,
.products-reveal-up,
.products-reveal-left,
.products-reveal-right {
  opacity: 0;
  transition:
    opacity 1.35s ease,
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-up,
.subpage-reveal-up,
.products-reveal-up {
  transform: translateY(22px);
}

.reveal-left,
.subpage-reveal-left,
.products-reveal-left {
  transform: translateX(-20px);
}

.reveal-right,
.subpage-reveal-right,
.products-reveal-right {
  transform: translateX(20px);
}

.reveal-zoom {
  transform: scale(0.985);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible,
.subpage-reveal-up.is-visible,
.subpage-reveal-left.is-visible,
.subpage-reveal-right.is-visible,
.products-reveal-up.is-visible,
.products-reveal-left.is-visible,
.products-reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.34s; }
.delay-3 { transition-delay: 0.56s; }
.delay-4 { transition-delay: 0.78s; }
.delay-5 { transition-delay: 1.00s; }

/* =========================================================
   KARRIERE-SEITE
   ========================================================= */
.karriere-page.sectionAll {
  padding: 24px 0 60px;
}

.karriere-page .containerAll {
  width: min(1240px, calc(100% - 34px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.karriere-page .job-container {
  margin-bottom: 42px;
}

.karriere-page .text-block {
  position: relative;
  overflow: hidden;
  padding: 34px 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(141, 189, 40, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(243, 246, 240, 0.97), rgba(228, 234, 223, 0.90));
  border: 1px solid rgba(186, 202, 175, 0.42);
  box-shadow:
    0 12px 34px rgba(27, 34, 30, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.45);
  max-width: 100%;
}

.karriere-page .karriere-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 100%;
}

.karriere-page .karriere-box {
  position: relative;
  overflow: hidden;
  flex: 1 1 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  min-width: 0;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,249,246,0.82));
  border: 1px solid rgba(186, 202, 175, 0.52);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

/* Unterseiten-Hero: alle Wrapper sauber clippen */
.tmpl_main .tmpl_wide-image .tmpl_wide-image_slide,
.tmpl_main .tmpl_wide-image .moduletable.span12,
.tmpl_main .tmpl_wide-image .moduletable.span12 > .custom {
  overflow: hidden;
  border-radius: 34px;
  background: transparent;
  border: 0;
}

/* Rechteckige Rahmen/Layer neutralisieren */
.tmpl_main .tmpl_wide-image .row-fluid,
.tmpl_main .tmpl_wide-image .span12 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   BREITERE UNTERSEITEN MIT SIDEBAR / 2-SPALTEN-LAYOUT
   ========================================================= */
#tmpl_component:has(.tmpl_component_sidebar) > .container {
  max-width: var(--content-width-wide);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .tmpl_wide-image > .container {
    width: calc(100% - 24px);
  }

  .tmpl_wide-image {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .tmpl_wide-image > .container {
    margin-top: 0 !important;
    padding-top: 1px !important;
  }

  .hero-slider {
    aspect-ratio: 16 / 8;
    min-height: 520px;
    max-height: none;
  }

  .hero-slider .tmpl_wide-image-link .custom,
  .tmpl_main .tmpl_wide-image-link .custom {
    max-width: 470px;
    padding: 22px 22px;
    border-radius: 22px;
  }

  .hero-slider .tmpl_wide-image-link h1,
  .tmpl_main .tmpl_wide-image-link h1 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    margin-bottom: 12px;
  }

  .hero-slider .tmpl_wide-image-link p,
  .tmpl_main .tmpl_wide-image-link p {
    font-size: 0.96rem;
    line-height: 1.65;
  }
}

@media (max-width: 991px) {
  #tmpl_component .tmpl_component_sidebar {
    flex-wrap: wrap !important;
    gap: 24px;
  }

  #tmpl_component .tmpl_component_sidebar > .span8.tmpl_inhalt,
  #tmpl_component .tmpl_component_sidebar > .span4.tmpl_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .contentBottom .newsflash.newsflash-homepage {
    flex-wrap: wrap !important;
  }

  .contentBottom .news_item,
  .contentBottom .news_item.span4 {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .hero-slider {
    min-height: 460px;
    aspect-ratio: auto;
  }

  .tmpl_main .tmpl_wide-image .moduletable.span12 > .custom img {
    min-height: 460px;
    height: 60vh;
  }

  .hero-slider .tmpl_wide-image-link .moduletable,
  .tmpl_main .tmpl_wide-image-link .moduletable {
    width: calc(100% - 28px);
  }

  .hero-slider .tmpl_wide-image-link .custom,
  .tmpl_main .tmpl_wide-image-link .custom {
    max-width: 420px;
    padding: 20px 20px;
    border-radius: 20px;
  }

  .hero-slider .tmpl_wide-image-link h1,
  .tmpl_main .tmpl_wide-image-link h1 {
    font-size: clamp(1.2rem, 3.6vw, 1.7rem);
    line-height: 1.16;
    margin-bottom: 10px;
  }

  .hero-slider .tmpl_wide-image-link p,
  .tmpl_main .tmpl_wide-image-link p {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .blog .items-row {
    gap: 18px;
    margin-bottom: 22px !important;
  }

  .blog .items-row > [class*="span"] {
    flex: 0 0 calc(50% - 9px);
    width: calc(50% - 9px) !important;
    max-width: calc(50% - 9px);
  }

  .blog .item[itemscope] {
    padding: 18px 16px;
    gap: 14px;
  }

  .blog .item[itemscope] > a,
  .blog .item-image,
  .blog .item-image img {
    width: 76px;
    min-width: 76px;
    height: 76px;
  }

  .blog .item-Inhalt h3 {
    font-size: 0.98rem;
  }

  .blog .item-Inhalt p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .BenefitsInfo .newsflash.newsflash-homepage {
    justify-content: center !important;
  }

  .BenefitsInfo .news_item,
  .BenefitsInfo .news_item.span4,
  .BenefitsInfo .news_item.cols5 {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .BenefitsInfo .news_item_res {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .BenefitsInfo .newsflash-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .BenefitsInfo .newsflash-image img {
    margin-left: auto;
    margin-right: auto;
  }

  .BenefitsInfo .newsflash-text {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #tmpl_component .container,
  .system-message-container .container,
  .contentBottom .container,
  .BenefitsInfo .container,
  .article_preview .container,
  .article-slider .container,
  .tmpl_brotkrumen-nav .container {
    width: calc(100% - 16px);
  }

  .tmpl_wide-image > .container {
    width: calc(100% - 12px);
  }

  #tmpl_component {
    padding: 10px 0 20px;
  }

  #tmpl_component .tmpl_inhalt .item-page,
  #tmpl_component > .container > .row-fluid > .span12 > .item-page {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .hero-slider {
    border-radius: 22px;
    min-height: 320px !important;
  }

  .tmpl_main .tmpl_wide-image .moduletable.span12 > .custom,
  .tmpl_main .tmpl_wide-image .tmpl_wide-image_slide::before,
  .tmpl_main .tmpl_wide-image .tmpl_wide-image_slide,
  .tmpl_main .tmpl_wide-image .moduletable.span12 {
    border-radius: 22px;
  }

  .tmpl_main .tmpl_wide-image .moduletable.span12 > .custom img {
    min-height: 320px;
    height: 44vh;
  }

  .karriere-page .containerAll {
    width: calc(100% - 16px);
  }

  .karriere-page .karriere-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .blog .items-row {
    gap: 16px;
  }

  .blog .items-row > [class*="span"] {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 100%;
  }

  .blog .item[itemscope] {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .blog .item[itemscope] > a,
  .blog .item-image,
  .blog .item-image img {
    width: 80px;
    min-width: 80px;
    height: 80px;
  }

  .blog .item-Inhalt h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
  }

  .blog .item-Inhalt p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .blog .item-Inhalt .readmore {
    padding-top: 4px;
  }

  .tmpl_wide-image .tmpl_wide-image-link {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 14px 0 14px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link .moduletable {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link .custom {
    width: min(290px, 56vw) !important;
    max-width: min(290px, 56vw) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 12px 16px 10px !important;
    border-radius: 20px !important;
    margin: 0 !important;
    display: inline-block !important;
    align-self: center !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.28)) !important;
    border: 1px solid rgba(255,255,255,0.34) !important;
    box-shadow: 0 12px 26px rgba(28, 36, 31, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-sizing: border-box !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link h1 {
    font-size: 1.2rem !important;
    line-height: 1.18 !important;
    margin: 14px 3px 14px !important;
    letter-spacing: -0.015em !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link h1 .highlight-heading {
    display: block !important;
    font-size: 1.2em !important;
    line-height: 1.02 !important;
    margin: 10px 0 10px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link h1 br {
    display: none !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link p {
    margin: 16px 0 4px !important;
    text-align: left !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link .readmore.btn,
  .tmpl_wide-image .tmpl_wide-image-link .btn {
    min-height: 38px !important;
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    align-self: flex-start !important;
    box-shadow: none !important;
  }

  .tmpl_main {
    padding-top: 50px !important;
  }
}

@media (max-width: 575px) {
  .hero-slider {
    min-height: 280px !important;
  }

  .tmpl_main .tmpl_wide-image .moduletable.span12 > .custom img {
    min-height: 280px;
    height: 40vh;
  }

  #tmpl_component .item-page.home-page p,
  #tmpl_component .tmpl_inhalt .item-page p,
  p {
    font-size: 0.97rem;
    line-height: 1.75;
  }

  .contentBottom .news_item_res,
  .karriere-page .text-block {
    padding: 22px 18px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link {
    padding: 0 10px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link .custom {
    width: min(250px, 60vw) !important;
    max-width: min(250px, 60vw) !important;
    min-height: 96px !important;
    padding: 10px 12px 9px !important;
    border-radius: 16px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link h1 {
    font-size: 1rem !important;
    line-height: 1.16 !important;
    margin: 5px 0 8px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link h1 .highlight-heading {
    font-size: 1.2em !important;
    margin: 10px 0 10px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link p {
    margin: 14px 0 2px !important;
  }

  .tmpl_wide-image .tmpl_wide-image-link .readmore.btn,
  .tmpl_wide-image .tmpl_wide-image-link .btn {
    min-height: 34px !important;
    padding: 7px 12px !important;
    font-size: 0.74rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .readmore.btn,
  .readon-button.btn,
  .readon-button-wrap .btn,
  a.btn,
  .hero-slide,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .subpage-reveal-up,
  .subpage-reveal-left,
  .subpage-reveal-right,
  .products-reveal-up,
  .products-reveal-left,
  .products-reveal-right {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.BenefitsInfo .newsflash.newsflash-homepage,
.contentBottom .newsflash.newsflash-homepage {
  justify-content: center !important;
}

.BenefitsInfo .news_item,
.BenefitsInfo .news_item.span4,
.BenefitsInfo .news_item.cols5,
.contentBottom .news_item,
.contentBottom .news_item.span4,
.contentBottom .news_item.cols5 {
  display: flex;
  justify-content: center;
  text-align: center;
}

.BenefitsInfo .news_item_res,
.contentBottom .news_item_res {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.BenefitsInfo .newsflash-image,
.contentBottom .newsflash-image {
  display: flex;
  justify-content: center;
  width: 100%;
}

.BenefitsInfo .newsflash-image img,
.contentBottom .newsflash-image img {
  margin-left: auto;
  margin-right: auto;
}

.BenefitsInfo .newsflash-text,
.contentBottom .newsflash-text {
  width: 100%;
  text-align: center;
}

.contentBottom .news_item_res .readmore.btn,
.contentBottom .news_item_res .readon-button.btn,
.contentBottom .news_item_res .readon-button-wrap {
  display: flex;
  justify-content: center;
}


@media (min-width: 992px) and (max-width: 1279px) {
  .tmpl_main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 991px) {
  .tmpl_main {
    padding-top: 50px !important;
  }
}




/* =========================================================
   BLOG / PRODUKTE / SERVICES / PROJEKTE – MOBILE ICON FIX
   ========================================================= */

/* Handy Portrait */
@media (max-width: 767px) and (orientation: portrait) {
  .blog .item[itemscope] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .blog .item[itemscope] > a {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .blog .item-image {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .blog .item-image img {
    width: 88px !important;
    height: 88px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .blog .item-Inhalt {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .blog .item-Inhalt h3,
  .blog .item-Inhalt p,
  .blog .item-Inhalt .readmore {
    width: 100% !important;
  }

  .blog .item-Inhalt .readmore {
    display: flex !important;
    justify-content: center !important;
  }
}

/* Handy Querformat */
@media (max-width: 767px) and (orientation: landscape) {
  .blog .item[itemscope] {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 12px !important;
    padding: 16px 14px !important;
  }

  .blog .item[itemscope] > a {
    flex: 0 0 72px !important;
    width: 72px !important;
    max-width: 72px !important;
    margin: 0 !important;
  }

  .blog .item-image {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    margin: 0 !important;
  }

  .blog .item-image img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
  }

  .blog .item-Inhalt {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  .blog .item-Inhalt .readmore {
    display: block !important;
    text-align: left !important;
  }
}

/* Sehr kleine Handys */
@media (max-width: 575px) and (orientation: portrait) {
  .blog .item-image {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }

  .blog .item-image img {
    width: 78px !important;
    height: 78px !important;
  }

  .blog .item[itemscope] {
    padding: 16px 12px !important;
    gap: 10px !important;
  }

  .blog .item-Inhalt h3 {
    font-size: 0.98rem !important;
    line-height: 1.28 !important;
  }

  .blog .item-Inhalt p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }
}






/* =========================================================
   JOBDETAIL – EINHEITLICHE TYPOGRAFIE UND ABSTÄNDE
   ========================================================= */

.job-detail-content .job-section {
  margin-bottom: 28px !important;
}

.job-detail-content .job-section:last-child {
  margin-bottom: 0 !important;
}

.job-detail-content .job-section h2 {
  margin-bottom: 12px !important;
  font-size: 1.5rem !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
}

.job-detail-content .job-section p,
.job-detail-content .job-section ul,
.job-detail-content .job-section li {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #4f5c53 !important;
}

.job-detail-content .job-section p,
.job-detail-content .job-section ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.job-detail-content .job-section p + p,
.job-detail-content .job-section p + ul,
.job-detail-content .job-section ul + p {
  margin-top: 12px !important;
}

.job-detail-content .job-section ul li {
  margin-bottom: 10px !important;
}

.job-detail-content .job-section ul li:last-child {
  margin-bottom: 0 !important;
}