/* Boomlader Landingpage – Meis Baumaschinen */

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #4a4a4a;
  --color-accent: #ef8317;
  --color-accent-dark: #c96d12;
  --color-header-bg: #ef8317;
  --color-header-text: #ffffff;
  --color-footer-bg: #3d3d3d;
  --color-footer-text: #ffffff;
  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-cta-bg: #1a1a1a;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 4.5rem;
  --radius: 0.5rem;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
  --container: min(72rem, 100% - 2rem);
  --focus-ring: 0 0 0 3px #ffffff, 0 0 0 5px var(--color-accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: var(--color-header-text);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  color: var(--color-header-text);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  line-height: 0;
}

.logo img {
  height: 2.75rem;
  width: auto;
  max-width: min(280px, 60vw);
  object-fit: contain;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--color-header-text);
  text-decoration: none;
  font-weight: 600;
}

.nav-desktop a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.btn-header {
  display: none;
  background: var(--color-header-text);
  color: var(--color-accent-dark);
}

.btn-header:hover {
  background: #f5f5f5;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-header-text);
  border-color: var(--color-accent);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-header-text);
  border-color: var(--color-header-text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-light {
  background: var(--color-accent);
  color: var(--color-header-text);
}

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

.btn-light-outline {
  background: transparent;
  color: var(--color-footer-text);
  border-color: var(--color-footer-text);
}

.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

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

.nav-toggle-bar {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-header-text);
  margin-inline: auto;
  transition: transform var(--transition), opacity var(--transition);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--color-overlay);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.mobile-menu nav a {
  display: block;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-header-text);
  text-decoration: none;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-header-text);
  border-radius: 50%;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  color: var(--color-header-text);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video,
.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  display: none;
}

.hero.has-video .hero-video {
  display: block;
}

.hero.has-video .hero-fallback {
  display: none;
}

/* Hero: auf Mobil nur Bild, kein Video */
@media (max-width: 767px) {
  .hero-video {
    display: none !important;
  }

  .hero-fallback {
    display: block !important;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 5rem;
  max-width: 42rem;
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  color: var(--color-header-text);
}

.hero-subline {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
}

.hero-text {
  margin: 0 0 1rem;
  opacity: 0.95;
}

.hero-highlights {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  opacity: 0.95;
}

.hero-highlights li {
  margin-bottom: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--color-header-text);
  text-decoration: none;
  animation: bounce 2s infinite;
}

.scroll-indicator-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-accent);
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  max-width: 40rem;
}

/* Fließtext-Sektionen: Text + Bild (wechselnd) */
.section-split-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.section-split--alt {
  background: #f8f8f8;
}

.section-split-media {
  margin: 0;
}

.section-split-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.section-split-content .section-intro {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .section-split--reverse .section-split-media {
    order: -1;
  }
}

/* Content blocks */
.content-narrow {
  max-width: 48rem;
}

.content-block--alt {
  background: #f8f8f8;
}

.lead {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.content-subheading {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--color-accent);
}

.content-subheading--inline {
  margin-top: 0;
}

.cta-inline {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-cta {
  justify-content: center;
  margin-top: 2rem;
}

.btn-on-light {
  background: transparent;
  color: var(--color-accent-dark);
  border: 2px solid var(--color-accent);
}

.btn-on-light:hover {
  background: var(--color-accent);
  color: var(--color-header-text);
}

.spec-note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.hero h1 sup,
.section h2 sup,
.content-block sup {
  font-size: 0.55em;
  vertical-align: super;
}

.nav-desktop ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

@media (min-width: 1101px) {
  .nav-desktop ul {
    gap: 1rem 1.25rem;
  }
}

/* Spec cards */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.spec-card {
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: var(--radius);
  border: 1px solid #eee;
  transition: transform var(--transition), box-shadow var(--transition);
}

.spec-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.spec-icon {
  display: block;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.spec-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--color-text);
}

.spec-value {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* Vorteile */
.vorteile {
  background: #f8f8f8;
}

.vorteile-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vorteile-list li {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  position: relative;
}

.vorteile-list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  color: var(--color-accent);
  font-weight: 700;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-trigger img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.03);
}

.gallery-subheading {
  margin: 2.5rem 0 1rem;
  font-size: 1.15rem;
  color: var(--color-accent);
}

.gallery-subheading:first-of-type {
  margin-top: 0;
}

.gallery-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-header-text);
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: background var(--transition);
}

