@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
  src: url("assets/fonts/saira-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}

/*
  Juschkin Labs
  Das Lab im Kopfbereich ist die Bühne: dort Spielmenü mit abgeschrägten Panels (Saira).
  Darunter ruhig und gut lesbar: flache Karten, Gold als einzige Akzentfarbe, Fließtext in
  Source Sans 3. Blau, Koralle und Pflaume gehören nur zu den eigenen Projekten.
*/
:root {
  color-scheme: dark;
  --bg: #131618;
  --bg-deep: #0b0d0e;
  --text: #f1eee4;
  --soft: #cdcabe;
  --dim: #a19e92;
  --surface: #1a1f22;
  --line: rgba(241, 238, 228, .12);
  --gold: #d7c791;
  --gold-bright: #ecdcaa;
  --gold-deep: #9e8d55;
  --green: #d6ff70;
  --blue: #8ebdff;
  --coral: #ffa17d;
  --plum: #d98aa8;
  --ink: #17191a;
  --font: "Saira", "Arial Narrow", Arial, sans-serif;
  --font-text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --wide: 108%;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; }
/* Überschriften, Bedienelemente und alles im Lab laufen in Saira */
h1, h2, h3, h4, .btn, .site-nav, .brand-tag, .sound-toggle, .menu-toggle, .select, .hero-bottom, .hero-mode, .tag, .text-link, .world-tabs, .world-counter, .variant-switch,
.node-mark, .node-card strong, .member-mark, .member-role, .service-kind, .panel-title, .level-track, .quest-line, .trailer-play, .preview-counter, .faq summary, .stats, .insight-date, .copy-status { font-family: var(--font); }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 16px; background: var(--gold); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

h1, h2, h3, h4 { font-weight: 700; font-stretch: var(--wide); line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.5vw, 52px); }

/* Kleine Kennzeichnung über Überschriften: Strich in der Akzentfarbe */
.label { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; font-stretch: 112%; letter-spacing: .01em; color: var(--soft); }
.label::before { content: ""; width: 22px; height: 2px; background: var(--accent, var(--gold)); box-shadow: 0 0 10px var(--accent, var(--gold)); }

