/* ===========================================================================
   jb-videography.de
   Ein einziges Stylesheet, keine Frameworks, keine Schriftarten von fremden
   Servern. Was nicht geladen wird, kann die Seite nicht ausbremsen und nicht
   mitlesen.
   =========================================================================== */

:root {
  --grund: #0e0f11;
  --grund-hell: #16181c;
  --flaeche: #1d2026;
  --text: #f2f3f5;
  --text-leise: #a8adb6;
  --akzent: #3aa8e8;
  --akzent-dunkel: #2b87bd;
  --rand: #2a2e36;
  --breite: 1180px;
  --rund: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 17px/1.65 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { max-width: 100%; display: block; }
a { color: var(--akzent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

.sprungmarke {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--akzent); color: #fff; padding: 12px 18px;
}
.sprungmarke:focus { left: 0; }

/* ----------------------------------------------------------- Navigation */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(14, 15, 17, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rand);
}
.nav {
  max-width: var(--breite); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo { display: block; line-height: 0; color: var(--text); font-weight: 600; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-bild { height: 46px; width: auto; transition: opacity .2s; }
.nav-logo:hover .nav-logo-bild { opacity: .8; }
.nav-liste { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-liste a {
  color: var(--text-leise); font-size: 15px; padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-liste a:hover, .nav-liste a:focus-visible {
  color: var(--text); border-bottom-color: var(--akzent); text-decoration: none;
}

/* --------------------------------------------------------- Kopfbereich */
.start {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden; text-align: center;
}
.start-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.start-schleier {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%,
                                       rgba(14,15,17,.95) 100%);
}
.start-mitte { position: relative; z-index: 2; padding: 90px 20px 40px; }
.start-logo { margin: 0 auto 28px; width: min(420px, 72vw); height: auto; }
.start-titel {
  margin: 0 0 10px; font-size: clamp(28px, 5.2vw, 50px);
  font-weight: 300; letter-spacing: .01em; line-height: 1.15;
}
.start-unterzeile {
  margin: 0 auto 28px; max-width: 46ch; color: var(--text-leise);
  font-size: clamp(16px, 2.1vw, 20px);
}
.start-pfeil {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--text); opacity: .75;
  animation: wippen 2.4s ease-in-out infinite;
}
.start-pfeil:hover { opacity: 1; }
@keyframes wippen {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 9px); }
}

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { padding: clamp(56px, 8vw, 104px) 20px; }
.abschnitt-dunkel { background: var(--grund-hell); }
.abschnitt-kopf { padding-top: calc(clamp(56px, 8vw, 104px) + 56px); }
.innen { max-width: var(--breite); margin: 0 auto; }
.innen-schmal { max-width: 780px; }
.mittig { text-align: center; }

.abschnitt-titel {
  margin: 0 0 14px; font-weight: 300; line-height: 1.2;
  font-size: clamp(25px, 3.6vw, 38px);
}
.abschnitt-unterzeile {
  margin: 0 0 40px; color: var(--text-leise); font-size: clamp(16px, 2vw, 19px);
}
.abschnitt-text { color: var(--text-leise); margin: 0 0 22px; }

/* ------------------------------------------------- Leistungen: Symbole */
/* Grosse, gefuellte Symbole frei auf dunklem Grund - ohne Kaesten, wie auf
   der alten Seite. Ein Klick fuehrt zum passenden Bild im Slider. */
.symbole {
  list-style: none; margin: 46px auto 0; padding: 0; max-width: 980px;
  display: grid; gap: 34px 20px;
  grid-template-columns: repeat(3, 1fr);
}
.symbol {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: var(--text); padding: 10px;
}
.symbol:hover, .symbol:focus-visible { text-decoration: none; }
.symbol-grafik {
  width: 64px; height: 64px; color: #f4f4f4;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s;
}
.symbol-grafik svg { width: 100%; height: 100%; }
.symbol-titel {
  font-size: 17px; letter-spacing: .02em; position: relative; padding-bottom: 6px;
}
.symbol-titel::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 2px; width: 0;
  background: var(--akzent); transition: width .3s, left .3s;
}
.symbol:hover .symbol-grafik, .symbol:focus-visible .symbol-grafik {
  transform: translateY(-5px) scale(1.08); color: var(--akzent);
}
.symbol:hover .symbol-titel::after, .symbol:focus-visible .symbol-titel::after {
  width: 100%; left: 0;
}
@media (max-width: 640px) {
  .symbole { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .symbol-grafik { width: 52px; height: 52px; }
  .symbol-titel { font-size: 15px; text-align: center; }
}

/* ------------------------------------------------ Leistungen: Panels */
/* Ein grosses Bild je Leistung, Text links darueber. */
.panel {
  position: relative; min-height: min(78vh, 760px);
  display: flex; align-items: center; overflow: hidden;
  background: #000;
}
.panel picture, .panel-bild {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.panel-bild { object-fit: cover; transform: scale(1.02); }
.panel-schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.72) 38%, rgba(8,9,11,.15) 75%),
    linear-gradient(0deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 40%);
}
.panel-inhalt {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--breite); margin: 0 auto; padding: 72px 40px;
}
.panel-symbol {
  display: block; width: 46px; height: 46px; color: var(--akzent); margin-bottom: 22px;
}
.panel-symbol svg { width: 100%; height: 100%; }
.panel-titel {
  margin: 0 0 18px; font-weight: 300; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.05;
  font-size: clamp(34px, 5.4vw, 68px); max-width: 14ch;
}
.panel-text {
  margin: 0; max-width: 52ch; color: #d6d9de;
  font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7;
}
.panelstapel .panel { min-height: min(72vh, 700px); }

