/* ============================================================
   DGI — Design tokens
   "Nacht" (default) + "Tag" theme toggle — day/night VFR conditions,
   a real distinction in drone ops, not decoration.
   ============================================================ */
:root {
  --bg-deep: #0d1b2e;
  --bg-panel: #16283f;
  --bg-panel-raised: #1e3350;
  --line: #2a4361;
  --ink: #eef3fa;
  --mist: #9fb3cc;
  --accent: #2f8fef;
  --accent-2: #22d3ee;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius: 6px;
}

[data-theme="light"] {
  --bg-deep: #eaf2fb;
  --bg-panel: #ffffff;
  --bg-panel-raised: #dee9f7;
  --line: #c7dbef;
  --ink: #0d1b2e;
  --mist: #4d6584;
  --accent: #1f6fd1;
  --accent-2: #0891b2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: block;
  margin-bottom: 0.75rem;
}
.eyebrow .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.4em;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { color: var(--mist); margin: 0 0 1rem; }

section { padding: 6rem 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #06111f; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--mist); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   Viewfinder corner brackets — fixed to viewport, subtle, page-wide
   ============================================================ */
.corner {
  position: fixed;
  width: 26px; height: 26px;
  border: none;
  z-index: 60;
  pointer-events: none;
  opacity: 0.55;
}
.corner.tl { top: 14px; left: 14px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.corner.tr { top: 14px; right: 14px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.corner.bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.corner.br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
@media (max-width: 600px) { .corner { display: none; } }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-deep) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  gap: 1rem;
}
.nav-logo-block { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.nav-logo .dot { color: var(--accent); }
.nav-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--mist);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { display: none; }

.theme-toggle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
}

.nav-toggle {
  display: block;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

@media (min-width: 880px) {
  .nav-cta { display: inline-flex; }
  .theme-toggle { display: inline-block; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}
@media (max-width: 879px) {
  .nav-links {
    position: fixed;
    inset: 4.25rem 0 0 0;
    flex-direction: column;
    background: var(--bg-deep);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  body.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { font-size: 1.1rem; }
  body.nav-open .theme-toggle { display: inline-block; margin: 0 1.5rem 1rem; }
}

/* ============================================================
   Hero — centered, background art, viewfinder framing
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  text-align: center;
  background: var(--bg-deep);
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 50% -10%, color-mix(in srgb, var(--accent) 22%, var(--bg-deep)) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-panel) 140%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 15%, black 15%, transparent 70%);
}
.hero-skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  opacity: 1;
}
.hero-skyline svg { width: 100%; height: 100%; display: block; }
.hero-skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-deep) 55%, transparent) 0%, var(--bg-deep) 100%);
}

/* Mobile Fix: Hide hero skyline image on mobile viewports */
@media (max-width: 768px) {
  .hero-skyline {
    display: none !important;
  }
}

.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }

.hero-mark {
  width: 34px; height: 34px;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.hero h1 {
  margin-bottom: 0.5rem;
}
.hero .subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--accent-2);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.hero p.lead {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; justify-content: center; }

.hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3.5rem;
  justify-content: center;
}
.hud-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
}
.hud-chip strong { color: var(--ink); }

/* ============================================================
   Section heading shared layout
   ============================================================ */
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ============================================================
   Services (Leistungen)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--mist); transform: translateY(-2px); }
.card-media {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.75rem;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.card-media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg, var(--t1, var(--bg-panel-raised)), var(--bg-deep));
  opacity: 0.25;
  pointer-events: none;
}
.pill {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  background: color-mix(in srgb, var(--bg-deep) 60%, transparent);
  border: 1px solid var(--line);
  color: var(--mist);
}
.pill.active { background: var(--accent-2); color: #06111f; border-color: transparent; }
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-body p { font-size: 0.9rem; margin-bottom: 0; }

/* ============================================================
   Drei Klassen (rental tiers)
   ============================================================ */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.class-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.class-card.featured { border-color: var(--accent); background: var(--bg-panel-raised); }
.class-card.featured::before {
  content: "★ MEISTGEBUCHT";
  position: absolute;
  top: -0.7rem; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #06111f;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  white-space: nowrap;
}
.class-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.4rem; }
.class-tag-group { font-family: var(--font-mono); font-size: 0.68rem; color: var(--mist); letter-spacing: 0.04em; }
.class-badge {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.05em;
  border: 1px solid var(--line); padding: 0.2rem 0.55rem; border-radius: 3px; color: var(--accent-2);
}
.drone-icon { width: 100%; max-width: 160px; margin: 1rem auto; opacity: 0.9; }
.spec-list { list-style: none; margin: 0.5rem 0 1.25rem; padding: 0; }
.spec-list li {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--mist);
  padding: 0.5rem 0; border-top: 1px solid var(--line);
}
.spec-list li:first-child { border-top: none; }
.spec-list li strong { color: var(--ink); font-weight: 500; font-family: var(--font-mono); }
.class-price { font-family: var(--font-display); font-size: 1.9rem; margin: 0.25rem 0 1.25rem; }
.class-price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--mist); }
.class-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); margin-top: 0.75rem; text-align: center; }