/* Karte: flach und ruhig. Im Lab (.hero) abgeschrägt mit feiner Kante, wie ein Spielmenü */
.panel { position: relative; isolation: isolate; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.hero .panel {
  --cut: 18px;
  --shape: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  border: 0; border-radius: 0; clip-path: var(--shape);
  background: linear-gradient(155deg, rgba(245, 243, 233, .3), rgba(245, 243, 233, .07) 35%, rgba(245, 243, 233, .05) 70%, rgba(245, 243, 233, .2));
}
.hero .panel::before { content: ""; position: absolute; inset: 1px; z-index: -1; clip-path: var(--shape); background: linear-gradient(180deg, rgba(22, 29, 34, .84), rgba(13, 17, 20, .9)); }
.panel-title { font-size: 16px; font-weight: 600; font-stretch: 106%; color: var(--soft); padding-bottom: 14px; border-bottom: 1px solid var(--line); }

/* Knöpfe */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 1.5px solid rgba(241, 238, 228, .4); border-radius: 6px; background: transparent; color: var(--text); cursor: pointer;
  font-size: 16px; font-weight: 600; font-stretch: 104%; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { color: var(--text); border-color: var(--text); background: rgba(241, 238, 228, .08); }
.btn:active { translate: 0 1px; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.btn-primary:hover { color: var(--ink); background: var(--gold-bright); border-color: var(--gold-bright); }
.hero .btn:not(.btn-primary) { background: rgba(13, 17, 20, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn:not(.btn-primary):hover { background: rgba(30, 38, 42, .9); }
.btn-icon { width: 50px; padding: 0; }
.btn-icon svg { width: 20px; height: 20px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, rgba(12, 17, 19, .92), rgba(12, 17, 19, .78)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { position: relative; padding: 10px 14px; font-size: 16px; font-weight: 600; font-stretch: 104%; text-decoration: none; color: var(--soft); }
.site-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-contact { margin-left: 10px; color: var(--gold); }
.menu-toggle { display: none; }

/* Hero: Charakterauswahl im Lab */
.hero { position: relative; overflow: hidden; --mx: 0; --my: 0; background: var(--bg-deep); }
.lab { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #10161b; }
.lab-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 37% 76%; user-select: none; -webkit-user-select: none; }
.lab.is-live .lab-bg { inset: auto; left: 0; top: 0; width: 3840px; height: 1600px; object-fit: fill; transform-origin: 0 0; will-change: transform; }
.lab-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 12, 14, .9) 0%, rgba(9, 12, 14, .64) 22%, rgba(9, 12, 14, 0) 42%),
    linear-gradient(0deg, rgba(9, 12, 14, .9) 0%, rgba(9, 12, 14, .35) 14%, rgba(9, 12, 14, 0) 26%),
    radial-gradient(ellipse 90% 95% at 50% 58%, transparent 62%, rgba(6, 8, 10, .5)); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: calc(100svh - 68px); padding-block: clamp(24px, 4vh, 44px) clamp(20px, 3vh, 32px); }
.hero-head { text-align: center; }
.hero-mode { font-size: 16px; font-weight: 600; color: var(--gold); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.hero h1 { margin-top: 10px; font-size: clamp(34px, 4.2vw, 62px); font-weight: 800; text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.hero-lead { max-width: 36em; margin: 12px auto 0; color: #e2dfd4; font-size: 19px; line-height: 1.5; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }

.select { position: relative; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 320px); align-items: center; gap: 24px; width: 100%; }
.select .panel { z-index: 3; padding: 20px 20px 16px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.profile { transform: translate3d(calc(var(--mx) * -8px), calc(var(--my) * -5px), 0); }
.skills { transform: translate3d(calc(var(--mx) * -8px), calc(var(--my) * -5px), 0); }
.stats div { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stats div:last-child { border-bottom: 0; }
.stats dt { font-size: 15px; font-weight: 500; color: var(--dim); padding-top: 1px; }
.stats dd { font-size: 16px; font-weight: 600; line-height: 1.35; }
.skill-list { display: grid; gap: 4px; margin-top: 8px; }
.skill { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 10px 0; color: var(--soft); font-size: 16px; line-height: 1.4; }
.skill strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 17px; font-weight: 700; font-stretch: 106%; }
.skill-icon { display: grid; place-items: center; width: 40px; height: 40px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.skill-icon svg { width: 22px; height: 22px; }

.stage { position: relative; z-index: 1; align-self: stretch; min-height: 300px; }

.hero-bottom { display: grid; justify-items: center; gap: 16px; }
.hero-foot { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.profile, .skills, .editor, .hero-bottom, .hero-lead { transition: opacity .5s var(--ease), translate .5s var(--ease); }
.hero.is-leaving .profile, .hero.is-leaving .skills, .hero.is-leaving .editor, .hero.is-leaving .hero-bottom, .hero.is-leaving .hero-lead { opacity: 0; pointer-events: none; }
.hero.is-leaving .profile { translate: -24px 0; }
.hero.is-leaving .skills { translate: 24px 0; }
.hero.is-leaving .stage::after { opacity: 0; }
.hero h1 { transition: opacity .4s var(--ease); }
.hero.is-editing h1, .hero.is-editing .hero-lead { opacity: 0; pointer-events: none; }

/* Einstiegsfolge: einmal beim Laden */
.js .hero-mode, .js .hero h1 { animation: rise .9s var(--ease) both; }
.js .hero h1 { animation-delay: .08s; }
.js .profile { animation: from-left 1s var(--ease) .35s both; }
.js .skills { animation: from-right 1s var(--ease) .35s both; }
.js .hero-bottom { animation: rise .9s var(--ease) .55s both; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes from-left { from { opacity: 0; translate: -50px 0; } }
@keyframes from-right { from { opacity: 0; translate: 50px 0; } }

/* Abschnitte */
.worlds, .progress, .contact { position: relative; padding-block: clamp(72px, 8.5vw, 128px); }
.worlds { padding-bottom: clamp(56px, 6vw, 96px); }
.worlds { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #11181a); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 64px; }
.section-head h2 { max-width: 17ch; }
.section-intro { max-width: 31em; color: var(--soft); font-size: 19px; }

/* Level-Karussell */
.carousel-controls { display: flex; align-items: center; gap: 14px; }
.world-counter { min-width: 4.5ch; text-align: center; font-size: 16px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.world-counter span { color: var(--text); }
.world-tabs { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 36px; border-bottom: 1px solid var(--line); }
.world-tabs a { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 17px; font-weight: 600; font-stretch: 106%; text-decoration: none; color: var(--dim); transition: color .2s; }
.world-tabs a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: .5; transition: opacity .2s, box-shadow .2s; }
.world-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.world-tabs a:hover, .world-tabs a.is-active { color: var(--text); }
.world-tabs a.is-active::before { opacity: 1; box-shadow: 0 0 12px var(--accent); }
.world-tabs a.is-active::after { transform: scaleX(1); }

.world-track { --pad: max(var(--gutter), calc((100% - 1280px) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: min(1180px, calc(100% - 2 * var(--pad) - 48px)); gap: 24px;
  margin-top: 32px; padding: 8px var(--pad) 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.world-track::-webkit-scrollbar { display: none; }
.world-track:focus-visible { outline-offset: -2px; }
.world { overflow: hidden; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 580px; transition: opacity .5s var(--ease), scale .5s var(--ease); }
.js .world:not(.is-active) { opacity: .42; scale: .97; }
.world-art { position: relative; display: grid; place-items: center; padding: clamp(24px, 3.5vw, 48px); overflow: hidden;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%); border-right: 1px solid var(--line); }
.world-art::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(245, 243, 233, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 243, 233, .045) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.world-info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.5vw, 52px); }
.world-info .label { --accent: inherit; }
.world h3 { margin-top: 18px; font-size: clamp(40px, 4.4vw, 68px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; font-size: 15px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 4px; }
.tag svg { width: 14px; height: 14px; }
.world-lead { margin-top: 20px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; line-height: 1.4; max-width: 30em; }
.world-info > p:not(.label):not(.world-lead):not(.world-actions):not(.world-note):not(.roadlands-subtitle) { margin-top: 14px; color: var(--soft); max-width: 34em; }
.world-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.world-actions .btn { padding: 0 20px; }
.world-note { margin-top: 18px; font-size: 15.5px; color: var(--dim); }

/* iQuest */
.screen { position: relative; width: 100%; padding: 8px; border-radius: 12px; background: linear-gradient(160deg, rgba(245, 243, 233, .28), rgba(245, 243, 233, .06)); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.trailer-player { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: #000; }
.trailer-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.trailer-poster { display: block; height: 100%; text-decoration: none; }
.trailer-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.trailer-poster:hover img { transform: scale(1.04); filter: brightness(.8); }
.trailer-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 20px; color: var(--ink); background: var(--gold); border-radius: 6px; font-size: 16px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: scale .2s var(--ease); }
.trailer-play svg { width: 20px; height: 20px; }
.trailer-poster:hover .trailer-play { color: var(--ink); scale: 1.06; }
.trailer-notice { position: relative; margin-top: 16px; font-size: 15px; color: var(--dim); align-self: start; justify-self: start; }
.world-iquest .world-art { align-content: center; gap: 0; }
.level-track { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; width: min(420px, 100%); margin-top: 22px; }
.level-pips { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.level-pips li { height: 12px; background: var(--gold); clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); opacity: .9; }
.level-pips li:nth-child(6n) { background: var(--coral); }
.level-goal { display: grid; place-items: center; width: 34px; height: 34px; background: var(--coral); color: var(--ink); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); box-shadow: 0 0 20px rgba(255, 161, 125, .5); }
.level-goal svg { width: 19px; height: 19px; }
.level-legend { display: contents; font-size: 13px; font-weight: 700; font-stretch: 116%; letter-spacing: .01em; color: var(--dim); }
.level-legend span:nth-child(1) { grid-column: 1; grid-row: 2; justify-self: start; }
.level-legend span:nth-child(2) { grid-column: 1; grid-row: 2; justify-self: end; }
.level-legend span:nth-child(3) { grid-column: 2; grid-row: 2; }
.js .world-iquest.is-active .level-pips li { animation: pip .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes pip { from { opacity: 0; scale: 1 .2; } }

/* SmartADM */
.screens { position: relative; width: 100%; aspect-ratio: 16 / 12; perspective: 1400px; }
.project-screenshot { position: absolute; display: block; width: 82%; overflow: hidden; background: #fff; border: 1px solid rgba(245, 243, 233, .4); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 6px rgba(20, 27, 30, .6); transition: transform .5s var(--ease); }
.project-screenshot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.screen-back { z-index: 1; right: 0; top: 2%; transform: rotateY(-14deg) rotateX(4deg); opacity: .9; }
.screen-front { z-index: 2; left: 0; bottom: 4%; transform: rotateY(12deg) rotateX(3deg); }
.screens:hover .screen-front { transform: rotateY(6deg) translateY(-6px); }
.screens:hover .screen-back { transform: rotateY(-8deg) translateY(-4px); }
.tool-list { display: grid; gap: 12px; width: 100%; margin-top: 22px; }
.project-card { padding: 16px 18px; background: rgba(245, 243, 233, .04); border-left: 2px solid var(--blue); }
.project-card h4 { font-size: 20px; letter-spacing: 0; }
.project-card p { margin-top: 6px; color: var(--soft); font-size: 17px; line-height: 1.5; }
.text-link { display: inline-block; margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--gold); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 5px; }
.text-link:hover { color: var(--text); }
.world .text-link { color: var(--accent); }

/* heimello. */
.heimello-project .world-art { background: radial-gradient(ellipse 62% 58% at 50% 55%, rgba(238, 240, 234, .2), rgba(215, 199, 145, .06) 50%, transparent 74%); }
@keyframes bob { 50% { translate: 0 -10px; } }

  background: radial-gradient(circle at 50% 40%, rgba(238, 240, 234, .16), rgba(245, 243, 233, .03) 70%); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .2s, color .2s, translate .2s var(--ease); }

/* Roadlands */
.roadlands-subtitle { margin-top: 8px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; font-stretch: 122%; letter-spacing: .01em; color: var(--coral); }
.quest-line { position: relative; display: grid; gap: 9px; margin-top: 20px; counter-reset: quest; }
.quest-line::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: repeating-linear-gradient(180deg, rgba(245, 243, 233, .25) 0 4px, transparent 4px 8px); }
.quest-line li { position: relative; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16.5px; counter-increment: quest; }
.quest-line li::before { content: counter(quest); display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; font-size: 13px; font-weight: 800; font-stretch: 120%; color: var(--soft); background: #1d2a2a; box-shadow: inset 0 0 0 1.5px rgba(245, 243, 233, .25); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.quest-line li:last-child::before { content: "85"; color: var(--ink); background: var(--coral); box-shadow: none; font-size: 11px; }

/* Fortschritt / Werdegang */
.progress { background: #0f1214; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin-top: 56px; }
.node { position: relative; padding-top: 24px; border-top: 1px solid rgba(241, 238, 228, .22); }
.node-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 17px; font-weight: 700; }
.node.is-goal .node-mark { background: var(--gold); color: var(--ink); }
.node-card { margin-top: 18px; max-width: 26em; color: var(--soft); }
.node-card strong { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 700; font-stretch: 106%; line-height: 1.2; color: var(--text); }
.js .track .node { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.js .track.is-in .node { opacity: 1; }

/* Gilde: Juschkin Labs */

/* Kontakt */
.contact { overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(215, 199, 145, .1), transparent 70%), var(--bg); }
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-inner .label::after { content: ""; width: 22px; height: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.contact h2 { font-size: clamp(36px, 4.8vw, 68px); max-width: 16ch; }
.contact-lead { max-width: 32em; margin-top: 22px; color: var(--soft); font-size: clamp(18px, 1.5vw, 21px); }
.contact-mail { margin-top: 38px; min-height: 70px; padding: 0 clamp(22px, 3vw, 40px); font-size: clamp(17px, 2vw, 24px); }
.contact-secondary { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.copy-status { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 18px; font-weight: 600; border: 1px solid rgba(215, 199, 145, .5); border-radius: 6px; background: rgba(215, 199, 145, .08); animation: toast .5s var(--ease); }
.copy-status:empty { display: none; }
@keyframes toast { from { opacity: 0; translate: 0 14px; } }

/* Erscheinen beim Scrollen */
.js .reveal { opacity: 0; translate: 0 12px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 26px 36px; font-size: 15.5px; color: var(--dim); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }

/* Bildansicht */
.project-dialog { width: min(1160px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid rgba(245, 243, 233, .2); background: #10171a; color: var(--text); overflow: auto; }
.project-dialog::backdrop { background: rgba(5, 8, 9, .86); backdrop-filter: blur(4px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { font-size: 22px; }
.dialog-close { min-height: 42px; }
.preview-stage { background: var(--bg-deep); }
.preview-stage img { width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; margin-inline: auto; }
.preview-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; }
.dialog-note { font-size: 15px; color: var(--soft); }
.preview-navigation { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.preview-navigation .btn { min-height: 44px; width: 44px; }
.preview-counter { min-width: 4ch; text-align: center; font-weight: 700; font-stretch: 118%; color: var(--gold); }

/* Rechtstexte */
.legal { max-width: 800px; padding-block: 64px 96px; }
.legal h1 { font-size: clamp(36px, 4.8vw, 60px); hyphens: auto; overflow-wrap: break-word; }
.legal h2 { margin-top: 48px; font-size: clamp(24px, 2.6vw, 32px); }
.legal h3 { margin-top: 26px; font-size: 20px; line-height: 1.2; }
.legal p, .legal li { margin-top: 12px; font-size: 18px; color: var(--soft); overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; max-width: 560px; }
.legal .legal-updated { margin-top: 48px; font-size: 14px; }

/* 3D-Figur: eine feste Zeichenfläche über der Seite, gezeichnet wird nur im Podest oder im Begleiter */
.figure-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 20; pointer-events: none; }
.figure-layer[data-layer="lab"] { z-index: 1; }
.stage.is-3d { -webkit-user-select: none; user-select: none; }
.stage.is-3d { cursor: grab; touch-action: pan-y; }
.stage.is-3d.is-dragging { cursor: grabbing; }
.stage:focus-visible { outline-offset: -2px; }
.stage-status { position: absolute; left: 50%; bottom: 22%; z-index: 3; translate: -50% 0; font-size: 12px; font-weight: 700; font-stretch: 120%; letter-spacing: .01em; color: var(--gold); text-shadow: 0 0 12px rgba(215, 199, 145, .6); white-space: nowrap; }
.stage-status:empty { display: none; }
.stage.is-3d::after { content: "Antippen zum Reden, ziehen zum Drehen"; position: absolute; left: 50%; bottom: 6px; z-index: 3; translate: -50% 0; font-size: 13px; font-weight: 700; font-stretch: 118%; letter-spacing: .01em; color: var(--dim); pointer-events: none; }
.hero.is-editing .profile, .hero.is-editing .skills { display: none; }
.editor { padding: 20px 20px 18px; }
.hero.is-editing .select { grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 350px); }
.editor-tabs { grid-column: 1; grid-row: 1; align-self: center; animation: from-left .6s var(--ease) both; }
.editor-options { grid-column: 3; grid-row: 1; align-self: center; animation: from-right .6s var(--ease) both; }
.ed-tabs { display: grid; gap: 6px; margin-top: 14px; }
.ed-tab { --cut: 10px; position: relative; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border: 0; color: var(--soft); text-align: left; cursor: pointer;
  background: rgba(241, 238, 228, .03); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background .2s, color .2s; }
.ed-tab:hover { color: var(--text); background: rgba(241, 238, 228, .08); }
.ed-tab.is-active { color: var(--text); background: linear-gradient(90deg, rgba(215, 199, 145, .22), rgba(215, 199, 145, .04)); }
.ed-tab.is-active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 0; width: 3px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.ed-tab-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--soft); background: rgba(241, 238, 228, .06); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); transition: background .2s, color .2s; }
.ed-tab-icon svg { width: 26px; height: 26px; }
.ed-tab.is-active .ed-tab-icon { color: var(--ink); background: var(--gold); }
.ed-tab-text strong { display: block; font-size: 15px; font-weight: 800; font-stretch: 112%; color: inherit; }
.ed-tab-value { display: block; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-tab.is-active .ed-tab-value { color: var(--gold); }
.ed-tab-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--swatch, transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ed-tab[data-tab="frisur"] .ed-tab-dot { display: none; }
.ed-tab.is-locked .ed-tab-dot { opacity: .45; }
.ed-options-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ed-options-value { color: var(--gold); letter-spacing: .12em; text-align: right; }
.ed-options { margin-top: 16px; }
.hair-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hair-card { --cut: 10px; position: relative; display: grid; gap: 4px; padding: 4px 4px 8px; border: 0; color: var(--soft); cursor: pointer; text-align: center;
  background: rgba(241, 238, 228, .05); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background .2s, color .2s, translate .2s var(--ease); }
.hair-card:hover { color: var(--text); background: rgba(241, 238, 228, .1); translate: 0 -2px; }
.hair-thumb { display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, rgba(215, 199, 145, .2), transparent 65%); }
.hair-thumb:empty { background: radial-gradient(circle at 50% 46%, rgba(241, 238, 228, .1) 0 26%, transparent 27%), radial-gradient(circle at 50% 45%, rgba(215, 199, 145, .14), transparent 65%); }
.hair-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hair-name { font-size: 13px; font-weight: 700; font-stretch: 108%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hair-card[aria-pressed="true"] { color: var(--ink); background: var(--gold); box-shadow: 0 0 24px rgba(215, 199, 145, .4); }
.hair-card[aria-pressed="true"] .hair-thumb { background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .55), rgba(215, 199, 145, .2) 70%); }
.orb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 14px 10px; }
.orb { position: relative; justify-self: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 38%), radial-gradient(circle at 68% 78%, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 58%), var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 6px 14px rgba(0, 0, 0, .45); transition: scale .18s var(--ease), box-shadow .18s; }
.orb:hover { scale: 1.08; }
.orb[aria-pressed="true"] { scale: 1.1; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold), 0 0 22px rgba(215, 199, 145, .55); }
.orb[aria-pressed="true"]::after { content: ""; position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317191a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.orb[data-value="Original"]::before { content: ""; position: absolute; left: 50%; bottom: -12px; width: 6px; height: 6px; translate: -50% 0; rotate: 45deg; background: var(--gold); }
.orb:disabled { cursor: not-allowed; scale: 1; opacity: .3; filter: grayscale(.7); }
.orb-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ed-lock { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 18px; padding: 14px; font-size: 14px; color: var(--coral); background: rgba(255, 161, 125, .08); }
.ed-lock svg { width: 18px; height: 18px; margin-top: 2px; }
.ed-lock .btn { grid-column: 2; justify-self: start; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 12px; }
.editor-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.stage.is-3d::after { transition: opacity .5s var(--ease); }
.stage.is-zoomed::after { opacity: 0; }
.hero.is-editing .roster { opacity: .45; }

/* Begleiter unten links */
.companion { position: fixed; left: 0; bottom: 0; z-index: 21; width: clamp(140px, 16vw, 250px); height: clamp(200px, 23vw, 350px); }
.companion::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 70%; height: 16px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 199, 145, .45), transparent); pointer-events: none; }
.companion-figure { position: absolute; inset: 12% 22% 2%; border: 0; background: none; cursor: pointer; }

/* Juschkin Labs: Marke, Charakterauswahl mit zwei Figuren */
.brand-logo { width: auto; height: 26px; }
.roster { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.slot { --cut: 12px; position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; min-width: 250px; padding: 10px 18px 10px 10px; border: 0; color: var(--soft); text-align: left; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); background: rgba(241, 238, 228, .22); transition: background .2s, color .2s; }
.slot::before { content: ""; position: absolute; inset: 1.5px; z-index: -1; clip-path: inherit; background: linear-gradient(180deg, #1d2224, #141719); }
.slot:hover { color: var(--text); background: rgba(241, 238, 228, .5); }
.slot.is-active { color: var(--text); background: var(--gold); box-shadow: 0 0 30px rgba(215, 199, 145, .25); }
.slot.is-active::before { background: linear-gradient(180deg, #2a2a22, #18191a); }
.slot-mark { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: rgba(241, 238, 228, .1); color: var(--soft); font-size: 14px; font-weight: 800; font-stretch: 125%; }
.slot.is-active .slot-mark { background: var(--gold); color: var(--ink); }
.slot-text strong { display: block; font-size: 16px; font-weight: 800; font-stretch: 116%; color: inherit; }
.slot-text span { font-size: 14px; font-weight: 600; font-stretch: 116%; letter-spacing: .01em; color: var(--dim); }
.stage-monogram { position: absolute; left: 50%; top: 42%; z-index: 2; display: none; place-items: center; width: 150px; height: 150px; translate: -50% -50%; clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); background: rgba(241, 238, 228, .06); color: var(--gold); font-size: 54px; font-weight: 900; font-stretch: 125%; }
.stage:not(.is-3d) .stage-monogram, .stage.is-loading-figure .stage-monogram { display: grid; }

/* Leistungen */
.services, .webapps, .insight, .team { position: relative; padding-block: clamp(72px, 8.5vw, 128px); border-top: 1px solid var(--line); }
.services { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.service { display: flex; flex-direction: column; padding: 28px 28px 26px; }
.service h3 { margin-top: 22px; font-size: clamp(24px, 2.1vw, 29px); }
.service .text-link { margin-top: auto; padding-top: 18px; }

/* Web-Apps */
.webapps { background: #0f1214; }
.webapp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 64px; }
.loot, .agency { padding: 28px 28px 26px; }
.loot-list { display: grid; gap: 2px; margin-top: 12px; }
.loot-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.loot-list li:last-child { border-bottom: 0; }
.loot-list li img { width: 48px; height: 48px; flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.agency h3 { margin-top: 12px; font-size: clamp(26px, 2.5vw, 36px); max-width: 18ch; }
.agency > p:not(.label):not(.world-actions) { margin-top: 14px; color: var(--soft); max-width: 36em; }
.fine-print { margin-top: 20px; font-size: 16px; color: var(--dim); }

/* Einblick */
.insight { background: var(--bg); }
.insight-panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); }
.insight-panel .label::before { background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.insight-copy h2 { margin-top: 16px; font-size: clamp(32px, 3.8vw, 56px); }
.insight-copy > p:not(.label):not(.world-actions) { margin-top: 16px; color: var(--soft); max-width: 34em; }
.quote { margin: 0; padding-left: 24px; border-left: 2px solid var(--gold); }
.quote p { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.45; }
.quote footer { margin-top: 14px; font-size: 16px; color: var(--dim); }

/* Team */
.team { background: var(--bg); }
.team-grid, .proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.proof-grid { margin-top: 20px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.member, .proof, .facts { padding: 28px 28px 26px; }
.member-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 18px; font-weight: 800; }
.member h3 { margin-top: 20px; font-size: clamp(27px, 2.4vw, 34px); }
.member-role { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--gold); }
.member > p:not(.member-role):not(.world-actions) { margin-top: 16px; color: var(--soft); }
/* Kims Karte: Hinweis auf seine eigene Website mit einem Bild der Spielwiese */
.member-more { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.member-more h4 { font-size: 20px; }
.member-shot { display: block; margin-top: 16px; padding: 6px; box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.member-shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
.member-more .world-actions { padding-top: 18px; }
.proof-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.proof-item:last-child { border-bottom: 0; padding-bottom: 0; }
.proof-item h4 { font-size: 20px; }
.proof-item p { margin-top: 8px; font-size: 17px; color: var(--soft); }
.proof-item .text-link, .facts .text-link { color: var(--gold); }
.facts dd a { color: var(--gold); overflow-wrap: anywhere; }
.facts .stats div { grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); }
.facts .stats dt { overflow-wrap: anywhere; }
main > section { overflow-x: clip; }

/* Unterseite Datenintegration */
.detail-hero { position: relative; padding-block: clamp(56px, 8vw, 120px) clamp(72px, 9vw, 130px); background: radial-gradient(ellipse 50% 60% at 85% 30%, rgba(142, 189, 255, .08), transparent 70%), radial-gradient(ellipse 50% 50% at 10% 0%, rgba(215, 199, 145, .07), transparent 70%), var(--bg-deep); }
.detail-hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.breadcrumb { font-size: 15px; color: var(--soft); }
.breadcrumb a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.breadcrumb a:hover { color: var(--text); }
.detail-copy h1 { margin-top: 18px; font-size: clamp(36px, 4.4vw, 62px); font-weight: 800; hyphens: auto; }
.detail-copy .hero-lead { margin-top: 22px; max-width: 34em; }
.detail-copy .hero-actions { justify-content: flex-start; margin-top: 32px; }
.pipeline { display: grid; justify-items: center; gap: 0; margin: 0; padding: 24px 24px 28px; }
.pipeline .panel-title { justify-self: stretch; }
.pipe-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pipe-flow { position: relative; width: 2px; height: 30px; overflow: hidden; background: rgba(241, 238, 228, .14); }
.pipe-flow::after { content: ""; position: absolute; left: 0; width: 2px; height: 12px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pipe-drop 1.6s linear infinite; }
@keyframes pipe-drop { from { top: -12px; } to { top: 30px; } }
.pipe-checks { display: grid; gap: 6px; justify-self: stretch; padding: 14px; border: 1px dashed rgba(241, 238, 228, .16); background: radial-gradient(ellipse at center, rgba(142, 189, 255, .08), transparent 75%); }
.pipe-checks li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 15px; font-weight: 600; background: rgba(241, 238, 228, .04); }
.pipe-checks li::before { content: ""; display: grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0; font-size: 12px; font-weight: 900; line-height: 18px; text-align: center; }
.pipe-checks .is-ok::before { content: "\2713"; color: var(--ink); background: var(--green); }
.pipe-checks .is-hold { color: var(--coral); background: rgba(255, 161, 125, .08); }
.pipe-checks .is-hold::before { content: "!"; color: var(--ink); background: var(--coral); }
.pipe-target { margin-top: 0; }
.detail-section { position: relative; padding-block: clamp(72px, 8.5vw, 128px); border-top: 1px solid var(--line); }
.detail-section:nth-of-type(even) { background: #0f1214; }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.task { padding: 28px 28px 26px; }
.task-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; color: var(--gold); background: rgba(215, 199, 145, .12); }
.task-icon svg { width: 24px; height: 24px; }
.task h3 { margin-top: 20px; font-size: clamp(22px, 2vw, 27px); }
.task p { margin-top: 10px; color: var(--soft); }
.track-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sample-notes { display: grid; gap: 10px; }
.sample-notes li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; background: rgba(241, 238, 228, .04); border-left: 2px solid var(--coral); }
.faq { display: grid; gap: 12px; max-width: 920px; margin-top: 48px; }
.faq details { padding: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; font-stretch: 104%; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; flex-shrink: 0; background: linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2px 12px no-repeat; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(215, 199, 145, .5); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--gold-bright); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.faq details p { padding: 0 24px 22px; max-width: 46em; color: var(--soft); }

/* Kopfzeile: Zusatz und Ton */
.brand-tag { padding-left: 14px; border-left: 1px solid var(--line); font-size: 14px; line-height: 1.35; color: var(--soft); white-space: nowrap; }
.sound-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-left: auto; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(241, 238, 228, .04); color: var(--soft); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.sound-toggle svg { width: 20px; height: 20px; }
.sound-toggle .sound-wave { display: none; }
.sound-toggle.is-on { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.sound-toggle.is-on .sound-wave { display: inline; }
.sound-toggle.is-on .sound-off { display: none; }
.sound-toggle:hover { color: var(--text); border-color: rgba(241, 238, 228, .35); }
.sound-toggle.is-on:hover { color: var(--ink); }
.header-inner .site-nav { margin-left: 0; }

/* Leistungen mit Emblemen */
.service-emblem { width: 132px; height: 132px; margin: -6px 0 6px -10px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.service-kind { font-size: 16px; font-weight: 600; color: var(--gold); }
.service h3 { margin-top: 8px; }
.service > p:not(.service-kind) { margin-top: 10px; color: var(--soft); }
.agency .service-kind { color: var(--gold); }
.panel-heading { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 20px; }

/* Projekte: echte Logos und Bilder */
.world-logo { margin: 0; line-height: 0; }
.world-logo img { width: auto; max-width: 100%; }
.world-iquest .world-logo img { height: 92px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.world-iquest .world-logo .iquest-classic-logo { height: 52px; margin: 20px 0; filter: none; }
.variant-switch { display: inline-flex; gap: 2px; margin-bottom: 24px; padding: 3px; border-radius: 8px; background: rgba(245, 243, 233, .08); }
.variant-switch button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 6px; font-size: 16px; font-weight: 600; color: var(--soft); background: transparent; cursor: pointer; transition: color .2s, background-color .2s; }
html:not(.js) .variant-switch { display: none; }
.variant-switch button:hover { color: var(--text); }
.variant-switch button[aria-pressed="true"] { color: var(--ink); background: var(--gold); }
.variant-switch button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--text); }
.trailer-poster-classic { position: relative; background: linear-gradient(rgba(245, 243, 233, .06) 1px, transparent 1px) 0 0 / 100% 36px, linear-gradient(90deg, rgba(245, 243, 233, .06) 1px, transparent 1px) 0 0 / 36px 100%, #0c1638; }
.trailer-poster-classic img { position: absolute; left: 50%; top: 38%; width: 40%; height: auto; translate: -50% -50%; object-fit: contain; }
.trailer-poster-classic .trailer-play { top: 76%; }
.classic-facts { display: grid; max-width: 30em; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.classic-facts li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.classic-facts strong { color: var(--text); }
.smartadm-logo img { height: 80px; }
.heimello-logo img { height: 54px; margin-left: -6px; }
.roadlands-logo img { height: 128px; margin-left: -8px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.world-info .tags { margin-top: 18px; }
.heimello-project .world-art { background: radial-gradient(ellipse 70% 62% at 50% 52%, rgba(217, 138, 168, .22), rgba(70, 21, 38, .25) 55%, transparent 76%); }
.devices { position: relative; width: 100%; padding: 0 9% 6% 0; }
.device { display: block; text-decoration: none; transition: translate .4s var(--ease); }
.device img { width: 100%; }
.device-tablet { padding: 10px; border-radius: 22px; background: #1b1c1f; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.device-tablet img { border-radius: 12px; }
.device-phone { position: absolute; right: 0; bottom: 0; width: 26%; padding: 6px; border-radius: 22px; background: #1b1c1f; box-shadow: 0 24px 40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.device-phone img { border-radius: 16px; }
.device:hover { translate: 0 -6px; }
.shot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 22px; }
.shot-list a { display: block; text-decoration: none; color: var(--soft); font-size: 15.5px; font-weight: 600; }
.shot-list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 6px; box-shadow: 0 10px 20px rgba(0, 0, 0, .4), inset 0 0 0 1px var(--line); transition: translate .3s var(--ease); }
.shot-list span { display: block; margin-top: 6px; }
.shot-list a:hover { color: var(--text); }
.shot-list a:hover img { translate: 0 -4px; }
.shot-list-wide { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.shot-list-wide img { aspect-ratio: 16 / 9; }
.shot-list-wide span { font-size: 14.5px; }
.roadlands-project .world-art { align-content: center; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 161, 125, .16), transparent 72%); }
.roadlands-key { display: block; width: 100%; }
.roadlands-key img { width: 100%; border-radius: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); transition: translate .4s var(--ease); }
.roadlands-key:hover img { translate: 0 -6px; }
.insight-date { font-size: 16px; font-weight: 600; color: var(--gold); }

/* Farbproben im Editor mit Material aus der Lieferung */
.orb[data-texture] { background-image: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%), radial-gradient(circle at 68% 78%, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0) 60%), var(--texture); background-size: 100% 100%, 100% 100%, 64px 64px; background-color: var(--swatch); background-blend-mode: normal, normal, multiply; }
.orb[data-texture="strick"] { --texture: url("assets/editor/textur-strick.webp"); }
.orb[data-texture="jeans"] { --texture: url("assets/editor/textur-jeans.webp"); }
.orb[data-texture="leder"] { --texture: url("assets/editor/textur-leder.webp"); }
.orb[data-texture="haar"] { --texture: url("assets/editor/textur-haar.webp"); }

/* Tablet */
@media (max-width: 1100px) {
  .hero { --lab-h: min(74svh, 780px); }
  .lab { inset: 0 0 auto 0; height: var(--lab-h); }
  .lab-shade { background: linear-gradient(180deg, rgba(9, 12, 14, .86) 0%, rgba(9, 12, 14, .45) 22%, rgba(9, 12, 14, 0) 40%), linear-gradient(0deg, var(--bg-deep) 0%, rgba(11, 13, 14, 0) 18%); }
  .hero-inner { display: flex; flex-direction: column; min-height: 0; }
  .select { display: contents; }
  .select > * { align-self: stretch; }
  .stage { order: 1; height: calc(var(--lab-h) - 236px); min-height: 260px; }
  .hero-bottom { order: 2; margin-top: 16px; }
  .editor-tabs { order: 3; margin-top: 18px; }
  .editor-options { order: 4; margin-top: 14px; }
  .profile { order: 6; margin-top: 28px; }
  .skills { order: 7; margin-top: 14px; }
  .profile, .skills { transform: none; }
  .hero .panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* Unter dem Lab bleibt alles stehen, während die Figur hinausläuft */
  .hero.is-leaving .profile, .hero.is-leaving .skills, .hero.is-leaving .hero-bottom { opacity: 1; translate: none; }
  .hero.is-editing .select { grid-template-columns: none; }
  .hero.is-editing .lab { position: fixed; top: 68px; height: 42svh; z-index: 6; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
  body:has(.hero.is-editing) .figure-layer[data-layer="lab"] { z-index: 7; }
  .hero.is-editing .hero-head { display: none; }
  .hero.is-editing .stage { height: 42svh; min-height: 0; }
  .hero.is-editing .roster { display: none; }
  .hero.is-editing .hero-bottom { order: 5; }
  .brand-tag { display: none; }
  .sound-toggle span { display: none; }
  .sound-toggle { padding: 0 10px; }
  .site-nav a { white-space: nowrap; padding-inline: 10px; }
  .stage.is-3d::after { display: none; }
  .world { grid-template-columns: 1fr; min-height: 0; }
  .world-art { border-right: 0; border-bottom: 1px solid var(--line); }
  .world-actions { margin-top: 0; }
  .service-grid { grid-template-columns: 1fr; max-width: 640px; }
  .webapp-grid, .insight-panel, .proof-grid, .detail-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .pipeline { max-width: 560px; }
}

@media (max-width: 860px) {
  .track { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .node { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 18px; padding-block: 22px; }
  .node-card { margin-top: 4px; max-width: none; }
  .team-grid, .task-grid { grid-template-columns: 1fr; }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 17.5px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; font-size: 15px; font-weight: 600; cursor: pointer; }
  .menu-icon { position: relative; width: 20px; height: 2px; background: currentColor; transition: background .2s; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  html:not(.js) .menu-toggle { display: none; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #0f1517; border-bottom: 1px solid var(--line); }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js .site-nav a::after { display: none; }
  .js .site-nav .nav-contact { margin-left: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }

  .btn { white-space: normal; text-align: center; padding-block: 10px; }
  .hero { --lab-h: min(66svh, 600px); }
  .stage { height: calc(var(--lab-h) - 250px); min-height: 220px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-lead { font-size: 17px; }
  .editor-tabs .panel-title { display: none; }
  .ed-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 0; gap: 4px; }
  .ed-tab { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 6px 2px; text-align: center; }
  .ed-tab-icon { width: 38px; height: 38px; }
  .ed-tab-text strong { font-size: 11px; }
  .ed-tab-value, .ed-tab-dot, .ed-tab.is-active::before { display: none; }
  .editor-tabs { padding: 10px; }
  .editor-tabs, .editor-options { grid-column: 1; grid-row: auto; }
  .sound-toggle span { display: none; }
  .sound-toggle { padding: 0 10px; }
  .shot-list-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .world-iquest .world-logo img { height: 64px; }
  .world-iquest .world-logo .iquest-classic-logo { height: 36px; margin: 14px 0; }
  .trailer-poster-classic img { top: 30%; width: 36%; }
  .trailer-poster-classic .trailer-play { top: 76%; min-height: 46px; }
  .heimello-logo img { height: 44px; }
  .smartadm-logo img { height: 60px; }
  .roadlands-logo img { height: 92px; }
  .editor-actions .btn { flex: 1 1 40%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .world-track { grid-auto-columns: calc(100% - 2 * var(--pad) - 18px); gap: 12px; }
  .contact-mail { width: 100%; font-size: 17px; }
  .slot { min-width: 0; flex: 1 1 100%; }
  .companion { width: 124px; height: 178px; }
  .facts .stats div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .member, .proof, .facts, .loot, .agency { padding: 24px 20px 22px; }
  .preview-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .track .node { opacity: 1; translate: 0 0; }
  .js .world:not(.is-active) { opacity: 1; scale: 1; }
}
