/* Shared guide presentation: image disclosure, conversion blocks and FAQ motion. */
.article-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.ratgeber-hero h1,
.article-header h1,
.article-body h2,
.article-body h3 { overflow-wrap: anywhere; }
.article-media {
  position: relative;
  display: block;
  line-height: 0;
  isolation: isolate;
}
.article-media img { display: block; }
.article-header .article-media { margin-bottom: 2rem; }
.article-header .article-media img { margin-bottom: 0; }
.article-card .article-media { flex: 0 0 auto; }
.ai-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: block;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  /* Fixed letter outlines share the circle's center, independent of font metrics. */
  background: rgba(255, 255, 255, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath fill='%23153652' fill-rule='evenodd' d='M6 14.5L8.65 7.5H10.15L12.8 14.5H11.25L10.68 12.9H8.12L7.55 14.5ZM8.56 11.65H10.24L9.4 9.22ZM14.4 7.5H16V14.5H14.4Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #153652;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  user-select: none;
  pointer-events: none;
}
.article-card .ai-badge { right: 8px; bottom: 8px; }
.article-cta {
  gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
}
.article-cta-copy { min-width: 0; }
.article-cta h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; text-wrap: balance; }
.article-cta p { font-size: 1rem; line-height: 1.65; }
.article-cta .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  gap: .65rem;
}
.cta-arrow { flex: 0 0 auto; font-size: 1.2em; }
.article-faq details { transition: border-color .25s ease, box-shadow .25s ease; }
.article-faq details:hover { border-color: #9eb8cf; }
.article-faq summary {
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.article-faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--radius-sm); }
.article-faq summary::before,
.article-faq summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform .3s ease, opacity .3s ease;
}
.article-faq summary::after { transform: translateY(-50%) rotate(90deg); }
.article-faq details[open] summary::after { content: ""; }
.article-faq details[data-animated] summary { background: transparent; border-bottom-color: transparent; }
.article-faq details.is-expanded summary,
.article-faq details:not([data-animated])[open] summary { background: var(--off-white); border-bottom-color: var(--border); }
.article-faq details.is-expanded summary::after,
.article-faq details:not([data-animated])[open] summary::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.article-faq .faq-content { display: flow-root; }
.article-faq .faq-content p + p { padding-top: 0; }
@media (max-width: 900px) {
  .article-cta { flex-direction: column; align-items: stretch; }
  .article-cta .btn { align-self: flex-start; }
}
@media (max-width: 768px) {
  .ratgeber-hero h1,
  .article-header h1,
  .article-body h2,
  .article-body h3 { hyphens: auto; }
  .ai-badge { width: 18px; height: 18px; right: 8px; bottom: 8px; }
  .article-cta .btn { width: 100%; align-self: stretch; justify-content: center; }
  .article-cta { gap: 1.2rem; align-items: center; text-align: center; }
  .article-cta-copy { width: 100%; }
  .article-meta, .breadcrumb { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .article-faq details, .article-faq summary,
  .article-faq summary::before, .article-faq summary::after { transition: none; }
}
