/* =====================================================================
   ZOLLCON · zc-blog.css
   1) Themer-Templates "Wissenswertes":
      - Archiv  (Template 18781, Bedingung: Beitragsarchiv = /wissenswertes/)
      - Einzelbeitrag (Template 18778, Bedingung: alle Beiträge)
      Struktur stammt aus den Novasem-Vorlagen, Farben/Typo aus dem
      Zollcon-Design-System (Ink statt Orange, Inter statt Montserrat/Roboto).
   2) [zc_beitraege] – optionales Kachelraster für Teaser-Reihen.
   ===================================================================== */

/* =====================================================================
   A. HERO (dunkles Band mit Drohnenaufnahme + Ink-Overlay)
   ===================================================================== */
.zc-blog-hero .elementor-heading-title { color: var(--zc-white); }

.zc-blog-hero__eyebrow .elementor-heading-title {
  font-family: var(--zc-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zc-white);
}
.zc-blog-hero__title .elementor-heading-title {
  display: inline-block;
  background: var(--zc-white);
  color: var(--zc-ink);
  font-family: var(--zc-font);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 10px 28px;
}
@media (max-width: 767px) {
  .zc-blog-hero__title .elementor-heading-title { padding: 8px 18px; }
}

/* Breadcrumb-Karte, die in den Hero ragt */
.e-con.zc-blog-crumb {
  background: var(--zc-white);
  padding: 26px 40px;
  margin: -72px 40px 0 0;
  box-shadow: 0 10px 30px rgba(17, 24, 32, 0.07);
  position: relative;
  z-index: 5;
}
@media (max-width: 767px) {
  .e-con.zc-blog-crumb { padding: 20px 22px; margin: -40px 0 0 0; }
}
.zc-blog-crumb .zc-breadcrumbs p { margin: 0; font-size: 15px; color: var(--zc-muted); }
.zc-blog-crumb .zc-breadcrumbs a { color: var(--zc-ink); text-decoration: none; }
.zc-blog-crumb .zc-breadcrumbs a:hover { color: var(--zc-cyan-text); }
.zc-blog-crumb .zc-breadcrumbs .separator { color: var(--zc-cyan); font-weight: 700; margin: 0 10px; }
.zc-blog-crumb .zc-breadcrumbs .breadcrumb_last { color: var(--zc-muted); }

/* =====================================================================
   B. ARCHIV – Kacheln (Elementor Archive Posts, Skin "Cards")
   ===================================================================== */
.zc-blog-cards .elementor-posts--skin-cards .elementor-post__card {
  background: var(--zc-white);
  border: 1px solid var(--zc-border);
  border-radius: var(--zc-radius);
  box-shadow: none;
  overflow: hidden;
  transition: border-color var(--zc-transition), box-shadow var(--zc-transition);
}
.zc-blog-cards .elementor-post__card:hover {
  border-color: var(--zc-border-strong);
  box-shadow: var(--zc-shadow);
}

/* Bild 3:2 */
.zc-blog-cards .elementor-post__thumbnail { padding-bottom: 0 !important; aspect-ratio: 3 / 2; background: var(--zc-surface); }
.zc-blog-cards .elementor-post__thumbnail img {
  position: static !important;
  transform: none !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Kategorie-Badge auf dem Bild – Ink, keine Cyan-Fläche */
.zc-blog-cards .elementor-post__badge {
  background: rgba(17, 24, 32, 0.88);
  color: var(--zc-white);
  border-radius: 3px;
  padding: 6px 10px;
  font-family: var(--zc-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Textteil */
.zc-blog-cards .elementor-post__text { padding: 26px 26px 0; }
.zc-blog-cards .elementor-post__meta-data {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-family: var(--zc-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--zc-muted);
}
.zc-blog-cards .elementor-post__title,
.zc-blog-cards .elementor-post__title a {
  font-family: var(--zc-font);
  font-size: 17px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--zc-ink);
  text-decoration: none;
}
.zc-blog-cards .elementor-post__title { margin: 0 0 12px; }
.zc-blog-cards .elementor-post__card:hover .elementor-post__title a { color: var(--zc-cyan-text); }
.zc-blog-cards .elementor-post__excerpt p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--zc-body);
}
.zc-blog-cards .elementor-post__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--zc-font);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--zc-ink);
  text-decoration: none;
  transition: color var(--zc-transition);
}
.zc-blog-cards .elementor-post__read-more::after {
  content: "→";
  font-size: 15px;
  color: var(--zc-cyan-text);
  transition: transform var(--zc-transition);
}
.zc-blog-cards .elementor-post__read-more:hover { color: var(--zc-cyan-text); }
.zc-blog-cards .elementor-post__read-more:hover::after { transform: translateX(3px); }
.zc-blog-cards .elementor-post__card .elementor-post__avatar { display: none; }

