/* ==========================================================================
   OSTN film – Stylesheet
   Gestaltung: Formensprache von Variante 1 „Kino“ (schmale Versal-Headlines,
   Überzeilen, nummerierte Karten) mit der warmen Farbwelt von Variante 3.
   Farben und Schriften stehen als Variablen ganz oben – hier zentral ändern.
   ========================================================================== */

/* Schriften liegen lokal (DSGVO, keine Google-Server). Siehe tools/fonts-holen.* */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2-variations"), url("../fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #FBF6EE;
  --bg-soft: #F4ECDF;
  --card: #FFFFFF;
  --ink: #2B2A26;
  --muted: #5A564F;
  --subtle: #6F685E;
  --line: #E4DCCF;
  --mint: #5BBFA5;          /* Logofarbe */
  --mint-ink: #1A2420;      /* Text auf Mint */
  --green: #1E6E5C;         /* Links, Handschrift-Akzente */
  --green-dark: #134A3E;
  --night: #2B2A26;         /* dunkle Flächen */
  --night-2: #45423C;
  --night-text: #FBF6EE;
  --night-muted: #D9D2C6;
  --hero: #2E3431;
  --danger: #A33A2B;

  --f-display: "Archivo", "Archivo Narrow", "Roboto Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 72px);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1, h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0; line-height: .95; }
