/* Beiträge */
/* =========================
   SAPURA Content Builder
   ========================= */

.sapura-content-builder {
  width: 100%;
}

/* Article copy is deliberately more generous than the global site text. */
body.single-post .sapura-content-builder,
body.single-post .sapura-content-builder p,
body.single-post .sapura-content-builder li,
body.single-post .sapura-content-builder .sapura-brace-text {
  font-size: 17px;
  line-height: 1.7;
}

/* Editorial lists follow the same Sapura arrow rhythm as product copy. */
body.single-post .sapura-content-builder .sapura-text-inner > ul {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

body.single-post .sapura-content-builder .sapura-text-inner > ul > li {
  margin: 0;
  padding-left: 26px;
  position: relative;
}

body.single-post .sapura-content-builder .sapura-text-inner > ul > li + li {
  margin-top: 0.625rem;
}

body.single-post .sapura-content-builder .sapura-text-inner > ul > li::before {
  background: url('/wp-content/uploads/2026/07/rechter-pfeil.svg') center / contain no-repeat;
  content: '';
  height: 12px;
  left: 0;
  position: absolute;
  top: 0.8em;
  transform: translateY(-50%);
  width: 12px;
}

/* FAQ block in the ACF content builder. */
.sapura-faq-block {
  margin: clamp(42px, 6vw, 72px) 0;
}

.sapura-faq-block h2 {
  margin: 0 0 24px;
}

.sapura-faq-block__items {
  border-top: 1px solid #000;
}

.sapura-faq-block__item {
  border-bottom: 1px solid #000;
  padding: 8px 0;
}

.sapura-faq-block__question {
  cursor: pointer;
  display: block;
  font-size: 22px;
  font-size: calc(clamp(20px, 2.2vw, 28px) * var(--scale-h));
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  padding: 10px 48px 10px 0;
  position: relative;
}

.sapura-faq-block__question::-webkit-details-marker {
  display: none;
}

.sapura-faq-block__question::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: '';
  height: 18px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.25s ease;
  width: 18px;
}

.sapura-faq-block__item[open] .sapura-faq-block__question::after {
  transform: translateY(-50%) rotate(-135deg);
}

.sapura-faq-block__answer {
  padding: 20px 48px 22px 0;
}

.sapura-faq-block__answer > :first-child {
  margin-top: 0;
}

.sapura-faq-block__answer > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .sapura-faq-block {
    margin: 40px 0;
  }

  .sapura-faq-block h2 {
    margin-bottom: 18px;
  }

  .sapura-faq-block__question {
    padding-right: 44px;
  }

  .sapura-faq-block__question::after {
    height: 16px;
    width: 16px;
  }

  .sapura-faq-block__answer {
    padding: 18px 44px 20px 0;
  }
}

/* Back to the magazine overview. */
.sapura-blog-overview-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  gap: 12px;
  line-height: 1.4;
  text-decoration: none;
}

/* Compact back button in the table-of-contents header. */
body.single-post .elementor-widget-table-of-contents .elementor-toc__header {
  align-items: center;
  display: flex;
  justify-content: flex-start;
}

body.single-post .elementor-widget-table-of-contents .elementor-toc__header-title {
  flex: 0 1 auto;
  margin-right: 0;
}

