.elementor-kit-6{--e-global-color-primary:#3D3D3D;--e-global-color-secondary:#FFFFFF;--e-global-color-text:#FFFFFF;--e-global-color-accent:#45d0bd;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#1D1D1D;font-family:"Poppins", Sans-serif;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1500px;}.e-con{--container-max-width:1500px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:991px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:575px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:100%;}.e-con{--container-max-width:100%;}}/* Start custom CSS *//* Ziel-Element clippt das Canvas und erzeugt Stacking-Context */
.grain-section{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  width: 100%;      /* Wichtig: Section bleibt volle Breite */
}

/* Canvas VOR Background, UNTER Inhalt + sichtbar blenden */
.grain-section > canvas.grained{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .22;                  /* sichtbar starten; nachher .12–.20 */
  mix-blend-mode: soft-light;    /* macht Grain auf farbigen/dunklen BG sichtbar */
}

/* Die tatsächliche Box, die so breit wird wie das Bild */
.grain-section .grain-wrapper {
  display: inline-block;       /* sorgt dafür, dass Box nur so breit wie Inhalt ist */
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  position: relative;
  z-index: 3;
}

/* Inhaltsebene über dem Grain */
.grain-section > .elementor-column-wrap,
.grain-section > .elementor-widget-wrap,
.grain-section > .elementor-element-populated{
  position: relative;
  z-index: 3;
}

/* Falls ein Elementor-Overlay aktiv ist: unter das Canvas schieben */
.grain-section > .elementor-background-overlay{
  z-index: 1 !important;
}


#grain-img {
  position: relative;
  display: inline-block;
  overflow: hidden;  /* Wichtig: Canvas wird sauber geclippt */
  isolation: isolate;
  max-width: 400px;
}

/* Inhalt in der Grain-Section schmaler & zentriert */
/*.grain-section > .elementor-container {
  max-width: 1100px;   /* Wunschbreite */
  margin: 0 auto;      /* zentriert */
  padding-inline: 20px; /* etwas Luft links/rechts, optional */
}*/

/* Zentrieren der schmalen Box innerhalb der Section */
.grain-section .elementor-container {
  text-align: center;          /* wichtig: zentriert inline-block */
}

#grain-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Das Körnungs-Canvas, erzeugt von grained.js */
#grain-img > canvas.grained {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  /* Sichtbarkeit / Blend Modus */
  mix-blend-mode: overlay;   /* oder soft-light für subtil */
  opacity: 0.18;             /* Stärke – nach Wunsch anpassen */
}/* End custom CSS */