/* Slider: Panels nebeneinander, immer eines im Bild. Reines CSS, laeuft per
   Wischen auch ohne Skript. */
.slider { position: relative; }
.slider-bahn {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
}
.slider-bahn::-webkit-scrollbar { display: none; }
.slider-bahn > .panel { flex: 0 0 100%; scroll-snap-align: start; }
.slider-pfeil {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .2s, border-color .2s;
}
.slider-pfeil svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.slider-pfeil:hover { background: var(--akzent); border-color: var(--akzent); }
.slider-zurueck { left: 22px; }
.slider-vor { right: 22px; }
.slider-punkte {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.slider-punkte a {
  width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35);
  transition: background .25s, width .25s;
}
.slider-punkte a.aktiv { background: #fff; width: 46px; }
@media (max-width: 760px) {
  .slider-pfeil { display: none; }
  .panel-inhalt { padding: 64px 22px 80px; }
  .panel-schleier {
    background: linear-gradient(0deg, rgba(8,9,11,.95) 0%, rgba(8,9,11,.7) 55%, rgba(8,9,11,.35) 100%);
  }
  .panel { align-items: flex-end; }
}

/* Einleitung, darunter mittig der Auftritt von connectivio */
.einleitung p { color: var(--text-leise); margin: 0 0 22px; font-size: 17px; }
.einleitung { margin-bottom: clamp(48px, 7vw, 80px); }

.partner {
  --cv: #4ca97c;                 /* Gruen aus dem connectivio-Logo */
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(22px, 5vw, 60px);
  border-radius: 20px; color: var(--text);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(76, 169, 124, .22), transparent 60%),
    linear-gradient(180deg, #15181c, #0f1113);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
  box-shadow: 0 30px 80px -40px rgba(76, 169, 124, .45);
}
/* Verlaufsrahmen: Gruen von connectivio laeuft ins Blau von JB-Videography */
.partner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--cv), rgba(255,255,255,.08) 45%, var(--akzent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.partner:hover {
  text-decoration: none; transform: translateY(-4px);
  box-shadow: 0 40px 90px -36px rgba(76, 169, 124, .7);
}
.partner-zeile {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cv); margin-bottom: 22px;
}
.partner-logo { width: min(360px, 70vw); height: auto; display: block; }
.partner-text {
  max-width: 520px; margin: 26px 0 28px; color: var(--text-leise); font-size: 16.5px;
}
.partner-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(76, 169, 124, .55);
  color: var(--text); font-size: 15px; letter-spacing: .04em;
  transition: background .3s, border-color .3s;
}
.partner-link svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .3s;
}
.partner:hover .partner-link { background: var(--cv); border-color: var(--cv); }
.partner:hover .partner-link svg { transform: translateX(4px); }

