/* ==========================================================================
   ussach.de – Stylesheet
   Rebuilt 1:1 from the former Elementor site. Breakpoints like Elementor:
   desktop > 1024px, tablet 768–1024px, mobile <= 767px.
   ========================================================================== */

:root {
  --primary: #284086;
  --secondary: #F6F2F5;
  --text: #313133;
  --accent: #2484BF;
  --card-title: #1C244B;
  --card-text: #324A6D;
  --menu-text: #33373D;
  --menu-hover-bg: #3F444B;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-lato: "Lato", sans-serif;
  --font-slab: "Roboto Slab", sans-serif;
  --font-poppins: "Poppins", sans-serif;
}

/* ---------- Base (Hello Elementor reset) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-system);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { margin-block: .5rem 1rem; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; }
p { margin-block: 0 .9rem; }
a { color: #c36; text-decoration: none; background-color: transparent; }
a:hover, a:active { color: #336; }
strong, b { font-weight: bolder; }
img { max-width: 100%; height: auto; border: none; vertical-align: middle; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.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; }
.icon { display: block; width: 1em; height: 1em; fill: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Headings as Elementor renders them (line-height 1, no margin). */
.title { margin: 0; padding: 0; line-height: 1; }
.title-xl { color: var(--primary); font-size: 60px; font-weight: 600; letter-spacing: 1px; }
.subtitle-l { color: var(--text); font-size: 32px; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-lato);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  color: #fff;
  fill: #fff;
  background-color: var(--primary);
  border: 3px solid #fff;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
}
.btn:hover, .btn:focus { color: #fff; }
.btn-l { font-size: 1vw; padding: 20px 30px; }      /* hero, about, networking */
.btn-vw { font-size: 1vw; padding: 1vw 2vw; }       /* header, call to action, Leistungen */

/* ---------- Scroll animations (Elementor entrance animations) ---------- */
.js [data-animate] { visibility: hidden; }
.js [data-animate].is-animated { visibility: visible; animation-duration: 1.25s; }
.js [data-animate].is-animated.animated-fast { animation-duration: .75s; }
.js [data-animate="fadeInUp"].is-animated { animation-name: fadeInUp; }
.js [data-animate="fadeInDown"].is-animated { animation-name: fadeInDown; }
.js [data-animate="fadeInLeft"].is-animated { animation-name: fadeInLeft; }
.js [data-animate="fadeInRight"].is-animated { animation-name: fadeInRight; }
.js [data-animate="bounceIn"].is-animated { animation-name: bounceIn; }
.js [data-animate="bounce"].is-animated { animation-name: bounce; transform-origin: center bottom; }
.js [data-animate="pulse"].is-animated { animation-name: pulse; }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  0% { opacity: 0; transform: scale3d(.3, .3, .3); }
  20% { transform: scale3d(1.1, 1.1, 1.1); }
  40% { transform: scale3d(.9, .9, .9); }
  60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
  80% { transform: scale3d(.97, .97, .97); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes bounce {
  0%, 20%, 53%, 80%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); transform: translateZ(0); }
  40%, 43% { animation-timing-function: cubic-bezier(.755, .05, .855, .06); transform: translate3d(0, -30px, 0); }
  70% { animation-timing-function: cubic-bezier(.755, .05, .855, .06); transform: translate3d(0, -15px, 0); }
  90% { transform: translate3d(0, -4px, 0); }
}
@keyframes pulse { 0% { transform: scaleX(1); } 50% { transform: scale3d(1.05, 1.05, 1.05); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { visibility: visible; }
  .js [data-animate].is-animated { animation: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  width: 100%;
  min-height: 3vh;
  padding: 10px;
}
.header-logo { display: flex; flex-direction: column; flex-shrink: 0; width: 20%; padding: 10px; }
.header-logo .logo-link { display: block; width: 99.678%; }
.header-logo img { width: 96%; max-width: 58%; height: auto; }

.header-nav { display: flex; flex-shrink: 0; justify-content: flex-end; align-items: center; width: 70%; padding: 10px; }
.menu { display: flex; align-self: flex-end; }
.menu-entry { position: relative; }
.menu-item {
  display: flex;
  align-items: center;
  padding: 23px 50px;
  font-family: var(--font-lato);
  font-size: 1vw;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--primary);
  fill: var(--primary);
  transition: .4s;
}
.menu-item:hover, .menu-item:focus { color: var(--primary); }
.menu-item.is-active { color: var(--accent); }
.sub-arrow { display: flex; align-items: center; margin: -10px 0; padding: 10px 0 10px 10px; font-size: 1vw; line-height: 1; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  width: 12em;
  min-width: 156px;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s cubic-bezier(.37, 0, .63, 1) .5s, visibility 0s .7s;
}
.has-submenu:hover > .sub-menu, .has-submenu:focus-within > .sub-menu { visibility: visible; opacity: 1; transition: opacity 0s .25s, visibility 0s .25s; }
.sub-item {
  display: flex;
  padding: 13px 20px;
  border-left: 8px solid transparent;
  font-family: var(--font-lato);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--menu-text);
  transition: .4s;
}
.sub-item:hover, .sub-item:focus, .sub-item.is-active { color: #fff; background-color: var(--menu-hover-bg); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  margin: 0 auto;
  padding: 5.5px;
  font-size: 22px;
  color: var(--menu-text);
  background-color: rgba(0, 0, 0, .05);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: block; }