h3 { font-family: var(--f-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 104px); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; color: var(--green); }
.h-xl { font-size: clamp(46px, 8.2vw, 104px); }
.h-l { font-size: clamp(36px, 5vw, 56px); }
.h-m { font-size: clamp(30px, 3.6vw, 44px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 16px; }
.prose > * + * { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(26px, 3vw, 34px); }
.prose h3 { margin-top: 1.4em; font-size: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border-radius: 999px;
  font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-mint:hover { background: #4FB096; color: var(--mint-ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; color: var(--bg); }
.btn-ghost { border: 1px solid #BDB3A3; color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: rgba(43,42,38,.06); }
.btn-ghost-light { border: 1px solid rgba(251,246,238,.55); color: var(--night-text); background: transparent; }
.btn-ghost-light:hover { color: var(--night-text); background: rgba(255,255,255,.1); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,246,238,.92); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--mint); text-decoration: none; }
.brand svg, .brand img { height: 46px; width: auto; }
.brand:hover { color: #4FB096; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-weight: 500; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { padding: 12px 22px; min-height: 44px; color: var(--mint-ink); }
.nav .btn:hover { color: var(--mint-ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); min-width: 44px; min-height: 44px; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand svg, .brand img { height: 38px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(43,42,38,.08); display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a[aria-current="page"] { text-decoration: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; justify-content: center; }
}

/* ---------- Hero mit Showreel ---------- */
.hero { margin: 8px clamp(8px, 3vw, 40px) 0; border-radius: var(--r-lg); background: var(--hero); color: var(--night-text); position: relative; overflow: hidden; isolation: isolate; min-height: clamp(520px, 72vh, 680px); display: flex; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,22,21,.15) 0%, rgba(20,22,21,.35) 45%, rgba(20,22,21,.82) 100%); }
.hero-inner { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; padding: clamp(28px, 5vw, 56px); width: 100%; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { max-width: 1000px; }
.hero .lead { color: #E7E2D8; }
.hero-toggle { position: absolute; top: 20px; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(20,22,21,.55); color: var(--night-text); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 14px; font: 500 13px/1 var(--f-body); cursor: pointer; min-height: 40px; }
.hero-toggle:hover { background: rgba(20,22,21,.75); }
.hero-toggle svg { width: 14px; height: 14px; }

/* Unterseiten-Kopf */
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(44px, 7vw, 92px); max-width: 1040px; }
.page-head .lead { margin-top: 22px; }

/* ---------- Kundenlogos ---------- */
.logos-label { margin-bottom: 18px; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 72px); width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; height: 48px; color: var(--subtle); font-weight: 700; font-size: 18px; white-space: nowrap; }
.marquee-item img { height: 100%; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.marquee-item img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: 16px; min-height: 100%; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.card .eyebrow { align-self: flex-start; }
.card .num { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 15px; color: var(--green); }
.card h3 { font-size: 25px; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; }
a.card { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(43,42,38,.08); color: inherit; }
a.card:hover .more { text-decoration: underline; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .lead { margin-top: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Referenzen ---------- */
.ref { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.ref-media { aspect-ratio: 16 / 10; border-radius: var(--r-md); background: var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--subtle); font-size: 14px; position: relative; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ref-media .ref-ph { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 30px; color: #B9AE9C; text-align: center; padding: 0 16px; }
.ref-meta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 600; }
a.ref:hover .ref-media img { transform: scale(1.03); }
a.ref:hover h2, a.ref:hover h3 { color: var(--green); }
.ref h2, .ref h3 { font-family: var(--f-body); font-weight: 600; font-stretch: 100%; text-transform: none; letter-spacing: -0.01em; line-height: 1.25; font-size: 22px; }
.ref p { font-size: 15px; color: var(--muted); }
.ref .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 500 15px/1 var(--f-body); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ref-skeleton .ref-media { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

.ref-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .ref-detail { grid-template-columns: 1fr; } }
.ref-hero { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.ref-hero img, .ref-hero iframe, .ref-hero video { width: 100%; height: 100%; object-fit: cover; border: 0; }
.facts { background: var(--card); border-radius: 16px; padding: 28px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.video-consent { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: var(--hero); color: var(--night-text); background-size: cover; background-position: center; position: relative; }
.video-consent::before { content: ""; position: absolute; inset: 0; background: rgba(20,22,21,.6); }
.video-consent > * { position: relative; }
.video-consent p { font-size: 14px; max-width: 420px; color: var(--night-muted); }

/* ---------- Kundenstimme ---------- */
.quote { background: var(--card); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.quote-mark { font-family: var(--f-display); font-weight: 800; font-size: clamp(80px, 10vw, 140px); line-height: .7; color: var(--mint); }
.quote blockquote { margin: 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.quote figcaption { margin-top: 18px; color: var(--muted); font-size: 16px; }
.quote figcaption strong { color: var(--ink); }
@media (max-width: 640px) { .quote { grid-template-columns: 1fr; } .quote-mark { line-height: .5; } }

/* ---------- Dunkler Block (Team / CTA) ---------- */
.panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px); }
.panel-mint { background: var(--mint); color: var(--mint-ink); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px); }
.panel-mint p { color: #1F3A33; }
.panel-mint .eyebrow { color: #12463A; }
.panel-mint .btn-dark { background: var(--ink); color: var(--bg); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.dark { background: var(--night); color: var(--night-text); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px); }
.dark p { color: var(--night-muted); }
.dark a:not(.btn) { color: var(--mint); }
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.team-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 190px)); gap: 16px; justify-content: end; }
@media (max-width: 860px) { .team-people { justify-content: start; } }
.person { display: flex; flex-direction: column; gap: 6px; }
.person-photo { aspect-ratio: 3 / 4; border-radius: 14px; background: var(--bg-soft); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo svg { width: 60%; height: auto; color: #CFC5B5; margin-bottom: -2px; }
.person strong { font-size: 15px; }
.person span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* ---------- Leistungs-Details ---------- */
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); padding: 32px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: .95; }
.service .eyebrow { margin-top: 10px; font-size: 13px; }
.service p { color: var(--muted); font-size: 18px; }
@media (max-width: 720px) { .service { grid-template-columns: 1fr; gap: 10px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2420' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.badge-note { display: inline-flex; flex-direction: column; justify-content: center; background: var(--mint); color: var(--mint-ink); border-radius: 16px; padding: 18px 22px; }
.badge-note strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 48px; line-height: 1; }
.badge-note span { font-size: 15px; font-weight: 500; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #CFC5B5; background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--f-body);
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,110,92,.18); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #CFC5B5; background: #fff; font-weight: 500; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: 14px; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #DDF1EA; color: #12463A; }
.form-status.is-err { display: block; background: #F7E1DC; color: #6E2418; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--card); border-radius: 20px; padding: 22px 24px; display: flex; gap: 16px; align-items: center; color: inherit; text-decoration: none; }
.contact-card svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: 18px; }
a.contact-card:hover { color: inherit; box-shadow: 0 10px 24px rgba(43,42,38,.07); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 104px); border-top: 1px solid var(--line); padding: 44px 0 40px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--f-body); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--green); text-decoration: underline; }
.footer-logo { display: inline-block; color: var(--mint); margin-bottom: 14px; }
.footer-logo svg { height: 34px; width: auto; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Hilfsklassen ---------- */
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.notice { background: #FFF3CD; color: #5C4400; border-radius: 14px; padding: 16px 18px; font-size: 15px; }

/* ---------- Livestream-Kalkulator ---------- */
.kalk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (max-width: 1020px) { .kalk-layout { grid-template-columns: 1fr; } }
.kalk-block { background: var(--card); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.kalk-block + .kalk-block { margin-top: 20px; }
.kalk-block h2 { font-size: clamp(26px, 2.8vw, 32px); margin-bottom: 18px; }
.kalk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .kalk-grid { grid-template-columns: 1fr; } }
.kalk-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.kalk-presets .label { font-weight: 700; font-size: 15px; margin-right: 4px; }
.kalk-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.kalk-checks small { display: block; font-size: 13px; }
@media (max-width: 640px) { .kalk-checks { grid-template-columns: 1fr; } }
.kalk-rows { display: grid; gap: 10px; }
.kalk-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px 150px 104px; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.kalk-name strong { display: block; font-size: 16px; }
.kalk-name small, .kalk-price small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.kalk-price { font-variant-numeric: tabular-nums; font-size: 15px; }
.kalk-sub { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.kalk-qty { display: flex; align-items: center; gap: 4px; }
.kalk-qty .input { width: 52px; min-height: 44px; padding: 8px 4px; text-align: center; -moz-appearance: textfield; }
.kalk-qty .input::-webkit-outer-spin-button, .kalk-qty .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kalk-step { width: 40px; height: 44px; border-radius: 12px; border: 1.5px solid #CFC5B5; background: #fff; font: 700 20px/1 var(--f-body); color: var(--ink); cursor: pointer; }
.kalk-step:hover { border-color: var(--ink); }
.kalk-qty.is-fixed { flex-direction: column; align-items: flex-start; gap: 0; font-weight: 700; }
.kalk-qty.is-fixed small { font-weight: 500; font-size: 12px; color: var(--green); }
@media (max-width: 700px) {
  .kalk-row { grid-template-columns: 1fr auto; grid-template-areas: "name name" "qty sub" "price price"; gap: 10px 12px; }
  .kalk-name { grid-area: name; } .kalk-qty { grid-area: qty; } .kalk-sub { grid-area: sub; } .kalk-price { grid-area: price; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
  .kalk-price small { display: inline; }
}
.kalk-ops { margin-top: 16px; padding: 16px; border-radius: 16px; border: 1.5px dashed var(--line); display: grid; gap: 12px; }
.kalk-sum { position: sticky; top: calc(var(--header-h) + 16px); }
.kalk-sum-inner { background: var(--card); color: var(--ink); border-radius: 16px; padding: 26px; border: 2px solid var(--mint); }
.kalk-sum h2 { font-size: 30px; margin-bottom: 14px; }
.kalk-breakdown { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; max-height: 46vh; overflow: auto; }
.kalk-breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--muted); }
.kalk-breakdown li strong { color: var(--ink); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kalk-breakdown .kalk-cat { color: var(--green); font-weight: 700; padding-top: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.kalk-totals { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 18px; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.kalk-totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.kalk-totals strong { color: var(--ink); }
.kalk-total { padding-top: 6px; }
.kalk-total span { color: var(--ink); font-weight: 600; }
.kalk-total strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 34px; }

@media (max-width: 1020px) { .kalk-sum { position: static; } .kalk-breakdown { max-height: none; } }

/* ---------- Druck / PDF ---------- */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .nav-toggle { display: none !important; }
  main:has(.print-sheet) > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block; color: #000; font-family: var(--f-body); }
  .print-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-size: 9.5pt; color: #444; border-bottom: 2px solid var(--mint); padding-bottom: 12px; margin-bottom: 18px; }
  .print-head > div:last-child { text-align: right; }
  .print-logo { color: var(--mint); width: 34mm; }
  .print-logo svg { width: 100%; height: auto; }
  .print-sheet h1 { font-size: 22pt; margin: 0 0 12px; }
  .print-meta { border-collapse: collapse; margin-bottom: 14px; font-size: 10pt; }
  .print-meta th { text-align: left; padding: 2px 18px 2px 0; font-weight: 700; }
  .print-table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
  .print-table td, .print-table th { padding: 5px 0; border-bottom: 1px solid #e3e3e3; text-align: left; }
  .print-table .cat th { padding-top: 12px; border-bottom: 1.5px solid #999; }
  .print-table .num { text-align: right; white-space: nowrap; }
  .print-table .sum td { font-weight: 700; border-top: 1.5px solid #999; }
  .print-table tr { break-inside: avoid; }
  .print-note { margin-top: 16px; font-size: 9pt; color: #555; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.btn { white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }

/* Kalkulator: Summenleiste auf dem Handy */
.kalk-mobilebar { display: none; }
@media (max-width: 1020px) {
  .kalk-mobilebar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; justify-content: space-between; align-items: center; gap: 12px; background: var(--night); color: var(--night-text); border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .kalk-mobilebar small { display: block; color: var(--night-muted); font-size: 12px; }
  .kalk-mobilebar strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 26px; }
  .kalk-mobilebar .btn { min-height: 44px; padding: 10px 16px; }
  .kalk-mobilebar.is-hidden { display: none; }
}
@media print { .kalk-mobilebar { display: none !important; } }

/* ===== Cookie-Banner ===================================================== */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 640px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); box-shadow: 0 24px 60px rgba(43,42,38,.22); max-height: calc(100vh - 32px); overflow: auto; }
.consent h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.consent p { font-size: 15px; color: var(--muted); }
.consent p a { color: var(--ink); }
.consent-details { display: grid; gap: 10px; margin-top: 16px; }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.consent-opt strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent-actions .btn { min-height: 44px; padding: 11px 20px; }
.consent-actions [data-consent-choice="all"], .consent-actions [data-consent-choice="none"] { flex: 1 1 180px; }
@media (max-width: 520px) { .consent { left: 8px; right: 8px; bottom: 8px; } .consent-actions .btn { flex: 1 1 100%; } }

/* ===== Showreel als Vimeo-Hintergrund ===================================== */
.hero-media { overflow: hidden; }
.hero-iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); min-width: 177.78%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
@supports (aspect-ratio: 16 / 9) { .hero-iframe { min-width: 0; width: auto; height: auto; aspect-ratio: 16 / 9; min-height: 100%; min-width: 100%; } }
.hero-media img + .hero-iframe { z-index: 1; }

/* ===== Galerie ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 36px; }
.gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; -webkit-user-drag: none; user-select: none; }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ===== Overlay (Showreel, Galerie) ======================================== */
.overlay { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(15,17,16,.94); color: var(--night-text); }
.overlay::backdrop { background: rgba(15,17,16,.94); }
.overlay[open] { display: flex; align-items: center; justify-content: center; }
.overlay-body { width: min(92vw, 1500px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.overlay-body > img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.overlay-video { width: min(92vw, calc(82vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.overlay-video iframe { width: 100%; height: 100%; border: 0; }
.overlay-count { font-size: 14px; color: var(--night-muted); }
.overlay-close, .overlay-nav { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,22,21,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.overlay-close:hover, .overlay-nav:hover { background: rgba(20,22,21,.9); }
.overlay-close svg, .overlay-nav svg { width: 22px; height: 22px; }
.overlay-close { top: 16px; right: 16px; }
.overlay-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.overlay-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .overlay-prev, .overlay-next { top: auto; bottom: 16px; transform: none; } }
.stills { display: grid; gap: 14px; margin-top: 36px; }
.still { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.still img { width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.gallery-title { font-size: clamp(24px, 2.6vw, 32px); margin-top: 48px; }
.gallery-title + .gallery { margin-top: 18px; }
.ref-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.ref.is-playing .ref-loop { opacity: 1; }

/* ===== Info-Kreis mit Hover-Fenster (Kalkulator) ========================== */
.info { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; border: 1.5px solid var(--muted); color: var(--muted); font: 700 11px/1 var(--f-body); font-style: normal; cursor: help; vertical-align: 2px; text-transform: none; letter-spacing: 0; }
.info:hover, .info:focus-visible { border-color: var(--green); color: var(--green); }
.info-pop { position: absolute; z-index: 30; left: -10px; top: calc(100% + 8px); width: max-content; max-width: min(300px, 78vw); padding: 10px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 400 13px/1.45 var(--f-body); text-align: left; box-shadow: 0 10px 30px rgba(43,42,38,.25); display: none; pointer-events: none; white-space: normal; }
.info-pop::before { content: ""; position: absolute; left: 14px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.info:hover .info-pop, .info:focus .info-pop, .info:focus-within .info-pop { display: block; }
.kalk-once { border-top: 1px dashed var(--line); margin: 4px 0 16px; padding-top: 4px; }
.kalk-once .kalk-cat { color: var(--green); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 10px 0 4px; }
.kalk-once .kalk-breakdown { margin: 0; }
.kalk-package { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 18px 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--mint); color: var(--mint-ink); }
.kalk-package p { margin: 0; }
.kalk-package .info { border-color: currentColor; color: inherit; }
.kalk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 760px) { .kalk-grid-2 { grid-template-columns: 1fr; } }

/* ===== Stills-Karussell (Referenz-Detailseite) ============================ */
.slider { position: relative; margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; background: var(--hero); }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 3px solid var(--mint); outline-offset: -3px; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(20,22,21,.55); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.slider-btn:hover { background: rgba(20,22,21,.85); }
.slider-btn svg { width: 22px; height: 22px; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-count { position: absolute; right: 12px; bottom: 10px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(20,22,21,.6); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .slider-btn { width: 38px; height: 38px; } .slider-prev { left: 6px; } .slider-next { right: 6px; } }
