/* Artikel-Layout (gemeinsame Basis der Artikelseiten, seitenweise ausgeliefert) */
.art { padding: 56px 0 96px; }
.art-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 250px;
  gap: 84px;
  justify-content: center;
  align-items: start;
}
.art-body { min-width: 0; }
.art-body > p { font-size: 18px; line-height: 1.78; color: #3F515B; margin: 0 0 18px; }
.art-body > p b { color: var(--ink); }
.art-body > p a { color: var(--petrol); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(237, 152, 42, 0.6); text-underline-offset: 3px; }
.art-body > p.art-lead { font-size: 21px; line-height: 1.62; color: var(--ink); }
.art-body h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.028em;
  margin: 72px 0 20px;
  scroll-margin-top: 104px;
}
.art-body h2 .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 12px;
}
.art-body h2 .k::before { content: "// "; opacity: 0.7; }
.art-fig-note { font-size: 12.5px; color: var(--gray); margin: 10px 2px 0; }
.art-src { font-size: 13px; color: var(--gray); margin: 12px 2px 0; }
.art-src a { color: var(--petrol); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Das Wichtigste in Kuerze */
.art-tldr {
  position: relative;
  overflow: hidden;
  margin: 34px 0 10px;
  padding: 30px 32px 32px;
  border-radius: 20px;
  color: #E6EEF2;
  background: radial-gradient(520px 260px at 100% 0%, rgba(237, 152, 42, 0.24), transparent 62%), linear-gradient(155deg, #16354A, var(--ink) 72%);
  box-shadow: var(--shadow-card);
}
.art-tldr .mono-label, .art-tldr .mono-label::before { color: var(--orange-soft); }
.art-tldr ul { list-style: none; display: grid; gap: 14px; margin: 18px 0 0; padding: 0; }
.art-tldr li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.55; color: rgba(230, 238, 242, 0.93); }
.art-tldr li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 7px;
  background: rgba(237, 152, 42, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4l2.5 2.4 5-5.4' fill='none' stroke='%23F5C26B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Kernsatz */
.art-quote { position: relative; margin: 48px 0; padding: 4px 0 4px 30px; }
.art-quote::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--orange), var(--orange-soft));
  transform-origin: top;
}
.art-quote p {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.7vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}
.art-quote .mono-label { margin-bottom: 14px; font-size: 11px; }

/* Karten */
.art-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}
.art-card h3 { font-size: 19px; margin: 0 0 10px; }
.art-card p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--gray); }
.art-photo { margin: 36px 0 8px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease-out); }
.art-photo:hover img { transform: scale(1.03); }
.art-photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(10, 26, 34, 0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(230, 238, 242, 0.8); font-size: 13px;
}

