/* ITAKKA Projektseite – Theme v1 (2026-11-22). Keine externen Schriften/CDNs. */
:root {
  --accent: #c8102e;
  --ink: #14171c;
  --ink-soft: #4a515c;
  --muted: #7b8390;
  --line: #e3e6ea;
  --paper: #f5f6f8;
  --card: #ffffff;
  --hero-ink: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 23, 28, .06), 0 8px 24px rgba(20, 23, 28, .08);
  --shadow-lift: 0 2px 4px rgba(20, 23, 28, .08), 0 18px 40px rgba(20, 23, 28, .18);
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55;
       -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Vorschau-Banner */
.preview-banner { background: #ffcc00; color: #000; text-align: center; font-weight: 600; font-size: 14px; padding: 6px 12px; }

/* Kopfbereich */
.hero { position: relative; height: clamp(260px, 33vh, 340px); color: var(--hero-ink); overflow: hidden;
        background: #0b0d10; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: -40px; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover;
        filter: blur(var(--hero-blur, 6px)) saturate(1.05); transform: scale(1.06); }
.hero--gray .hero__media video, .hero--gray .hero__media img { filter: blur(var(--hero-blur, 6px)) grayscale(1); }
.hero__shade { position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(11, 13, 16, .35) 0%, rgba(11, 13, 16, .15) 40%, rgba(11, 13, 16, .85) 100%); }
.hero__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between;
        align-items: center; padding: 18px 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; letter-spacing: .02em; }
.brand img { height: 46px; width: auto; border-radius: 10px; }
.brand small { display: block; font-weight: 400; opacity: .75; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero__content { position: relative; width: 100%; padding: 64px 0 50px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; opacity: .85; margin: 0 0 10px; }
.kicker span + span::before { content: "·"; margin: 0 .6em; opacity: .6; }
.hero h1 { font-size: clamp(28px, 4vw, 50px); line-height: 1.05; margin: 0; letter-spacing: -.02em; font-weight: 750;
        text-wrap: balance; max-width: 18ch; }
.hero .subtitle { font-size: clamp(15px, 1.7vw, 19px); margin: 10px 0 0; opacity: .9; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px;
        background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.chip svg { width: 14px; height: 14px; opacity: .85; }

/* Medienleiste */
.media-bar { position: relative; margin-top: -34px; z-index: 3; }
.media-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.mcard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
        background: #1b1f26; color: #fff; box-shadow: var(--shadow); transform-style: preserve-3d;
        transition: transform .25s ease, box-shadow .25s ease; text-decoration: none !important; will-change: transform; }
.mcard:hover { box-shadow: var(--shadow-lift); }
.mcard:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.mcard__img { position: absolute; inset: -8%; background-size: cover; background-position: center;
        animation: drift 22s ease-in-out infinite alternate; }
.mcard--3d .mcard__img { animation-name: orbit; animation-duration: 16s; }
.mcard__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
        background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 55%); }
.mcard:hover .mcard__glare { opacity: 1; }
.mcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .78) 100%); }
.mcard__label { position: absolute; left: 14px; right: 14px; bottom: 12px; transform: translateZ(30px); }
.mcard__type { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
        padding: 3px 8px; border-radius: 6px; background: var(--accent); }
.mcard__title { display: block; font-weight: 650; font-size: 16px; margin-top: 6px; line-height: 1.25; }
.mcard__badge { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
        background: rgba(0, 0, 0, .45); display: grid; place-items: center; transform: translateZ(40px); }
.mcard__badge svg { width: 18px; height: 18px; fill: #fff; }
@keyframes drift { from { transform: scale(1.02) translate(-2%, -1%); } to { transform: scale(1.12) translate(2%, 1%); } }
@keyframes orbit { 0% { transform: scale(1.1) translateX(-4%) rotate(-1deg); } 100% { transform: scale(1.1) translateX(4%) rotate(1deg); } }

/* Medienleiste als drehende Glaswürfel (nach der alten Vorlage 3dmodel_index.html) */
.cubes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; background: var(--card);
        border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 22px; }
.mcube { --s: 128px; --edge: var(--accent); display: flex; flex-direction: column; align-items: center; gap: 4px;
        color: var(--ink); text-decoration: none !important; padding: 8px 6px 4px; border-radius: 12px; transition: background .2s; }
