/* Trial homepage: work first, original typography and black/white surfaces. */
.homepage-trial #home.home-hero {
  position: relative; isolation: isolate; overflow: hidden; height: 82svh; min-height: 620px; max-height: 900px;
  background: #0b0b0b; perspective: 1400px;
}
.hero-rear-plane { position: absolute; inset: 0; background: radial-gradient(ellipse at 74% 58%,#303030 0%,#101010 48%,#060606 82%); z-index: -1; }
.homepage-trial #home .hero-copy { position: relative; width: min(1280px,100%); margin: auto; padding: 70px 40px; z-index: 3; pointer-events: none; }
.homepage-trial #home h1 { color: #fff; font-family: var(--font); font-size: clamp(40px,5.2vw,72px); font-weight: 400; text-align: left; line-height: 1.3; padding: 0; margin: 0; max-width: 650px; }
.hero-disciplines { color: #eee; font-size: clamp(15px,1.5vw,20px); margin-top: 24px; line-height: 1.7; letter-spacing: .04em; max-width: 570px; }
.hero-project-link { display: inline-block; color: #fff; font-size: 14px; text-underline-offset: 7px; margin-top: 38px; padding: 10px 0; pointer-events: auto; }
.hero-person-scene { position: absolute; inset: 0 0 0 43%; z-index: 2; pointer-events: none; transform-style: preserve-3d; }
.hero-person-motion { position: absolute; inset: -4% -10% 0; transform-origin: center bottom; transform: var(--person-transform,none); }
.hero-person-motion img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100%; max-width: none; display: block; }
.homepage-trial #content.work-overview { padding: 120px 40px 135px; min-height: 76svh; }
.homepage-trial #content .content-header h2 { margin: 0 auto 70px; }
.work-categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; width: min(1280px,100%); margin: auto; }
.work-category { display: block; min-width: 0; text-decoration: none; background: #fff; color: #171717; }
.category-image { aspect-ratio: 4/3; overflow: hidden; }
.category-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-category h3 { display: flex; justify-content: center; align-items: center; text-align: center; min-height: 85px; padding: 18px 12px; font-size: clamp(14px,1.4vw,19px); font-weight: 400; line-height: 1.5; }
.work-category:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.selected-projects { background: #111; padding: 135px 40px 145px; min-height: 74svh; }
.selected-projects > h2 { font-size: 34px; margin-bottom: 75px; }
.selected-project-grid { width: min(1280px,100%); margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; }
.selected-project-grid article { min-width: 0; text-align: center; }
.selected-project-grid .media-box { width: 100%; max-width: none; aspect-ratio: 16/9; }
.project-image-link { display: block; width: 100%; height: 100%; }
.selected-project-grid h3 { font-size: 20px; line-height: 1.5; margin: 32px auto 12px; }
.selected-project-grid p { font-size: 14px; line-height: 1.6; }
.project-detail-link { display: inline-block; padding: 12px 0; margin-top: 7px; color: #fff; text-underline-offset: 5px; font-size: 14px; }
.homepage-trial #about { min-height: 0; padding: 150px 0; }
.homepage-trial #about .about-content { padding: 78px 40px; }
.homepage-trial #about .about-content p { max-width: 900px; font-size: 17px; line-height: 1.9; }
.homepage-trial #services { min-height: 0; padding: 130px 0 0; }
.homepage-trial #services .services-content { padding: 80px 0 0; }
.service-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 60px; max-width: 1150px; margin: 60px auto 75px; padding: 0 30px; }
.service-summary-grid h3 { font-size: 21px; line-height: 1.5; margin-bottom: 18px; color: #111; }
.homepage-trial #services .service-summary-grid p { font-size: 16px; line-height: 1.8; margin: 0; }
.equipment-disclosure { width: 100%; color: #111; text-align: left; background: #fff; border-top: 1px solid #bbb; }
.equipment-disclosure > summary { cursor: pointer; padding: 32px 30px; text-align: center; font-size: 16px; list-style-position: inside; }
.equipment-disclosure > summary:hover { background: #f4f4f4; }
.homepage-trial #services-details .drone-scene { position: relative; min-height: 380px; aspect-ratio: 4/3; overflow: hidden; background: #f2f2f2; isolation: isolate; perspective: 1300px; }
.drone-scene-label { position: absolute; top: 12%; left: 8%; right: 8%; font-size: clamp(24px,3vw,48px); color: #c7c7c7; font-weight: 400; text-align: center; line-height: 1.3; letter-spacing: .04em; pointer-events: none; }
.drone-flight { position: absolute; inset: 12% 5% 4%; transform-origin: center; transform: var(--drone-transform,none); }
.homepage-trial #services-details .drone-cutout { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; filter: drop-shadow(0 24px 14px #0002); }
@media (max-width: 1000px) {
  .hero-person-scene { left: 39%; right: -12%; }
  .homepage-trial #home h1 { max-width: 500px; font-size: 48px; }
  .hero-disciplines { max-width: 360px; }
  .work-categories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .category-image { aspect-ratio: 16/10; }
  .work-category h3 { min-height: 66px; font-size: 18px; }
  .selected-project-grid { gap: 20px; }
}
@media (max-width: 600px) {
  .homepage-trial #home.home-hero { height: 72svh; min-height: 470px; max-height: 640px; }
  .hero-person-scene { inset: 0 -12% 0; }
  .hero-person-motion { inset: 0 -10% 0; }
  .hero-person-motion img { height: 100%; bottom: 0; }
  .homepage-trial #home .hero-copy { align-self: end; margin: 0; padding: 230px 20px 25px; text-align: center; background: linear-gradient(transparent 25%,#000b 68%,#000e); }
  .homepage-trial #home h1 { font-size: clamp(29px,8.5vw,42px); text-align: center; max-width: none; text-shadow: 0 2px 12px #000a; }
  .hero-disciplines { font-size: 13px; margin-top: 12px; max-width: none; }
  .hero-project-link { margin-top: 12px; font-size: 13px; }
  .homepage-trial #content.work-overview { padding: 72px 18px 82px; min-height: 0; }
  .homepage-trial #content .content-header h2 { font-size: 27px; margin-bottom: 40px; }
  .work-categories { gap: 18px 14px; }
  .category-image { aspect-ratio: 1/1; }
  .work-category h3 { min-height: 66px; font-size: 13px; padding: 12px 7px; }
  .selected-projects { padding: 85px 20px 95px; min-height: 0; }
  .selected-projects > h2 { font-size: 27px; margin-bottom: 45px; }
  .selected-project-grid { grid-template-columns: minmax(0,1fr); gap: 60px; }
  .selected-project-grid h3 { font-size: 20px; margin-top: 18px; }
  .homepage-trial #about { padding: 95px 0; }
  .homepage-trial #about .about-content { padding: 55px 26px; }
  .homepage-trial #about .about-content p { font-size: 16px; }
  .homepage-trial #services { padding-top: 85px; }
  .service-summary-grid { grid-template-columns: 1fr; gap: 45px; padding: 0 26px; margin-block: 45px 55px; }
  .service-summary-grid h3 { margin-bottom: 10px; }
  .equipment-disclosure > summary { padding: 28px 20px; font-size: 14px; }
  .homepage-trial #services-details .drone-scene { min-height: 270px; }
  .drone-scene-label { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-person-motion, .drone-flight { transform: none !important; }
}

/* More vertical room, while keeping the service panels edge-to-edge. */
.homepage-trial .hero-person-motion img { height: 92%; }
.homepage-trial #contact { min-height: 85svh; padding: 145px 0; }
.homepage-trial #contact .contact-content { padding: 75px 32px; }
.homepage-trial #services-details .text { padding: 65px; }
.homepage-trial #about h2, .homepage-trial #services h2, .homepage-trial #contact h2 { margin-bottom: 38px; }
@media (max-width: 600px) {
  .homepage-trial .hero-person-motion img { height: 100%; }
  .homepage-trial #services .services-content { padding-top: 60px; }
  .homepage-trial #contact { min-height: 0; padding: 95px 0; }
  .homepage-trial #contact .contact-content { padding: 55px 26px; }
  .homepage-trial #services-details .text { padding: 45px 26px; }
  .homepage-trial #about h2, .homepage-trial #services h2, .homepage-trial #contact h2 { margin-bottom: 30px; }
}

/* Full-screen chapters; content may grow beyond one screen when necessary. */
.homepage-trial #home.home-hero {
  height: 100svh;
  min-height: 100svh;
  max-height: none;
}
.homepage-trial #content.work-overview,
.homepage-trial #selected-works,
.homepage-trial #about,
.homepage-trial #services,
.homepage-trial #contact {
  min-height: 100svh !important;
}
.homepage-trial #selected-works {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.homepage-trial #home .hero-person-motion img {
  height: min(92%, 850px);
}
@media (max-width: 600px) {
  .homepage-trial #home .hero-person-motion img { height: 100%; }
}

/* Selected work has its own photographic backdrop. */
.homepage-trial #selected-works {
  background: linear-gradient(#080808b8,#080808d9), url('Hintergrundbild4.png') center/cover no-repeat;
}
/* Services explain the offer; technical specifications live on their own page. */
.homepage-trial #services .services-content { padding-bottom: 70px; }
.service-summary-grid > div { padding: 12px 28px; text-align: left; border-left: 1px solid #a5a5a5; }
.homepage-trial #services .service-summary-grid p { text-align: left; }
.service-summary-grid { gap: 25px; max-width: 1280px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 22px 40px; justify-content: center; align-items: center; padding: 0 28px; }
.service-project-link { padding: 16px 25px; border: 1px solid #222; color: #111; text-decoration: none; }
.service-equipment-link { color: #333; font-size: 15px; text-underline-offset: 6px; padding: 12px 0; }
.service-project-link:hover { background: #111; color: #fff; }
.equipment-intro { padding: calc(var(--header-height) + 70px) 30px 80px; text-align: center; background: #f7f7f7; color: #111; }
.equipment-intro h1 { font-size: clamp(28px,4vw,46px); margin-bottom: 28px; }
.equipment-intro p { max-width: 750px; margin: 0 auto 28px; font-size: 17px; }
.equipment-intro a, .equipment-return a { color: inherit; text-underline-offset: 6px; padding: 12px 0; display: inline-block; }
.equipment-return { text-align: center; padding: 75px 25px; background: #f7f7f7; color: #111; }
@media (max-width: 600px) {
  .service-summary-grid { gap: 35px; }
  .service-summary-grid > div { padding: 6px 0 6px 20px; }
  .service-actions { flex-direction: column; gap: 18px; }
  .homepage-trial #services .services-content { padding-bottom: 55px; }
  .equipment-intro { padding-inline: 24px; }
}

/* A single portfolio chapter with a shared photographic surface. */
.homepage-trial #content.work-overview { background: linear-gradient(#080808b0,#080808cf),url('Hintergrundbild4.png') center/cover; padding-block: 120px; }
.homepage-trial #content #selected-works { background: transparent; min-height: 0 !important; padding: 90px 0 0; display: block; }
.portfolio-label { text-align: center; font-size: 18px; margin: 0 auto 42px; letter-spacing: .06em; }
.homepage-trial #content .content-header h2 { margin-bottom: 60px; }
.work-category h3 { font-size: 17px; }
.category-image img { object-position: center; }
.equipment-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:16px 35px; margin:30px auto 15px; }
.equipment-heading, .equipment-section { padding: 85px 40px; background:#f7f7f7; color:#111; text-align:center; scroll-margin-top:100px; }
.equipment-heading h2, .equipment-section h2 { font-size:clamp(25px,3vw,36px); font-weight:400; margin:0 0 25px; }
.equipment-heading p, .equipment-section-heading p { font-size:16px; max-width:700px; margin:auto; line-height:1.8; }
.equipment-section { padding-block:110px; border-top:1px solid #ddd; }
.equipment-items { width:min(1200px,100%); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:50px 65px; margin:65px auto 0; text-align:left; }
.equipment-items article { border-top:1px solid #bbb; padding-top:25px; }
.equipment-items h3 { font-size:21px; font-weight:400; margin-bottom:18px; }
.equipment-items p { font-size:16px; line-height:1.8; margin:0; }
@media(max-width:600px) {
 .homepage-trial #content.work-overview { padding:85px 20px; }
 .homepage-trial #content #selected-works { padding-top:65px; }
 .portfolio-label { font-size:16px; margin-bottom:35px; }
 .work-category h3 { font-size:13px; }
 .equipment-heading,.equipment-section { padding:70px 24px; }
 .equipment-items { grid-template-columns:1fr; gap:35px; margin-top:40px; }
}

/* Cinematic image movement and quiet interaction details. */
.reading-progress { position:fixed; top:0; left:0; right:0; height:2px; z-index:10000; background:#fff; mix-blend-mode:difference; transform-origin:left; pointer-events:none; }
.homepage-trial .category-image img { transition:transform 900ms cubic-bezier(.22,1,.36,1),filter 700ms ease; }
.homepage-trial .project-image-link img { transition:transform 900ms cubic-bezier(.22,1,.36,1); }
.homepage-trial .project-detail-link,.homepage-trial .hero-project-link,.service-equipment-link { text-decoration:none; position:relative; }
.homepage-trial .project-detail-link::after,.homepage-trial .hero-project-link::after,.service-equipment-link::after { content:''; position:absolute; left:0; right:0; bottom:5px; height:1px; background:currentColor; transform:scaleX(.35); transform-origin:left; transition:transform 450ms cubic-bezier(.22,1,.36,1); }
@media(hover:hover) and (pointer:fine) {
 .homepage-trial .work-category:hover .category-image img { transform:scale(1.075); }
 .homepage-trial .project-image-link:hover img { transform:scale(1.05); }
 .homepage-trial .project-detail-link:hover::after,.homepage-trial .hero-project-link:hover::after,.service-equipment-link:hover::after { transform:scaleX(1); }
}
.homepage-trial .project-detail-link:focus-visible::after,.homepage-trial .hero-project-link:focus-visible::after,.service-equipment-link:focus-visible::after { transform:scaleX(1); }
@media(prefers-reduced-motion:reduce) {
 .homepage-trial .category-image img,.homepage-trial .project-image-link img { transition:none; transform:none !important; }
 .homepage-trial .project-detail-link::after,.homepage-trial .hero-project-link::after,.service-equipment-link::after { transition:none; }
}

/* A single, spacious portfolio overview, without duplicate project previews. */
.homepage-trial #content.work-overview { display:flex; flex-direction:column; justify-content:center; }
.homepage-trial #content .work-categories { margin:0 auto; }

/* Trial: soften only the seam, with no transparent image layers. */
.homepage-trial #content.work-overview {
 position:relative; isolation:isolate;
 background-image:linear-gradient(#08080840,#08080870),url('Hintergrundbild4.png');
}
.homepage-trial #content .content-header,.homepage-trial #content .work-categories { position:relative; z-index:1; }

/* Portfolio trial: four edge-to-edge film covers. */
.homepage-trial .work-categories { gap:26px; }
.homepage-trial .work-category { position:relative; isolation:isolate; overflow:hidden; background:#171717; color:#fff; aspect-ratio:3/4; }
.homepage-trial .work-category .category-image { position:absolute; inset:0; aspect-ratio:auto; }
.homepage-trial .work-category::after { content:''; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(transparent 45%,rgba(0,0,0,.25) 65%,rgba(0,0,0,.85)); }
.homepage-trial .work-category h3 { position:absolute; z-index:2; left:22px; right:55px; bottom:26px; display:block; padding:0; margin:0; min-height:0; font-size:18px; line-height:1.5; text-align:left; font-weight:400; text-shadow:0 2px 8px #0008; }
.homepage-trial .work-category:hover h3 { text-decoration:none; }
.category-arrow { position:absolute; z-index:2; right:22px; bottom:26px; font-family:Arial,sans-serif; font-size:26px; line-height:1; transition:transform 450ms cubic-bezier(.22,1,.36,1); }
.homepage-trial .work-category:focus-visible { outline:2px solid #fff; outline-offset:5px; }
@media(hover:hover) and (pointer:fine) {
 .work-category:hover .category-arrow { transform:translate(3px,-3px); }
}
@media(max-width:1000px) {
 .homepage-trial .work-categories { gap:22px; }
 .homepage-trial .work-category { aspect-ratio:4/5; }
}
@media(max-width:600px) {
 .homepage-trial .work-categories { gap:16px 14px; }
 .homepage-trial .work-category { aspect-ratio:3/4; }
 .homepage-trial .work-category h3 { left:12px; right:12px; bottom:16px; font-size:clamp(11px,2.8vw,15px); }
 .category-arrow { top:14px; bottom:auto; right:13px; font-size:22px; text-shadow:0 1px 8px #000; }
}
@media(prefers-reduced-motion:reduce) {
 .category-arrow { transition:none; }
}

/* Landscape portfolio preview: preserve each complete photograph. */
.homepage-trial .work-category { aspect-ratio:auto; overflow:hidden; background:#f7f7f7; color:#171717; }
.homepage-trial .work-category .category-image { position:relative; inset:auto; aspect-ratio:4/3; background:#171717; }
.homepage-trial .work-category .category-image img { object-fit:contain; }
.homepage-trial .work-category::after { display:none; }
.homepage-trial .work-category h3 { position:relative; inset:auto; min-height:72px; display:flex; align-items:center; padding:18px 44px 18px 20px; font-size:16px; text-shadow:none; }
.homepage-trial .category-arrow { top:auto; right:18px; bottom:25px; font-size:22px; text-shadow:none; }
@media(hover:hover) and (pointer:fine) {
 .homepage-trial .work-category:hover .category-image img { transform:none; }
}
@media(max-width:600px) {
 .homepage-trial .work-category .category-image { aspect-ratio:4/3; }
 .homepage-trial .work-category h3 { min-height:64px; padding:12px 26px 12px 10px; font-size:11px; }
 .homepage-trial .category-arrow { top:auto; right:9px; bottom:24px; font-size:17px; }
}
/* Preserve the full image; extend its colours softly into unused space. */
.homepage-trial .work-category .category-image { background:#ccc; }
.homepage-trial .work-category .category-image::before { content:''; position:absolute; inset:-12px; background-image:var(--cover-photo); background-position:center; background-size:cover; filter:blur(10px); opacity:.7; }
.homepage-trial .work-category .category-image img { position:relative; z-index:1; }

/* Uniform landscape thumbnails with deliberate crops, no blurred side fills. */
.homepage-trial .work-category .category-image { aspect-ratio:4/3; background:#171717; }
.homepage-trial .work-category .category-image::before { display:none; }
.homepage-trial .work-category .category-image img { object-fit:cover; object-position:center; }
.homepage-trial .work-category:nth-child(1) .category-image img { object-position:50% 55%; }
.homepage-trial .work-category:nth-child(2) .category-image img { object-position:50% 48%; }
.homepage-trial .work-category:nth-child(3) .category-image img { object-position:50% 62%; }
.homepage-trial .work-category:nth-child(4) .category-image img { object-position:50% 50%; }

/* Vector icons remain consistent on mobile and desktop. */
.category-arrow { display:block; width:1em; height:1em; }