.header-cta { display: flex; flex-direction: column; flex-shrink: 0; align-items: flex-end; width: 10%; padding: 10px; }
.header-cta .btn-wrap { max-width: 100%; }
.btn-header { font-size: 1vw; padding: 1vw 2vw; white-space: nowrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-inner { display: flex; justify-content: space-between; width: 100%; padding: 10px; }
.footer-col { display: flex; flex-shrink: 0; min-height: 5vh; padding: 10px; }
.footer-legal { flex-direction: column; gap: 20px; width: 20%; }
.footer-brand {
  display: flex;
  align-items: center;
  margin: 0 0 -8px;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 600;
  line-height: 35px;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: var(--primary);
}
.footer-brand .icon { width: 20px; height: 20px; fill: var(--primary); }
.footer-brand span { padding-left: 10px; }
.footer-links { width: 60%; margin: -10px 0 0 10px; }
.footer-links a {
  display: block;
  font-family: var(--font-lato);
  font-size: 15px;
  font-weight: 600;
  line-height: 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 0, 0, .3);
  transition: color .3s;
}
.footer-links a:hover { color: var(--text); }

.footer-social { flex-direction: column; justify-content: center; width: 50vw; }
.social-icons { display: flex; justify-content: center; gap: 0 5px; --icon-size: 2vw; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--icon-size) * 2);
  height: calc(var(--icon-size) * 2);
  font-size: var(--icon-size);
  color: var(--primary);
  transition: all .3s;
}
.social-icon .icon { width: 1em; height: 1em; }
.social-icon:hover, .social-icon:focus { color: var(--accent); opacity: .9; }