/* Paginierung */
.zc-blog-cards .elementor-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--zc-border);
  font-family: var(--zc-font);
}
.zc-blog-cards .elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--zc-body);
  border: 1px solid transparent;
  border-radius: var(--zc-radius-btn);
  text-decoration: none;
  transition: color var(--zc-transition), border-color var(--zc-transition), background-color var(--zc-transition);
}
.zc-blog-cards .elementor-pagination a.page-numbers:hover { color: var(--zc-ink); border-color: var(--zc-border-strong); }
.zc-blog-cards .elementor-pagination .page-numbers.current {
  color: var(--zc-ink);
  background: var(--zc-surface);
  border-color: var(--zc-border);
}

/* =====================================================================
   C. EINZELBEITRAG
   ===================================================================== */
.zc-single-meta .elementor-icon-list-items { display: flex; align-items: center; flex-wrap: wrap; }
.zc-single-meta .elementor-post-info__item,
.zc-single-meta .elementor-post-info__item a {
  font-family: var(--zc-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--zc-muted);
  text-decoration: none;
}
.zc-single-meta .elementor-post-info__item a:hover { color: var(--zc-cyan-text); }
.zc-single-meta .elementor-icon-list-items .elementor-icon-list-item:first-child::after {
  content: "" !important;
  display: inline-block !important;
  width: 24px !important;
  height: 2px !important;
  background: var(--zc-cyan) !important;
  border: 0 !important;
  margin: 0 14px !important;
  vertical-align: middle;
  flex: 0 0 auto;
}

.zc-single-title .elementor-heading-title {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--zc-ink);
}

/* Vor/Zurück als Ink-Kreise */
.zc-single-nav .elementor-post-navigation { justify-content: flex-end; }
.zc-single-nav .elementor-post-navigation__separator { display: none; }
.zc-single-nav .post-navigation__arrow-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--zc-ink);
  color: var(--zc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color var(--zc-transition), color var(--zc-transition);
}
.zc-single-nav .post-navigation__arrow-wrapper:hover { background: var(--zc-cyan); color: var(--zc-ink); }
.zc-single-nav .post-navigation__arrow-next { margin-left: 10px; }
.zc-single-nav span.post-navigation__prev--label,
.zc-single-nav span.post-navigation__next--label,
.zc-single-nav span.post-navigation__prev--title,
.zc-single-nav span.post-navigation__next--title { display: none; }

