/* ===== Ratgeber Article ===== */
:root{
  --mag-article-accent:rgba(15,145,227,.92);
  --mag-article-accent-soft:rgba(15,145,227,.16);
  --mag-article-panel:rgba(18,20,27,.68);
  --mag-article-panel-strong:rgba(14,17,25,.88);
}

.mag-article{
  --mag-article-accent:rgba(15,145,227,.92);
  --mag-article-accent-soft:rgba(15,145,227,.16);
}

.mag-article--indigo{
  --mag-article-accent:rgba(92,104,255,.92);
  --mag-article-accent-soft:rgba(92,104,255,.16);
}

.mag-article--green{
  --mag-article-accent:rgba(24,172,78,.94);
  --mag-article-accent-soft:rgba(24,172,78,.16);
}

.mag-article .section-pad:first-child{
  padding-top:var(--page-breadcrumb-top-space);
}

.mag-article > .section-pad--loose + .section-pad--tight{
  padding-top:clamp(10px, 1.4vw, 18px);
}

.mag-article__hero{
  padding:clamp(1.35rem, 3.2vw, 2.15rem);
  border-radius:30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
    radial-gradient(circle at top right, rgba(var(--brand-rgb), .12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(var(--brand-indigo-rgb), .1), transparent 38%),
    rgba(18,20,27,.76);
}

.mag-article__hero-grid{
  display:grid;
  gap:1.1rem;
}

@media (min-width: 64rem){
  .mag-article__hero-grid{
    grid-template-columns:minmax(0, 1.18fr) minmax(20rem, .82fr);
    align-items:stretch;
  }
}

.mag-article__hero-main{
  display:grid;
  gap:.95rem;
  min-width:0;
}

.mag-article__copy{
  min-width:0;
}

.mag-article__copy .page-breadcrumbs{
  margin-bottom:1rem;
}

.mag-article .page-breadcrumbs__list{
  gap:.45rem .7rem;
}

.mag-article .page-breadcrumbs__item{
  overflow-wrap:anywhere;
}

.mag-article__eyebrow-row{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-bottom:.95rem;
}

.mag-article__copy h1{
  max-width:min(100%, 20ch);
  text-wrap:balance;
  margin-bottom:.9rem;
}

.mag-article__copy .ui-copy-lead{
  max-width:62ch;
}

.mag-article__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  align-items:center;
  color:rgba(255,255,255,.7);
  font-size:.94rem;
  margin-top:0;
}

.mag-article__hero-side{
  display:flex;
  align-items:flex-start;
  min-width:0;
}

.mag-article__cover-card,
.mag-article__outline,
.mag-article__toc,
.mag-article__aside-note,
.mag-article__planned-card,
.mag-article__faq-item{
  margin:0;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(15,17,24,.76);
  box-shadow:var(--shadow-card);
}

.mag-article__cover-card,
.mag-article__outline,
.mag-article__toc,
.mag-article__aside-note{
  position:relative;
}

.mag-article__cover-card::before,
.mag-article__outline::before,
.mag-article__toc::before,
.mag-article__aside-note::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  border-radius:24px 24px 0 0;
  background:linear-gradient(90deg, rgba(var(--brand-rgb), .95), rgba(var(--brand-indigo-rgb), .62), rgba(255,255,255,0));
  opacity:.95;
  pointer-events:none;
}

.mag-article__cover-card{
  overflow:hidden;
}

.mag-article__cover-image{
  display:block;
  width:100%;
  aspect-ratio:1.91 / 1;
  object-fit:cover;
}

.mag-article__cover-fallback{
  display:grid;
  align-content:end;
  gap:.8rem;
  min-height:100%;
  aspect-ratio:1.91 / 1;
  padding:clamp(1.2rem, 3vw, 1.7rem);
  background:
    linear-gradient(135deg, rgba(15,145,227,.17), rgba(42,46,92,.12)),
    radial-gradient(circle at top right, rgba(255,255,255,.1), transparent 28%),
    linear-gradient(180deg, rgba(12,14,20,.94), rgba(18,20,27,.98));
  color:#fff;
}

.mag-article__cover-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:2rem;
  padding:.35rem .75rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.mag-article__cover-fallback strong{
  max-width:14ch;
  font-size:clamp(1.5rem, 3vw, 2.25rem);
  line-height:1.08;
}

.mag-article__outline,
.mag-article__toc,
.mag-article__aside-note{
  padding:1.2rem;
}

.mag-article__outline{
  width:100%;
}

.mag-article__mini-label,
.mag-article__toc-eyebrow,
.mag-article__section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:rgba(255,255,255,.62);
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:.76rem;
}

.mag-article__mini-label::before,
.mag-article__toc-eyebrow::before,
.mag-article__section-eyebrow::before{
  content:"";
  width:.46rem;
  height:.46rem;
  border-radius:999px;
  background:var(--mag-article-accent);
  box-shadow:0 0 0 4px var(--mag-article-accent-soft);
}

.mag-article__mini-title{
  font-size:1.22rem;
  line-height:1.28;
  margin:.48rem 0 .8rem;
  max-width:18ch;
}

.mag-article__outline ul,
.mag-article__toc-list,
.mag-article__list{
  list-style:none;
  margin:0;
  padding:0;
}