.footer-contact { flex-direction: row-reverse; width: 20vw; }
.contact-list { align-self: flex-start; width: 16.605vw; }
.contact-list a {
  display: flex;
  align-items: center;
  font-family: var(--font-slab);
  font-size: 22px;
  line-height: 35px;
  color: var(--primary);
}
.contact-list .icon { flex-shrink: 0; width: 18px; height: 18px; margin-right: 4.5px; fill: none; color: #000; }
.contact-list span { padding-left: 5px; }
.footer-spacer { min-height: 7vh; }

/* ==========================================================================
   Contact popup (phone, WhatsApp, e-mail)
   ========================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
}
.contact-modal[hidden] { display: none; }
.contact-modal.is-closing .contact-dialog { animation: fadeOutRight .8s cubic-bezier(.75, 0, .75, .9) forwards; }
@keyframes fadeOutRight { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(100%, 0, 0); } }
.contact-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 640px;
  max-width: 100%;
  max-height: 100%;
  padding: 50px;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
  animation: fadeInRight .8s both;
}
.contact-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  padding: 0;
  font-size: 15px;
  color: var(--accent);
  background: none;
  border: 0;
  cursor: pointer;
}
.contact-close .icon { width: 15px; height: 15px; }
.contact-title {
  width: 100%;
  max-width: 550px;
  margin: 0;
  padding: 0 10px 20px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: var(--primary);
}
.contact-intro {
  width: 100%;
  max-width: 460px;
  margin: 0 0 30px;
  font-family: var(--font-slab);
  font-size: 22px;
  line-height: 35px;
  text-align: center;
  color: var(--text);
}
.contact-options { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 460px; }
.contact-option {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  color: var(--primary);
  background-color: #fff;
  border: 1px solid var(--primary);
  transition: background-color .3s, color .3s;
}
.contact-option:hover, .contact-option:focus-visible { color: #fff; background-color: var(--primary); }
.contact-option-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 24px;
  color: #fff;
  background-color: var(--primary);
  border-radius: 50%;
  transition: background-color .3s, color .3s;
}
.contact-option:hover .contact-option-icon, .contact-option:focus-visible .contact-option-icon { color: var(--primary); background-color: #fff; }
.contact-option-icon .icon { width: 24px; height: 24px; }
.contact-option-icon .icon-phone, .contact-option-icon .icon-mail { fill: none; }
.contact-option-text { display: flex; flex-direction: column; min-width: 0; }
.contact-option-label {
  font-family: var(--font-lato);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-option-value { font-family: var(--font-slab); font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; }
.contact-address { margin: 26px 0 0; font-family: var(--font-slab); font-size: 16px; line-height: 1.5; text-align: center; color: var(--text); }
.contact-address a { color: inherit; }

/* ==========================================================================
   Self-hosted showreel and YouTube lightbox (YouTube loads only after a click)
   ========================================================================== */
.showreel-player { display: block; width: 100%; height: 100%; background-color: #000; object-fit: contain; }
.video-16x9 { position: relative; aspect-ratio: 16 / 9; }
.video-16x9 > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .4s cubic-bezier(.37, 0, .63, 1);
}
.video-lightbox.is-open { opacity: 1; }
.video-lightbox[hidden] { display: none; }
.video-lightbox-frame { width: min(90vw, calc(85vh * 16 / 9)); aspect-ratio: 16 / 9; box-shadow: 0 0 30px rgba(0, 0, 0, .3); }
.video-lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.video-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px;
  font-size: 28px;
  color: rgba(238, 238, 238, .9);
  background: none;
  border: 0;
  cursor: pointer;
}
.video-lightbox-close .icon { width: 28px; height: 28px; }

/* ==========================================================================
   Carousels (testimonials, references) and slideshow
   ========================================================================== */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: var(--gap, 10px); transition: transform var(--speed, 500ms) ease; will-change: transform; }
.carousel-track.no-transition { transition: none; }
.carousel-slide { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap, 10px)) / var(--per-view)); min-width: 0; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  padding: 0;
  color: var(--arrow-color, var(--accent));
  background: none;
  border: 0;
  transform: translateY(-50%);
  cursor: pointer;
}
.carousel-arrow .icon { width: 1em; height: 1em; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 0; }
.carousel-dot {
  width: var(--dot-size, 10px);
  height: var(--dot-size, 10px);
  margin: 0 6px;
  padding: 0;
  background: #000;
  border: 0;
  border-radius: 50%;
  opacity: .2;
  cursor: pointer;
}
.carousel-dot.is-active { opacity: 1; background: var(--dot-active, var(--accent)); }

.slideshow { position: relative; overflow: hidden; }
.slideshow .slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transition: opacity 1s ease; }
.slideshow .slide.is-active { opacity: 1; }

/* Reference video carousel on the service pages */
.media-carousel { --per-view: 2; --gap: 10px; width: 100%; height: var(--carousel-h, 50vh); padding-bottom: 30px; }
.page-konzeption .media-carousel { --carousel-h: 48vh; }
.media-carousel .carousel-arrow { top: calc(50% - 15px); font-size: 50px; }
.media-carousel .carousel-viewport { height: 100%; }
.media-carousel .carousel-track, .media-carousel .carousel-slide { height: 100%; }
.media-slide {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background-color: #000;
  background-position: center;
  background-size: cover;
  border: 0;
  cursor: pointer;
}
.media-slide .play { position: absolute; top: 50%; left: 50%; font-size: 100px; color: #fff; opacity: .8; transform: translate(-50%, calc(-50% - 3px)); filter: drop-shadow(1px 0 6px rgba(0, 0, 0, .3)); }
.media-slide .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font-lato);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(105, 114, 125, .8);
  opacity: 0;
  transition: opacity .5s;
}
.media-slide:hover .overlay, .media-slide:focus-visible .overlay { opacity: 1; }
.media-carousel .carousel-dots { position: absolute; right: 0; bottom: 5px; left: 0; align-items: center; height: 24px; --dot-size: 10px; }
.media-carousel .carousel-dot { margin: 0 6px; }
.media-carousel .carousel-arrow { color: var(--accent); }

