:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: hwb(0 91% 9%);
  --surface-blue: #991ad4;
  --ink: #122033;
  --ink-soft: hsl(220, 43%, 1%);
  --line: hsl(0, 0%, 1%);
  --primary: #991ad4;
  --primary-dark: hsl(281, 78%, 47%);
  --primary-soft: #dff5fb;
  --secondary: #991ad4;
  --accent: #f0b24b;
  --success: #16845b;
  --danger: #b92d43;
  --shadow-sm: 0 8px 28px rgba(18, 32, 51, 0.08);
  --shadow-lg: 0 24px 70px rgba(18, 32, 51, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-white {
  background: var(--surface);
}

.section-soft {
  background: var(--surface-soft);
}

.section-blue {
  background: linear-gradient(180deg, #eff9fc, #f7f9fc);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
  font-weight: 750;
}

p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(16px);
  transition: 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(18, 32, 51, 0.06);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.logo-mark {
  width: 72px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-copy strong {
  display: block;
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.logo-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  color: #334359;
  font-weight: 650;
  font-size: 0.95rem;
}

.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--primary);
  color: white !important;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(7, 136, 170, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 14px 30px rgba(7, 136, 170, 0.27);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink) !important;
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: #b7c8d6;
  background: #f8fbfd;
}

.button.small {
  min-height: 43px;
  padding: 0 17px;
  font-size: 0.9rem;
}

.button.link {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-dark) !important;
  box-shadow: none;
}

.button.link:hover {
  transform: none;
  color: var(--primary) !important;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero {
  position: relative;
  height: 650px;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #08151b;
}

.hero-background-video {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
}

.hero-video-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(3, 13, 18, 0.82) 0%,
      rgba(3, 13, 18, 0.58) 45%,
      rgba(3, 13, 18, 0.28) 100%),
    linear-gradient(180deg,
      rgba(3, 13, 18, 0.12) 0%,
      rgba(3, 13, 18, 0.34) 100%);
}

.hero-video-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--container));
  padding-top: 110px;
  padding-bottom: 110px;
}

.hero-copy {
  max-width: 960px;
}

.hero-copy h1 {
  color: #ffffff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.36);
}

.hero-copy h1 span {
  color: #991ad4;
}

.hero-copy .eyebrow {
  color: hsl(0, 25%, 98%);
}

.hero-copy .eyebrow::before {
  background: #991ad4;
}

.hero-copy .lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink) !important;
}

.hero .button.secondary:hover {
  background: #ffffff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 650;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #991ad4;
  color: #ffffff;
  font-size: 0.78rem;
}

.trust-strip {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;

  /* Hintergrund */
  background: linear-gradient(145deg, var(--primary-soft), #eff9fc);

  /* Farbe der Icons */
  color: var(--primary-dark);
}

.trust-item strong {
  display: block;
  font-size: 0.94rem;
}

.trust-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.trust-item .trust-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary-soft), #eff9fc);
  color: var(--primary-dark);
}

.trust-icon svg {
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(18, 32, 51, 0.04);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: #bdd7e1;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--primary-soft), #eff9fc);
  color: var(--primary-dark);
}

.service-card p {
  min-height: 78px;
}

.service-card .number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: #dbe5eb;
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  border-radius: var(--radius-lg);
  background: #16314a;
  box-shadow: var(--shadow-sm);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.04);
}

.media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, transparent 25%, rgba(10, 24, 37, 0.85));
  color: white;
}

.media-overlay p {
  color: rgba(255, 255, 255, .78);
  margin: 0;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .17);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.showreel {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background: #17324b;
  box-shadow: var(--shadow-lg);
}

.showreel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
}


.showreel-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 40px;
  text-align: center;
  color: white;
}

.showreel-content p {
  color: rgba(255, 255, 255, .8);
}

.showreel-video {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  object-fit: cover;
  border-radius: 34px;
}

.showreel-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.showreel-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;

    background:rgba(0,0,0,.35);

    z-index:2;

    transition:.35s;
}

.showreel-overlay h2 {
    color: #ffffff;
}

.showreel-overlay p {
    color: rgba(255,255,255,0.9);
}

.showreel-overlay .eyebrow {
    color: #ffffff;
}

.showreel-overlay .eyebrow::before {
    background: hwb(281 10% 16%); /* oder #ffffff, wenn auch der Strich weiß sein soll */
}

.showreel-overlay.hide{
    opacity:0;
    pointer-events:none;
}

.play-button {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  background: rgba(255, 255, 255, .17);
  color: white;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease;
}

.play-button:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, .25);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--primary);
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  right: -17px;
  top: 38px;
  color: #9cb1c1;
  font-size: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 72px;
}