.mag-article__outline ul{
  display:grid;
  gap:.7rem;
}

.mag-article__outline li,
.mag-article__list li{
  position:relative;
  padding-left:1rem;
  color:rgba(255,255,255,.84);
  line-height:1.65;
}

.mag-article__outline li::before,
.mag-article__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.7rem;
  width:.4rem;
  height:.4rem;
  border-radius:999px;
  background:var(--mag-article-accent);
  box-shadow:0 0 0 4px var(--mag-article-accent-soft);
}

.mag-article__layout{
  display:grid;
  gap:.82rem;
}

@media (min-width: 72rem){
  .mag-article__layout{
    grid-template-columns:minmax(0, 17.5rem) minmax(0, 1fr);
    align-items:start;
  }
}

.mag-article__aside{
  display:grid;
  gap:1rem;
}

@media (min-width: 72rem){
  .mag-article__aside{
    position:sticky;
    top:calc(var(--header-height, 5rem) + 1rem);
  }
}

.mag-article__toc-list{
  display:grid;
  gap:.55rem;
  margin-top:.9rem;
}

.mag-article__toc-list li{
  counter-increment:none;
}

.mag-article__toc-list a{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:.7rem;
  align-items:start;
  padding:.75rem .82rem;
  border-radius:16px;
  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.03);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
  border:1px solid rgba(255,255,255,.05);
  min-width:0;
}

.mag-article__toc-list a:hover{
  transform:translateY(-1px);
  background:rgba(var(--brand-rgb), .1);
  border-color:rgba(var(--brand-rgb), .24);
}

.mag-article__toc-list a span:last-child{
  min-width:0;
  overflow-wrap:anywhere;
  line-height:1.48;
}

.mag-article__toc-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:2rem;
  min-height:2rem;
  border-radius:999px;
  background:rgba(var(--brand-rgb), .14);
  color:#fff;
  font-weight:900;
  font-size:.8rem;
}

.mag-article__aside-note .ui-copy-small{
  margin:0;
  line-height:1.65;
  color:rgba(255,255,255,.78);
}

.mag-article__content{
  display:grid;
  gap:1rem;
}

.mag-article__section{
  position:relative;
  padding:clamp(1.25rem, 3vw, 1.7rem);
  border-radius:28px;
  background:var(--mag-article-panel);
  scroll-margin-top:calc(var(--page-breadcrumb-top-space) + .85rem);
}

.mag-article__section::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  border-radius:28px 28px 0 0;
  background:linear-gradient(90deg, rgba(var(--brand-rgb), .95), rgba(var(--brand-indigo-rgb), .68), rgba(255,255,255,0));
}

.mag-article__section-head{
  margin-bottom:1rem;
}

.mag-article__section-head h2{
  max-width:28ch;
  margin-top:.35rem;
  text-wrap:balance;
}

.mag-article__rich{
  display:grid;
  gap:.95rem;
}

.mag-article__rich .ui-copy-body,
.mag-article__faq-answer{
  max-width:72ch;
  margin:0;
  color:rgba(255,255,255,.84);
  line-height:1.72;
  overflow-wrap:anywhere;
}

.mag-article__links{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem 1.25rem;
  align-items:center;
  padding-top:.2rem;
}

.mag-article__planned-grid{
  display:grid;
  gap:1rem;
}

@media (min-width: 52rem){
  .mag-article__planned-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

.mag-article__planned-card{
  padding:1.1rem;
  overflow:hidden;
}

.mag-article__planned-card h3{
  font-size:1.02rem;
  line-height:1.35;
  margin:0 0 .6rem;
  color:#fff;
}

.mag-article__planned-card .ui-copy-small{
  margin:0 0 .85rem;
  line-height:1.6;
}

.mag-article__faq{
  display:grid;
  gap:.8rem;
}

.mag-article__faq-item{
  overflow:hidden;
}

.mag-article__faq-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.1rem;
  cursor:pointer;
  list-style:none;
}

.mag-article__faq-summary::-webkit-details-marker{
  display:none;
}

.mag-article__faq-question{
  color:#fff;
  font-weight:800;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.mag-article__faq-toggle{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2rem;
  height:2rem;
  border-radius:999px;
  background:rgba(var(--brand-rgb), .12);
  color:#fff;
  transition:transform .18s ease, background .18s ease;
}

.mag-article__faq-item[open] .mag-article__faq-toggle{
  transform:rotate(180deg);
  background:rgba(var(--brand-rgb), .2);
}

.mag-article__faq-answer{
  padding:0 1.1rem 1rem;
}

.mag-article__copy-grid{
  display:grid;
  gap:1rem;
}

@media (min-width: 54rem){
  .mag-article__copy-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 71.98rem){
  .mag-article__aside{
    order:2;
  }

  .mag-article__hero-side{
    display:grid;
    padding-top:0;
  }

  .mag-article__content{
    order:1;
  }
}

@media (max-width: 52rem){
  .mag-article__hero{
    padding:1.05rem;
  }

  .mag-article__outline,
  .mag-article__toc,
  .mag-article__aside-note,
  .mag-article__section{
    padding:1rem;
  }

  .mag-article__section-head h2{
    max-width:none;
  }

  .mag-article__meta{
    font-size:.88rem;
  }

  .mag-article__hero-main{
    gap:.85rem;
  }
}
