/* daumkino – Nachbau der Squarespace-Seite, ohne externe Abhängigkeiten */

@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --black: #000;
  --dark: #141414;
  --white: #fff;
  --accent: #253551;          /* Squarespace-Akzent hsl(218,37%,23%) */
  --light: #e0e0db;
  --gutter: clamp(16px, 4vw, 58px);
  --max: 1500px;
  --heading: "Archivo Black", "Arial Black", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 400; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; text-align: center; }
h2 { font-size: clamp(30px, 3.3vw, 47px); line-height: 1.11; }
h4 { font-size: clamp(19px, 1.85vw, 26.4px); line-height: 1.17; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--gutter); }
.logo { font-family: var(--heading); text-transform: uppercase; letter-spacing: -0.32px; text-decoration: none; font-size: 16px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; justify-self: end; background: none; border: 0; color: #fff; width: 36px; height: 36px; cursor: pointer; padding: 6px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 767px) {
  .site-header { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .nav { position: fixed; inset: 0; background: var(--black); flex-direction: column; align-items: center; justify-content: center; gap: 22px; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav a { font-size: 30px; font-family: var(--heading); text-transform: uppercase; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open .burger { position: relative; z-index: 60; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; padding: 145px var(--gutter) 90px; }
.inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }

/* Hintergrundmuster wie Original: animiert per js/bg.js (WebGL). Das Standbild bleibt als Fallback,
   falls WebGL fehlt, und ist bis zum ersten gerechneten Bild zu sehen. */
.bg-conic { background: #000 center top / cover no-repeat; }
.bg-home { background-image: url("../images/bg-home.jpg"); }
.bg-highlights { background-image: url("../images/bg-highlights.jpg"); }
.bg-plain { background-image: url("../images/bg-plain.jpg"); }
.bg-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.bg-canvas.is-ready { opacity: 1; }
/* Pause-Knopf für die Animation (wird von js/bg.js eingefügt) */
.bg-pause { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); cursor: pointer; }
.bg-pause::before { content: ""; position: absolute; left: 11px; top: 11px; width: 10px; height: 10px; background: linear-gradient(90deg, #fff 3px, transparent 3px, transparent 7px, #fff 7px); }
.bg-pause.is-paused::before { left: 12px; top: 10px; width: 11px; height: 12px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.bg-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bg-pause { display: none; } }
/* Lesbarkeit von weißem Text auf hellen Musterstellen */
.bg-conic h2, .bg-conic h4 { text-shadow: 0 2px 18px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.5); }
.site-header { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); padding-bottom: 28px; }
.site-header a { text-shadow: 0 1px 8px rgba(0,0,0,.6); }

.bg-image > .bg { position: absolute; inset: 0; z-index: 0; }
.bg-image > .bg img { width: 100%; height: 100%; object-fit: cover; }
.bg-image > .bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.contact > .bg::after { background: rgba(0,0,0,.4); }

/* ---------- Video ---------- */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video.vertical { aspect-ratio: 9 / 16; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Vorschaubild mit Play-Knopf; Vimeo lädt erst nach Klick (js/video.js) */
.video-load { position: absolute; inset: 0; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.video-load img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .25s; }
.video-load:hover img { transform: scale(1.02); opacity: .85; }
.video-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); transition: transform .15s; }
.video-play::before { content: ""; position: absolute; left: 28px; top: 23px; width: 22px; height: 26px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video-load:hover .video-play { transform: scale(1.08); }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; font-size: 12px; font-weight: 400; line-height: 1.35; text-align: center; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.75)); }
.video-load:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Home ---------- */
.home-hero { max-width: 760px; margin: 0 auto 164px; }
.home-grid { display: grid; grid-template-columns: 539fr 715fr; gap: 0; max-width: 1254px; margin: 0 auto; align-items: center; position: relative; left: 27px; }
.home-grid .stack { display: grid; gap: min(8.5vw, 122px); }
.home-grid .tall { margin-left: -44px; }
.home-grid .tall img { max-height: 820px; margin: 0 auto; width: auto; }

