/* Website-only story surfaces. Static reading is the default; JS enhances navigation. */
.story-page { --story-muted: #bbb7d0; --story-accent: #b7b2ff; }
[data-theme="light"] .story-page { --story-muted: #555169; --story-accent: #5142ad; }
.story-page [hidden] { display: none !important; }
.story-page h1, .story-page h2, .story-page h3 { overflow-wrap: break-word; text-wrap: balance; }
.story-page h1, .story-page h2 { line-height: 1.12; letter-spacing: -.035em; }
.story-page p { color: var(--story-muted); }
.story-page .btn { max-width: 100%; white-space: normal; text-align: center; }
.story-page .mnav:not(.is-open) { transform: none; }
.story-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.story-page a:focus-visible, .story-page button:focus-visible, .story-page select:focus-visible { outline: 3px solid var(--story-accent); outline-offset: 4px; }
.story-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.story-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.story-header__explainer, .story-chapters-button { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.story-icon-button, .story-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 12px; }
.story-icon-button:hover, .story-header__explainer:hover, .story-arrow:hover:not(:disabled), .story-chapters-button:hover { background: var(--surface-2); }
.story-header .lang__current { min-height: 44px; }
.story-header .lang__menu { max-height: min(420px, calc(100dvh - 150px)); overflow-y: auto; overscroll-behavior: contain; }
.story-main { min-width: 0; }
.story-slide { position: relative; max-width: 1600px; margin-inline: auto; padding: clamp(28px, 4vw, 64px); border-bottom: 1px solid var(--line); scroll-margin-block-start: 18px; }
.story-slide--opening { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - 160px); padding-inline-end: 0; background: radial-gradient(ellipse at 25% 55%, color-mix(in srgb, var(--spec-2) 10%, transparent), transparent 64%); }
.story-slide__copy { padding-block: 32px; position: relative; z-index: 1; min-width: 0; }
.story-slide__copy h2 { font-size: clamp(38px, 4.8vw, 76px); font-weight: 800; max-width: 14ch; margin-block: 16px 24px; }
.story-label { font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: var(--story-accent) !important; }
.story-lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; max-width: 48ch; }
.story-note { margin-block: 18px 28px; font-size: 15px; }
.story-opening-image { position: relative; margin: 0; min-width: 0; }
.story-opening-image picture, .story-opening-image img { width: 100%; display: block; }
.story-opening-image img { border-radius: 24px 0 0 24px; }
.story-opening-image figcaption { position: absolute; left: 20px; bottom: 20px; background: #101018eb; color: #f4f3fb; padding: 8px 14px; border: 1px solid #ffffff30; border-radius: 999px; font-size: 12px; max-width: calc(100% - 40px); }
.story-art-heading { max-width: 920px; margin-block-end: 28px; }
.story-art-heading h2 { font-size: clamp(32px, 3.2vw, 50px); margin-block: 10px 16px; }
.story-art-heading > p:last-child { max-width: 70ch; font-size: 18px; line-height: 1.65; }
.story-gallery { max-width: 1200px; margin-inline: auto; }
.story-gallery__controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.story-gallery__controls button, .story-image-dialog__controls button, .story-image-dialog__controls a { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.story-gallery__controls [aria-pressed="true"], .story-image-dialog__controls [aria-pressed="true"] { color: var(--ink); background: var(--surface-3); border-color: var(--story-accent); }
.story-art-panel { margin-block: 16px; }
.story-art-panel a { position: relative; display: block; }
.story-art-panel img { width: 100%; border-radius: 16px; }
.story-art-panel__open { position: absolute; right: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; font-size: 13px; background: #101018eb; color: #f4f3fb; border: 1px solid #ffffff40; }
.story-art-panel figcaption { font-size: 15px; margin-block: 10px 16px; color: var(--story-muted); }
.story-scope { font-size: 13px; margin-block: 22px; line-height: 1.65; }
.story-role-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin-block: 30px; list-style: none; }
.story-role-map li { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-1); }
.story-role-map li > span { font-family: var(--mono); color: var(--story-accent); font-size: 12px; }
.story-role-map .ico { width: 32px; height: 32px; margin-block: 18px; color: var(--story-accent); }
.story-role-map strong { display: block; font-size: 18px; line-height: 1.35; }
.story-role-map p { font-size: 14px; margin-top: 10px; }
.story-role-map strong, .story-role-map p { overflow-wrap: anywhere; }
:lang(de) .story-role-map strong, :lang(de) .story-role-map p { hyphens: auto; }
.story-memory { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 28px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.story-memory h3 { font-size: 26px; line-height: 1.25; max-width: 24ch; margin-top: 12px; }
.story-memory p { font-size: 16px; line-height: 1.7; }
.story-memory > *, .story-learning > * { min-width: 0; }
.story-memory .ico, .story-learning .ico { color: var(--story-accent); width: 32px; height: 32px; }
.story-controls { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); z-index: 10; }
.story-counter { min-width: 64px; font-family: var(--mono); font-size: 12px; color: var(--story-accent); }
.story-controls select { max-width: 450px; min-width: 0; min-height: 44px; flex: 1 1 220px; background: var(--surface-1); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--ink); font-size: 14px; }
.story-controls select option { background: var(--surface-1); color: var(--ink); }
.story-presentation[data-reader-mode="present"] { min-height: 100svh; display: flex; flex-direction: column; }
.story-presentation[data-reader-mode="present"] .story-main { flex: 1; }
.story-presentation[data-reader-mode] .story-main { padding-bottom: 90px; }
.story-presentation[data-reader-mode] .story-controls { position: fixed; left: 0; right: 0; bottom: 0; }
.story-dialog { color: var(--ink); background: var(--surface-1); border: 1px solid var(--line); border-radius: 20px; padding: 0; max-width: min(1400px, calc(100vw - 32px)); width: calc(100vw - 32px); max-height: calc(100dvh - 32px); margin: auto; }
.story-dialog::backdrop { background: #05050bd9; }
.story-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.story-dialog header h2 { font-size: 20px; line-height: 1.35; }
.story-dialog header button { width: 44px; height: 44px; flex: 0 0 44px; font-size: 26px; border: 1px solid var(--line); border-radius: 10px; }
.story-index { max-width: 640px; }
.story-index__links { display: grid; gap: 10px; padding: 24px; }
.story-index__links a { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.story-index__links span { color: var(--story-accent); font-family: var(--mono); }
.story-image-dialog__controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 24px; }
.story-image-dialog__stage { max-height: calc(100dvh - 210px); overflow: auto; padding: 16px; }
.story-image-dialog__stage img { margin-inline: auto; width: auto; max-height: calc(100dvh - 250px); object-fit: contain; }
.story-image-dialog__stage[data-scale="actual"] img { width: 1536px; max-width: none; max-height: none; }
.story-image-error { margin: 16px 24px; }
.story-agency .story-main { padding-block-start: 16px; }
.story-agency-hero { max-width: 1600px; margin-inline: auto; padding: clamp(28px, 4vw, 64px); padding-inline-end: 0; min-height: 0; grid-template-areas: "copy image"; }
.story-agency-hero .story-slide__copy { grid-area: copy; }
.story-agency-hero .story-opening-image { grid-area: image; }
.story-agency-hero h1 { max-width: 18ch; font-size: clamp(38px, 5vw, 76px); margin-block: 18px 26px; }
.story-agency-hero .story-lead { max-width: 58ch; }
.story-journey { max-width: 1240px; padding: 48px 28px; margin-inline: auto; }
.story-section-head { max-width: 760px; }
.story-section-head h2 { font-size: clamp(30px, 3.5vw, 48px); margin-block: 12px 20px; }
.story-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin-block: 32px 64px; }
.story-overview li { list-style: none; min-width: 0; }
.story-overview a { display: flex; gap: 12px; padding: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-1); min-height: 70px; }
.story-overview span { color: var(--story-accent); font-family: var(--mono); font-size: 12px; }
.story-overview strong { font-size: 14px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.journey-step { display: grid; grid-template-columns: 48px minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; position: relative; padding-bottom: 44px; scroll-margin-top: 90px; }
.journey-step:not(:last-child)::before { content: ""; position: absolute; top: 48px; bottom: 0; left: 23px; width: 1px; background: linear-gradient(var(--spec-2), var(--line)); }
.journey-step__number { position: relative; display: grid; place-items: center; width: 48px; height: 48px; background: var(--surface-2); border: 1px solid var(--story-accent); border-radius: 16px; font-family: var(--mono); font-size: 13px; }
.journey-step h3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.25; margin-block: 8px 20px; }
.journey-step dt { color: var(--story-accent); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; margin-block: 16px 6px; }
.journey-step dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--story-muted); }
.journey-proof { align-self: start; min-height: 210px; border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: linear-gradient(145deg, var(--surface-2), var(--surface-1)); }
.journey-proof__icon .ico { width: 40px; height: 40px; color: var(--story-accent); margin-bottom: 30px; }
.journey-proof__title { color: var(--ink) !important; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; margin-top: 12px; font-weight: 600; }
.journey-proof__title, .journey-step dd { overflow-wrap: anywhere; }
:lang(de) .journey-proof__title, :lang(de) .journey-step dd { hyphens: auto; }
.journey-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.journey-routes img { width: 100%; border-radius: 10px; }
.journey-routes span { display: block; font-size: 13px; margin-top: 8px; }
.story-learning, .story-pilot { padding: 64px 28px; margin-inline: auto; max-width: 1040px; }
.story-learning { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-block: 1px solid var(--line); }
.story-learning h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 20px; }
.story-pilot h2 { font-size: clamp(32px, 4vw, 52px); }
.story-pilot p { margin-block: 18px 28px; max-width: 55ch; }
.story-explainer-tools { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding: 20px 28px; max-width: 1600px; margin-inline: auto; }
.story-page .story-explainer-tools [data-story-print][hidden] { display: inline-flex !important; visibility: hidden; }
.story-explainer .story-main { padding-block-start: 16px; }
.story-explainer .story-slide { margin-bottom: 48px; }
.story-explainer .story-slide--opening { min-height: 0; grid-template-areas: "copy image"; }
.story-explainer .story-slide--opening .story-slide__copy { grid-area: copy; }
.story-explainer .story-opening-image { grid-area: image; }
.story-print-error { max-width: 900px; margin: 24px auto; padding: 24px; border: 1px solid var(--story-accent); border-radius: 12px; }
.story-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; gap: 20px; padding: 0; margin-block: 44px; }
.story-principles li { min-width: 0; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--spec-2) 13%, transparent), transparent 75%), var(--surface-1); }
.story-principles li > span { display: block; color: var(--story-accent); font-family: var(--mono); font-size: 12px; }
.story-principles .ico { width: 52px; height: 52px; color: var(--story-accent); margin-block: 28px; }
.story-principles p { font-size: clamp(22px, 2.4vw, 32px); color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.story-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.story-channel-grid figure { margin: 0; min-width: 0; }
.story-channel-grid figure:first-child { grid-column: 1 / -1; }
.story-channel-grid img { width: 100%; border-radius: 16px; }
.story-channel-grid figcaption { margin-top: 12px; color: var(--story-muted); font-size: 16px; }
.story-pilot-art { margin: 0; max-width: 1050px; }
.story-pilot-art img { width: 100%; border-radius: 20px; }
.story-support { max-width: 1040px; margin-inline: auto; padding: 60px 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story-support > * { min-width: 0; }
.story-support h2 { font-size: clamp(28px, 3vw, 42px); }
.story-support h3 { font-size: 22px; margin-bottom: 16px; }
.story-support p { line-height: 1.75; margin-bottom: 18px; }
@media (max-width: 680px) {
  .story-channel-grid, .story-support { grid-template-columns: minmax(0, 1fr); }
  .story-principles { margin-block: 28px; }
  .story-support { gap: 24px; padding-inline: 24px; }
}
@media (max-width: 1099px), (max-height: 619px) {
  .story-slide--opening { min-height: 0; grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .story-slide__copy { max-width: 740px; padding-block: 18px; }
  .story-slide__copy h2 { max-width: 18ch; font-size: clamp(36px, 6vw, 60px); }
  .story-opening-image img { border-radius: 16px; }
  .story-role-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-explainer .story-slide--opening { grid-template-areas: "image" "copy"; }
  .story-agency-hero { padding: 28px; grid-template-areas: "image" "copy"; }
}
@media (max-width: 680px) {
  .story-header { gap: 12px; }
  .story-header__actions { width: 100%; justify-content: space-between; gap: 8px; }
  .story-header__explainer { flex: 1; font-size: 13px; padding-inline: 12px; }
  .story-slide { padding: 28px 16px; }
  .story-slide--opening { padding: 28px 16px; gap: 12px; }
  .story-slide__copy h2 { font-size: clamp(36px, 9vw, 52px); }
  .story-art-heading > p:last-child { font-size: 16px; }
  .story-role-map li { padding: 16px; }
  .story-role-map strong { font-size: 16px; }
  .story-memory { grid-template-columns: 1fr; gap: 20px; }
  .story-controls { flex-wrap: wrap; gap: 8px; padding-inline: 12px; }
  .story-counter { width: 100%; text-align: center; }
  .story-controls select { flex: 1; font-size: 12px; }
  .story-chapters-button { width: 100%; justify-content: center; padding-block: 5px; }
  .story-presentation[data-reader-mode] .story-main { padding-bottom: 165px; }
  .story-overview { grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .story-journey { padding: 36px 16px; }
  .journey-step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 20px; }
  .journey-step__number { width: 40px; height: 40px; border-radius: 12px; }
  .journey-step:not(:last-child)::before { left: 19px; }
  .journey-proof { grid-column: 2; padding: 20px; min-height: 180px; }
  .journey-routes { grid-template-columns: 1fr; }
  .story-learning { grid-template-columns: 1fr; gap: 24px; padding-inline: 24px; }
  .story-agency-hero { padding: 28px 16px; }
  .story-dialog header { padding: 12px 16px; }
  .story-image-dialog__controls { padding: 12px 16px; }
  .story-image-dialog__stage { padding: 8px; }
}
@media print {
  .story-page { background: #fff !important; color: #191734 !important; font-size: 12pt; }
  .story-page p, .story-page dd { color: #454158 !important; }
  .story-page .story-label, .story-page dt { color: #5142ad !important; }
  .story-page .hd, .story-page .nojs-nav, .story-header, .story-controls, .story-dialog, .story-page .ft, .story-explainer-tools, .story-page .skip-link, .story-gallery__controls, .story-art-panel__open { display: none !important; }
  .story-page .story-slide, .story-page .story-art-panel { display: block !important; background: none !important; padding: 16px 0; break-before: page; }
  .story-page .story-slide:first-of-type { break-before: auto; }
  .story-page .story-main { padding: 0 !important; }
  .story-page .story-slide h2, .story-page .story-agency-hero h1 { font-size: 30pt; }
  .story-page .story-opening-image img, .story-page .story-art-panel img { width: 100%; max-height: 180mm; object-fit: contain; }
  .story-page .journey-step { break-inside: avoid; }
  .story-page .story-role-map li, .story-page .journey-proof { background: #f4f3f8 !important; color: #191734 !important; }
  .story-page .story-role-map p, .story-page .journey-proof__title { color: #191734 !important; }
}
