:root {
  --color-dark: #151a23;
  --color-dark-2: #1e2530;
  --color-accent: #f5c400;
  --color-accent-dark: #cfa600;
  --color-solar-blue: #2e86ab;
  --color-solar-green: #3fae5c;
  --color-light: #f7f8fa;
  --color-graysection: #e7e9ec;
  --color-white: #ffffff;
  --color-text: #2b303b;
  --color-text-muted: #5b6472;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 26, 35, 0.08);
  --container-width: 1140px;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --duration-press: 160ms;
  --duration-ui: 200ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards in a row cascade in instead of popping up all at once */
.services-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.services-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    transition: opacity 300ms ease;
  }
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(6px);
  color: var(--color-text);
  border-bottom: 1px solid rgba(21, 26, 35, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
}

.logo-badge img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

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

.main-nav a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color var(--duration-ui) ease;
}

.main-nav a:hover { color: var(--color-accent-dark); }

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-text-muted);
  border: 1px solid rgba(21, 26, 35, 0.15);
  transition: background var(--duration-ui) ease, color var(--duration-ui) ease, border-color var(--duration-ui) ease, transform var(--duration-press) var(--ease-out);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(21, 26, 35, 0.15);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background var(--duration-ui) ease, color var(--duration-ui) ease, border-color var(--duration-ui) ease, transform var(--duration-press) var(--ease-out);
}

.lang-switch:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.nav-social:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-dark) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background var(--duration-ui) ease, transform var(--duration-press) var(--ease-out);
}

.nav-cta:hover { background: var(--color-accent-dark); }

.nav-social:active,
.lang-switch:active,
.nav-cta:active,
.social-icon:active,
.gallery-arrow:active { transform: scale(0.95); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 250ms var(--ease-out), opacity 150ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--duration-press) var(--ease-out), background var(--duration-ui) ease, color var(--duration-ui) ease, border-color var(--duration-ui) ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
}

.btn:active { transform: scale(0.97); }

.btn:disabled { cursor: progress; opacity: 0.7; }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline {
  border-color: rgba(21, 26, 35, 0.25);
  color: var(--color-text);
}

.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }

.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/hero-bg.webp") center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: hero-settle 1400ms var(--ease-out) forwards;
}

@keyframes hero-settle { to { transform: scale(1); } }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.35) 0%, rgba(10, 13, 18, 0.55) 55%, rgba(10, 13, 18, 0.9) 100%);
}

.hero-inner {
  text-align: center;
  max-width: 880px;
  padding-top: 64px;
  padding-bottom: 64px;
}

/* Suchbegriff als erste Zeile der H1 – sieht aus wie eine Eyebrow-Zeile */
.hero h1 .hero-kicker {
  display: block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero .btn svg { margin-right: 8px; }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { border-color: var(--color-white); }

/* Staggered entrance of the hero content */
.hero-in {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-up 600ms var(--ease-out) forwards;
}

.hero-d1 { animation-delay: 60ms; }
.hero-d2 { animation-delay: 120ms; }
.hero-d3 { animation-delay: 180ms; }

@keyframes hero-up { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none; animation: none; }
  .hero-in { transform: none; animation: fade-in 300ms ease forwards; animation-delay: 0ms; }
}

.eyebrow {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.eyebrow.center { text-align: center; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--color-light); }
.section-dark {
  background: var(--color-graysection);
  color: var(--color-text);
}
.section-dark .eyebrow { color: var(--color-accent-dark); }
.section-dark a:not(.btn) { color: var(--color-accent-dark); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 16px;
}

.section-title.center { text-align: center; }