/* --------------------------------------------------- Filme: Filmwand */
/* Bild ueber zwei Drittel der Breite bis an den Bildschirmrand, daneben der
   Titel. Die Reihen wechseln die Seite und schliessen ohne Fuge aneinander. */
.filmwand-abschnitt { padding: clamp(56px, 8vw, 100px) 0 0; background: var(--grund); }
.filmwand-seite { padding-top: calc(clamp(56px, 8vw, 100px) + 40px); }
.filmwand-titel { text-align: center; margin-bottom: clamp(30px, 4vw, 50px); }
.filmwand-mehr { padding: 46px 20px clamp(56px, 8vw, 100px); margin: 0; }

.filmreihe {
  display: grid; grid-template-columns: 2fr 1fr;
  background: var(--grund-hell);
}
.filmreihe:nth-child(even) { grid-template-columns: 1fr 2fr; }
.filmreihe:nth-child(even) .filmreihe-medium { order: 2; }
.filmreihe:nth-child(odd) { background: #1a1c20; }

.filmreihe-medium { position: relative; min-width: 0; }
.filmreihe .film-flaeche {
  border: 0; border-radius: 0; aspect-ratio: 16 / 9; height: 100%;
}
.filmreihe .film-flaeche:hover { transform: none; }
.filmreihe .film-bild {
  opacity: .9; transition: transform 1.2s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.filmreihe .film-flaeche:hover .film-bild { transform: scale(1.045); opacity: 1; }
.film-rahmen { width: 100%; aspect-ratio: 16 / 9; height: 100%; border: 0; display: block; }

.film-flaeche {
  position: relative; display: block; width: 100%; padding: 0;
  background: #000; cursor: pointer; overflow: hidden;
}
/* Das Bild fuellt die Flaeche immer randlos aus - auch wenn das Vorschaubild
   breiter als 16:9 ist (z. B. Kinoformat). Ohne das bleibt unten ein
   schwarzer Streifen, weil <picture> sonst keine eigene Hoehe hat. */
.film-flaeche picture { position: absolute; inset: 0; display: block; }
.film-bild { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Dezenter runder Play-Knopf statt des roten YouTube-Knopfs */
.film-knopf {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none;
}
.film-knopf svg {
  width: clamp(64px, 7vw, 96px); height: auto;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.5));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.film-knopf circle {
  fill: rgba(0,0,0,.18); stroke: #fff; stroke-width: 3; transition: fill .3s;
}
.film-knopf path { fill: #fff; }
.film-flaeche:hover .film-knopf svg { transform: scale(1.12); }
.film-flaeche:hover .film-knopf circle { fill: var(--akzent); stroke: var(--akzent); }

.filmreihe-text {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 40px clamp(20px, 3vw, 46px);
  min-width: 0; /* lange Woerter duerfen die Spalte nicht verbreitern */
}
.filmreihe-titel {
  max-width: 100%; hyphens: auto; overflow-wrap: break-word;
  margin: 0 0 22px; font-weight: 300; text-transform: uppercase;
  letter-spacing: .03em; line-height: 1.1; font-size: clamp(26px, 3vw, 44px);
}
.filmreihe-angaben {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
  font-size: 14.5px; color: var(--text-leise);
}
.filmreihe-angaben li { display: flex; align-items: center; justify-content: center; gap: 9px; }
.filmreihe-angaben svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--akzent); }

@media (max-width: 860px) {
  .filmreihe, .filmreihe:nth-child(even) { grid-template-columns: 1fr; }
  .filmreihe:nth-child(even) .filmreihe-medium { order: 0; }
  .filmreihe-text { padding: 26px 20px 36px; }
}

/* ------------------------------------------------------- Kundenlogos */
.logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  align-items: center;
}
.logos li {
  background: #fff; border-radius: 8px; padding: 14px;
  display: grid; place-items: center; min-height: 78px;
}
.logo { max-height: 50px; width: auto; object-fit: contain; }

