/* ===== Ulrich Wiggers – public site: base styles =====
   Header/menu, content blocks, gallery, video, news, cards, landing page, lightbox. public/css/neu.css is layered on
   top (body.design-neu) and sets the actual look: big photo with title, paper background, Newsreader text.
   The old Weebly look ("klassisch": white sheet, photo banner, logo mark) was removed on 2026-11-19. */

@font-face { font-family: "Oswald"; font-weight: 300; font-style: normal; font-display: swap; src: url(/fonts/oswald-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/oswald-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/oswald-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #3f3f3f;
  --text: #515151;
  --muted: #7a7a7a;
  --link: #6b6b6b;
  --link-hover: #000;
  --line: #e6e6e6;
  --nav: rgba(255, 255, 255, .72);
  --nav-hi: #fff;
  --accent: #a2834e;
  --font: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sheet-w: 1000px;
  --col-w: 870px;
  --header-h: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: var(--text); font: 300 16px/1.75 var(--font); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #000 var(--page-bg, none) center / cover no-repeat; }
img { max-width: 100%; height: auto; }
/* Crop spot (media.focus, set in the admin): the photo covers its box and its chosen point (--fx/--fy, 0…1) sits in
   the middle of the box, stopping only at the photo's edges – the same on every screen shape (render.js focusVars).
   The box is a size container (cq units); without support the photo just falls back to object-fit: cover. */
.fp-box { container-type: size; }
.fp-box img.fp {
  --W: max(100cqw, 100cqh * var(--a)); --H: max(100cqh, 100cqw / var(--a));
  position: absolute; inset: auto; max-width: none; object-fit: fill;
  width: var(--W); height: var(--H);
  left: calc(-1 * clamp(0px, var(--fx) * var(--W) - 50cqw, var(--W) - 100cqw));
  top: calc(-1 * clamp(0px, var(--fy) * var(--H) - 50cqh, var(--H) - 100cqh));
}
/* the same for the start page photo (a fixed background the size of the window) */
body.fp-bg::before {
  --W: max(100vw, 100vh * var(--a)); --H: max(100vh, 100vw / var(--a));
  background-size: var(--W) var(--H);
  background-position: calc(-1 * clamp(0px, var(--fx) * var(--W) - 50vw, var(--W) - 100vw)) calc(-1 * clamp(0px, var(--fy) * var(--H) - 50vh, var(--H) - 100vh));
}
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* Links are underlined already; an <u> inside one (text underlined first, link added later) would draw a second line at another offset. */
a u { text-decoration: none; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header / menu ---------- */
.site-header { height: var(--header-h); position: relative; z-index: 20; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -24px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); pointer-events: none; z-index: -1; }
.bar { max-width: var(--sheet-w); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; line-height: 0; text-decoration: none; }
.brand img { width: 49px; height: auto; display: block; }
.brand span { color: #fff; font: 400 18px/1 var(--font); text-transform: uppercase; letter-spacing: .08em; }
#nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
#nav li { position: relative; }
#nav a { display: block; padding: 10px 16px; color: var(--nav); text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 400; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
#nav > ul > li:last-child > a, #nav > ul > li:last-child > .sub-toggle { padding-right: 0; }
#nav li.active > a, #nav a:hover, #nav a:focus-visible { color: var(--nav-hi); }
.sub-toggle { display: none; }

/* dropdown (desktop) */
/* small chevron: shows that this item opens a list (desktop; on phones the toggle button does this) */
#nav .has-sub > a { display: flex; align-items: center; gap: 7px; }
#nav .has-sub > a::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.has-sub > .sub { display: none; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 200px; padding: 10px 0 12px; background: rgba(12, 12, 12, .94); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.sub ul { list-style: none; margin: 0; padding: 0; }
/* #nav prefix needed: "#nav a" (uppercase) would otherwise win – show titles read better in normal case */
#nav .sub a { padding: 7px 20px; font-size: 13px; text-transform: none; letter-spacing: .01em; white-space: normal; }
.sub li.all { border-bottom: 1px solid rgba(255, 255, 255, .14); margin-bottom: 6px; }
#nav .sub li.all a { text-transform: uppercase; font-size: 11px; letter-spacing: .08em; color: #fff; }
.has-sub:nth-last-child(-n+3) > .sub { left: auto; right: 0; }
/* menu style "flat": all productions in one list; long lists break into columns (--cols set in render.js) */
.sub-flat { min-width: 260px; width: max-content; max-width: calc(100vw - 24px); }
.sub-flat > ul { column-count: var(--cols, 1); column-gap: 8px; }
.sub-flat li { break-inside: avoid; }
.sub-flat li.all { column-span: all; }
.sub-flat li:not(.all) { width: 260px; }

/* year list -> productions of that year fly out to the right */
.yr { position: relative; }
.yr-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 20px; background: none; border: 0; color: var(--nav); font: 400 13px/1.2 var(--font); letter-spacing: .04em; text-align: left; cursor: pointer; }
.yr-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.yr:hover > .yr-btn, .yr.open > .yr-btn, .yr-btn:focus-visible, .yr.current > .yr-btn { color: var(--nav-hi); background: rgba(255, 255, 255, .06); }
.fly { display: none; position: absolute; left: 100%; top: -10px; z-index: 31; min-width: 260px; max-width: 340px; padding: 10px 0; background: rgba(20, 20, 20, .97); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.yr:hover > .fly, .yr.open > .fly { display: block; }
#nav .fly a[aria-current="page"] { color: var(--nav-hi); }
.has-sub:nth-last-child(-n+3) .fly { left: auto; right: 100%; }

.nav-toggle { display: none; }

/* ---------- content ---------- */
.content { padding: 56px 65px 64px; }
.content > * { max-width: var(--col-w); margin-left: auto; margin-right: auto; }
h1, h2, h3 { font-family: var(--font); font-weight: 400; color: var(--ink); text-transform: uppercase; line-height: 1.2; letter-spacing: .01em; }
h1 { font-size: 24px; text-align: center; margin: 0 auto 22px; }
h2 { font-size: 24px; margin: 0 0 14px; }
h3 { font-size: 18px; }
.rich p { margin: 0 0 1.4em; }
.rich p:last-child { margin-bottom: 0; }
.rich ul, .rich ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.rich blockquote { margin: 0 0 1.4em; padding-left: 1.2em; border-left: 2px solid var(--line); font-style: italic; }
.rich h3 { margin: 1.6em 0 .5em; }
.intro { text-align: center; margin-bottom: 40px; }
.block { margin: 0 auto 44px; }
.block-text h2, .block-table h2 { text-align: center; }
.block-text .rich { text-align: left; }
.block-table .credits { margin: 0 auto; max-width: 640px; }
.credits > div { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 1px 0; }
.credits dt { text-align: right; font-weight: 400; color: var(--ink); margin: 0; }
.credits dd { margin: 0; white-space: pre-line; }
.credits .gap { height: 1.1em; }
.block-image { margin-left: auto; margin-right: auto; text-align: center; }
.block-image.small, .design-neu .content > .block-image.small, .design-neu .block-section > .block-image.small { max-width: 460px; }   /* "Kleiner anzeigen": tall photos / low resolution */
.block-image img, .post-img img { display: block; width: 100%; height: auto; }
figcaption, .credit { font-size: 12px; font-style: italic; color: var(--muted); margin: 6px 0 0; text-align: left; line-height: 1.5; }
.back { text-align: center; margin-top: 56px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }

/* reviews / press */
.review { margin: 0 0 26px; }
.review blockquote { margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); font-style: italic; }
.review figcaption { margin: 8px 0 0 20px; font-size: 14px; color: var(--muted); font-style: normal; }
.review figcaption::before { content: "– "; }
.press-show { margin-bottom: 54px; }
.press-show h2 { text-align: left; margin-bottom: 2px; }
.press-show h2 a { color: inherit; text-decoration: none; } .press-show h2 a:hover { text-decoration: underline; }
.press-meta { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.video-show { margin-bottom: 64px; }
.video-show h2 a { color: inherit; text-decoration: none; } .video-show h2 a:hover { text-decoration: underline; }
.video-show .video-meta { margin-bottom: 28px; }
.video-show .block-video { margin-bottom: 28px; }
.block-section { padding-top: 34px; border-top: 1px solid var(--line); }
.block-section > .sec-title { text-align: left; font-size: 26px; margin-bottom: 22px; }
.block-section .block-text h2 { text-align: left; font-size: 18px; }

/* justified gallery: rows fill the width, no JS needed */
/* --gh = target row height: each photo starts at (aspect × --gh) wide, rows are then stretched to the full width.
   All photos in a row get the same height, so tall photos are narrow; "Größere Zeilen" (.tall) means fewer photos
   per row and taller rows – mostly helps tall photos. */
.gallery { display: flex; flex-wrap: wrap; gap: 6px; --gh: 190px; }
.gallery.tall { --gh: 300px; }
@media (max-width: 600px) { .gallery.tall { --gh: 230px; } }
.gallery::after { content: ""; flex-grow: 1000000; }
/* phones: a wide photo fills a row on its own, so the unstretched last row looked oddly narrow – let it fill too */
@media (max-width: 600px) { .gallery::after { display: none; } }
.g { position: relative; display: block; background: #eee; overflow: hidden; }
.g i { display: block; }
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g:hover img { transform: scale(1.03); }

/* video (click to load – nothing is sent to YouTube/Vimeo before the visitor clicks) */
.video { position: relative; aspect-ratio: 16 / 9; background: #111; }
/* Video.js player for adaptive videos (public/vendor/videojs): fills the 16:9 box, also before its script has run */
.video media-i18n, .video video-player { display: contents; }
.video .vj-skin { position: absolute; inset: 0; display: block; --media-border-radius: 0; --media-video-border-radius: 0; }
.video .vj-skin hls-video { display: block; width: 100%; height: 100%; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; background: radial-gradient(circle at center, #2b2b2b, #0c0c0c); color: #fff; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 14px; font: 300 14px/1.5 var(--font); }
.video .play { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; position: relative; }
.video .play::after { content: ""; position: absolute; left: 25px; top: 18px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
/* original look (plain text + shadow); the consent sentence is a bit larger than before for readability */
.video-note { display: block; max-width: min(32em, calc(100% - 32px)); text-align: center; text-shadow: 0 0 3px rgba(0,0,0,.9), 0 1px 10px rgba(0,0,0,.8); }
.video-note strong { font-weight: 300; }
.video-note small { display: block; margin-top: 6px; opacity: .85; font-size: 14px; line-height: 1.5; }
/* preview image: darkened so the play button and the privacy note stay readable */
.video.has-poster button { background: #000; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .25s; }
.video.has-poster button:hover .video-poster, .video.has-poster button:focus-visible .video-poster { opacity: .8; }
.video .play, .video-note { position: relative; z-index: 1; }
/* play button exactly in the middle; consent text at the bottom so it clears titles printed in the middle of a still */
.video .play, .video-note { position: absolute; }
.video .play { left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* heading directly under the button; the consent text follows one blank line lower (the gap is the margin on <small>) */
.video-note { left: 50%; top: calc(50% + 46px); transform: translateX(-50%); width: calc(100% - 32px); }
.video-note small { margin-top: 22px; }
/* phones: everything has to fit under the centred play button inside the 16:9 frame (~200 px high), so smaller type, no gap */
@media (max-width: 600px) {
  .video .play { width: 40px; height: 40px; }
  .video .play::after { left: 15px; top: 11px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .video-note { top: calc(50% + 28px); width: calc(100% - 20px); line-height: 1.35; }
  .video-note strong { font-size: 12px; }
  .video-note small { margin-top: 3px; font-size: 10.5px; line-height: 1.35; }
  .design-neu .video button { letter-spacing: .02em; }
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* own video file (no consent click needed): the browser's player fills the 16:9 frame, portrait clips letterboxed */
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.video-title { margin: 0 0 8px; font-weight: 400; color: var(--ink); }

/* ---------- news ---------- */
.posts { max-width: none; margin-left: 0; margin-right: 0; }
.post { margin: 0 auto 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); max-width: var(--col-w); }
.post:last-child { border-bottom: 0; }
.post h1, .post h2 { text-align: left; margin-bottom: 6px; }
.post h2 a { color: inherit; text-decoration: none; }
.post h2 a:hover { text-decoration: underline; }
.post time { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; letter-spacing: .04em; }
.post-body { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 14px; }
.layout-right .post-body, .layout-left .post-body { grid-template-columns: 1fr 1fr; align-items: start; }
.layout-left .post-img { order: -1; }
.layout-top .post-img { order: -1; }
.post-img { margin: 0; }
.post .gallery { margin-top: 20px; }
.more { margin: 1.4em 0 0; }
.button { display: inline-block; padding: 9px 22px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; font-weight: 400; transition: .15s; }
.button:hover { background: var(--ink); color: #fff; }
.pager { display: flex; justify-content: space-between; align-items: center; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; max-width: var(--col-w); }

/* ---------- category overview ---------- */
.cards { list-style: none; padding: 0; margin: 0 auto; max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.card { display: block; text-decoration: none; color: var(--text); }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #ddd; overflow: hidden; margin-bottom: 12px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.04); }
.card strong { display: block; font-weight: 400; font-size: 17px; text-transform: uppercase; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.card .meta { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.card:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.empty { text-align: center; color: var(--muted); }

/* ---------- landing page (like the old splash page) ---------- */
.splash-wrap { min-height: calc(100vh - var(--header-h) - 90px); display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.splash { width: 100%; max-width: var(--sheet-w); padding: 150px 24px 160px; background: rgba(0, 0, 0, .78); text-align: center; color: #fff; }
.splash-logo { display: block; width: 120px; height: auto; margin: 0 auto 46px; }
.splash h1 { color: #fff; font-size: 40px; font-weight: 400; letter-spacing: .01em; margin: 0 0 40px; }
.splash-tag { margin: 0; font-size: 19px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: 26px 16px 34px; color: rgba(255, 255, 255, .55); font-size: 12px; letter-spacing: .04em; }
.site-footer p { margin: 0; }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-top: 8px; }
.footer-links a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; flex-direction: column; touch-action: pan-y; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 84vh; object-fit: contain; user-select: none; }
.lb p { color: #bbb; font-size: 13px; font-style: italic; margin: 12px 0 0; min-height: 1.4em; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; width: 56px; height: 56px; cursor: pointer; opacity: .8; }
.lb button:hover { opacity: 1; }
.lb .x { top: 8px; right: 8px; } .lb .prev { left: 6px; top: 50%; margin-top: -28px; } .lb .next { right: 6px; top: 50%; margin-top: -28px; }
.lb .count { position: absolute; top: 18px; left: 20px; color: #aaa; font-size: 13px; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .bar { padding: 0 20px; }
  .nav-toggle { display: block; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; margin-right: -10px; }
  .nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: .2s; }
  .nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  #nav { position: fixed; inset: 0; z-index: 50; background: rgba(8, 8, 8, .97); padding: 90px 28px 40px; overflow-y: auto; display: none; }
  #nav.open { display: block; }
  #nav > ul { display: block; }
  #nav a { font-size: 17px; padding: 13px 0; }
  #nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .has-sub { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
  #nav .has-sub > a::after { display: none; }
  .has-sub > .sub { grid-column: 1 / -1; position: static; display: none; background: none; box-shadow: none; padding: 0 0 10px 14px; min-width: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub > .sub-flat { width: auto; max-width: none; }
  .sub-flat > ul { column-count: 1; }
  .sub-flat li:not(.all) { width: auto; }
  #nav .sub a { padding: 8px 0; font-size: 15px; }
  .sub li.all { border: 0; margin: 0; }
  .yr-btn { padding: 9px 0; font-size: 15px; }
  .yr-btn::after { transform: rotate(135deg); transition: .2s; }
  .yr.open > .yr-btn::after { transform: rotate(-45deg); }
  .yr:hover > .yr-btn, .yr.current > .yr-btn { background: none; }
  .fly, .has-sub:nth-last-child(-n+3) .fly { position: static; display: none; min-width: 0; max-width: none; padding: 0 0 6px 16px; background: none; box-shadow: none; }
  .yr:hover > .fly { display: none; }
  .yr.open > .fly { display: block; }
  .splash { padding: 90px 20px 100px; }
  .splash h1 { font-size: 32px; }
  .sub-toggle { display: block; width: 48px; height: 48px; background: none; border: 0; position: relative; cursor: pointer; }
  .sub-toggle::after { content: ""; position: absolute; left: 18px; top: 16px; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: .2s; }
  .has-sub.open > .sub-toggle::after { transform: rotate(-135deg); top: 20px; }
  .content { padding: 36px 22px 48px; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .layout-right .post-body, .layout-left .post-body { grid-template-columns: 1fr; }
  .layout-left .post-img { order: 0; }
  .credits > div { grid-template-columns: 1fr; gap: 0; text-align: center; margin-bottom: 8px; }
  .credits dt { text-align: center; }
  h1, h2 { font-size: 21px; }
}
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