/* ==========================================================================
   Home
   ========================================================================== */
/* Hero */
.hero { display: flex; align-items: stretch; min-height: 80vh; margin: 0 0 4%; padding: 0 3%; }
.hero-text { display: flex; flex-direction: column; flex-shrink: 0; justify-content: center; gap: 15px; width: 50%; padding: 0 5% 0 0; }
.hero-spacer { min-height: 12vh; padding: 10px; }
.headline {
  width: 100%;
  margin: .5rem 0 1rem;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: left;
  color: var(--primary);
}
.headline-plain { color: var(--primary); }
.headline-plain, .headline-dynamic { vertical-align: bottom; }
.headline-dynamic { position: relative; display: inline-block; overflow: hidden; color: var(--accent); text-align: start; perspective: 300px; transition: width .5s; }
.headline-word { position: absolute; top: 0; left: 0; display: inline-block; white-space: nowrap; transform: scaleX(1.0005); }
.headline-word.is-visible { position: relative; }
.headline-dynamic:not(.is-split) .headline-word:not(.is-visible) { display: none; }
.headline-word .letter { display: inline-block; opacity: 0; transform: translateZ(-20px) rotateX(90deg); transform-style: preserve-3d; backface-visibility: hidden; }
.headline-word .letter.in { animation: swirlIn .4s forwards; }
.headline-word .letter.out { animation: swirlOut .4s forwards; }
@keyframes swirlIn {
  0% { opacity: 0; transform: translateZ(-20px) rotateX(90deg); }
  60% { opacity: 1; transform: translateZ(-20px) rotateX(-10deg); }
  100% { opacity: 1; transform: translateZ(-20px) rotateX(0deg); }
}
@keyframes swirlOut {
  0% { opacity: 1; transform: translateZ(-20px) rotateX(0); }
  60% { opacity: 0; transform: translateZ(-20px) rotateX(-100deg); }
  100% { opacity: 0; transform: translateZ(-20px) rotateX(-90deg); }
}
.hero-lead { width: 94.384%; font-family: var(--font-slab); font-size: 32px; line-height: 35px; color: var(--text); }
.hero-button { align-self: flex-start; }
.hero-media { flex-shrink: 0; width: 50%; margin-top: 2%; }
.hero-media .slideshow { height: 80vh; }

/* About teaser */
.about-teaser { display: flex; align-items: center; gap: 5%; min-height: 70vh; margin: 4% 0; padding: 0 3%; }
.about-gallery { display: flex; flex-shrink: 0; gap: 20px; width: 42.013%; }
.about-gallery-col { display: flex; flex-direction: column; gap: 25px; width: 100%; }
.about-gallery-col:first-child { padding-top: 3%; }
.about-gallery img { width: 100%; }
.about-teaser-text { display: flex; flex-direction: column; flex-shrink: 0; gap: 15px; width: 49%; }
.about-teaser-copy { padding: 0 20% 0 0; font-family: var(--font-slab); font-size: 32px; line-height: 35px; color: var(--text); }
.about-teaser-copy p { margin: 0 0 .9rem; }
.about-teaser-text .btn { align-self: flex-start; }

