/* Die Studiooberfläche greift Tinte, Kobalt und Papier aus den Filmen auf. */
:root {
  --paper: #f6f4ec;
  --white: #fffdf6;
  --ink: #172522;
  --muted: #505358;
  --rule: #c8c8be;
  --deep: #111827;
  --cobalt: #243f9c;
  --cine-black: #0c0f13;
  --cine-white: #f6f4ed;
  --cine-silver: #c9cbd0;
  --cine-blue: #a7bfff;
  --gutter: clamp(20px, 5.1vw, 94px);
  --measure: 1480px;
  --section: clamp(65px, 8.5vw, 135px);
}
::selection { color: #fff; background: #364991; }
:focus-visible { outline: 3px solid #e08b36; outline-offset: 4px; }
.skip { background: white; color: #15191e; }
/* Durchgehende, helle Navigation. Die dunkle Wortmarke ist auch vor hellen Filmbildern lesbar. */
.site-head { background: var(--paper); color: var(--ink); border-bottom: 1px solid #c5c6bb; }
.head-inner { min-height: clamp(68px,5.6vw,84px); gap: clamp(17px,3vw,50px); }
.site-head .brand img { width: clamp(127px,12.6vw,194px); filter: brightness(0); }
.site-foot .brand img { filter: brightness(0) invert(1); }
.full-nav>a { color: #242d2b; font-size: .94rem; font-weight: 540; }
.full-nav>a:hover, .full-nav>a[aria-current=page] { color: #213f8b; text-decoration-color: currentColor; }
.site-head .header-cta { min-height: 44px; color: #fff; background: #19333b; border: 1px solid #19333b; border-radius: 2px; transition-property: transform; }
.site-head .header-cta:hover, .site-head .header-cta[aria-current=page] { background: #123b71; border-color: #123b71; color: white; }
.site-head .mobile-nav i { border-color: currentColor; }
.site-head .mobile-nav[open] i { border-bottom-color: transparent; }
.site-head .mobile-nav>nav { color: #172a29; background: var(--paper); border-color: #a4b1a9; }
.site-head .mobile-nav>nav a { border-bottom-color: #c8cfc6; }
.site-head .mobile-nav>nav a:hover, .site-head .mobile-nav>nav a[aria-current=page] { color: #243f9c; }
/* Ein echtes Filmbild dient als schnelle, auch ohne JavaScript vollständige Ansicht. */
.cine-film { position: relative; margin: 0; min-width: 0; color: #f7f5ef; background: #0a0d11; isolation: isolate; }
.cine-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0a0d11; }
.cine-frame .cine-poster, .cine-frame .cine-poster img, .cine-frame video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine-frame video { opacity: 0; pointer-events: none; }
.cine-film.has-frame [data-cine-video] { opacity: 1; }
.cine-frame .cine-prelude { opacity: 0; transition: opacity .24s ease; }
.cine-frame .cine-prelude.on-screen { opacity: 1; }
.cine-film figcaption { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 54px; padding: 4px 12px 4px 17px; background: #12171d; color: #f2f1e9; }
.cine-caption { min-width: 0; font-size: .83rem; font-weight: 540; line-height: 1.35; }
.cine-caption>span { display: block; margin-bottom: 2px; font-size: .62rem; font-weight: 560; line-height: 1.2; text-transform: uppercase; letter-spacing: .12em; color: #b7c3d6; }
.cine-transport { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.cine-time { font-size: .72rem; color: #c6cbd2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cine-toggle { appearance: none; display: inline-flex; align-items: center; gap: 9px; justify-content: center; min-height: 44px; min-width: 44px; padding: 7px 10px; border: 1px solid #89919b; border-radius: 2px; background: transparent; color: #fff; font-size: .78rem; font-weight: 570; line-height: 1.18; cursor: pointer; }
.cine-toggle:hover, .cine-toggle:focus-visible { color: #13171d; background: #f5f4ec; border-color: #f5f4ec; }
.cine-icon { display: inline-block; flex: none; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid currentColor; }
.cine-film.is-playing .cine-icon { width: 7px; height: 9px; border: 0; border-inline: 2px solid currentColor; }
.cine-progress { position: absolute; inset: auto 0 0; height: 2px; background: #ffffff24; overflow: hidden; }
.cine-progress i { display: block; height: 100%; width: 100%; transform: scaleX(var(--cine-progress, 0)); transform-origin: left center; background: #adbef7; }
.cine-status:empty { display: none; }
.cine-status { position: absolute; inset: auto 0 100%; padding: 6px 12px; color: #fff; background: #10151cee; font-size: .78rem; }

.chapter-label { display: flex; align-items: center; gap: 11px; font-weight: 620; font-size: .72rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.chapter-label { color: #475777; margin: 0 0 15px; }
.cta-band { background: #dce1f0; border-top: 1px solid #aeb8d0; padding-block: clamp(43px,6.8vw,101px); }
.cta-inner h2 { font-size: clamp(2.7rem,4.6vw,5.2rem); }
.cta-inner h2 em { color: #293e82; }
.cta-inner p { color: #394457; }
.cta-inner .button { border-radius: 2px; color: #fff; background: #192e6a; border-color: #192e6a; transition-property: transform; }
.cta-inner .button:hover { background: #0e1e4c; }
.site-foot { color: #efeee8; background: #101317; border-color: #343a40; padding: clamp(32px,5.2vw,76px) 0 12px; }
.foot-top { display: grid; grid-template-columns: 1.1fr .73fr auto; align-items: start; gap: 25px; }
.site-foot .foot-brand img { width: clamp(165px,18vw,270px); }
.foot-top p { color: #bdc1c6; font-size: .88rem; margin-top: .25rem; }
.foot-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.foot-paths a, .foot-contact a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; font-size: .88rem; color: #e2e4e6; text-decoration: underline; text-decoration-color: #69727e; }
.foot-paths a { text-decoration: none; }
.foot-paths a:hover, .foot-contact a:hover, .foot-bottom a:hover { color: #c6d5ff; text-decoration: underline; }
.foot-bottom { flex-wrap: wrap; margin-top: 30px; border-color: #454a52; color: #c2c7cc; font-size: .78rem; }
.foot-bottom nav { margin-left: auto; }
.foot-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot-up { text-decoration: none; }

/* Typografische Lesefassungen für Impressum, Datenschutz und Fehlerrückweg. */
.legal-page { padding-top: clamp(24px, 3.2vw, 52px); padding-bottom: var(--section); }
.legal-page>h1 { margin: 14px 0 clamp(28px,3vw,48px); font-weight: 500; letter-spacing: -.067em; }
.legal-body { padding-top: clamp(19px,2.3vw,35px); border-top: 1px solid #aaa99f; max-width: 72ch; }
.legal-body h2 { font-size: clamp(1.4rem,2vw,2.14rem); color: #263355; font-weight: 550; }
.legal-body .lead { max-width: 61ch; color: #292e36; }
.error-content { padding-block: var(--section); min-height: 60svh; }
.error-content .text-link { margin-left: 1rem; }
@media (max-width:880px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-contact { align-items: flex-start; }
  .foot-paths { align-self: center; }
}
@media (max-width: 660px) {
  .head-inner { min-height: 63px; }
  .site-head .brand img { width: clamp(104px,30vw,150px); }
  .foot-top { grid-template-columns: minmax(0,1fr); }
  .foot-top { gap: 16px; }
  .foot-paths { justify-content: start; width: fit-content; gap: 0 22px; }
  .foot-bottom { align-items: baseline; flex-direction: row; gap: 4px 14px; }
  .foot-bottom nav { margin-left: 0; gap: 0 14px; }
  .foot-bottom>span { width: 100%; }
  .foot-up { margin-left: auto; }
}
@container seite (max-width:36rem) {
  .foot-top { grid-template-columns: minmax(0,1fr); }
}
@container seite (max-width: 21rem) {
  .cine-time { display: none; }
  .site-head .brand img { width: 98px; }
  .cine-film figcaption { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .cine-film *, .cinema-stick *, .cine-offer * { scroll-behavior: auto; animation: none; transition: none; } }
.cine-still { min-height: 44px; margin-right: .25rem; padding: 6px 5px; background: transparent; border: 0; color: #d3dae6; font-size: .75rem; text-decoration: underline; text-underline-offset: .23em; }
.cine-still:hover, .cine-still[aria-pressed=true] { color: white; text-decoration-thickness: 2px; }
@container seite (max-width: 24rem) {
  .foot-paths { min-width: 0; width: 100%; grid-template-columns: repeat(auto-fit,minmax(min(100%,8.6em),1fr)); }
  .foot-paths a { max-width: 100%; overflow-wrap: anywhere; }
}
.cine-hint { display: inline-flex; gap: .55rem; align-items: center; margin-inline: auto; color: #e2e4e6; font-size: .73rem; }
.cine-hint b { font-size: 1.1em; font-weight: 400; }
@media (max-width:660px) {
  .cine-film[data-film=werkstatt] .cine-frame { aspect-ratio: 640/496; }
}
.skip:not(:focus) { clip-path: inset(50%); }
.document-page { background: var(--paper); padding-block: clamp(24px,3vw,48px) var(--section); }
.document-title .breadcrumb { margin: 0 0 clamp(33px,4.2vw,70px); }
.document-title h1, .missing-page h1 { font-size: clamp(3.1rem,7.2vw,7.6rem); font-weight: 500; letter-spacing: -.065em; line-height: .96; margin: 0; }
.document-title .lead { max-width: 62ch; margin-top: 1.05rem; }
.document-grid, .document-addresses { margin-top: clamp(26px,4.3vw,67px); }
.document-addresses { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap: clamp(24px,5vw,85px); }
.document-addresses section { padding-top: 18px; border-top: 1px solid #929a9e; }
.document-addresses h2, .document-prose h2 { font-size: clamp(1.43rem,2.1vw,2.25rem); color: #23304a; line-height: 1.17; font-weight: 550; letter-spacing: -.04em; }
.document-addresses p, .document-addresses address { margin-top: 1rem; line-height: 1.85; font-style: normal; }
.document-addresses .text-link { margin-top: .6rem; }
.document-grid { display: grid; grid-template-columns: minmax(170px,.38fr) minmax(0,1fr); align-items: start; gap: clamp(25px,9vw,150px); }
.document-nav { position: sticky; top: 24px; display: grid; border-top: 1px solid #929a9e; }
.document-nav p { font-size: .73rem; font-weight: 630; color: #43516b; line-height: 1.3; letter-spacing: .10em; text-transform: uppercase; margin: 1.1rem 0 .45rem; }
.document-nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: .9rem; color: #273f7e; text-decoration-color: #9da8c2; }
.document-prose { border-top: 1px solid #929a9e; max-width: 73ch; }
.document-prose h2 { scroll-margin-top: 20px; margin-block: 1.4em .5em; }
.document-prose h2:first-child { margin-top: 16px; }
.document-prose p, .document-prose address { margin-block: .8em; line-height: 1.7; }
.document-prose address { font-style: normal; }
.missing-page { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px,7vw,115px); padding-block: var(--section); min-height: 65svh; }
.missing-page h1 { margin-bottom: .3em; }
.missing-page p:not(.chapter-label) { max-width: 45ch; color: var(--muted); }
.missing-page .actions { margin-top: 1.35rem; }
.missing-plate { overflow: hidden; aspect-ratio: 1.42; }
.missing-plate picture, .missing-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
@container seite (max-width:42rem) {
  .document-grid, .missing-page { grid-template-columns: minmax(0,1fr); }
  .document-nav { position: static; grid-template-columns: repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap: 0 12px; }
  .document-nav p { grid-column: 1/-1; }
  .missing-plate { aspect-ratio: 2.4; }
}
/* Direkte Sprungziele überspringen auch die Filmstrecke unverzüglich. */
html { scroll-behavior: auto; }
.sr-film { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2 { word-spacing: .065em; }
@media (forced-colors: active) {
  .site-head, .seite-index .site-head, .cine-film-hero figcaption {
    background: Canvas;
    border-color: ButtonText;
  }
  .brand { position: relative; }
  .brand img { opacity: 0; }
  .brand::before {
    content: "";
    position: absolute;
    inset: 0;
    mask: url("wortmarke.svg") left center / contain no-repeat;
    background-color: LinkText;
    forced-color-adjust: none;
  }
  .cine-film .cine-toggle, .cine-still, .cinema-actions a { border: 1px solid ButtonText; }
  .cine-progress i { background: Highlight; forced-color-adjust: none; }
  body :focus-visible { outline: 3px solid Highlight; outline-offset: 3px; }
}

.site-head .cta-short { white-space: nowrap; }
@media (max-width: 365px) {
  .site-head .header-cta { padding-inline: 10px; gap: 7px; }
  .site-head .header-cta .arrow { display: none; }
}
