/* =========================================================
   Nutzen nach Rolle – inkl. Kreislauf (Reiter Qualität) und Einfach betreiben (Reiter Produktion)
   ========================================================= */

/* ---------- Kreislauf ---------- */
.cycle {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.cycle .section-head { margin-bottom: 32px; }
.cycle-detail { min-height: 240px; }
.cycle-detail__inner { animation: cycle-fade 360ms var(--ease); }
.cycle-detail__step { color: var(--ink-2); margin: 0 0 10px; letter-spacing: .08em; }
.cycle-detail .h3 { margin-bottom: 4px; }
.cycle-detail p { margin-top: 10px; }
.cycle-detail__step { margin-top: 0; }
.cycle-detail p.cycle-detail__mono {
  display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--navy); font-size: .875rem;
}
@keyframes cycle-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cycle__diagram { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; }
.cycle__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cycle__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 130px; text-align: center; pointer-events: none;
}
.cycle__logo { width: 150px; height: auto; }
.cycle__caption { color: var(--ink-2); font-size: .75rem; letter-spacing: .06em; }
.cycle__dot { position: absolute; left: 50%; top: 20.83%; transform: translate(-50%, -50%); z-index: 3; pointer-events: none; }

.cycle__nodes { list-style: none; margin: 0; padding: 0; }
.cycle-node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%;
  display: block; color: var(--navy);
}
.cycle-node__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--navy); border: 2px solid var(--line);
  font-size: 1rem; font-weight: 500;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease), transform 250ms var(--ease);
}
.cycle-node:hover .cycle-node__num { border-color: var(--blue); }
.cycle-node.is-done .cycle-node__num { border-color: var(--blue); }
.cycle-node.is-active .cycle-node__num { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.08); }
.cycle-node:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 50%; }
.cycle-node__label {
  position: absolute; white-space: nowrap; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: var(--ink);
  transition: color 250ms var(--ease);
}
.cycle-node.is-active .cycle-node__label { color: var(--navy); }
.cycle-node--top .cycle-node__label { bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.cycle-node--right .cycle-node__label { left: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.cycle-node--left .cycle-node__label { right: calc(100% + 10px); top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .cycle { grid-template-columns: 1fr; }
  .cycle__diagram { order: -1; max-width: 340px; }
  .cycle-detail { min-height: 0; }
}
@media (max-width: 520px) {
  /* Platz am Ring zu knapp für Beschriftungen: Nummern bleiben, Titel steht im Detailfeld; Name bleibt für Screenreader */
  .cycle-node__label {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
    margin: -1px; padding: 0; border: 0; white-space: nowrap; left: 0; top: 0; transform: none;
  }
  .cycle__logo { width: 120px; }
  .cycle__center { width: 100px; }
}

/* ---------- Nutzen nach Rolle ---------- */
.seg-wrap { display: flex; justify-content: center; margin-bottom: clamp(32px, 4vw, 56px); }
.seg {
  position: relative; display: inline-flex; max-width: 100%; padding: 4px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.seg::-webkit-scrollbar { display: none; }
.seg__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-1); pointer-events: none;
}
.seg.is-ready .seg__thumb { transition: transform 320ms var(--ease), width 320ms var(--ease); }
.seg__tab {
  position: relative; z-index: 1; flex: none; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  background: none; color: var(--ink-2); font-weight: 600; font-size: .9375rem; letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer; transition: color 200ms var(--ease);
}
.seg__tab:hover { color: var(--navy); }
.seg__tab[aria-selected="true"] { color: var(--navy); }
.seg__tab:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.seg:not(.is-ready) .seg__tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-1); }

.benefit-panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
  transition: opacity 200ms var(--ease);
}
.benefit-panel[hidden] { display: none; }
.benefit-panel.is-out { opacity: 0; }
.benefit-panel:focus-visible { outline-offset: 8px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit__icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--blue); }
.benefit__icon--alert { color: var(--alert); }
.benefit__title { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.012em; font-weight: 650; color: var(--navy); }
.benefit p { color: var(--ink-2); margin-top: 4px; }
.benefit__cmds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.benefit__cmds .kbd-cmd { white-space: nowrap; }
.benefit-proof { margin-top: 36px; padding: 6px 0 6px 20px; border-left: 3px solid var(--blue); }
.benefit-proof .eyebrow { margin-bottom: 6px; }
.benefit-proof p { color: var(--ink); font-size: 1.0625rem; font-weight: 500; }

.benefit-panel__visual { width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 4 / 5; }
.benefit-panel__visual.media picture, .benefit-panel__visual.media img { display: block; width: 100%; height: 100%; }
.benefit-panel__visual > .media { height: 100%; }

/* IT: Datenweg als Kartenstapel (kein Foto) */
.benefits-it {
  display: flex; flex-direction: column; justify-content: center; gap: 0; padding: clamp(20px, 4vw, 36px);
  background: var(--surface-2); box-shadow: var(--shadow-2);
}
.it-node {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.it-node--soft { border-style: dashed; box-shadow: none; }
.it-node__icon { flex: none; width: 24px; height: 24px; color: var(--navy); }
.it-node strong { display: block; color: var(--navy); font-weight: 650; line-height: 1.3; }
.it-node span { display: block; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.4; margin-top: 2px; }
.it-link { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0; color: var(--blue-ink); }
.it-link__arrow { width: 24px; height: 24px; transform: rotate(90deg); flex: none; }
.it-link__label { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.it-link__lock { width: 16px; height: 16px; color: var(--blue-ink); }

@media (max-width: 860px) {
  .benefit-panel { grid-template-columns: 1fr; align-items: start; }
  .benefit-panel__visual { max-width: 360px; aspect-ratio: 4 / 5; }
}

/* ---------- Einfach betreiben ---------- */
.operate-cards { align-items: stretch; }
.operate-card { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 3.4vw, 44px); }
.operate-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); font-size: 1.0625rem; line-height: 1.45; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--laser-ink); margin-top: 0; }

