.wpe {
  	padding-top: 133px;
  	font-family: "helvetica-neue-lt-pro" !important;
	font-weight: 400 !important;
	color: #30304A !important;
	-moz-hyphens: auto !important;
	hyphens: auto !important;
	font-size: 1.8rem !important;
}
.wpe h1 {
	font-family: 'Ubuntu' !important;
	font-weight: bold !important;
	font-size: 4.5rem !important;
	line-height: 5rem !important;
	padding-bottom: 20px !important;
}
.wpe h1, 
.wpe h2,
.wpe h3 {
	font-family: 'Ubuntu' !important;
	color: #49b1c6 !important;
}
.wpe a {
	color: #FE05DF;
}
.elementor-element-171f1e7 > .elementor-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}
.elementor-element-f0e6f04 > .elementor-element-populated {
    padding-left: 0 !important;
}
.elementor-element-2f5991c2 > .elementor-element-populated {
    padding-left: 0 !important;
}
.elementor-element-02c87c4 > .elementor-element-populated {
    padding-right: 0 !important;
}
.abschnitt_inhalt {
	margin-bottom: 104px !important;
}
.wp-caption-text,
.wp-block-image figcaption{
	text-align: left;
	font-size: 15px;
	font-style: italic;
	padding-top: 5px;
	font-weight: 300 !important;
}
.fa-chevron-up {
	color: White !important;
}
/* TOC Trennlinien */
.elementor-toc__list-item-text-wrapper > .elementor-toc__top-level,
.elementor-toc__list-item{
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

/* letzte Linie entfernen */
.elementor-toc__list-item:last-child{
  border-bottom: none;
}
.elementor-toc__body {
	padding: 15px 5px 0 !important;
}
.elementor-toc__list-item .elementor-toc__list-wrapper {
	margin-top: 0em !important;
	margin-inline-start: var(--nested-list-indent,0em) !important;
}
.single-post .elementor-menu-anchor{
  display: block;
  position: relative;
  top: -120px;   /* Offset */
  height: 0;
  visibility: hidden;
}
.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
  padding-left: 0px !important;
}

/* ===== GRID WRAPPER ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* FIX 3 Spalten */
  gap: 24px;
}

/* ===== KACHEL ===== */
.post-card {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ===== BILD ===== */
.post-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;   /* Einheitliches Format */
  overflow: hidden;
  background: #f3f3f3;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* Bild füllt Kachel */
  display: block;
  transition: transform .4s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.05);
}

/* ===== CONTENT ===== */
.post-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Titel */
.post-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.post-title a {
  color: #111;
  text-decoration: none;
}

/* Meta */
.post-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 12px;
}

/* Text */
.post-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  margin-bottom: 14px;
}
.read-more{
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: inherit;
  color: #FE05DF;
}
@media (max-width: 820px) {
	.wpe {
	  	padding-top: 53px;	
	}
	.abschnitt_inhalt {
		margin-bottom: 24px !important;
	}
}
@media (max-width: 820px){

  /* exakt diese Section treffen */
  .elementor-element-171f1e7 > .elementor-container{
    display: flex !important;
    flex-direction: column !important;   /* killt column-reverse */
    flex-wrap: nowrap !important;
  }

  /* beide Spalten volle Breite */
  .elementor-element-171f1e7 > .elementor-container > .elementor-column{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Reihenfolge erzwingen: links (Content) oben, rechts (TOC) unten */
  .elementor-element-171f1e7 .elementor-element-f0e6f04{ order: 1 !important; }
  .elementor-element-171f1e7 .elementor-element-02c87c4{ order: 0 !important; }
  
  .elementor-element-02c87c4 > .elementor-widget-wrap {
	  padding: 0 !important;
  }
  .elementor-element-f0e6f04 > .elementor-widget-wrap .elementor-widget-container .elementor-widget-wrap {
	  padding-right: 0 !important;
  }
  .elementor-element-f0e6f04 > .elementor-widget-wrap .elementor-widget-container {
	  margin: 0 !important;
  }
  .elementor-element-f0e6f04 > .elementor-widget-wrap {
	  padding: 0 !important;
  }

}
/* ===== RESPONSIVE ===== */

/* Tablet → 2 Spalten */
@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile → 1 Spalte */
@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}
