/* 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; } }


/* ---------- Wann lohnt sich KI nicht: Seitenelemente ---------- */

/* Entscheidungsweg */
.wn-head { margin: 40px 0 16px; }
.wn-path { position: relative; }
.wn-gate { position: relative; padding: 0 0 18px 72px; }
.wn-node {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--petrol);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--petrol);
  z-index: 1;
}
.wn-node svg { width: 22px; height: 22px; }
.wn-node.ok { background: var(--orange); border-color: var(--orange); color: var(--ink); box-shadow: 0 0 0 7px rgba(237, 152, 42, 0.2); }
.wn-gate:not(.end)::before, .wn-gate:not(.end)::after {
  content: "";
  position: absolute;
  left: 22px; top: 50px; bottom: 2px;
  width: 2px; border-radius: 2px;
}
.wn-gate:not(.end)::before { background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
.wn-gate:not(.end)::after { background: linear-gradient(180deg, var(--petrol), var(--orange)); transform-origin: top; }
.wn-card { padding: 20px 24px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.wn-card h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.wn-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--gray); }
.wn-tag {
  display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 99px;
  background: rgba(237, 152, 42, 0.16); color: var(--orange-deep);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: 1px;
}
.wn-card.ok { background: radial-gradient(420px 200px at 100% 0%, rgba(237, 152, 42, 0.22), transparent 60%), linear-gradient(155deg, #16354A, var(--ink) 72%); border-color: transparent; }
.wn-card.ok h3 { color: #fff; margin: 0; }
.wn-gate.end { padding-bottom: 0; }

/* Kalender */
.wn-cal { margin: 28px 0 0; padding: 22px 24px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.wn-cal .mono-label { font-size: 11.5px; }
.wn-cells { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; margin: 18px 0 14px; }
.wn-cells i { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line-soft); }
.wn-cells i.hit { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237, 152, 42, 0.2); }
.wn-cal p { margin: 0; font-size: 15px; color: var(--gray); }

/* Datenfluss */
.wn-flow { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 0.7fr) 34px minmax(0, 1.25fr); align-items: center; margin: 28px 0 0; gap: 0; }
.wn-fchip { padding: 16px 16px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.35; text-align: center; }
.wn-fchip.mid { background: var(--ink); border-color: var(--ink); color: #fff; }
.wn-fchip.bad { border: 2px dashed var(--orange-deep); background: rgba(237, 152, 42, 0.08); }
.wn-farrow, .wn-harrow { position: relative; height: 2px; background: linear-gradient(90deg, var(--petrol), var(--orange)); transform-origin: left; }
.wn-farrow::after, .wn-harrow::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); }