body.single-post .elementor-widget-table-of-contents .sapura-toc-overview {
  align-items: center;
  border: 1px solid #000;
  border-radius: 999px;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: 22px;
  padding: 6px 11px 6px 9px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.single-post .elementor-widget-table-of-contents .elementor-toc__toggle-button {
  margin-left: auto;
}

body.single-post .elementor-widget-table-of-contents .sapura-toc-overview .sapura-blog-overview-link__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.sapura-blog-overview-link__icon {
  align-items: center;
  color: #000;
  display: inline-flex;
  flex: 0 0 18px;
  height: 18px;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  width: 18px;
}

.sapura-blog-overview-link__icon svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.sapura-blog-overview-link__label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sapura-blog-overview-link:hover .sapura-blog-overview-link__icon {
  color: inherit;
  transform: translateX(-2px);
}

body.single-post .elementor-widget-table-of-contents .sapura-toc-overview:hover {
  background: #000;
  color: #fff;
}

/* On phones the table of contents needs to remain part of the normal document
   flow. A long sticky table can be taller than the viewport and then prevents
   visitors from reaching its lower entries. */
@media (max-width: 767px) {
  body.single-post .elementor-widget-table-of-contents {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /* The single-post content container begins with an 80px desktop gap.
     On phones, a more compact lead-in balances the space below the TOC rule. */
  body.single-post .elementor-1067 .elementor-element-88a5e31 {
    margin-top: 20px !important;
  }

  body.single-post .elementor-widget-table-of-contents .elementor-toc__header {
    display: flex;
    padding: 20px 0 !important;
  }

  /* Elementor applies 60px side padding on phones. That makes the table of
     contents visibly narrower than the article column, so only retain its
     vertical breathing room here. */
  body.single-post .elementor-widget-table-of-contents .elementor-toc__body {
    padding: 28px 0 20px !important;
  }

  body.single-post .elementor-widget-table-of-contents .elementor-toc__header-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    min-width: 0;
  }

  body.single-post .elementor-widget-table-of-contents .elementor-toc__toggle-button {
    margin-left: auto !important;
  }

  body.single-post .elementor-widget-table-of-contents .sapura-toc-overview {
    border-radius: 50%;
    box-sizing: border-box;
    gap: 0;
    height: 32px;
    margin: 0 0 0 14px;
    padding: 6px;
    width: 32px;
  }

  body.single-post .elementor-widget-table-of-contents .sapura-toc-overview .sapura-blog-overview-link__label {
    display: none;
  }

  body.single-post .elementor-widget-table-of-contents:not(.elementor-toc--collapsed) .elementor-toc__body {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

.sapura-blog-overview-link:focus-visible {
  border-radius: 18px;
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Editorial link button for post archive cards. Add the class
 * "sapura-post-card-link" to the Elementor button widget. */
.sapura-post-card-link .elementor-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #34353a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  min-height: 24px;
  padding: 4px 61px 4px 0;
  position: relative;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.sapura-post-card-link .elementor-button::after {
  background: currentColor;
  content: "";
  height: 2px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: width 0.2s ease;
  width: 44px;
}

.sapura-post-card-link .elementor-button::before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 9px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px;
}

.sapura-post-card-link .elementor-button:hover,
.sapura-post-card-link .elementor-button:focus-visible {
  background: transparent;
  color: #ebcd8d;
}

.sapura-post-card-link .elementor-button:hover::after,
.sapura-post-card-link .elementor-button:focus-visible::after {
  width: 50px;
}

.sapura-post-card-link .elementor-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .sapura-post-card-link .elementor-button {
    font-size: 11px;
    padding-right: 54px;
  }

  .sapura-post-card-link .elementor-button::after {
    width: 38px;
  }

  .sapura-post-card-link .elementor-button:hover::after,
  .sapura-post-card-link .elementor-button:focus-visible::after {
    width: 42px;
  }
}

/* Latest posts layout for [sapura_blog_featured_posts]. */
.sapura-blog-featured-posts {
  margin-bottom: clamp(56px, 7vw, 96px);
}

.sapura-featured-posts__layout {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.sapura-featured-posts__lead,
.sapura-featured-posts__list,
.sapura-featured-posts__item {
  min-width: 0;
}

.sapura-featured-posts__lead-media,
.sapura-featured-posts__item-media,
.sapura-featured-posts__archive-media {
  background: #f5f4ef;
  border-radius: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  display: block;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.sapura-featured-posts__lead-media:hover,
.sapura-featured-posts__item-media:hover,
.sapura-featured-posts__archive-media:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.sapura-featured-posts__lead-media {
  aspect-ratio: 4 / 3;
}

.sapura-featured-posts__image,
.sapura-featured-posts__image-placeholder {
  display: block;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  transition: opacity 0.25s ease;
  width: 100% !important;
}

.sapura-featured-posts__lead-media:hover .sapura-featured-posts__image,
.sapura-featured-posts__item-media:hover .sapura-featured-posts__image {
  opacity: 0.84;
}

.sapura-featured-posts__lead-content {
  padding-top: 18px;
}

.sapura-featured-posts__meta {
  color: #74716e;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 6px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.sapura-featured-posts__lead-title,
.sapura-featured-posts__item-title,
.sapura-featured-posts__list-title {
  margin: 0;
}

.sapura-featured-posts__lead-title {
  font-size: clamp(25px, 2.25vw, 36px);
  line-height: 1.12;
}

.sapura-featured-posts__lead-title a,
.sapura-featured-posts__item-title a {
  color: inherit;
  text-decoration: none;
}

.sapura-featured-posts__lead-title a:hover,
.sapura-featured-posts__item-title a:hover {
  color: #4f4b47;
}

.sapura-featured-posts__cta {
  align-items: center;
  color: #34353a;
  display: inline-flex;
  flex-wrap: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  margin-top: 18px;
  padding: 4px 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
  width: max-content;
}

.sapura-featured-posts__cta::after {
  background: currentColor;
  content: "";
  flex: 0 0 44px;
  height: 2px;
  margin-left: 18px;
  order: 2;
  transition: flex-basis 0.2s ease;
}

.sapura-featured-posts__cta span {
  background: transparent;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  flex: 0 0 9px;
  height: 9px;
  margin-left: -9px;
  order: 3;
  transform: rotate(45deg);
  width: 9px;
}

.sapura-featured-posts__cta:hover,
.sapura-featured-posts__cta:focus-visible {
  color: #ebcd8d;
}

.sapura-featured-posts__cta:hover::after,
.sapura-featured-posts__cta:focus-visible::after {
  flex-basis: 50px;
}

.sapura-featured-posts__cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sapura-featured-posts__list-title {
  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.sapura-featured-posts__items {
  border-top: 1px solid #d7d3cc;
}

.sapura-featured-posts__item {
  border-bottom: 1px solid #d7d3cc;
  display: grid;
  gap: 18px;
  grid-template-columns: 132px minmax(0, 1fr);
  padding: 14px 0;
}

.sapura-featured-posts__item-media {
  aspect-ratio: 4 / 3;
}

.sapura-featured-posts__item-content {
  align-self: center;
}

.sapura-featured-posts__item .sapura-featured-posts__meta {
  font-size: 10px;
  margin-bottom: 5px;
}

.sapura-featured-posts__item-title {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.2;
}

.sapura-featured-posts__archive {
  margin-top: clamp(48px, 6vw, 80px);
}

.sapura-featured-posts__archive-title {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.15;
  margin: 0 0 24px;
}

.sapura-featured-posts__archive-grid {
  display: grid;
  gap: clamp(28px, 3vw, 42px) clamp(20px, 2.5vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sapura-featured-posts__archive-media {
  aspect-ratio: 4 / 3;
}

.sapura-featured-posts__archive-media:hover .sapura-featured-posts__image {
  opacity: 0.84;
}

.sapura-featured-posts__archive-content {
  padding-top: 14px;
}

.sapura-featured-posts__archive-card .sapura-featured-posts__meta {
  margin-bottom: 7px;
}

.sapura-featured-posts__archive-card-title {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.17;
  margin: 0;
}

.sapura-featured-posts__archive-card-title a {
  color: inherit;
  text-decoration: none;
}

.sapura-featured-posts__archive-card-title a:hover {
  color: #4f4b47;
}

.sapura-featured-posts__archive-card {
  display: flex;
  flex-direction: column;
}

.sapura-featured-posts__archive-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.sapura-featured-posts__archive-card .sapura-featured-posts__cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
}

.sapura-featured-posts__load-more-wrap {
  margin-top: clamp(32px, 4vw, 48px);
  text-align: center;
}

.sapura-featured-posts__load-more {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.sapura-featured-posts__load-more.is-loading {
  cursor: wait;
  opacity: 0.6;
}

.sapura-featured-posts__load-status {
  color: #74716e;
  font-size: 12px;
  margin: 10px 0 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sapura-featured-posts__archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sapura-featured-posts__layout {
    grid-template-columns: 1fr;
  }

  .sapura-featured-posts__lead-content {
    padding-top: 14px;
  }

  .sapura-featured-posts__list {
    margin-top: 6px;
  }

  .sapura-featured-posts__item {
    gap: 14px;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .sapura-featured-posts__archive-grid {
    grid-template-columns: 1fr;
  }

  .sapura-featured-posts__cta {
    font-size: 11px;
  }

  .sapura-featured-posts__cta::after {
    flex-basis: 38px;
    margin-left: 14px;
  }

  .sapura-featured-posts__cta:hover::after,
  .sapura-featured-posts__cta:focus-visible::after {
    flex-basis: 42px;
  }
}

/* Long German article titles must stay inside the hero text column. */
body.single-post h1.elementor-heading-title {
  max-inline-size: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Blog titles sit beside the article image, so they need a calmer desktop scale. */
@media (min-width: 768px) {
  body.single-post h1.elementor-heading-title {
    font-size: 38px !important;
    font-size: calc(clamp(32px, 3.5vw, 40px) * var(--scale-h)) !important;
    line-height: 1.1 !important;
    text-wrap: balance;
  }

  /* Keep article sections visually subordinate to the calmer blog title. */
  body.single-post .sapura-content-builder h2 {
    font-size: 30px !important;
    font-size: calc(clamp(26px, 2.6vw, 32px) * var(--scale-h)) !important;
    line-height: 1.2 !important;
    text-wrap: balance;
  }
}

.sapura-content-builder .sapura-block + .sapura-block {
  margin-top: 120px;
}

/* Consecutive editorial text areas belong together more closely than visual
   modules such as images, video or product recommendations. */
.sapura-content-builder .sapura-text-block + .sapura-text-block {
  margin-top: 56px;
}

/* =========================
   TEXTBEREICH
   ========================= */

.sapura-text-block {
  padding-inline: 60px;
}

.sapura-text-inner {
  max-width: 100%;
}

/* =========================
   NUR BILD
   ========================= */

.sapura-image-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

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

.sapura-video-block {
  width: 100%;
}

.sapura-video-cover,
.sapura-video-embed,
.sapura-video-block iframe,
.sapura-video-block video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.sapura-video-cover {
  position: relative;
  cursor: pointer;
}

.sapura-video-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sapura-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border: 0;
  background: transparent!important;
  cursor: pointer;
  padding: 0;
}

.sapura-video-play svg {
  width: 100%;
  height: 100%;
  fill: rgba(255,255,255,0.85);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.sapura-video-cover:hover .sapura-video-play svg {
  transform: scale(1.08);
  fill: #fff;
}

.sapura-video-embed iframe,
.sapura-video-block video {
  display: block;
  border: 0;
}

/* =========================
   BILD + TEXT
   ========================= */

.sapura-image-text-block {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 32px;
  border-top: 1px solid rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(0,0,0,0.28);
}

.sapura-image-text-block.is-image-right {
  flex-direction: row-reverse;
}

.sapura-image-text-media {
  flex: 0 0 30%;
}

.sapura-image-text-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.sapura-image-text-content {
  flex: 1;
}

.sapura-image-text-content h3 {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.sapura-button,
.sapura-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #4f4b47;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sapura-button:hover {
  background: #2f2c29;
  color: #fff !important;
}

/* =========================
   KLAMMER BLOCK
   ========================= */

.sapura-brace-block {
  display: grid;
  grid-template-columns: minmax(180px, 30%) auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.sapura-brace-headline {
  text-align: right;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.04em;
  max-width: 320px;
  margin-left: auto;
}

.sapura-brace-icon {
  width: clamp(40px, 5vw, 70px);
  line-height: 0;
}

.sapura-brace-icon svg {
  display: block;
  width: 100%;
  height: auto;
  fill: #2f2c29;
}

.sapura-brace-text {
  font-size: 0.95rem;
  line-height: 1.55;
}

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

@media (max-width: 767px) {

  /* =========================
     GENERELL
     ========================= */

  .sapura-content-builder .sapura-block + .sapura-block {
    margin-top: 72px !important;
  }

  .sapura-content-builder .sapura-text-block + .sapura-text-block {
    margin-top: 40px !important;
  }

  .sapura-text-block {
    padding-inline: 0 !important;
  }

  /* =========================
     BILD + TEXT
     ========================= */

  .sapura-image-text-block {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .sapura-image-text-media {
    width: 100% !important;
    flex: none !important;
  }

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

  .sapura-video-play {
    width: 78px !important;
    height: 78px !important;
  }

  /* =========================
     KLAMMER BLOCK (FINAL)
     ========================= */

  .sapura-brace-block {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px 8px !important;
  }

  .sapura-brace-headline {
    flex: 0 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
  }

  .sapura-brace-icon {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(-40px) !important; /* 🔥 HIER FEINJUSTIEREN */
  }

  .sapura-brace-icon svg {
    height: 100px !important;
    width: auto !important;
    display: block !important;
  }

  .sapura-brace-text {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

}