/* Seitenleiste: Inhalt und Lesefortschritt */
.art-side { position: sticky; top: 104px; }
.art-toc { position: relative; padding-left: 20px; }
.art-toc::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.art-toc::after {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.art-toc .mono-label { margin-bottom: 14px; font-size: 11px; color: var(--gray); }
.art-toc .mono-label::before { color: var(--gray); }
.art-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.art-toc a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray);
  transition: color 0.3s, transform 0.5s var(--ease-out);
}
.art-toc a:hover { color: var(--ink); }
.art-toc a.on { color: var(--ink); font-weight: 600; transform: translateX(4px); }
.art-next {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.art-next b { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.art-next span { display: block; font-size: 13.5px; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.art-next .btn { padding: 10px 14px; font-size: 14px; width: 100%; justify-content: center; text-align: center; white-space: normal; line-height: 1.3; }
.art-fig-note { margin-top: 14px; }

/* Abschluss */
.art-end { padding: 0 0 110px; }
.art-end .cta-banner h2 { margin-top: 14px; }

@media (max-width: 1100px) {
  .art-grid { grid-template-columns: minmax(0, 720px); gap: 0; }
  .art-side { display: none; }
}
@media (max-width: 720px) {
  .art { padding: 36px 0 72px; }
  .art-body > p { font-size: 17px; }
  .art-body > p.art-lead { font-size: 19px; }
  .art-body h2 { margin-top: 56px; }
  .art-tldr { padding: 24px 22px 26px; }
  .art-card { padding: 22px 20px; }
  .art-end { padding-bottom: 72px; }
  .art-end .cta-banner { padding: 44px 24px; }
}

/* Bewegung: Endzustand ist der Normalzustand, Animationen nur ohne Reduktionswunsch */
@media (prefers-reduced-motion: no-preference) {
  .art-tldr li { opacity: 0; transform: translateY(10px); }
  .rv.in .art-tldr li, .art-tldr.rv.in li { animation: art-up 0.7s var(--ease-out) forwards; animation-delay: var(--t, 0.2s); }
  .art-quote.rv::before { transform: scaleY(0); transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
  .art-quote.rv.in::before { transform: scaleY(1); }
  .art-quote.rv p { transition-delay: 0.3s; }
}
@keyframes art-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }


/* ---------- Wie laeuft KI-Beratung ab: Seitenelemente ---------- */

/* Fuenf-Schritt-Leiste */
.wa-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 40px 0 0;
  padding-top: 4px;
}
.wa-steps::before, .wa-steps::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  top: 25px;
  height: 2px;
  border-radius: 2px;
}
.wa-steps::before { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.wa-steps::after { background: linear-gradient(90deg, var(--petrol), var(--orange)); transform-origin: left; }
.wa-step { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.wa-n {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--petrol);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--petrol);
}
.wa-step b { display: block; font-family: var(--font-head); font-size: 15.5px; line-height: 1.25; color: var(--ink); margin-bottom: 4px; }
.wa-step > span:last-child { display: block; font-size: 12.5px; line-height: 1.4; color: var(--gray); }
.wa-step.last .wa-n { background: var(--orange); border-color: var(--orange); color: var(--ink); box-shadow: 0 0 0 6px rgba(237, 152, 42, 0.18); }

/* Worauf der Audit schaut */
.wa-look { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.wa-look-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.wa-look-item b { font-family: var(--font-head); font-size: 15.5px; line-height: 1.3; font-weight: 600; }
.wa-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(237, 152, 42, 0.14); color: var(--orange-deep); }
.wa-ico svg { width: 22px; height: 22px; }

/* Einbinden statt ersetzen */
.wa-int {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.2fr);
  grid-template-rows: repeat(3, auto);
  align-items: center;
  gap: 12px 0;
  margin: 28px 0 0;
  padding: 26px;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.wa-chip {
  grid-column: 1;
  padding: 13px 16px;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.wa-link { grid-column: 2; height: 2px; margin: 0 6px; position: relative; background: linear-gradient(90deg, var(--petrol), var(--orange)); transform-origin: left; }
.wa-link::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border: solid var(--orange); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.wa-new {
  grid-column: 3; grid-row: 1 / span 3;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 22px 22px;
  border-radius: 14px;
  border: 2px dashed var(--orange);
  background: rgba(237, 152, 42, 0.07);
}
.wa-new b { font-family: var(--font-head); font-size: 18px; }
.wa-new span { font-size: 15px; line-height: 1.55; color: var(--gray); }

/* Blinde Flecken */
.wa-spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.wa-spot { position: relative; overflow: hidden; padding: 20px 18px 18px; border-radius: 16px; background: var(--night); color: #E6EEF2; }
.wa-spot i { display: block; width: 14px; height: 14px; margin-bottom: 16px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(237, 152, 42, 0.2), 0 0 24px 2px var(--glow); }
.wa-spot b { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.3; color: #fff; margin-bottom: 6px; }
.wa-spot span { display: block; font-size: 13.5px; line-height: 1.5; color: rgba(230, 238, 242, 0.68); }

/* Ihre Anpassung: so nicht, so schon */
.wa-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; }
.wa-vs-card { padding: 24px 24px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.wa-vs-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.wa-vs-card li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.wa-vs-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; }
.wa-vs-card.no { border-color: rgba(192, 69, 61, 0.28); }
.wa-vs-card.no .mono-label { color: #C0453D; }
.wa-vs-card.no li::before { background: rgba(192, 69, 61, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' stroke='%23C0453D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.wa-vs-card.yes { border-color: rgba(42, 157, 92, 0.35); background: linear-gradient(180deg, rgba(53, 194, 107, 0.07), var(--card)); }
.wa-vs-card.yes .mono-label { color: #2A9D5C; }
.wa-vs-card.yes li::before { background: rgba(53, 194, 107, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.7 2.6L13 6.4' fill='none' stroke='%232A9D5C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.wa-vs-card .mono-label { font-size: 11.5px; }

.art-photo { max-height: 520px; }

@media (max-width: 720px) {
  .wa-steps { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .wa-steps::before, .wa-steps::after { left: 20px; right: auto; top: 22px; bottom: 36px; width: 2px; height: auto; }
  .wa-steps::before { background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
  .wa-steps::after { background: linear-gradient(180deg, var(--petrol), var(--orange)); transform-origin: top; }
  .wa-step { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; text-align: left; align-items: center; padding: 0 0 22px; }
  .wa-n { grid-row: 1 / span 2; margin: 0; }
  .wa-step b { align-self: end; margin: 0; }
  .wa-step > span:last-child { align-self: start; }
  .wa-look, .wa-spots, .wa-vs { grid-template-columns: 1fr; }
  .wa-int { grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr); padding: 16px; }
  .wa-chip { padding: 11px 10px; font-size: 13px; }
  .wa-link { margin: 0 3px; }
  .wa-new { padding: 14px 12px; }
  .wa-new b { font-size: 15px; }
  .wa-new span { font-size: 13px; }
}

/* Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .wa-steps::after { transform: scaleX(0); }
  .wa-step { opacity: 0; transform: translateY(12px) scale(0.96); }
  .wa-steps.in::after { transform: scaleX(1); transition: transform 3.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
  .wa-steps.in .wa-step { animation: art-up 0.7s var(--ease-out) forwards; animation-delay: var(--t); }
  .wa-steps.in .wa-step.last .wa-n { animation: wa-pulse 2.8s 3.4s cubic-bezier(0.65, 0, 0.35, 1) 2; }
  @keyframes wa-pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(237, 152, 42, 0.18); } 50% { box-shadow: 0 0 0 14px rgba(237, 152, 42, 0.05); } }

  .wa-look-item, .wa-chip, .wa-spot, .wa-vs-card { opacity: 0; transform: translateY(14px); }
  .wa-look.in .wa-look-item, .wa-int.in .wa-chip, .wa-spots.in .wa-spot, .wa-vs.in .wa-vs-card { animation: art-up 0.75s var(--ease-out) forwards; animation-delay: var(--t, 0s); }

  .wa-link { transform: scaleX(0); }
  .wa-int.in .wa-link { transform: scaleX(1); transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); transition-delay: var(--t); }
  .wa-new { opacity: 0; transform: scale(0.96); }
  .wa-int.in .wa-new { animation: wa-pop 0.9s var(--ease-out) 1.55s forwards; }
  @keyframes wa-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

  .wa-spots.in .wa-spot i { animation: wa-blink 3.4s cubic-bezier(0.65, 0, 0.35, 1) 3; animation-delay: calc(var(--t) + 1s); }
  @keyframes wa-blink { 0%, 100% { box-shadow: 0 0 0 6px rgba(237, 152, 42, 0.2), 0 0 24px 2px var(--glow); } 50% { box-shadow: 0 0 0 12px rgba(237, 152, 42, 0.05), 0 0 8px 0 var(--glow); } }
}

/* ---------- Bilder und Kontrast (Hero-Foto, Zitat-Foto, dunkles Band) ---------- */
.ah-pic {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0;
  width: 52%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  animation: ah-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.ah-pic picture { display: block; width: 100%; height: 100%; }
.ah-pic img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.ah-pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 26, 34, 0.7) 0%, transparent 38%), linear-gradient(180deg, rgba(10, 26, 34, 0.35) 0%, transparent 30%);
}
@keyframes ah-in {
  0% { opacity: 0; transform: translateX(44px) scale(1.06); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@media (max-width: 1000px) {
  .ah-pic { width: 100%; opacity: 0.16; -webkit-mask-image: none; mask-image: none; }
}

.art-quote.aq-photo {
  isolation: isolate; overflow: hidden;
  margin: 48px 0; padding: 44px 40px 44px 46px;
  border-radius: 20px; color: #fff;
  box-shadow: 0 30px 60px rgba(10, 26, 34, 0.28);
}
.art-quote.aq-photo::before { z-index: 2; left: 22px; top: 44px; bottom: 44px; }
.aq-bg { position: absolute; inset: 0; z-index: -2; }
.aq-bg picture { display: block; width: 100%; height: 100%; }
.aq-bg img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1); }
.art-quote.in .aq-bg img { transform: scale(1); }
.aq-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 34, 0.94) 0%, rgba(10, 26, 34, 0.82) 55%, rgba(10, 26, 34, 0.5) 100%); }
.art-quote.aq-photo p { color: #fff; position: relative; }
.art-quote.aq-photo .mono-label { color: var(--orange-soft); }

.art-more .sec-head { margin-bottom: 40px; }
.spec-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec-strip.three .spec { aspect-ratio: 4 / 5; }
@media (max-width: 720px) {
  .art-quote.aq-photo { padding: 32px 22px 32px 34px; }
  .art-quote.aq-photo::before { left: 14px; top: 32px; bottom: 32px; }
  .spec-strip.three { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-pic { animation: none; }
  .aq-bg img { transform: none; transition: none; }
}