.operate-band {
  margin-top: clamp(20px, 2.5vw, 28px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px;
}
.operate-band__left { flex: 1 1 320px; }
.operate-band__label { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.operate-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.operate-pills li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--ink-2); color: var(--navy); font-weight: 600; font-size: .9375rem;
}
.operate-band__link { flex: none; width: 28px; height: 28px; color: var(--blue); }
.operate-band__bf {
  flex: 0 1 320px; padding: 14px 26px; border-radius: 28px; background: var(--navy); color: #fff;
  font-weight: 600; line-height: 1.35; text-align: center;
}
@media (max-width: 760px) {
  .operate-band { flex-direction: column; align-items: stretch; }
  .operate-band__link { align-self: center; transform: rotate(90deg); }
  .operate-band__bf { flex-basis: auto; }
}

.operate-quote { margin: clamp(56px, 7vw, 104px) auto 0; max-width: 760px; text-align: center; }
.operate-quote blockquote { margin: 0; }
.operate-quote p { font-size: var(--fs-h3); line-height: 1.35; font-weight: 600; letter-spacing: -.012em; color: var(--navy); text-wrap: balance; }
.operate-quote figcaption { margin-top: 18px; font-size: var(--fs-small); color: var(--ink-2); }

/* Geschäftsführung: Pilot-zu-Rollout als Kartenstapel (Geschwister von .benefits-it) */
.benefits-gf {
  container-type: inline-size;
  display: flex; flex-direction: column; justify-content: center; gap: 0; padding: clamp(18px, 4vw, 32px);
  background: var(--surface-2); box-shadow: var(--shadow-2);
}
.gf-eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 14px; }
.gf-stack { display: flex; flex-direction: column; min-height: 0; }
.gf-step {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.gf-step__tile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--navy); }
.gf-step__icon { width: 24px; height: 24px; }
.gf-step__text { flex: 1 1 0; min-width: 0; }
.gf-step__text strong { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 650; line-height: 1.3; }
.gf-step__text > span { display: block; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.35; margin-top: 2px; }
.gf-link { width: 0; height: 14px; margin: 0 auto; border-left: 1.75px solid var(--blue-ink); position: relative; flex: none; }
.gf-link::after {
  content: ""; position: absolute; left: -5px; bottom: -1px; width: 8px; height: 8px;
  border-right: 1.75px solid var(--blue-ink); border-bottom: 1.75px solid var(--blue-ink); transform: rotate(45deg) translate(-1px, -1px);
}
.gf-bench { flex: none; display: flex; gap: 4px; }
.gf-bench i { display: block; width: 11px; height: 11px; border: 1.5px solid var(--navy); border-radius: 3px; }
.gf-bench--grid { display: grid; grid-template-columns: repeat(4, 11px); gap: 4px; }
.gf-chart { flex: none; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.gf-chart i { display: block; width: 4px; border-radius: 1px; background: var(--blue); }
.gf-chart i:nth-child(1) { height: 7px; }
.gf-chart i:nth-child(2) { height: 12px; }
.gf-chart i:nth-child(3) { height: 16px; }
.gf-chart i:nth-child(4) { height: 22px; }
.gf-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.gf-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .8125rem; font-weight: 600; line-height: 1.2;
}
.gf-chip__icon { flex: none; width: 16px; height: 16px; color: var(--blue-ink); }
@container (max-width: 379px) {
  .gf-bench, .gf-chart { display: none; }
  .gf-step { padding: 10px 12px; }
}
/* ---------- Reiter mit vollständigem Inhalt (Produktion, Qualität) ---------- */
.benefit-panel--full { display: block; }
.benefit-panel--full[hidden] { display: none; }
.tab-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.tab-title { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); line-height: 1.12; margin-top: 10px; }
.tab-head .lead { margin-top: 14px; }
.benefit-panel--full .operate-quote { margin-top: clamp(40px, 5vw, 64px); }
.cycle--in-tab { --cycle-bg: var(--surface-2); }
.cycle--in-tab .tab-head { margin-bottom: 28px; }

/* ---------- Reiter Montage: Produktfoto mit Laserstrahl ---------- */
.benefit-panel--beam { position: relative; }
.benefit-panel--beam .benefit-panel__body { position: relative; z-index: 2; }
.benefit-panel__visual--product { position: relative; margin: 0 auto; aspect-ratio: auto; max-width: 420px; align-self: start; }
.benefit-panel__visual--product img { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }

/* Nutzen nach Rolle liegt auf grauem Grund (Wechsel weiß – grau – dunkelblau) */
.section--tint .seg { background: var(--surface); }
.section--tint .seg__thumb, .section--tint .seg:not(.is-ready) .seg__tab[aria-selected="true"] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.section--tint .benefits-it, .section--tint .benefits-gf { background: var(--surface); }