/* ------------------------------------------------------- Zweispaltig */
.zweispaltig {
  display: grid; gap: 34px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.rundbild { border-radius: var(--rund); width: 100%; height: auto; }

/* ---------------------------------------------------------- Formular */
.formular { margin: 26px 0 0; }
.feld { margin: 0 0 18px; }
.feld label {
  display: block; margin-bottom: 7px; font-size: 14.5px; color: var(--text-leise);
}
.feld input, .feld textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px;
  color: var(--text); background: var(--flaeche);
  border: 1px solid var(--rand); border-radius: 9px;
}
.feld input:focus, .feld textarea:focus {
  outline: none; border-color: var(--akzent);
  box-shadow: 0 0 0 3px rgba(58, 168, 232, .22);
}
.feld textarea { resize: vertical; min-height: 140px; }
.honigtopf {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.hinweis { font-size: 13.5px; color: var(--text-leise); margin: 6px 0 20px; }
.direktkontakt { margin-top: 26px; color: var(--text-leise); font-size: 15.5px; }

.knopf {
  display: inline-block; background: var(--akzent); color: #06121b;
  padding: 12px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background .18s, transform .18s;
}
.knopf:hover, .knopf:focus-visible {
  background: var(--akzent-dunkel); color: #fff;
  text-decoration: none; transform: translateY(-2px);
}
.knopf-gross { padding: 15px 34px; font-size: 17px; }

/* -------------------------------------------------------- Fliesstext */
.fliesstext { color: var(--text-leise); }
.fliesstext h2, .fliesstext h3, .fliesstext h4 {
  color: var(--text); font-weight: 400; margin: 34px 0 10px;
  font-size: clamp(19px, 2.4vw, 23px);
}
.fliesstext p { margin: 0 0 15px; }
.fliesstext ul { padding-left: 22px; }
.fliesstext a { word-break: break-word; }

/* ---------------------------------------------------------- Fusszeile */
.fuss {
  background: #0a0b0d; border-top: 1px solid var(--rand);
  padding: 48px 20px 26px; color: var(--text-leise); font-size: 15px;
}
.fuss-innen {
  max-width: var(--breite); margin: 0 auto;
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.fuss strong { color: var(--text); }
.fuss-links { display: flex; flex-direction: column; gap: 7px; align-items: start; }
.fuss-zeile {
  max-width: var(--breite); margin: 34px auto 0; padding-top: 18px;
  border-top: 1px solid var(--rand); text-align: center; font-size: 13.5px;
}

@media (max-width: 640px) {
  .nav { padding: 10px 16px; }
  .nav-liste { gap: 14px; }
  .nav-liste a { font-size: 14px; }
  .abschnitt { padding: 52px 16px; }
}

/* Im Slider braucht der Text seitlich Platz fuer die Pfeile, sonst liegt der
   linke Pfeil ueber dem Fliesstext. */
@media (min-width: 761px) {
  .slider .panel-inhalt { padding-left: 112px; padding-right: 112px; }
}

/* Schriftzug in der Navigation nie umbrechen */
.nav-logo { white-space: nowrap; }
@media (max-width: 420px) {
  .nav-logo-bild { height: 34px; }
  .nav-liste { gap: 12px; }
  .nav-liste a { font-size: 13.5px; }
}