/* Treppe */
.wn-stairs { margin: 28px 0 0; padding: 22px 24px 20px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line); }
.wn-stairs .mono-label { font-size: 11.5px; }
.wn-steps { display: flex; gap: 8px; align-items: flex-end; height: 190px; margin: 18px 0 14px; }
.wn-stair { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; padding: 12px 12px; border-radius: 11px 11px 4px 4px; background: var(--card); border: 1px solid var(--line); transform-origin: bottom; }
.wn-stair b { font-family: var(--font-head); font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.wn-stair.s1 { height: 28%; } .wn-stair.s2 { height: 50%; } .wn-stair.s3 { height: 74%; }
.wn-stair.s4 { height: 100%; background: linear-gradient(160deg, #16354A, var(--ink)); border-color: transparent; }
.wn-stair.s4 b { color: #fff; }
.wn-stairs p { margin: 0; font-size: 15px; color: var(--gray); }

/* Uebergabe an den Menschen */
.wn-hand { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); align-items: center; margin: 28px 0 0; }
.wn-hbox { padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.wn-hbox b { display: block; margin-top: 8px; font-family: var(--font-head); font-size: 17px; line-height: 1.3; }
.wn-hbox.human { background: radial-gradient(420px 200px at 100% 0%, rgba(237, 152, 42, 0.22), transparent 60%), linear-gradient(155deg, #16354A, var(--ink) 72%); border-color: transparent; color: #fff; }
.wn-hbox.human .mono-label, .wn-hbox.human .mono-label::before { color: var(--orange-soft); }
.wn-hbox .mono-label { font-size: 11.5px; }
.wn-harrow { margin: 0 8px; }
.wn-cases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wn-cases span { padding: 7px 13px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14px; color: var(--gray); }

/* Drei moegliche Antworten */
.wn-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.wn-ocard { padding: 22px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.wn-ocard b { display: block; margin: 8px 0 6px; font-family: var(--font-head); font-size: 28px; letter-spacing: -0.03em; }
.wn-ocard span:last-child { display: block; font-size: 14.5px; line-height: 1.5; color: var(--gray); }
.wn-ocard .mono-label { font-size: 10.5px; }
.wn-ocard.yes { background: radial-gradient(360px 180px at 100% 0%, rgba(237, 152, 42, 0.26), transparent 60%), linear-gradient(155deg, #16354A, var(--ink) 72%); border-color: transparent; color: #fff; }
.wn-ocard.yes .mono-label, .wn-ocard.yes .mono-label::before { color: var(--orange-soft); }
.wn-ocard.yes span:last-child { color: rgba(230, 238, 242, 0.75); }

@media (max-width: 720px) {
  .wn-gate { padding-left: 58px; }
  .wn-node { width: 40px; height: 40px; font-size: 17px; }
  .wn-gate:not(.end)::before, .wn-gate:not(.end)::after { left: 19px; top: 44px; }
  .wn-card { padding: 16px 18px; }
  .wn-card h3 { font-size: 17px; }
  .wn-cells { gap: 5px; }
  .wn-flow { grid-template-columns: 1fr; gap: 0; justify-items: stretch; }
  .wn-farrow { width: 2px; height: 26px; justify-self: center; background: linear-gradient(180deg, var(--petrol), var(--orange)); transform-origin: top; }
  .wn-farrow::after { right: -4px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .wn-steps { height: 230px; gap: 6px; }
  .wn-stair { padding: 10px 8px; }
  .wn-stair b { font-size: 11px; }
  .wn-hand { grid-template-columns: 1fr; }
  .wn-harrow { width: 2px; height: 26px; margin: 0 auto; background: linear-gradient(180deg, var(--petrol), var(--orange)); transform-origin: top; }
  .wn-harrow::after { right: -4px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .wn-out { grid-template-columns: 1fr; }
}

/* Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .wn-gate:not(.end)::after { transform: scaleY(0); }
  .wn-gate.in:not(.end)::after { transform: scaleY(1); transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--d, 0s) + 0.55s); }
  .wn-node { transform: scale(0.6); }
  .wn-gate.in .wn-node { transform: none; transition: transform 0.7s var(--ease-spring) calc(var(--d, 0s) + 0.1s); }
  .wn-gate.end.in .wn-node.ok { animation: wn-glow 2.6s cubic-bezier(0.65, 0, 0.35, 1) 1.2s 3; }
  @keyframes wn-glow { 0%, 100% { box-shadow: 0 0 0 7px rgba(237, 152, 42, 0.2); } 50% { box-shadow: 0 0 0 15px rgba(237, 152, 42, 0.04); } }

  .wn-cells i.hit { background: var(--bg-alt); border-color: var(--line-soft); box-shadow: none; }
  .wn-cal.in .wn-cells i.hit { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237, 152, 42, 0.2); transition: background-color 0.4s ease var(--t), border-color 0.4s ease var(--t), box-shadow 0.9s ease var(--t); }

  .wn-fchip, .wn-hbox, .wn-ocard, .wn-cases span { opacity: 0; transform: translateY(14px); }
  .wn-flow.in .wn-fchip, .wn-hand.in .wn-hbox, .wn-out.in .wn-ocard, .wn-cases.in span { animation: art-up 0.75s var(--ease-out) forwards; animation-delay: var(--t, 0s); }
  .wn-farrow, .wn-harrow { transform: scaleX(0); }
  .wn-flow.in .wn-farrow, .wn-hand.in .wn-harrow { transform: scaleX(1); transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1) var(--t); }

  .wn-stair { transform: scaleY(0); }
  .wn-stairs.in .wn-stair { transform: scaleY(1); transition: transform 0.9s cubic-bezier(0.34, 1.3, 0.64, 1) var(--t); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 720px) {
  .wn-farrow, .wn-harrow { transform: scaleY(0); }
  .wn-flow.in .wn-farrow, .wn-hand.in .wn-harrow { transform: scaleY(1); }
}

/* ---------- 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; }
}