.section-lead {
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-lead.center { text-align: center; }
.section-dark .section-lead { color: var(--color-text-muted); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(21, 26, 35, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 196, 0, 0.12);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card:not(.service-card--highlight) {
  text-align: center;
}

.service-card:not(.service-card--highlight) .service-icon {
  margin-left: auto;
  margin-right: auto;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p {
  color: var(--color-text-muted);
  margin: 0;
}

.service-card--highlight {
  background: var(--color-graysection);
  color: var(--color-text);
  border: 2px solid var(--color-accent);
  grid-column: 1 / -1;
}

.service-card--highlight .service-icon {
  background: rgba(245, 196, 0, 0.18);
  color: var(--color-accent-dark);
}

.service-card--highlight p { color: var(--color-text-muted); }

.service-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
}

.service-points {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.service-points li { margin-bottom: 6px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  aspect-ratio: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Gallery */
.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px calc((100% - min(85vw, 560px)) / 2) 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-grid::-webkit-scrollbar { height: 6px; }
.gallery-grid::-webkit-scrollbar-thumb { background: rgba(21, 26, 35, 0.2); border-radius: 999px; }

.gallery-tile {
  position: relative;
  flex: 0 0 auto;
  width: min(85vw, 560px);
  aspect-ratio: 4/3;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
  background-size: cover;
}

.gallery-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(21, 26, 35, 0.15);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--duration-ui) ease, color var(--duration-ui) ease, transform var(--duration-press) var(--ease-out);
}

.gallery-arrow:hover { background: var(--color-accent); color: var(--color-dark); }

.gallery-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 8px 0 0;
}

@media (max-width: 640px) {
  .gallery-arrow { display: none; }
}

.gallery-tile--electric { background: linear-gradient(160deg, #2b3140, #151a23); }
.gallery-tile--solar { background: linear-gradient(160deg, var(--color-solar-blue), #1c5a75); }
.gallery-tile--drone { background: linear-gradient(160deg, var(--color-accent), var(--color-accent-dark)); color: var(--color-dark); }
.gallery-tile--home { background: linear-gradient(160deg, #3a4152, #20242e); }
.gallery-tile--light { background: linear-gradient(160deg, #e9b64f, var(--color-accent-dark)); color: var(--color-dark); }
.gallery-tile--outdoor { background: linear-gradient(160deg, var(--color-solar-green), #1f7a3d); }

.gallery-tile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 600ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-tile--photo:hover img { transform: scale(1.03); }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(245, 196, 0, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.map-placeholder {
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  background: var(--color-white);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Cookie consent modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 13, 18, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.is-visible {
  display: flex;
  animation: fade-in 250ms ease-out;
}

.cookie-modal.is-visible .cookie-modal-card {
  animation: modal-in 300ms var(--ease-out);
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
}

.cookie-modal-card {
  position: relative;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 4px;
  line-height: 0;
}

.cookie-modal-card h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.cookie-modal-card > p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.cookie-modal-card > p a { color: var(--color-accent-dark); }

.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(21, 26, 35, 0.1);
}

.cookie-category:first-of-type { border-top: none; padding-top: 0; }

.cookie-category-text h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cookie-category-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cookie-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  display: inline-block;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 35, 0.25);
  border-radius: 999px;
  transition: background var(--duration-ui) ease;
  cursor: pointer;
}

.cookie-toggle-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(21, 26, 35, 0.2);
  transition: transform var(--duration-ui) var(--ease-out);
}

.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-toggle-track::before {
  transform: translateX(18px);
}

.cookie-toggle input:disabled + .cookie-toggle-track {
  cursor: default;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cookie-modal-actions .btn {
  flex: 1 1 auto;
  padding: 12px 18px;
  font-size: 0.9rem;
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-dark:hover { background: var(--color-dark-2); }

.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.cookie-settings-link { transition: color var(--duration-ui) ease; }

.cookie-settings-link:hover { color: var(--color-accent); }

.contact-form {
  background: var(--color-white);
  border: 1px solid rgba(21, 26, 35, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(21, 26, 35, 0.15);
  background: var(--color-light);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--duration-ui) ease, box-shadow var(--duration-ui) ease, background var(--duration-ui) ease;
}

.form-row select option { color: var(--color-text); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.25);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  cursor: pointer;
}

.checkbox-label input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--color-accent);
}

.checkbox-label a { color: var(--color-accent); }

/* Drone request form */
.wizard {
  max-width: 560px;
  margin: 0 auto;
}

.drone-form {
  max-width: none;
  margin: 0;
}

.wizard-progress {
  height: 6px;
  background: rgba(21, 26, 35, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--color-accent);
  width: 100%;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.wizard-step-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.wizard-step { display: none; }
.wizard-step.active {
  display: block;
  animation: step-in 300ms var(--ease-out);
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(12px); }
}

.wizard-step h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--color-text);
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(21, 26, 35, 0.15);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color var(--duration-ui) ease, background var(--duration-ui) ease, transform var(--duration-press) var(--ease-out);
}

.wizard-option:active { transform: scale(0.98); }

.wizard-option input {
  accent-color: var(--color-accent);
}

.wizard-option:has(input:checked),
.wizard-option.is-selected {
  border-color: var(--color-accent);
  background: rgba(245, 196, 0, 0.14);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.wizard-nav .btn-primary { flex: 1; }

.form-hint {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.form-row--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback.is-success { display: block; color: var(--color-solar-green); animation: feedback-in 300ms var(--ease-out); }
.form-feedback.is-error { display: block; color: #d64545; animation: feedback-in 300ms var(--ease-out); }

@keyframes feedback-in {
  from { opacity: 0; transform: translateY(-4px); }
}
.form-feedback.is-error a { color: inherit; text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--color-light);
  color: var(--color-text-muted);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(21, 26, 35, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(21, 26, 35, 0.08);
}

.footer-inner .logo-text { color: var(--color-text); font-size: 1.1rem; }

.footer-inner .logo-badge img { height: 52px; }

.footer-inner p { font-size: 0.88rem; margin: 10px 0 0; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(21, 26, 35, 0.15);
  color: var(--color-text-muted);
  transition: background var(--duration-ui) ease, color var(--duration-ui) ease, border-color var(--duration-ui) ease, transform var(--duration-press) var(--ease-out);
}

.social-icon:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-self: center;
}

.footer-nav a { color: var(--color-text-muted); transition: color var(--duration-ui) ease; }

.footer-nav a:hover { color: var(--color-accent-dark); }

.footer-bottom {
  padding-top: 20px;
  font-size: 0.82rem;
  text-align: center;
}

/* Legal pages */
.legal-page {
  padding: 64px 0 96px;
  max-width: 780px;
  margin: 0 auto;
}

.legal-page h1 { margin-bottom: 8px; }
.legal-page h2 { margin-top: 40px; }
.legal-page .back-link { display: inline-block; margin-bottom: 32px; color: var(--color-accent-dark); font-weight: 600; }

/* Responsive */
@media (max-width: 860px) {
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: flex;
    border-top: 1px solid rgba(21, 26, 35, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms var(--ease-out), visibility 0s linear 150ms;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms var(--ease-out), visibility 0s;
  }

  .nav-toggle { display: flex; }

  .nav-cta { align-self: flex-start; }
}

/* Before/after thermal comparison slider */
.compare-slider {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  aspect-ratio: 1360 / 619;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.compare-img-after,
.compare-img-before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--color-white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(21, 26, 35, 0.15);
}

.compare-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow);
  transition: transform var(--duration-press) var(--ease-out);
}

.compare-slider.is-dragging .compare-handle-circle { transform: translate(-50%, -50%) scale(1.1); }

.compare-label {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.55);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.compare-label--left { left: 14px; }
.compare-label--right { right: 14px; }

@media (prefers-reduced-motion: reduce) {
  .wizard-step.active,
  .cookie-modal.is-visible .cookie-modal-card,
  .form-feedback.is-success,
  .form-feedback.is-error { animation: fade-in 200ms ease; }

  .main-nav,
  .main-nav.open { transform: none; }

  .gallery-tile--photo img { transition: none; }
}

/* ---------- Unterseite PV-Drohneninspektion ---------- */
.page-hero { background: var(--color-dark); color: var(--color-white); padding: 64px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 820px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero .hero-lead { margin-bottom: 28px; }
.breadcrumb { margin: 0 0 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--color-accent); }

.reasons { max-width: 560px; margin: 44px auto 0; padding: 26px 28px; background: var(--color-graysection); border: 2px solid var(--color-accent); border-radius: var(--radius); }
.reasons h3 { margin: 0 0 12px; font-size: 1.1rem; }

.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; background: var(--color-white); border: 1px solid rgba(21, 26, 35, 0.08); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-accent); color: var(--color-dark); font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--color-text-muted); }

.faq { max-width: 780px; margin: 32px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--color-white); border: 1px solid rgba(21, 26, 35, 0.1); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.3rem; font-weight: 700; color: var(--color-accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--color-text-muted); }

/* Unterseite PV-Drohneninspektion: Intro mit Foto, Wärmebild als Abbildung */
.page-hero .hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; text-align: left; }
.page-hero .hero-split h1 { margin-left: 0; max-width: none; }
.page-hero .hero-split .hero-lead { margin-left: 0; margin-right: 0; }
.page-hero .hero-split .hero-actions { justify-content: flex-start; }
.page-hero .hero-photo { margin: 0; }
.page-hero .hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
@media (max-width: 860px) {
  .page-hero .hero-split { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .page-hero .hero-split h1, .page-hero .hero-split .hero-lead { margin-left: auto; margin-right: auto; }
  .page-hero .hero-split .hero-actions { justify-content: center; }
  .page-hero .hero-photo img { aspect-ratio: 16 / 10; object-position: center 30%; }
}
.figure-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 36px auto 0; }
.figure-row figure { margin: 0; }
.figure-row img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.figure-row figcaption { margin-top: 10px; text-align: center; font-size: 0.85rem; color: var(--color-text-muted); }
.figure-row + .services-grid { margin-top: 36px; }
@media (max-width: 860px) { .figure-row { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.examples { margin: 48px auto 0; text-align: center; }
.examples h3 { margin: 0 0 10px; font-size: 1.2rem; }
.examples > p { margin: 0 auto 24px; max-width: 640px; color: var(--color-text-muted); }
.gallery-tile--captioned::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(10, 13, 18, 0.78) 0%, rgba(10, 13, 18, 0) 45%); pointer-events: none; }
.gallery-caption { position: relative; z-index: 1; font-size: 1rem; line-height: 1.35; text-align: left; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.trust-line { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.trust-line span::before { content: "✓"; margin-right: 6px; color: var(--color-accent); font-weight: 700; }
@media (max-width: 860px) { .trust-line { justify-content: center; } }
.service-card--highlight .trust-line { color: var(--color-text-muted); margin-top: 18px; justify-content: flex-start; }