.mcube:hover { background: var(--paper); }
.mcube:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mcube--gallery { --edge: #1f6feb; }
.mcube--slider { --edge: #0f8a7e; }
.mcube--open { --edge: #6b4fbb; }
.cube-scene { width: var(--s); height: var(--s); perspective: 620px; margin: 26px 0 30px; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
        animation: cube-spin var(--spin, 46s) linear infinite; }
.mcube:hover .cube { animation-duration: 9s; }
.cube .face { position: absolute; inset: 0; border: 2px solid var(--edge); background: rgba(255, 255, 255, .10);
        box-shadow: inset 0 0 10px rgba(255, 255, 255, .55); }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f3 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .inner { position: absolute; width: 70%; height: 70%; left: 15%; top: 15%; transform-style: preserve-3d; transform: rotateY(5deg); }
.cube .inner .face { background-color: #20242b; background-size: cover; background-position: center; box-shadow: none; }
.cube .inner .f1 { transform: translateZ(calc(var(--s) * .35)); }
.cube .inner .f2 { transform: rotateY(180deg) translateZ(calc(var(--s) * .35)); }
.cube .inner .f3 { transform: rotateY(90deg) translateZ(calc(var(--s) * .35)); }
.cube .inner .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) * .35)); }
.cube .inner .f5 { transform: rotateX(90deg) translateZ(calc(var(--s) * .35)); }
.cube .inner .f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) * .35)); }
.mcube__type { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--edge); }
.mcube__title { font-weight: 650; font-size: 15px; text-align: center; line-height: 1.25; }
@keyframes cube-spin { from { transform: rotateX(-16deg) rotateY(0deg); } to { transform: rotateX(-16deg) rotateY(360deg); } }
@media (max-width: 720px) {
  .cubes { padding: 12px 8px 16px; }
  .mcube { --s: 104px; }
}

/* Eigener Nutzungshinweis des Projekts */
.notice { border-left: 4px solid var(--accent); }
.notice p { margin: 0 0 .6em; color: var(--ink-soft); }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--ink); }

/* Navigation beim Scrollen */
.topnav { position: sticky; top: 0; z-index: 10; background: rgba(245, 246, 248, .9); backdrop-filter: blur(10px);
        border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topnav.is-stuck { border-color: var(--line); box-shadow: 0 6px 18px rgba(20, 23, 28, .06); }
.topnav .wrap { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px;
        scrollbar-width: none; }
.topnav a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; color: var(--ink-soft); font-size: 14px;
        font-weight: 550; text-decoration: none; }
.topnav a:hover { background: #fff; color: var(--ink); }
.topnav a.is-active { background: var(--ink); color: #fff; }
.topnav .topnav__title { display: none; font-weight: 700; color: var(--ink); margin-right: 10px; font-size: 14px; white-space: nowrap; }
.topnav.is-stuck .topnav__title { display: inline; }

/* Abschnitte */
main { padding-bottom: 40px; }
.section { padding: 56px 0 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; letter-spacing: -.01em; }
.eyebrow { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin: 0 0 6px; }
.lead { color: var(--ink-soft); max-width: 75ch; margin: 0 0 18px; font-size: 17px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

/* Infoblock */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; }
.fact dd { margin: 4px 0 0; font-weight: 550; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.prose { max-width: 75ch; color: var(--ink-soft); }
.prose p { margin: 0 0 1em; }

/* 3D-Viewer */
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0d10;
        box-shadow: var(--shadow); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage__poster { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05); }
.stage__poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,.15), rgba(0,0,0,.6)); }
.stage__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer;
        color: #fff; font: inherit; }
.stage__play span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
        background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px);
        font-weight: 650; font-size: 17px; transition: transform .2s, background .2s; }
