/* 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; } }


/* ---------- Warum KI-Piloten scheitern: Seitenelemente ---------- */

/* Zwei Studien als Balken */
.wk-stats { margin: 34px 0 0; padding: 6px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); }
.wk-stat { padding: 26px 0; }
.wk-stat + .wk-stat { border-top: 1px dashed var(--line); }
.wk-stat-top { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 18px; }
.wk-num { font-family: var(--font-head); font-weight: 700; font-size: 68px; line-height: 1; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wk-num b { font-weight: 700; }
.wk-num small { font-size: 30px; margin-left: 4px; letter-spacing: 0; color: var(--orange-deep); }
.wk-lbl { font-size: 16.5px; line-height: 1.5; color: #3F515B; }
.wk-bar { height: 14px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line-soft); overflow: hidden; }
.wk-bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--orange-soft), var(--orange-deep)); }
.wk-stat:nth-child(2) .wk-bar i { background: linear-gradient(90deg, var(--steel), var(--petrol)); }
.wk-src { display: block; margin-top: 10px; font-size: 12.5px; color: var(--gray); }
.wk-src a { color: var(--petrol); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Pilot gegen Regelbetrieb */
.wk-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; }
.wk-panel { padding: 24px 24px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.wk-panel.mess { background: linear-gradient(180deg, rgba(237, 152, 42, 0.07), var(--card)); border-color: rgba(237, 152, 42, 0.35); }
.wk-panel .mono-label { font-size: 11.5px; }
.wk-dots { display: grid; grid-template-columns: repeat(5, 14px); justify-content: space-between; gap: 18px 0; margin: 22px 8px 22px; }
.wk-dots i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--petrol); border: 2px solid transparent; }
.wk-dots.messy i { transform: translate(var(--x, 0), var(--y, 0)); }
.wk-dots.messy i.warn { background: var(--orange); }
.wk-dots.messy i.gap { background: transparent; border: 2px dashed var(--orange-deep); }
.wk-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; line-height: 1.45; color: var(--gray); }
.wk-panel li { padding-left: 16px; position: relative; }
.wk-panel li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--steel); }
.wk-panel.mess li::before { background: var(--orange); }

/* Ursachen */
.wk-causes { display: grid; gap: 14px; }
.wk-cause { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); }
.wk-cause h3 { font-size: 20px; margin: 2px 0 8px; }
.wk-cause p { margin: 0; font-size: 16.5px; line-height: 1.68; color: var(--gray); }
.wk-cause-ico { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: rgba(237, 152, 42, 0.13); color: var(--orange-deep); }
.wk-cause-ico svg { width: 34px; height: 34px; }
.wk-cause-ico svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.wk-cause-n { position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }

/* Drei Fragen vor dem Prototyp */
.wk-gates { margin: 28px 0 24px; padding: 26px 28px 24px; border-radius: 20px; background: radial-gradient(520px 240px at 100% 0%, rgba(237, 152, 42, 0.2), transparent 62%), linear-gradient(155deg, #16354A, var(--ink) 72%); color: #E6EEF2; }
.wk-gates > .mono-label, .wk-gates > .mono-label::before { color: var(--orange-soft); font-size: 11.5px; }
.wk-gate { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.wk-gates > .mono-label + .wk-gate { margin-top: 12px; }
.wk-gate b { display: block; font-family: var(--font-head); font-size: 18px; line-height: 1.3; color: #fff; margin-bottom: 4px; }
.wk-gate span:not(.wk-check) { display: block; font-size: 14px; color: rgba(230, 238, 242, 0.62); }
.wk-check { flex: none; position: relative; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; border: 2px solid var(--orange-soft); }
.wk-check::after { content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid var(--orange-soft); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.wk-goal { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(230, 238, 242, 0.6); }
.wk-goal i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), var(--orange)); transform-origin: left; }
.wk-goal b { padding: 7px 14px; border-radius: 99px; background: var(--orange); color: var(--ink); font-weight: 600; letter-spacing: 0.08em; }

@media (max-width: 720px) {
  .wk-stats { padding: 4px 20px; }
  .wk-stat-top { grid-template-columns: 1fr; gap: 10px; }
  .wk-num { font-size: 56px; }
  .wk-vs { grid-template-columns: 1fr; }
  .wk-dots { grid-template-columns: repeat(5, 14px); }
  .wk-cause { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .wk-gates { padding: 22px 20px; }
  .wk-gate b { font-size: 16.5px; }
}

/* Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .wk-bar i { width: 0; }
  .wk-stats.in .wk-bar i { width: var(--w); transition: width 1.8s cubic-bezier(0.65, 0, 0.35, 1) var(--t, 0s); }

  .wk-dots.messy i { transition: transform 1.3s cubic-bezier(0.65, 0, 0.35, 1) var(--t, 0s), background-color 0.8s ease var(--t, 0s), border-color 0.8s ease var(--t, 0s); }
  .wk-vs:not(.in) .wk-dots.messy i { transform: none; background: var(--petrol); border-color: transparent; }

  .wk-cause.in .wk-cause-ico svg * { animation: wk-draw 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.25s both; }
  @keyframes wk-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

  .wk-gate { opacity: 0; transform: translateY(10px); }
  .wk-gates.in .wk-gate { animation: art-up 0.7s var(--ease-out) forwards; animation-delay: var(--t); }
  .wk-check::after { transform: rotate(45deg) scale(0); }
  .wk-gates.in .wk-check::after { animation: wk-tick 0.5s var(--ease-spring) forwards; animation-delay: calc(var(--t) + 0.4s); }
  @keyframes wk-tick { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg) scale(1); } }
  .wk-goal { opacity: 0; }
  .wk-goal i { transform: scaleX(0); }
  .wk-goal b { transform: scale(0.9); }
  .wk-gates.in .wk-goal { opacity: 1; transition: opacity 0.5s ease 2.2s; }
  .wk-gates.in .wk-goal i { transform: scaleX(1); transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1) 2.3s; }
  .wk-gates.in .wk-goal b { transform: none; transition: transform 0.6s var(--ease-spring) 3.35s; }
}

/* ---------- 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; }
}
