/* Marketingpsychologie in 3D (/marketingpsychologie/) — nur auf dieser Seite geladen.
   .gx-*  = eingebettetes 3D-Modell (dunkle Bühne), bewusst mit eigenem Präfix gegen Kollisionen mit style.css
   .gxr-* = lesbarer Reise-Text darunter (heller Seitenstil) */

/* =============================== BÜHNE / RAHMEN =============================== */
.gx-section { background: #05060b; padding: clamp(14px, 2vw, 28px); }
.gx {
  --gx-bg: #090b12; --gx-panel: #0e111b; --gx-panel-2: #141826; --gx-line: rgba(255, 255, 255, 0.09);
  --gx-ink: #f2f3f7; --gx-soft: #b9bdcc; --gx-muted: #868ba0; --gx-red: #e40f1a; --gx-red-light: #ff6b72; --c: #ff6b72;
  position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr) 400px;
  max-width: 1720px; margin: 0 auto; height: min(860px, calc(100vh - 130px)); min-height: 620px;
  background: var(--gx-bg); color: var(--gx-ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  border: 1px solid var(--gx-line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 104px;
}
.gx:fullscreen { height: 100vh; max-width: none; border-radius: 0; border: 0; }
.gx button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.gx h2, .gx h3 { font-family: var(--font-display); margin: 0; line-height: 1.2; color: var(--gx-ink); }
.gx ol, .gx ul { list-style: none; margin: 0; padding: 0; }
.gx :focus-visible { outline: 2px solid var(--gx-red-light); outline-offset: 2px; border-radius: 6px; }
.gx svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------ Menü */
.gx-menu { background: var(--gx-panel); border-right: 1px solid var(--gx-line); display: flex; flex-direction: column; min-height: 0; }
.gx-tabs { display: flex; gap: 4px; padding: 12px 12px 0; }
.gx-tabs button { flex: 1; text-align: center; padding: 9px 6px; font-size: 13.5px; font-weight: 600; color: var(--gx-muted); border-radius: 9px; }
.gx-tabs button[aria-selected="true"] { background: var(--gx-panel-2); color: var(--gx-ink); }
.gx-panel { overflow-y: auto; padding: 12px; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #2a2f42 transparent; }
.gx-menu-note { margin: 2px 6px 12px; font-size: 13px; color: var(--gx-muted); }
.gx-theme { border-radius: 12px; margin-bottom: 4px; }
.gx-theme-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 10px !important; border-radius: 12px; font-family: var(--font-display) !important; font-weight: 700 !important; font-size: 15px !important; }
.gx-theme-btn:hover { background: var(--gx-panel-2) !important; }
.gx-theme-btn em { font-style: normal; font-size: 12px; font-weight: 800; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--c); border: 1.5px solid var(--c); transition: background .25s, color .25s; }
.gx-theme.gx-open { background: var(--gx-panel-2); }
.gx-theme.gx-open .gx-theme-btn em { background: var(--c); color: #0b0d14; }
.gx-theme ul { display: none; padding: 0 8px 10px 48px; }
.gx-theme.gx-open ul { display: block; }
.gx-theme ul button, .gx-regions button { width: 100%; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; color: var(--gx-soft); }
.gx-theme ul button:hover, .gx-regions button:hover { color: var(--gx-ink); background: rgba(255, 255, 255, 0.05); }
.gx-theme ul button.gx-current { color: #0b0d14; background: var(--c); font-weight: 600; }
.gx-regions button.gx-current { color: #fff; background: var(--gx-red); font-weight: 600; }
.gx-search input { width: 100%; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--gx-line); background: var(--gx-panel-2); color: var(--gx-ink); font: inherit; font-size: 14.5px; }
.gx-search input::placeholder { color: var(--gx-muted); }
#gx-scrim { display: none; }

/* ------------------------------ 3D-Bühne */
.gx-stage { position: relative; overflow: hidden; min-height: 0; background: radial-gradient(ellipse at 50% 45%, #141a2c 0%, var(--gx-bg) 62%); }
#gx-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; mix-blend-mode: screen; outline-offset: -3px; }
.gx:fullscreen #gx-gl { touch-action: none; }
.gx-stage.gx-dragging #gx-gl { cursor: grabbing; }
#gx-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#gx-lines line { stroke-width: 1.2; }
#gx-labels { position: absolute; inset: 0; pointer-events: none; }
.gx .gx-label { position: absolute; left: 0; top: 0; pointer-events: auto; max-width: 210px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--gx-ink); background: rgba(14, 17, 27, 0.86); border: 1px solid var(--c); border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); will-change: transform; transition: background .2s, color .2s; }
.gx .gx-label:hover { background: var(--c); color: #0b0d14; }
#gx-tooltip { position: absolute; left: 0; top: 0; pointer-events: none; padding: 5px 10px; font-size: 13px; font-weight: 600; background: #fff; color: #0b0d14; border-radius: 7px; white-space: nowrap; box-shadow: 0 8px 24px -8px #000; }
#gx-hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); margin: 0; padding: 7px 16px; font-size: 13px; color: var(--gx-soft); background: rgba(14, 17, 27, 0.7); border: 1px solid var(--gx-line); border-radius: 999px; white-space: nowrap; pointer-events: none; transition: opacity .6s; }
#gx-hint.gx-gone { opacity: 0; }
.gx-fallback { display: none; position: absolute; inset: 0; margin: auto !important; height: max-content; max-width: 420px; padding: 24px; text-align: center; color: var(--gx-soft); }
.gx-no-webgl .gx-fallback { display: block; }
.gx-no-webgl #gx-gl, .gx-no-webgl .gx-controls, .gx-no-webgl #gx-hint { display: none; }

.gx-controls { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; background: rgba(14, 17, 27, 0.86); border: 1px solid var(--gx-line); border-radius: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gx-controls button { display: flex; align-items: center; gap: 7px; height: 38px; min-width: 38px; padding: 0 10px; justify-content: center; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--gx-soft); }
.gx-controls button:hover { background: var(--gx-panel-2); color: var(--gx-ink); }
.gx-controls button[aria-pressed="true"] { background: rgba(228, 15, 26, 0.18); color: #ff8a90; }
.gx-controls svg { width: 19px; height: 19px; flex: none; }
#gx-btn-menu { display: none; position: absolute; left: 12px; top: 12px; z-index: 2; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px; font-size: 14px; font-weight: 700; color: var(--gx-ink); background: rgba(14, 17, 27, 0.86); border: 1px solid var(--gx-line); border-radius: 12px; }
#gx-btn-menu svg { width: 20px; height: 20px; }

/* ------------------------------ Infopanel */
.gx-info { background: var(--gx-panel); border-left: 1px solid var(--gx-line); overflow-y: auto; padding: 26px 26px 40px; min-height: 0; scrollbar-width: thin; scrollbar-color: #2a2f42 transparent; --c: #ff6b72; }
.gx-info h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.gx-info h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gx-muted); margin: 28px 0 10px; }
.gx-info p { margin: 0 0 14px; color: var(--gx-soft); }
.gx-info .gx-lead { color: var(--gx-ink); font-size: 17px; line-height: 1.55; }
.gx-info .gx-lat { margin-top: -6px; font-style: italic; color: var(--gx-muted); }
.gx-info .gx-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gx-red-light); margin-bottom: 10px; }
.gx-info .gx-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 14px; }
.gx-crumb button { color: var(--gx-muted); }
.gx-crumb button:hover { color: var(--gx-ink); text-decoration: underline; }
.gx-crumb button:last-child { color: var(--c); font-weight: 600; }
.gx-rlist li, .gx-flist li { margin-bottom: 6px; }
.gx-rlist button, .gx-flist button { position: relative; display: block; width: 100%; padding: 11px 14px 11px 16px; border-radius: 12px; background: var(--gx-panel-2); border: 1px solid transparent; transition: border-color .2s, transform .25s var(--ease); }
.gx-rlist button { border-left: 3px solid var(--c); }
.gx-rlist button:hover, .gx-flist button:hover { border-color: var(--c); transform: translateX(2px); }
.gx-rlist strong, .gx-flist strong { display: block; font-size: 15px; font-weight: 600; color: var(--gx-ink); }
.gx-rlist span, .gx-flist span { display: block; font-size: 13.5px; color: var(--gx-muted); line-height: 1.45; }
.gx-flist button { padding-left: 34px; }
.gx-flist i { position: absolute; left: 14px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.gx-praxis { margin-top: 26px; padding: 18px 18px 6px; border-radius: 14px; background: linear-gradient(160deg, rgba(228, 15, 26, 0.16), rgba(228, 15, 26, 0.04)); border: 1px solid rgba(228, 15, 26, 0.35); }
.gx-info .gx-praxis h3 { margin-top: 0; color: #ff8a90; }
.gx-info .gx-praxis p { color: var(--gx-ink); }
.gx-steps { counter-reset: gxs; }
.gx-steps li { counter-increment: gxs; position: relative; padding-left: 38px; margin-bottom: 12px; color: var(--gx-soft); }
.gx-steps li::before { content: counter(gxs); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; border-radius: 50%; background: var(--gx-panel-2); color: var(--gx-ink); }
.gx-steps strong { color: var(--gx-ink); }
.gx-info .gx-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--gx-line); font-size: 13.5px; color: var(--gx-muted); }
.gx-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--gx-line); }
.gx-pager button { font-size: 13.5px; color: var(--gx-muted); max-width: 48%; }
.gx-pager button:last-child { text-align: right; }
.gx-pager button:hover { color: var(--gx-ink); }