/* ---------- Highlights ---------- */
.block { max-width: 650px; margin: 0 auto; }
.block h2 { margin-bottom: 14px; }
hr.rule { border: 0; border-top: 1px solid rgba(255,255,255,.6); margin: 56px 0; }
.reels { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1210px; margin: 0 auto; position: relative; left: -28px; }
.reel h4 { margin-bottom: 14px; }
.reel .video { max-width: 320px; margin: 0 auto; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1237px; margin: 22px auto 0; align-items: center; }
.highlights { padding-bottom: 213px; }
hr.rule.rule-2 { margin: 104px 0 30px; }
.photos img { width: 100%; height: 384px; object-fit: contain; }

/* ---------- About ---------- */
.about { min-height: 954px; display: flex; align-items: center; padding-top: 89px; }
.about .inner { width: 100%; display: grid; grid-template-columns: 649fr 594fr; gap: 11px; align-items: center; padding-right: 51px; }
.about .text p { font-size: clamp(17px, 1.6vw, 22.9px); line-height: 1.5; text-align: center; margin: 0 0 1em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.about .text p:last-child { margin-bottom: 0; }
.about .portrait img { width: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.contact { min-height: 780px; padding-top: 97px; padding-bottom: 60px; }
.contact hr.rule { max-width: 430px; margin: 33px auto 26px; }
.form { max-width: 540px; margin: 0 auto; display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; margin-bottom: 6px; }
.form label small { font-weight: 400; opacity: .8; }
.form input, .form textarea { width: 100%; font: inherit; font-weight: 400; color: #fff; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.55); border-radius: 26px; padding: 13px 18px; backdrop-filter: blur(6px); }
.form textarea { min-height: 110px; resize: vertical; border-radius: 20px; }
.form input:focus, .form textarea:focus { outline: 2px solid #fff; outline-offset: 2px; }
.form .hp { display: none; }
.btn { justify-self: center; font: inherit; font-weight: 600; text-transform: uppercase; background: #fff; color: #000; border: 3px solid #000; border-radius: 300px; padding: 22px 48px; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: scale(1.03); }
.form .note { text-align: center; font-size: 13px; font-weight: 400; margin: 0; }

/* ---------- Text pages (Impressum/Datenschutz) ---------- */
.legal { min-height: 780px; }
.legal .box { max-width: 640px; margin: 0 auto; background: rgba(0,0,0,.62); backdrop-filter: blur(8px); padding: 6%; text-align: center; }
.legal .box h2 { color: var(--accent); margin-bottom: 24px; }
.legal .box.narrow { max-width: 430px; min-height: 384px; }
.legal .box.narrow p { font-weight: 600; }
.legal .box.left h2 { color: #8ea6d1; }
.legal .box.left { text-align: left; }
.legal .box.left h2 { text-align: left; }
.legal .box h3 { font-size: 18px; text-align: left; margin: 28px 0 8px; }
.legal .box p { font-weight: 400; margin: 0 0 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); min-height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 60px var(--gutter); }
.site-footer h4 { flex: 0 1 430px; }
.site-footer a { text-decoration: underline; text-underline-offset: 5px; }
.site-footer .links { display: flex; gap: 32px; justify-content: center; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .section { padding: 110px var(--gutter) 64px; }
  .home-grid .tall { margin-left: 0; }
  .home-grid { left: 0; }
  .reels { left: 0; }
  .about .inner { padding-right: 0; }
  .highlights { padding-bottom: 64px; }
  hr.rule.rule-2 { margin: 56px 0 30px; }
  .home-hero { margin-bottom: 48px; }
  .home-grid, .reels, .about .inner { grid-template-columns: 1fr; gap: 28px; }
  .home-grid .stack { gap: 28px; }
  .photos { grid-template-columns: 1fr; }
  .photos img { height: auto; }
  .reels { gap: 48px; }
  .form .row { grid-template-columns: 1fr; }
  .about { min-height: 0; }
  .about .portrait { order: -1; }   /* Handy: Porträt über dem Text */
  .site-footer { flex-direction: column; justify-content: center; min-height: 220px; }
  .site-footer h4 { flex: none; }
}