.stage__play:hover span { transform: scale(1.05); background: var(--accent); border-color: var(--accent); }
.stage__play svg { width: 22px; height: 22px; fill: currentColor; }
.stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage--video::after { content: ""; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.stage--video .stage__play, .stage--video .stage__hint { z-index: 2; }
.stage--model { background: #dfe2e7; }
.stage--model model-viewer { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: #dfe2e7;
        --poster-color: transparent; --progress-bar-color: var(--accent); }
.stage--model .stage__play, .stage--model .stage__hint { z-index: 2; }
.stage--model.is-loaded .stage__play { display: none; }
.stage--model .stage__hint { color: #333; }
.stage--model .stage__play .cta { background: rgba(20, 23, 28, .55); }
.mv-ar { position: absolute; right: 14px; bottom: 14px; }
.stage--model.stage--video::after { display: none; }
.stage--model .stage__video { object-fit: contain; background: #dfe2e7; }
.stage__play .cta { font-size: 19px; padding: 16px 28px; background: rgba(0,0,0,.35); animation: cta-pulse 2.6s ease-in-out infinite; }
.stage__play:hover .cta { animation: none; }
@keyframes cta-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 50% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.stage__hint { position: absolute; left: 16px; bottom: 14px; color: rgba(255,255,255,.8); font-size: 13px; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 14px;
        border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none !important; }
.btn:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.viewer-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.viewer-tabs button { font: inherit; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.viewer-tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery.gallery--portrait { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.gallery.gallery--portrait a { aspect-ratio: 3 / 4; }
.actions + .gallery { margin-top: 16px; }
.gallery__group { font-size: 18px; margin: 26px 0 10px; color: var(--ink); }
.gallery__group:first-child { margin-top: 4px; }
.gallery + .gallery { margin-top: 18px; }
.gallery a { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery .is-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
        background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/22px no-repeat; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 9, 11, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__stage { max-width: 92vw; max-height: 84vh; }
.lightbox__stage img, .lightbox__stage video { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px;
        border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__dl { position: absolute; top: 22px; right: 80px; }
.lightbox__dl[hidden] { display: none; }
.lightbox__prev { left: 18px; top: 50%; }
.lightbox__next { right: 18px; top: 50%; }

/* Vorher/Nachher */
.compare { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.compare { background: #111; }
.compare img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__after img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px);
        box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.compare__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px;
        border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); }
.compare__label { position: absolute; top: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px;
        text-transform: uppercase; letter-spacing: .1em; }
.compare__label--before { left: 12px; }
.compare__label--after { right: 12px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Preise */
.prices { display: grid; gap: 14px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 12px;
        border-bottom: 2px solid var(--line); }
.ptable th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.ptable td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.ptable th.num { text-align: right; }
.ptable tr.group td { padding-top: 18px; font-weight: 700; border-bottom: 0; }
.ptable tr.is-relevant td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.note { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
details.more { margin-top: 10px; }
details.more summary { cursor: pointer; color: var(--ink-soft); font-weight: 600; }

/* Nutzung, Bedingungen, Kontakt */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 16px; right: 18px; font-size: 32px;
        font-weight: 800; color: var(--line); }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.terms details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.terms summary { cursor: pointer; font-weight: 600; }
.terms p { color: var(--ink-soft); margin: 8px 0 0; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.contact__item { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow);
        padding: 14px 16px; color: var(--ink); text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.contact__item:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.contact__item small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact__item em { display: block; font-style: normal; font-size: 13px; opacity: .85; }
.contact__icon { flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper);
        color: var(--accent); }
.contact__icon svg { width: 21px; height: 21px; fill: currentColor; }
.contact__whatsapp { background: #25d366; color: #fff; font-weight: 650; }
.contact__whatsapp small { color: rgba(255,255,255,.85); }
.contact__whatsapp .contact__icon { background: rgba(255,255,255,.18); color: #fff; }
.contact__whatsapp:hover { background: #1ebe5b; }

/* Kennzeichnung von Renderings (keine Fotos) */
.gallery a.is-render { background: #e6e8ec; outline: 1px dashed #b9bec7; outline-offset: -1px; }
.render-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
        border-radius: 6px; background: rgba(20, 23, 28, .78); color: #fff; font-size: 11px; font-weight: 700;
        text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.render-badge svg { width: 12px; height: 12px; fill: currentColor; }
.stage__play .cta svg:last-child { width: 16px; height: 16px; opacity: .8; }
.links li { margin: 6px 0; }
footer { margin-top: 56px; background: #0f1216; color: #c9ced6; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #fff; margin-left: 16px; }
.credits { color: var(--muted); font-size: 13px; margin-top: 10px; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { height: clamp(330px, 50vh, 440px); }
  .hero__content { padding-top: 76px; }
  .media-cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .stage { aspect-ratio: 4 / 5; }
  .ptable { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hero__media, .topnav, .stage, .lightbox { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
}

/* Teile einer Präsentation (z. B. ein Werk des Künstlers) */
.part { background: linear-gradient(180deg, var(--paper) 0%, transparent 100%); border-top: 1px solid rgba(0,0,0,.06); }
.part h2 { font-size: clamp(30px, 4.4vw, 48px); }
.part__sub { margin: 6px 0 0; color: var(--muted); font-size: 18px; }
.part__facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.part__facts li { background: var(--card); border-radius: 999px; padding: 5px 12px; font-size: 13px; box-shadow: var(--shadow); }
.part__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.part__chips span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }
.part__chips a { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
        font-size: 14px; font-weight: 600; }
.part__chips a:hover { background: var(--accent); }

/* YouTube in Galerien */
.yt-badge { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: #ff0000; color: #fff;
        font-size: 11px; font-weight: 700; letter-spacing: .04em; pointer-events: none; }
.lightbox__stage iframe { width: min(92vw, 160vh); aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; }

/* Einordnung (Kategorienbaum): dezent, leuchtend */
.catband { padding: 22px 0 6px; }
.catband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
        font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.catband .wrap::before, .catband .wrap::after { content: ""; flex: 1 1 40px; max-width: 160px; height: 1px;
        background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }
.catband__mark { width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); animation: cat-pulse 3.2s ease-in-out infinite; }
@keyframes cat-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
        50% { box-shadow: 0 0 0 7px transparent; } }
.catband__label { font-weight: 700; color: var(--ink); opacity: .55; }
.catband__path { display: inline-flex; flex-wrap: wrap; gap: 0 4px; cursor: help; }
.catband__seg + .catband__seg::before { content: "›"; margin-right: 4px; opacity: .5; }
.catband__seg.is-leaf { font-weight: 700; background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 40%,
        var(--accent) 50%, var(--ink) 60%, var(--ink) 100%); background-size: 250% 100%; -webkit-background-clip: text;
        background-clip: text; color: transparent; animation: cat-sheen 7s ease-in-out infinite; }
@keyframes cat-sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .catband__mark, .catband__seg.is-leaf { animation: none; } }

/* Orts-Hierarchie */
.crumbs { display: inline-flex; flex-wrap: wrap; gap: 2px 6px; }
.crumbs .sep { color: var(--muted); }
.crumbs span:last-child { font-weight: 650; }
.muted { color: var(--muted); }

/* Formatierter Freitext (Editor) */
.richtext h3 { font-size: 1.35em; margin: 1.1em 0 .35em; } .richtext h4 { font-size: 1.1em; margin: 1em 0 .3em; }
.richtext > :first-child { margin-top: 0; }
.richtext blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding: .2em 1em; color: var(--muted); }
.richtext a { color: var(--accent); }

/* Verlinkte Projekte */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.related__card { display: flex; flex-direction: column; background: var(--card); border-radius: 14px; overflow: hidden;
        box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.related__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.related__card img, .related__noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper); display: block; }
.related__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.related__body small { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.related__body strong { font-size: 17px; } .related__body span { color: var(--muted); font-size: 14px; }

/* Bildschutz (presentation.protect_images): erschwert Speichern, verhindert es nicht */
.protect img, .protect video, .protect .lightbox__img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.lightbox__img { width: min(92vw, 1600px); height: 82vh; background: center / contain no-repeat; }


/* 3D-Abschnitt zweispaltig: Bühne links (kleiner, ruhiger), Infospalte rechts (22.11.2026) */
.mlayout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 28px; align-items: start; }
.mlayout__stage .stage { box-shadow: 0 1px 2px rgba(20,23,28,.05), 0 14px 34px rgba(20,23,28,.12); }
.mlayout__stage .stage__video { opacity: .92; transition: opacity .5s; }
.mlayout__stage .stage:hover .stage__video { opacity: 1; }
.mlayout__info { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 20px; }
.mlayout__lead { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 18px; font-size: 14px; }
.spec dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; padding-top: 3px; }
.spec dd { margin: 0; color: var(--ink); }
.actions--stack { flex-direction: column; align-items: stretch; margin-top: 0; }
.actions--stack .btn { justify-content: flex-start; white-space: normal; text-align: left; }
.mlayout + .gallery__group { margin-top: 28px; }

/* Aufforderung auf der Bühne: zweizeilig */
.stage__play .cta__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 0; border: 0;
        background: none; backdrop-filter: none; line-height: 1.15; transform: none !important; font-size: inherit; }
.stage__play .cta__txt b { font-weight: 700; }
.stage__play .cta__txt small { font-size: 12.5px; font-weight: 500; opacity: .82; letter-spacing: .02em; }

/* Info-Knopf (i) und Erklär-Popup zur Medienart */
.mcube-item { position: relative; display: flex; }
.cubes .mcube-item { flex: 0 1 200px; }
.mcube-item .mcube { flex: 1; }
.infob { display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border-radius: 50%;
        border: 1.5px solid currentColor; background: transparent; color: var(--muted); font: italic 700 12px/1 Georgia, serif;
        cursor: pointer; vertical-align: 1px; transition: color .2s, background .2s; }
.infob:hover, .infob:focus-visible { color: #fff; background: var(--accent); border-color: var(--accent); outline: none; }
.infob--cube { position: absolute; top: 8px; right: 10px; background: var(--card); }
.infopop { max-width: min(520px, calc(100vw - 32px)); border: 0; border-radius: var(--radius); padding: 26px 28px 22px;
        box-shadow: var(--shadow-lift); color: var(--ink); }
.infopop::backdrop { background: rgba(15, 18, 22, .45); backdrop-filter: blur(2px); }
.infopop h3 { margin: 0 0 10px; font-size: 20px; }
.infopop p { margin: 0 0 14px; color: var(--ink-soft); }
.infopop a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.infopop a svg { width: 14px; height: 14px; fill: currentColor; }
.infopop__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1;
        color: var(--muted); cursor: pointer; }

@media (max-width: 900px) {
  .mlayout { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  .cubes .mcube-item { flex: 0 1 46%; }
  .mlayout__stage .stage { aspect-ratio: 4 / 3; }
  .stage__play .cta { font-size: 16px; padding: 12px 20px; }
}

/* Download-Knopf zweizeilig; 3D-Aufforderung unten statt mitten auf dem Objekt */
.btn--dl { padding: 10px 16px; }
.btn__txt { display: flex; flex-direction: column; line-height: 1.2; }
.btn__txt small { font-weight: 500; font-size: 12px; opacity: .85; }
.mlayout .stage__play { place-items: end center; padding-bottom: 46px; }
@media (max-width: 720px) {
  .mlayout .stage__play { padding-bottom: 18px; }
  .mlayout .stage__hint { display: none; }
}
@media (max-width: 720px) {          /* Einordnung am Handy: Raute + Bezeichnung über dem Pfad, ohne Seitenlinien */
  .catband .wrap { flex-direction: column; gap: 4px; letter-spacing: .14em; }
  .catband .wrap::before, .catband .wrap::after { display: none; }
  .catband__mark { margin-bottom: 4px; }
}

/* Anmeldung für Neuigkeiten (presentation.subscribe) */
.subscribe { display: flex; gap: 22px; align-items: flex-start; background: var(--card); border-radius: var(--radius);
        box-shadow: var(--shadow); padding: 28px 30px; border-left: 4px solid var(--accent); position: relative; overflow: hidden; }
.subscribe::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
        background: radial-gradient(circle, rgba(200,16,46,.08), rgba(200,16,46,0) 70%); pointer-events: none; }
.subscribe__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
        background: rgba(200,16,46,.08); color: var(--accent); }
.subscribe__icon svg { width: 26px; height: 26px; fill: currentColor; }
.subscribe__body { flex: 1; min-width: 0; }
.subscribe h2 { margin: 0 0 6px; }
.subscribe__text { color: var(--ink-soft); margin: 0 0 16px; max-width: 62ch; }
.subscribe__form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.subscribe__form input[type=email] { flex: 1 1 240px; min-width: 0; padding: 11px 14px; border-radius: 10px;
        border: 1px solid var(--line); font: inherit; background: var(--paper); }
.subscribe__form input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.subscribe__form .btn { padding: 11px 20px; }
.subscribe__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.subscribe__note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
@media (max-width: 720px) {
  .subscribe { flex-direction: column; padding: 22px 20px; gap: 12px; }
  .subscribe__form .btn { width: 100%; justify-content: center; }
}

/* Überblick: Schlagworte ausklappbar, Lizenz breit */
.tags__more { margin-top: 6px; }
.tags__more summary { display: inline-block; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600;
        color: var(--accent); padding: 2px 10px; border-radius: 999px; border: 1px dashed rgba(200,16,46,.45); }
.tags__more summary::-webkit-details-marker { display: none; }
.tags__more summary:hover { background: rgba(200,16,46,.06); }
.tags__more[open] summary { margin-bottom: 4px; }
.fact--wide, .fact--span2 { grid-column: span 2; }
.fact--wide dd { white-space: nowrap; }
.fact__link { color: var(--accent); font-weight: 500; }
@media (max-width: 720px) {
  .fact--wide, .fact--span2 { grid-column: auto; }
  .fact--wide dd { white-space: normal; }
}