/* ------------------------------ Hilfe-Dialog */
#gx-help { max-width: 520px; width: calc(100% - 32px); padding: 28px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; background: #141826; color: #f2f3f7; }
#gx-help::backdrop { background: rgba(4, 5, 9, 0.7); backdrop-filter: blur(3px); }
#gx-help h2 { font-size: 22px; margin-bottom: 14px; }
#gx-help ul { margin: 0 0 22px; padding-left: 20px; list-style: disc; color: #b9bdcc; }
#gx-help li { margin-bottom: 8px; }
#gx-help strong { color: #f2f3f7; }
#gx-help-close { background: #e40f1a; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 999px; }

@media (max-width: 1320px) { .gx { grid-template-columns: 264px minmax(0, 1fr) 350px; } }
@media (max-width: 1000px) {
  .gx-section { padding: 0; }
  .gx { display: block; height: auto; min-height: 0; border-radius: 0; border-left: 0; border-right: 0; overflow: visible; scroll-margin-top: 80px; }
  .gx-stage { height: 58vh; height: 58svh; min-height: 340px; }
  .gx-info { border-left: 0; border-top: 1px solid var(--gx-line); overflow: visible; padding: 22px 18px 40px; scroll-margin-top: 90px; }
  .gx-menu { position: fixed; z-index: 1300; top: 0; bottom: 0; left: 0; width: min(330px, 88vw); transform: translateX(-102%); transition: transform .4s var(--ease); box-shadow: 30px 0 60px -20px #000; }
  .gx-menu-open .gx-menu { transform: none; }
  #gx-scrim { position: fixed; inset: 0; z-index: 1250; background: rgba(4, 5, 9, 0.6); }
  .gx-menu-open #gx-scrim { display: block; }
  #gx-btn-menu { display: flex; }
  #gx-hint { display: none; }
  .gx-controls span { display: none; }
  .gx-controls { bottom: 12px; }
  .gx .gx-label { font-size: 12px; padding: 4px 9px; max-width: 150px; }
  .gx:fullscreen { overflow-y: auto; }
}

/* =============================== REISE-TEXT (heller Seitenstil) =============================== */
.gxr-station { margin-top: clamp(56px, 7vw, 96px); --c: var(--color-red); }
.gxr-station:first-of-type { margin-top: 0; }
.gxr-station-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; max-width: 860px; margin-bottom: 30px; }
.gxr-num { grid-row: span 2; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--color-ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; box-shadow: inset 0 0 0 3px var(--c); }
.gxr-station-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.01em; padding-top: 6px; }
.gxr-station-head p { color: var(--color-muted); font-size: 1.05rem; line-height: 1.65; }
.gxr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.gxr-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-line); border-top: 4px solid var(--c); border-radius: var(--radius-md); padding: 28px 28px 24px; scroll-margin-top: 110px; }
.section-bg-alt .gxr-card { box-shadow: var(--shadow-sm); }
.gxr-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.gxr-card p { color: var(--color-ink-soft); font-size: 0.97rem; line-height: 1.7; margin-bottom: 14px; }
.gxr-card .gxr-lead { color: var(--color-ink); font-weight: 600; font-size: 1.02rem; }
.gxr-regions { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 18px; }
.gxr-regions li { font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--color-bg-alt); color: var(--color-ink-soft); }
.gxr-praxis { margin-top: auto; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--color-red-soft); }
.gxr-praxis strong { display: block; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-red-dark); margin-bottom: 6px; }
.gxr-praxis p { margin: 0; color: var(--color-ink); font-size: 0.94rem; }
.gxr-show { align-self: flex-start; margin-top: 16px; font-weight: 700; font-size: 0.9rem; color: var(--color-red); display: inline-flex; align-items: center; gap: 6px; }
.gxr-show:hover { text-decoration: underline; text-underline-offset: 3px; }
.gxr-intro { max-width: 820px; }
.gxr-intro p { color: var(--color-ink-soft); font-size: 1.05rem; line-height: 1.78; margin-bottom: 18px; }
.gxr-intro a, .gxr-card a:not(.gxr-show) { color: var(--color-red); text-decoration: underline; text-decoration-color: rgba(228, 15, 26, 0.3); text-underline-offset: 3px; }
.gxr-stations-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.gxr-stations-nav a { font-size: 0.88rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--color-line); background: var(--color-white); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.gxr-stations-nav a:hover { background: var(--color-red); border-color: var(--color-red); color: #fff; }
@media (max-width: 600px) { .gxr-grid { grid-template-columns: 1fr; } .gxr-card { padding: 22px 20px; } .gxr-num { width: 46px; height: 46px; font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .gx * { transition: none !important; } }