/* Beitragstext */
.zc-single-content { max-width: 820px; }
.zc-single-content .elementor-widget-container > *:first-child { margin-top: 0; }
.zc-single-content h2, .zc-single-content h3, .zc-single-content h4 {
  font-family: var(--zc-font);
  color: var(--zc-ink);
  font-weight: 700;
}
.zc-single-content h2 { font-size: 27px; line-height: 1.25; margin: 44px 0 16px; letter-spacing: -0.01em; }
.zc-single-content h3 { font-size: 21px; line-height: 1.3; margin: 34px 0 12px; }
.zc-single-content h4 { font-size: 18px; line-height: 1.35; margin: 26px 0 10px; }
.zc-single-content p,
.zc-single-content ul,
.zc-single-content ol {
  font-size: 17px;
  line-height: 1.7;
  color: var(--zc-body);
  margin: 0 0 20px;
}
.zc-single-content ul, .zc-single-content ol { padding-left: 22px; }
.zc-single-content li { margin-bottom: 8px; }
.zc-single-content li::marker { color: var(--zc-cyan-text); font-weight: 700; }
.zc-single-content a {
  color: var(--zc-cyan-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.zc-single-content a:hover { color: var(--zc-ink); }
.zc-single-content strong, .zc-single-content b { color: var(--zc-ink); font-weight: 600; }
.zc-single-content img { max-width: 100%; height: auto; border-radius: var(--zc-radius); margin: 8px 0 24px; }
.zc-single-content blockquote {
  border-left: 2px solid var(--zc-cyan);
  margin: 0 0 22px;
  padding: 6px 0 6px 22px;
  color: var(--zc-ink);
  font-style: normal;
}
.zc-single-content table { border-collapse: collapse; width: 100%; margin: 0 0 22px; }
.zc-single-content th, .zc-single-content td {
  border: 1px solid var(--zc-border);
  padding: 10px 12px;
  font-size: 15px;
  color: var(--zc-body);
  text-align: left;
}
.zc-single-content th { background: var(--zc-surface); color: var(--zc-ink); font-size: 13px; font-weight: 600; }

/* Inhaltsverzeichnis "Kernfragen" in den Beiträgen */
.zc-single-content .kernfragen {
  background: var(--zc-surface);
  border: 1px solid var(--zc-border);
  border-radius: var(--zc-radius);
  padding: 24px 28px;
  margin: 0 0 32px;
}
.zc-single-content .kernfragen h2 { font-size: 15px; letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 12px; }
.zc-single-content .kernfragen ul { margin: 0; padding-left: 20px; }
.zc-single-content .kernfragen li { margin-bottom: 6px; font-size: 16px; }

/* =====================================================================
   E. SIDEBAR  [zc_blog_sidebar]
   Karten: Kontakt-CTA (Ink) · Leistungen · Suche · Neueste Beiträge · Kategorien
   ===================================================================== */
.zc-blog-side { min-width: 0; }
.zc-side * { box-sizing: border-box; }

.zc-side__card {
  background: var(--zc-surface);
  border: 1px solid var(--zc-border);
  border-radius: var(--zc-radius);
  padding: 26px;
  margin-bottom: 20px;
}
.zc-side__card:last-child { margin-bottom: 0; }

.zc-side__title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  font-family: var(--zc-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zc-ink);
}
.zc-side__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--zc-cyan);
}

/* --- Kontakt-CTA (Ink) --------------------------------------------- */
.zc-side__card--cta { background: var(--zc-ink); border-color: var(--zc-ink); }
.zc-side__kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zc-cyan);
}
.zc-side__ctatitle {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--zc-white);
}
.zc-side__ctatext {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--zc-dark-text);
}
.zc-side__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  background: var(--zc-white);
  color: var(--zc-ink) !important;
  border-radius: var(--zc-radius-btn);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color var(--zc-transition);
}
.zc-side__btn:hover { background: var(--zc-cyan); }
.zc-side__tel {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--zc-dark-border);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--zc-white) !important;
  text-decoration: none !important;
}
.zc-side__tel:hover { color: var(--zc-cyan) !important; }

/* --- Listen -------------------------------------------------------- */
.zc-side__links,
.zc-side__posts,
.zc-side__cats { list-style: none; margin: 0; padding: 0; }
.zc-side__links li,
.zc-side__posts li,
.zc-side__cats li { padding: 11px 0; border-bottom: 1px solid var(--zc-border); }
.zc-side__links li:first-child,
.zc-side__posts li:first-child,
.zc-side__cats li:first-child { padding-top: 0; }
.zc-side__links li:last-child,
.zc-side__posts li:last-child,
.zc-side__cats li:last-child { border-bottom: none; padding-bottom: 0; }

.zc-side__links a,
.zc-side__cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--zc-ink);
  text-decoration: none;
  transition: color var(--zc-transition);
}
.zc-side__links a:hover,
.zc-side__cats a:hover { color: var(--zc-cyan-text); }
.zc-side__arrow { color: var(--zc-cyan-text); transition: transform var(--zc-transition); }
.zc-side__links a:hover .zc-side__arrow { transform: translateX(3px); }
.zc-side__count {
  flex: 0 0 auto;
  min-width: 28px;
  padding: 2px 8px;
  background: var(--zc-white);
  border: 1px solid var(--zc-border);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--zc-muted);
  text-align: center;
}
.zc-side__cats a:hover .zc-side__count { color: var(--zc-cyan-text); border-color: var(--zc-cyan); }