/* ============================================================
   Showreel — horizontal slider (FIXED)
   ============================================================ */
.showreel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.showreel-track::-webkit-scrollbar { display: none; }

.reel-tile {
  flex: 0 0 260px;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.reel-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* FIX: Subtle pattern overlay that lets background-image show through */
.reel-tile::before {
  content: ""; 
  position: absolute; 
  inset: 0;
  background: repeating-radial-gradient(
    circle at 75% 30%, 
    transparent 0px, 
    transparent 13px, 
    color-mix(in srgb, var(--accent-2) 20%, transparent) 14px, 
    transparent 15px
  );
  opacity: 0.4;
  pointer-events: none;
}

/* FIX: Dark gradient at bottom for text contrast without hiding image */
.reel-tile::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(0deg, rgba(6, 17, 31, 0.8) 0%, rgba(6, 17, 31, 0.1) 60%, transparent 100%);
  pointer-events: none;
}

.reel-tile .tile-label { 
  position: relative; 
  z-index: 2; 
  font-family: var(--font-mono); 
  font-size: 0.75rem; 
  color: var(--ink);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.reel-tile .tile-label .cat { color: var(--accent-2); }

.reel-tile .play {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  background: rgba(13, 27, 46, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.reel-tile:hover .play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  border-color: var(--accent);
}

.reel-tile .play::before { 
  content: ""; 
  border-style: solid; 
  border-width: 6px 0 6px 9px; 
  border-color: transparent transparent transparent var(--ink); 
  margin-left: 2px; 
}

.reel-controls { display: flex; gap: 0.6rem; }
.reel-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.reel-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Ablauf — compact step strip
   ============================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 780px) { .steps-row { grid-template-columns: 1fr 1fr; } }
.step { border-top: 2px solid var(--line); padding-top: 1rem; }
.step.active-step { border-top-color: var(--accent); }
.step .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-2); }
.step h3 { font-size: 1rem; margin: 0.4rem 0 0.3rem; }
.step p { font-size: 0.85rem; margin: 0; }

/* ============================================================
   Contact / form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
form { display: flex; flex-direction: column; gap: 1rem; }
label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { resize: vertical; min-height: 110px; }
.form-status { font-family: var(--font-mono); font-size: 0.82rem; min-height: 1.2rem; }

/* ============================================================
   Footer
   ============================================================ */
footer { background: var(--bg-panel); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
footer h4 {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--mist); text-transform: uppercase; margin: 0 0 1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
footer a { text-decoration: none; color: var(--ink); font-size: 0.9rem; }
footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: var(--mist);
}

/* ============================================================
   Rental configurator (shop.html)
   ============================================================ */
.configurator { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .configurator { grid-template-columns: 1fr; } }
.config-option {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 1rem; margin-bottom: 0.6rem; cursor: pointer;
}
.config-option.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-panel)); }
.config-option input { width: auto; margin-right: 0.75rem; }
.config-option label { margin: 0; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); text-transform: none; letter-spacing: normal; display: flex; align-items: center; cursor: pointer; }
.price-summary {
  background: var(--bg-panel-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; margin-top: 1rem;
}
.price-summary .row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--mist); padding: 0.35rem 0; }
.price-summary .total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.4rem; margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }

/* ============================================================
   Service card icon + pill row (Leistungen)
   ============================================================ */
