:root {
  --ink: #142033;
  --muted: #5f6f86;
  --line: #d8e2ee;
  --blue: #0b57d0;
  --green: #23845a;
  --ice: #eef5fb;
  --soft: #f7fafc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(21, 38, 65, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1360px, calc(100% - 28px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.brand img { width: 70px; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 18px; color: #26384f; font-size: 15px; font-weight: 700; }
.links a[aria-current="page"] { color: var(--blue); }
.action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(11,87,208,.22);
}
.ghost { background: #fff; color: var(--blue); border: 1px solid #adc6ea; box-shadow: none; }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, .92), rgba(11, 31, 58, .56), rgba(11, 31, 58, .2)),
    url("../images/pv-drohne-thermografie.png") center/cover no-repeat;
  color: #fff;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 42px;
  align-items: center;
  padding: 76px 0 96px;
}
.hero-inner { max-width: 780px; }
.hero-video {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,.26);
  backdrop-filter: blur(10px);
}
.hero-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #10243d;
}
.eyebrow { color: #bfe2d3; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5vw, 66px); max-width: 820px; }
h2 { font-size: clamp(30px, 4vw, 50px); }
h3 { font-size: 23px; }
.lead { font-size: clamp(18px, 2vw, 23px); color: #eaf3ff; max-width: 720px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.section { padding: 76px 0; }
.section.white { background: #fff; }
.section.tint { background: var(--ice); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.head p { max-width: 560px; color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p, .panel p, li { color: var(--muted); }
.card img { height: 210px; width: 100%; object-fit: cover; border-radius: 6px; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.split img, .wide-image { width: 100%; border-radius: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.proof-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 22px; align-items: center; }
.proof-row img { background: #fff; padding: 14px; object-fit: contain; }
.service-link { display: block; transition: transform .18s ease, box-shadow .18s ease; }
.service-link:hover { transform: translateY(-3px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.fact { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); padding: 18px; border-radius: 8px; }
.fact strong { display: block; font-size: 26px; }

.page-hero { padding: 74px 0; background: #10243d; color: #fff; }
.page-hero p { color: #dce8f7; max-width: 760px; font-size: 20px; }
.contact-box { display: grid; grid-template-columns: 1fr .8fr; gap: 24px; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { font-weight: 800; color: #24384f; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 6px 0;
}
.contact-form legend {
  padding: 0 8px;
  font-weight: 900;
  color: #24384f;
}
.contact-form input[name="website"] { position: absolute; left: -10000px; height: 1px; width: 1px; opacity: 0; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.checkline { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 8px 0; font-weight: 500; }
.checkline input { width: 18px; min-height: 18px; margin-top: 4px; }
.checkline a { color: var(--blue); text-decoration: underline; }
.form-status { margin: 4px 0 0; color: var(--muted); font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.error { color: #b42318; }
.contact-details { margin-top: 18px; }
.legal { max-width: 920px; }
.legal h2 { font-size: 28px; margin-top: 34px; }
.legal a { color: var(--blue); text-decoration: underline; }

.footer {
  background: #10243d;
  color: #d7e4f1;
  padding: 34px 0;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { text-decoration: underline; }

@media (max-width: 980px) {
  .links { display: none; }
  .head, .split, .contact-box { display: block; }
  .hero-layout { grid-template-columns: 1fr; padding: 58px 0 84px; }
  .hero-video { max-width: 720px; }
  .grid, .grid.two, .grid.four, .facts { grid-template-columns: 1fr 1fr; }
  .proof-row { grid-template-columns: 1fr; }
  .split img { margin-top: 20px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand img { width: 58px; }
  .grid, .grid.two, .grid.four, .facts { grid-template-columns: 1fr; }
  .actions { display: grid; }
  .action { width: 100%; }
  .hero-layout { padding: 44px 0 70px; }
  .footer .wrap { display: block; }
  .option-grid { grid-template-columns: 1fr; }
}

.hero-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 460px);
}
.hero-video {
  justify-self: end;
  width: 100%;
}
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-video { justify-self: start; max-width: 720px; }
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(20, 32, 51, .48);
}
.mobile-menu-backdrop[hidden] { display: none; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(86vw, 360px);
  height: 100vh;
  padding: 22px;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 45px rgba(21, 38, 65, .18);
  transform: translateX(100%);
  transition: transform .22s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 900;
  color: var(--ink);
}
.menu-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu-links {
  display: grid;
  gap: 4px;
}
.mobile-menu-links a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: #26384f;
  font-weight: 800;
}
.mobile-menu-links a[aria-current="page"] { color: var(--blue); }
body.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .topbar { z-index: 30; }
  .nav { min-height: 72px; gap: 12px; }
  .nav > .action { display: none; }
  .menu-toggle { display: inline-flex; flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .brand { min-width: 0; gap: 10px; }
  .brand span { min-width: 0; font-size: 15px; line-height: 1.15; }
  .brand small { font-size: 10px; }
  .mobile-menu .action { width: 100%; }
}