.zc-side__posts a { display: block; text-decoration: none; }
.zc-side__posts time {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--zc-muted);
}
.zc-side__posttitle {
  display: block;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--zc-ink);
  transition: color var(--zc-transition);
}
.zc-side__posts a:hover .zc-side__posttitle { color: var(--zc-cyan-text); }

/* --- Suche --------------------------------------------------------- */
.zc-side__search { display: flex; }
.zc-side__search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 14px;
  background: var(--zc-white);
  border: 1px solid var(--zc-border);
  border-right: none;
  border-radius: var(--zc-radius-btn) 0 0 var(--zc-radius-btn);
  font-family: var(--zc-font);
  font-size: 15px;
  color: var(--zc-ink);
  outline: none;
}
.zc-side__search input:focus { border-color: var(--zc-border-strong); }
.zc-side__search button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--zc-ink);
  color: var(--zc-white);
  border: none;
  border-radius: 0 var(--zc-radius-btn) var(--zc-radius-btn) 0;
  cursor: pointer;
  transition: background-color var(--zc-transition), color var(--zc-transition);
}
.zc-side__search button:hover { background: var(--zc-cyan); color: var(--zc-ink); }

.zc-side a:focus-visible,
.zc-side button:focus-visible,
.zc-side input:focus-visible { outline: 2px solid var(--zc-cyan); outline-offset: 2px; }

@media (max-width: 1024px) {
  .zc-blog-side { margin-top: 8px; }
  .zc-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .zc-side__card { margin-bottom: 0; }
}
@media (max-width: 767px) {
  .zc-side { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   D. [zc_beitraege] – optionales Kachelraster (Teaser-Reihen)
   ===================================================================== */
.zc-blog__grid {
  display: grid;
  grid-template-columns: repeat(var(--zc-blog-cols, 3), minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 1024px) { .zc-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 767px)  { .zc-blog__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.zc-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--zc-white);
  border: 1px solid var(--zc-border);
  border-radius: var(--zc-radius);
  overflow: hidden;
  transition: border-color var(--zc-transition), box-shadow var(--zc-transition);
}
.zc-post:hover { border-color: var(--zc-border-strong); box-shadow: var(--zc-shadow); }
.zc-post__media { display: block; line-height: 0; }
.zc-post__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.zc-post__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 28px; }
.zc-post__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 16px;
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--zc-muted);
}
.zc-post__sep { flex: 0 0 auto; width: 24px; height: 2px; background: var(--zc-cyan); }
.zc-post__title {
  margin: 0 0 14px; font-size: 17px; line-height: 1.42; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.zc-post__title a { color: var(--zc-ink); text-decoration: none; transition: color var(--zc-transition); }
.zc-post:hover .zc-post__title a { color: var(--zc-cyan-text); }
.zc-post__excerpt { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--zc-body); }
.zc-post__more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 650; line-height: 1; color: var(--zc-ink); text-decoration: none;
  transition: color var(--zc-transition);
}
.zc-post__arrow { font-size: 15px; line-height: 1; color: var(--zc-cyan-text); transition: transform var(--zc-transition); }
.zc-post__more:hover { color: var(--zc-cyan-text); }
.zc-post__more:hover .zc-post__arrow { transform: translateX(3px); }
.zc-blog__empty { padding: 40px 0; color: var(--zc-muted); font-size: 16px; }

.zc-blog__pagination {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--zc-border);
}
.zc-blog__pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 12px; font-size: 15px; font-weight: 600; color: var(--zc-body);
  border: 1px solid transparent; border-radius: var(--zc-radius-btn); text-decoration: none;
}
.zc-blog__pagination a.page-numbers:hover { color: var(--zc-ink); border-color: var(--zc-border-strong); }
.zc-blog__pagination .page-numbers.current { color: var(--zc-ink); background: var(--zc-surface); border-color: var(--zc-border); }

/* Fokus */
.zc-post__more:focus-visible,
.zc-post__title a:focus-visible,
.zc-blog__pagination a:focus-visible,
.zc-blog-cards .elementor-pagination a:focus-visible,
.zc-blog-cards .elementor-post__read-more:focus-visible {
  outline: 2px solid var(--zc-cyan);
  outline-offset: 3px;
}