.gallery-play::before {
  content: "";
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.gallery-play::after {
  content: "";
  position: absolute;
  margin-left: 0.35rem;
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent #fff;
}

.gallery-trigger:hover .gallery-play {
  background: rgba(0, 0, 0, 0.5);
}

/* Einsatz */
.einsatz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.einsatz-card {
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}

.einsatz-card:hover {
  box-shadow: var(--shadow);
}

.einsatz-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  background: var(--color-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.einsatz-icon--industrie {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 21V8l9-5 9 5v13H3zm2-2h14V9.2L12 5.4 5 9.2V19zm4-4h2v2H9v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 21V8l9-5 9 5v13H3zm2-2h14V9.2L12 5.4 5 9.2V19zm4-4h2v2H9v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.einsatz-icon--stahl {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 18h16v2H4v-2zm2-6h12l-1-8H7l-1 8zm2.5-6h7l.5 4h-8l.5-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 18h16v2H4v-2zm2-6h12l-1-8H7l-1 8zm2.5-6h7l.5 4h-8l.5-4z'/%3E%3C/svg%3E");
}

.einsatz-icon--fassade {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2L2 9v13h20V9l-10-7zm0 2.5L18.5 10v10h-13V10L12 4.5zM8 14h2v5H8v-5zm4 0h2v5h-2v-5zm4 0h2v5h-2v-5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2L2 9v13h20V9l-10-7zm0 2.5L18.5 10v10h-13V10L12 4.5zM8 14h2v5H8v-5zm4 0h2v5h-2v-5zm4 0h2v5h-2v-5z'/%3E%3C/svg%3E");
}

.einsatz-icon--wartung {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.7 19.3l-1.4-1.4 1.3-1.3-1.4-1.4-1.3 1.3-1.4-1.4 1.4-1.4-1.4-1.4-1.4 1.4-2.1-2.1a6 6 0 10-1.4 1.4l2.1 2.1-1.4 1.4 1.4 1.4 1.4-1.4 1.3 1.3 1.4-1.4-1.3-1.3 1.4-1.4zM8 14a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.7 19.3l-1.4-1.4 1.3-1.3-1.4-1.4-1.3 1.3-1.4-1.4 1.4-1.4-1.4-1.4-1.4 1.4-2.1-2.1a6 6 0 10-1.4 1.4l2.1 2.1-1.4 1.4 1.4 1.4 1.4-1.4 1.3 1.3 1.4-1.4-1.3-1.3 1.4-1.4zM8 14a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E");
}

.einsatz-icon--sonder {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm13 0h5v2h-5v-2zm0 4h5v2h-5v-2zm-3 4h8v2h-8v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm13 0h5v2h-5v-2zm0 4h5v2h-5v-2zm-3 4h8v2h-8v-2z'/%3E%3C/svg%3E");
}

.einsatz-icon--feuerwehr {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 23c-3-4.5-7-7.5-7-11a7 7 0 0114 0c0 3.5-4 6.5-7 11zm0-14a2.5 2.5 0 100-5 2.5 2.5 0 000 5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 23c-3-4.5-7-7.5-7-11a7 7 0 0114 0c0 3.5-4 6.5-7 11zm0-14a2.5 2.5 0 100-5 2.5 2.5 0 000 5z'/%3E%3C/svg%3E");
}

.einsatz-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.einsatz-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-band {
  background: var(--color-cta-bg);
  color: var(--color-footer-text);
}

.cta-band h2 {
  color: var(--color-accent);
}

.cta-inner {
  text-align: center;
}

.cta-address {
  font-style: normal;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.cta-address a {
  color: var(--color-footer-text);
  text-decoration: none;
}

.cta-address a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.mobile-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(20rem, 90vw);
}

.mobile-menu-ctas .btn-secondary {
  background: transparent;
  color: var(--color-header-text);
  border-color: var(--color-header-text);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.5rem 0 1.25rem;
}

.site-footer a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.site-footer a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer sup {
  font-size: 0.65em;
}

.footer-top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  background: #ffffff;
  border-radius: var(--radius);
  line-height: 0;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.footer-address {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  opacity: 0.92;
}

.footer-links-inline {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.footer-website {
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.75;
  text-align: center;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-meta a {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-meta a:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 2.5rem;
  }

  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-meta {
    justify-content: flex-end;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-content img,
.lightbox-content video {
  max-height: 80vh;
  max-width: 100%;
  margin: 0 auto;
}

.lightbox-caption {
  color: #fff;
  margin: 1rem 0 0;
  text-align: center;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-panel {
  position: relative;
  width: min(28rem, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
}

.modal h2 {
  margin-top: 0;
  color: var(--color-accent);
}

.modal-intro {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: var(--radius);
}

.form-hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-group-checkbox input {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-group-checkbox label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-status--success {
  background: #e8f5e9;
  color: #1b5e20;
}

.form-status--error {
  background: #ffebee;
  color: #b71c1c;
}

/* Legal pages */
.legal-page .header-inner .btn-header {
  display: inline-flex;
}

.legal-content {
  padding-top: calc(var(--header-height) + 2rem);
}

.legal-content h1 {
  color: var(--color-accent);
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  color: var(--color-text);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Tablet */
@media (min-width: 768px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

}

/* Desktop navigation (mehr Menüpunkte) */
@media (min-width: 1101px) {
  .nav-desktop {
    display: block;
  }

  .btn-header {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .section {
    padding: 5rem 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator {
    animation: none;
  }
}