/* Service cards (home + Leistungen) */
.services { display: flex; flex-direction: column; min-height: 50vh; margin: 4% 0; padding: 0 3%; }
.services-title { text-align: center; }
.services-subtitle { margin-top: 1%; text-align: center; }
.service-cards { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 25px; margin-top: 4%; }
.service-card { display: flex; flex: 0 1 25%; flex-direction: column; min-width: 0; }
.service-card a { display: block; color: inherit; }
.service-card-img { margin: 0 0 29px; }
.service-card-img img { width: 100%; transition: transform .3s; }
.service-card-img img:hover, .service-card-img img:active { transform: scale(1.1); }
.service-card-title {
  margin: 0 0 15px;
  font-family: var(--font-poppins);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
  color: var(--card-title);
}
.service-card-text { margin: 0; font-family: var(--font-poppins); font-size: 16px; font-weight: 300; line-height: 1.5; color: var(--card-text); }

/* Showreel */
.showreel-section { display: flex; flex-direction: column; gap: 20px; min-height: 50vh; margin: 4px 0; padding: 10px; }
.showreel-section .subtitle-l { margin-top: -20px; text-align: center; }
.showreel-section .title-xl { text-align: center; }
.showreel-video { align-self: center; width: 100%; }

/* Testimonials */
.testimonials { display: flex; flex-direction: column; gap: 70px; margin: 4% 0 0; padding: 0 3%; }
.testimonials-title {
  margin: 0;
  font-family: var(--font-poppins);
  font-size: 65px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--primary);
}
.testimonial-carousel { --per-view: 3; --gap: 10px; --arrow-color: var(--primary); --dot-size: 20px; --dot-active: var(--text); --arrow-size: 70px; padding-bottom: 40px; }
.testimonial-carousel .carousel-viewport { width: calc(100% - 40px); margin: 0 auto; }
.testimonial-carousel .carousel-slide { padding: 20px; }
.testimonial-carousel .carousel-arrow { top: calc(50% - 20px); font-size: var(--arrow-size); }
.testimonial-carousel .carousel-prev { left: 10px; }
.testimonial-carousel .carousel-next { right: 10px; }
.testimonial-carousel .carousel-dots { position: absolute; right: 0; bottom: 5px; left: 0; align-items: flex-start; height: 26px; }
.testimonial-carousel .carousel-dot { margin: 0 6px; background: var(--accent); opacity: 1; }
.testimonial-carousel .carousel-dot.is-active { background: var(--dot-active); }
.testimonial { display: flex; flex-direction: column; align-items: center; text-align: center; }
.testimonial-text { margin: 0; font-family: var(--font-slab); font-size: 22px; font-style: italic; line-height: 35px; color: var(--text); }
.testimonial-footer { display: flex; align-items: center; justify-content: center; margin-top: 14px; }
.testimonial-image { flex-shrink: 0; margin-right: 20px; }
.testimonial-image img { display: block; width: 120px; height: 120px; margin-bottom: 6px; object-fit: cover; border-radius: 100px; }
.testimonial-details { display: flex; flex-direction: column; text-align: left; }
.testimonial-footer:not(:has(.testimonial-image)) .testimonial-details { text-align: center; }
.testimonial-name { font-size: 41px; font-weight: 700; line-height: 1.5; color: var(--text); }
.testimonial-title { font-family: var(--font-lato); font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: 1px; color: var(--primary); }

/* Call to action */
.cta { display: flex; flex-direction: column; justify-content: center; gap: 20px; max-width: 750px; margin: 4% auto; padding: 0 3%; box-sizing: content-box; }
.cta .title-xl { text-align: center; }
.cta-text { padding: 0 20%; font-family: var(--font-slab); font-size: 18px; line-height: 35px; text-align: center; color: var(--text); }
.cta-text p { margin: 0 0 .9rem; }
.cta .btn { align-self: center; }

/* ==========================================================================
   About me (/home/)
   ========================================================================== */
.about { display: flex; gap: 0; min-height: 70vh; padding: 10px; }
.about-media { flex-shrink: 0; width: 45%; padding: 10px; }
.about-media .slideshow { height: 80vh; }
.about-content { display: flex; flex-direction: column; flex-shrink: 0; justify-content: center; gap: 20px; width: 55%; padding: 10px; }
.about-hello { margin: 0; font-family: "Roboto", sans-serif; font-size: 62px; font-weight: 600; line-height: 1; color: var(--primary); }
.about-name { margin: 0; font-size: 32px; font-weight: 500; line-height: 1; color: var(--primary); }
.about-copy { width: 90.289%; font-family: var(--font-slab); font-size: 22px; line-height: 35px; color: var(--text); }
.about-copy p { margin: 0 0 .9rem; }
.about-actions { display: flex; flex-direction: column; width: 42.054%; padding: 10px; }
.about-actions .btn { align-self: flex-start; }