.card-media { display: flex; align-items: center; justify-content: center; }
.pill-row { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.card-icon { width: 42px; height: 42px; position: relative; z-index: 1; opacity: 0.9; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist);
  display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   Product page (shop.html) — gallery, tiered pricing, date logic
   ============================================================ */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

.gallery-main {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.gallery-main svg { width: 100%; max-width: 260px; }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.gallery-thumb {
  width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg-panel); cursor: pointer; padding: 0.5rem;
  display: flex; align-items: center; justify-content: center;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb svg { width: 100%; }

.thumb img, .gallery-main img {
  position: relative;
  z-index: 1;
}

.tier-list { list-style: none; padding: 0; margin: 1rem 0; }
.tier-list li {
  font-size: 0.88rem; color: var(--mist); padding: 0.4rem 0 0.4rem 1.2rem; position: relative;
}
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); }

.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 480px) { .date-row { grid-template-columns: 1fr; } }

.qty-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.qty-row input { width: 70px; text-align: center; }

.addon-mini {
  display: flex; align-items: center; gap: 0.75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.6rem 0.85rem; margin-bottom: 0.5rem; cursor: pointer;
}
.addon-mini.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-panel)); }
.addon-mini input { width: auto; }
.addon-mini .addon-icon { width: 22px; height: 22px; flex-shrink: 0; opacity: 0.85; }
.addon-mini .addon-name { flex-grow: 1; font-size: 0.88rem; }
.addon-mini .addon-price { font-family: var(--font-mono); font-size: 0.78rem; color: var(--mist); }

.deposit-note {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--mist);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; margin-top: 1rem;
}

.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.88rem; }
.spec-table td { padding: 0.6rem 0; border-top: 1px solid var(--line); color: var(--mist); }
.spec-table td:first-child { color: var(--ink); font-family: var(--font-mono); width: 40%; }

.included-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.included-list li { font-size: 0.9rem; color: var(--mist); padding: 0.3rem 0; }
.included-list li::before { content: "— "; color: var(--accent-2); }

.usage-note {
  font-size: 0.85rem; background: var(--bg-panel-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.25rem;
}

/* Mobile Fix for Date Inputs */
input[type="date"] {
  font-size: 16px !important;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  padding: 0.2rem;
}


/* Container und Styling für Produktbilder in den Miet-Karten */
.drone-img-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.drone-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.class-card:hover .drone-image {
  transform: scale(1.05) translateY(-3px);
}

/* ============================================================
   Sub-page hero (Hochzeiten / Immobilien)
   ============================================================ */
.subhero {
  position: relative; overflow: hidden; padding: 5rem 0 4rem; text-align: center;
  background: radial-gradient(ellipse 900px 500px at 50% -10%, color-mix(in srgb, var(--accent) 18%, var(--bg-deep)) 0%, transparent 65%), var(--bg-deep);
}
.subhero-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; opacity: 0.9; }
.subhero .lead { max-width: 56ch; margin: 0 auto 2rem; }

/* ============================================================
   Category grid + sort bar
   ============================================================ */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--mist);
}
.sort-select {
  background: var(--bg-panel); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--font-mono); font-size: 0.78rem; padding: 0.45rem 0.7rem; border-radius: var(--radius);
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.product-card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card .thumb { aspect-ratio: 4/3; position: relative; display: flex; align-items: center; justify-content: center; }
.product-card .thumb::before { content:""; position:absolute; inset:0; background: linear-gradient(155deg, var(--t1, var(--bg-panel-raised)), var(--bg-deep)); }
.product-card .thumb svg { position: relative; z-index: 1; width: 60%; }
.product-card .info { padding: 1.25rem 1.5rem; }
.product-card .price-line { font-family: var(--font-display); font-size: 1.2rem; margin: 0.4rem 0; }
.product-card .price-line small { font-family: var(--font-body); font-size: 0.8rem; color: var(--mist); }

.aerial-pattern {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.35; pointer-events: none;
}

/* ============================================================
   Deposit note, tiered price note, FAQ accordion
   ============================================================ */
.note-box {
  border: 1px solid var(--line); border-left: 3px solid var(--accent-2);
  background: var(--bg-panel); padding: 0.85rem 1rem; border-radius: 4px;
  font-size: 0.85rem; color: var(--mist); margin: 1rem 0;
}
.tier-note { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-2); margin: 0.5rem 0 1rem; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--ink);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  padding: 1rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 1.1rem; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 1rem; font-size: 0.88rem; }

input[type="date"] { color-scheme: dark; }
[data-theme="light"] input[type="date"] { color-scheme: light; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
}