.split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 300px; 
  max-height: 700px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.split-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.split-image .floating-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 260px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.check-list {
  list-style: none;
  margin: 24px 0 30px;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: #33445a;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.stat strong {
  display: block;
  color: var(--secondary);
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.faq {
  max-width: 880px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
}

.faq-button span:last-child {
  color: var(--primary);
  font-size: 1.45rem;
  transition: transform .2s ease;
}

.faq-item.open .faq-button span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer p {
  padding: 0 0 24px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 60px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--secondary), #0d7291);
  color: white;
  box-shadow: var(--shadow-lg);
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 2px;
  right: -80px;
  top: 30%;
  transform: rotate(-15deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
}

.cta-panel::after {
  top: 66%;
  transform: rotate(8deg);
}

.cta-panel-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.cta-panel h2 {
  max-width: 680px;
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 700px;
  color: rgba(255, 255, 255, .76);
  margin: 0;
}

.cta-panel .button {
  background: white;
  color: var(--secondary) !important;
  box-shadow: none;
  white-space: nowrap;
}

.cta-panel .button:hover {
  background: #f1f7fa;
}

.page-hero{
    position: relative;
    overflow: hidden;
    padding:170px 0 100px;

    background:
        linear-gradient(
            lab(98.1% -0.63 -1.31 / 0.685),
            hwb(204 97% 1% / 0.281)
        ),
        var(--hero-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-home{
    --hero-image: url("assets/Hintergrund/home.jpg");
}

.hero-lasershows{
    --hero-image: url("Startseite/LeistungenHero.png");
}

.hero-drohnen{
    --hero-image: url("assets/Hintergrund/drohnen-hero.jpg");
}

.hero-projekte{
    --hero-image: url("Startseite/Amperium1.png");
}

.hero-ueber-uns{
    --hero-image: url("Startseite/Amperium5.png");
}

.hero-kontakt{
    --hero-image: url("Startseite/Amperium4.png");
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 2px;
  right: -120px;
  top: 54%;
  transform: rotate(-13deg);
  background: linear-gradient(90deg, transparent, hsla(281, 78%, 47%, 0), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.15rem;
}

.drone-hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: #08172b; }
.drone-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drone-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,17,35,.93) 0%, rgba(5,17,35,.72) 43%, rgba(5,17,35,.12) 78%); }
.drone-hero-content { position: relative; z-index: 1; padding-top: 85px; padding-bottom: 85px; color: white; }
.drone-hero-content .breadcrumb, .drone-hero-content .breadcrumb a { color: rgba(255,255,255,.7); }
.drone-hero-content h1 { max-width: 980px; }
.drone-hero-content .lead { max-width: 680px; color: rgba(255,255,255,.82); }
.drone-fact-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.drone-fact { display: grid; grid-template-columns: 145px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.drone-fact:last-child { border-bottom: 0; }
.drone-fact strong { color: var(--primary-dark); font-size: 1.6rem; }
.drone-fact span { color: var(--ink-soft); line-height: 1.55; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: .88rem;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.service-detail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail-number {
  color: var(--primary);
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.service-detail ul {
  columns: 2;
  column-gap: 40px;
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-showcase {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(18, 32, 51, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-showcase:hover {
  transform: translateY(-4px);
  border-color: #bdd7e1;
  box-shadow: var(--shadow-sm);
}

.service-gallery {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #17324b;
}

.service-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .55s ease, transform .7s ease;
}

.service-gallery img.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(18, 32, 51, .56);
  color: white;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.gallery-button:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

.gallery-button.prev {
  left: 16px;
}

.gallery-button.next {
  right: 16px;
}

.gallery-status {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(18, 32, 51, .62);
  color: white;
  font-size: .75rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.service-showcase-content {
  padding: 28px;
}

.service-showcase-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-showcase-number {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.service-showcase h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.service-showcase ul {
  margin-bottom: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
  color: var(--ink-soft);
}

.service-showcase li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-button {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #44556a;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.project-card.hidden {
  display: none;
}

.project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #17324b;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-content {
  padding: 24px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.project-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-size: .72rem;
  font-weight: 750;
}

.project-card p {
  min-height: 54px;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: #3c4d62;
}

.reference-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-soft);
}

.profile-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.profile-photo {
  min-height: 500px;
  overflow: hidden;
  border-radius: 22px;
  background: #18324a;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-copy {
  align-self: center;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.credential {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.credential strong {
  display: block;
  margin-bottom: 7px;
}

.credential span {
  color: var(--ink-soft);
  font-size: .88rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 50px;
  align-items: start;
}

.contact-card {
  padding: 30px;
}

.contact-method {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:last-child {
  border-bottom: 0;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.contact-method strong {
  display: block;
  margin-bottom: 3px;
}

.contact-method span,
.contact-method a {
  color: var(--ink-soft);
}

.contact-method a:hover {
  color: var(--primary-dark);
}

.form-card {
  padding: 34px;
}

.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.form-progress span {
  height: 6px;
  flex: 1;
  border-radius: 999px;
  background: #dce7ed;
}

.form-progress span.active {
  background: var(--primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fade .25s ease;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: #33445a;
  font-size: .9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd9e2;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 145px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(7, 136, 170, .1);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: .8rem;
}

.form-group.invalid .field-error {
  display: block;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--danger);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  border: 1px solid #ccd9e2;
  border-radius: 13px;
  background: #fbfdfe;
  cursor: pointer;
  transition: .2s ease;
}

.choice label strong {
  color: var(--ink);
}

.choice label span {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 500;
}

.choice input:checked+label {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(7, 136, 170, .08);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.form-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: .8rem;
}

.form-success {
  display: none;
  padding: 40px 10px;
  text-align: center;
}

.form-success.visible {
  display: block;
}
.form-submit-error { display: none; margin: 16px 0 0; color: #b42318; font-weight: 650; }
.form-submit-error.visible { display: block; }

.success-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e1f6ed;
  color: var(--success);
  font-size: 2rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 110px;
  padding: 20px;
}

.legal-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: .9rem;
}

.legal-nav a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.legal-content {
  padding: 36px;
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 1.65rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-note {
  margin-bottom: 30px;
  padding: 17px 19px;
  border-left: 4px solid var(--accent);
  border-radius: 9px;
  background: #fff7e8;
  color: #72551f;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(8, 18, 29, .91);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: white;
  font-size: 1.4rem;
}

.site-footer {
  padding: 72px 0 24px;
  background: #122033;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr .8fr 1fr;
  gap: 45px;
}

.site-footer .logo-copy span,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .65);
}

.site-footer a:hover {
  color: white;
}

.footer-title {
  margin-bottom: 15px;
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 750;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .drone-hero { min-height: 620px; }
  .main-nav {
    gap: 18px;
  }

  .main-nav a:not(.button) {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav.open {
    position: fixed;
    inset: 82px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px 20px 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(247, 249, 252, .98);
    box-shadow: var(--shadow-sm);
  }

  .main-nav.open a:not(.button) {
    display: block;
    padding: 13px 4px;
    font-size: 1.05rem;
  }

  .main-nav.open .button {
    margin-top: 8px;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 68px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2)::after {
    display: none;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: .4fr 1.6fr;
  }

  .service-showcase-grid {
    gap: 20px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 480px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .drone-hero { min-height: 620px; align-items: flex-end; }
  .drone-hero-overlay { background: linear-gradient(180deg, rgba(5,17,35,.2), rgba(5,17,35,.94) 60%); }
  .drone-hero-content { padding-top: 160px; padding-bottom: 65px; }
  .drone-fact { grid-template-columns: 1fr; gap: 7px; }
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .section-sm {
    padding: 56px 0;
  }

  .header-inner {
    height: 72px;
  }

  .main-nav.open {
    inset: 72px 0 auto;
  }

  .main-nav>.button {
    display: none;
  }

  .main-nav.open>.button {
    display: inline-flex;
  }

  .logo-mark {
    width: 64px;
    height: 38px;
  }

  .hero {
    padding: 52px 0 70px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-items,
  .grid-2,
  .grid-3,
  .grid-4,
  .project-grid,
  .process,
  .stats,
  .credential-grid,
  .form-grid,
  .choice-grid,
  .reference-list {
    grid-template-columns: 1fr;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .service-card p,
  .project-card p {
    min-height: 0;
  }

  .showreel {
    min-height: 430px;
    border-radius: 24px;
  }

  .showreel-content {
    padding: 28px 20px;
  }

  .split-image {
    min-height: 390px;
    border-radius: 24px;
  }

  .cta-panel {
    padding: 40px 25px;
    border-radius: 24px;
  }

  .cta-panel-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel .button {
    width: 100%;
  }

  .page-hero {
    padding: 64px 0 54px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-detail-number {
    font-size: 2.7rem;
  }

  .service-detail ul {
    columns: 1;
    padding-left: 20px;
  }

  .service-showcase-grid {
    grid-template-columns: 1fr;
  }

  .service-gallery {
    height: 245px;
  }

  .service-showcase-content {
    padding: 23px;
  }

  .service-showcase ul {
    columns: 1;
  }

  .profile-card,
  .contact-card,
  .form-card,
  .legal-content {
    padding: 22px;
  }

  .profile-photo {
    min-height: 380px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .legal-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .legal-nav a {
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: 1200;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 16px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 16px 44px rgba(18, 32, 51, .22);
    backdrop-filter: blur(13px);
  }

  .mobile-cta .button {
    min-height: 46px;
    padding: 0 12px;
    font-size: .88rem;
  }

  .site-footer {
    padding-bottom: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