/* ==========================================================================
   Leistungen (/leistungen-2/)
   ========================================================================== */
.page-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  background-color: #000;
  background-position: center center;
  background-size: cover;
}
.page-banner { --overlay-color: var(--text); --overlay-opacity: .5; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background-color: var(--overlay-color); opacity: var(--overlay-opacity); }
.page-banner > * { position: relative; z-index: 2; }
.banner-video-wrap { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1s; }
.banner-video-wrap.is-playing { opacity: 1; }
.banner-video-wrap::before { content: ""; position: absolute; inset: 0; z-index: 1; background-color: var(--overlay-color); opacity: var(--overlay-opacity); }
.page-banner .banner-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-title { margin: 0; font-family: var(--font-lato); font-size: 60px; font-weight: 600; line-height: 1; letter-spacing: 1px; color: var(--secondary); }
.banner-subtitle { margin: 20px 0 0; font-size: 32px; font-weight: 500; line-height: 1; color: #D6D9FC; }

.leistungen-banner { min-height: 28vh; }
.leistungen-banner { --overlay-color: #0B0B14; --overlay-opacity: .6; }
.leistungen-banner .banner-inner { width: 68%; padding: 10px; }
.leistungen-banner .banner-title { font-size: 50px; text-transform: uppercase; text-align: center; }
.leistungen-cards { display: flex; flex-direction: column; min-height: 50vh; margin: -2% 0 0; padding: 0 3%; }
.leistungen-cards .service-cards { margin-top: 4%; }
.leistungen-more { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: -3% 0 4%; padding: 10px; }
.leistungen-more .subtitle-l { width: 100%; text-align: center; }
.leistungen-more .btn { margin-top: 9px; }

/* ==========================================================================
   Service pages (Konzeption, Kamera, …)
   ========================================================================== */
.service-banner { min-height: 20vh; margin-bottom: 2%; }
.service-intro { display: flex; flex-direction: column; gap: 20px; max-width: 1600px; margin: 1% auto; padding: 10px; }
.service-intro-text { font-family: var(--font-slab); font-size: 23px; line-height: 35px; text-align: center; color: var(--text); }
.service-intro-text p { margin: 0 0 .9rem; }
.references { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 36vh; margin: 1% 0; padding: 10px; }
.references-title { margin: 0; font-family: var(--font-lato); font-size: 35px; font-weight: 600; line-height: 1; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.page-postproduktion .references { min-height: 35vh; }
.networking-banner { min-height: 65vh; margin-bottom: 2%; }
.service-actions { display: flex; justify-content: center; }

/* ==========================================================================
   Showreel page
   ========================================================================== */
.showreel-page { display: flex; flex-direction: column; width: 70%; margin: 0 auto; padding: 10px; }

/* ==========================================================================
   Legal pages (Impressum, Datenschutz)
   ========================================================================== */
.legal { max-width: 1160px; margin: 0 auto; padding: 10px; }
.legal-block { display: flex; flex-direction: column; gap: 20px; }
.legal h2.legal-heading { margin: 0; font-size: 32px; font-weight: 500; line-height: 1; color: var(--primary); }
.legal-text { font-family: var(--font-slab); font-size: 22px; line-height: 35px; color: var(--text); }
.legal-text .lines { margin-bottom: 0; }

/* ==========================================================================
   Tablet (768–1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header { min-height: 0; }
  .header-logo { justify-content: center; }
  .header-logo img { width: 100%; max-width: 100%; }
  .header-nav { justify-content: center; width: 60%; }
  .menu-item { padding: 16px 11px; font-size: 1.7vw; }
  .sub-arrow { font-size: 1.7vw; }
  .header-cta { width: 20%; }
  .btn-header { font-size: 2vw; padding: 2vw 3vw; }

  .btn-l { font-size: 2.5vw; padding: 3vw 4vw; }
  .btn-vw { font-size: 2.5vw; padding: 2vw 4vw; }

  .hero { min-height: 500px; margin: 0; padding: 0 5%; }
  .hero-text { width: 100%; flex-shrink: 1; padding: 0 35% 0 0; }
  .headline { width: 356.617px; max-width: 100%; font-size: 30px; }
  .hero-lead { width: 100%; font-size: 26px; }
  .hero-media { width: 100%; flex-shrink: 1; margin: 0; }

  .about-teaser { flex-direction: column-reverse; justify-content: space-around; gap: 63px; min-height: 100vh; padding: 5%; }
  .about-gallery { width: 100%; gap: 20px; }
  .about-gallery-col { gap: 30px; }
  .about-teaser-text { width: 100%; padding: 0 15% 0 0; }
  .about-teaser-copy { padding: 0; }

  .services { margin: 20% 0 0; padding: 0 5%; }
  .service-cards { flex-wrap: wrap; gap: 60px; }
  .service-card { flex: 0 0 45%; }
  .service-card-text { font-size: 14px; }

  .testimonials { margin: 15% 0 0; padding: 0 5%; }
  .testimonials-title { font-size: 45px; }
  .testimonial-carousel { --per-view: 1; --arrow-size: 28px; width: 532.867px; max-width: 100%; margin: 0 auto; }
  .testimonial-carousel .carousel-viewport { width: 460px; max-width: calc(100% - 40px); }

  .cta { max-width: 696px; margin: 15% auto 0; padding: 0 5%; }
  .cta .title-xl { width: 100%; }
  .cta-text { padding: 0 5%; }

  .about { flex-direction: column; align-items: center; }
  .about-media { width: 100%; }
  .about-media .slideshow { height: 65vh; }
  .about-content { width: 100%; align-items: center; }
  .about-hello, .about-name { width: 100%; text-align: center; }
  .about-name { font-size: 24px; }
  .about-copy { width: 100%; font-size: 20px; text-align: center; }
  .about-actions { width: 100%; align-items: center; }
  .about-actions .btn { align-self: center; font-size: 3vw; padding: 3vw 4vw; }

  .leistungen-cards { margin: 4% 0 0; padding: 0 5%; }
  .leistungen-more { margin: 4% 0 0; }
  .leistungen-more .btn { font-size: 3vw; }

  .contact-dialog { width: 550px; }

  .social-icons { --icon-size: 4vw; }
  .footer-legal { width: 30vw; }
  .footer-social { width: 40vw; }
  .footer-contact { width: 30vw; }
  .footer-social { flex-shrink: 1; }
  .footer-links { display: flex; flex-wrap: wrap; column-gap: 10px; width: 100%; }
  .contact-list { width: 100%; }
  .contact-list a { font-size: 18px; }
}

/* Tablet only: Elementor sized the About columns in vw here. */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-media, .about-content { width: 97vw; }
  .about-actions { width: 95vw; }
  /* Like the old site: the hero is 59vw wide and the photo runs past the right edge. */
  .hero { width: 59vw; }
  .hero-text, .hero-media { flex-shrink: 0; width: 100%; }
  .page-networking .service-actions .btn { font-size: 1vw; padding: 20px 30px; }
  .leistungen-more .btn { padding: 1vw 2vw; }
}

/* ==========================================================================
   Mobile (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .site-header { flex-wrap: wrap; }
  .header-logo { width: 40%; }
  .header-nav { justify-content: center; width: 20%; position: static; }
  .menu-toggle { display: flex; }
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 9997;
    display: block;
    max-height: 0;
    overflow: hidden;
    margin-top: -16px;
    background-color: #fff;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: max-height .3s, transform .3s, visibility 0s .3s;
  }
  .menu.is-open { visibility: visible; max-height: 1000vmax; transform: scaleY(1); transition: max-height .3s, transform .3s, visibility 0s; }
  .menu-item { justify-content: flex-start; padding: 10px 20px; font-size: 14px; color: var(--menu-text); }
  .menu-item.is-active, .menu-item:hover, .menu-item:focus { color: #fff; background-color: var(--menu-hover-bg); }
  .sub-arrow { font-size: 14px; }
  .sub-menu { position: static; display: none; width: auto; visibility: visible; opacity: 1; transition: none; }
  .has-submenu:hover > .sub-menu, .has-submenu:focus-within > .sub-menu { visibility: visible; transition: none; }
  .has-submenu.is-expanded > .sub-menu { display: block; }
  .sub-item { padding: 10px 20px; border-left: 8px solid transparent; }
  .header-cta { width: 40%; }
  .btn-header { font-size: 4vw; padding: 3vw 4vw; }

  .hero { flex-direction: column; min-height: 0; margin: 8% 0 0; padding: 0 5%; }
  .hero-text { padding: 0; }
  .hero-spacer { display: none; }
  .headline { width: 100%; font-size: 30px; text-align: center; }
  .hero-lead { font-size: 19px; text-align: center; }
  .hero-button { align-self: center; font-size: 5.3vw; padding: 4vw 6vw; }
  .hero-media { margin-top: 15%; }

  .about-teaser { min-height: 75vh; gap: 48px; }
  .about-gallery { justify-content: center; align-items: center; gap: 12px; }
  .about-gallery-col { width: 45%; gap: 15px; }
  .about-teaser-text { padding: 0; }
  .about-teaser .title-xl { font-size: 39px; text-align: center; }
  .about-teaser-copy { font-size: 19px; text-align: center; }
  .about-teaser-text .btn { align-self: center; font-size: 5vw; padding: 4vw 6vw; }

  .services { margin-top: 25%; }
  .services .title-xl { font-size: 44px; }
  .services-subtitle.subtitle-l { font-size: 20px; }
  .service-cards { margin-top: 10%; }
  .service-card { flex-basis: 100%; }
  .service-card-title { font-size: 18px; }

  .showreel-section .title-xl { font-size: 43px; }
  .showreel-section .subtitle-l { margin-top: -15px; font-size: 21px; }

  .testimonials { margin-top: 25%; }
  .testimonials-title { font-size: 28px; line-height: 1.1em; }
  .testimonial-carousel { --arrow-size: 20px; --dot-size: 11px; width: auto; margin: 6% 5% 0; }
  .testimonial-carousel .carousel-viewport { width: 260px; }
  .testimonial-text { font-size: 12px; }
  .testimonial-footer { margin-top: 1px; }
  .testimonial-image { margin-right: 0; }
  .testimonial-details { margin-left: 6px; }
  .testimonial-image img { width: 100px; height: 100px; }
  .testimonial-name { font-size: 16px; }
  .testimonial-title { font-size: 15px; }

  .cta { margin: 0 auto; }
  .cta-text { padding: 0; }
  .cta .btn { font-size: 5vw; padding: 4vw 6vw; }

  .about-actions .btn { font-size: 5vw; }

  .leistungen-cards .service-cards { margin-top: 10%; }
  .leistungen-more .subtitle-l { font-size: 32px; }
  .leistungen-more .btn { font-size: 5vw; padding: 3vw 4vw; }

  .contact-dialog { justify-content: safe center; width: 100vw; height: 100vh; min-height: 0; padding: 8vw; box-shadow: none; }
  .contact-title { font-size: 60px; padding: 0; }
  .contact-intro { font-size: 19px; line-height: 30px; }
  .contact-option-value { font-size: 18px; }

  .showreel-page { width: 100%; }
  .banner-video-wrap { display: none; }
  .legal h2.legal-heading { font-size: 26px; }
  .legal { padding: 10px; }
  .page-privacy-policy .legal-text { font-size: 18px; }

  /* Footer: three narrow columns, contact entries as icons only. */
  .footer-inner { justify-content: flex-start; }
  .footer-legal { width: 30vw; }
  .footer-brand { font-size: 9px; }
  .footer-brand .icon { width: 20px; height: 20px; }
  .footer-links a { font-size: 9px; }
  .footer-social { width: 34vw; min-height: 0; justify-content: flex-start; }
  .social-icons { flex-direction: column; align-items: center; --icon-size: 7vw; }
  .footer-contact { flex-direction: column; justify-content: flex-start; width: 30vw; }
  .contact-list { align-self: flex-end; width: auto; margin-right: 13px; }
  .contact-list a { min-height: 35px; }
  .contact-list .icon { width: 20px; height: 20px; }
  .contact-list span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
