/* ==========================================================
   3D DJI Mission Planner – Online-Handbuch
========================================================== */

:root {
  --page-background: #e4e8ed;
  --surface: #ffffff;
  --surface-soft: #f4f6f8;
  --header: #2f3b52;
  --header-text: #ffffff;
  --text: #2c3440;
  --text-soft: #687382;
  --border: #d2d7de;
  --accent: #1f77ff;
  --accent-dark: #145fcf;
  --warning: #fff4d8;
  --warning-border: #d79b12;
  --navigation-width: 280px;
  --header-height: 64px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--page-background);
  color: var(--text);

  font-family:
    "Segoe UI",
    Arial,
    sans-serif;

  line-height: 1.65;
}

/* ==========================================================
   Header
========================================================== */

.manualHeader {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: var(--header-height);

  background: var(--header);
  color: var(--header-text);

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.manualHeaderInner {
  display: flex;
  align-items: center;

  width: min(1400px, 100%);
  height: 100%;

  margin: 0 auto;
  padding: 0 24px;
}

.manualBrand {
  color: inherit;

  font-size: 19px;
  font-weight: 700;

  text-decoration: none;
}

.manualVersion {
  margin-left: auto;

  color: #d6dce5;

  font-size: 13px;
}

.navigationToggle {
  display: none;

  width: 40px;
  height: 40px;

  margin-left: 14px;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;

  background: transparent;
  color: #ffffff;

  font-size: 22px;
  cursor: pointer;
}

/* ==========================================================
   Hauptlayout
========================================================== */

.manualLayout {
  display: grid;

  grid-template-columns:
    var(--navigation-width)
    minmax(0, 1fr);

  width: min(1400px, 100%);
  margin: 0 auto;
}

/* ==========================================================
   Navigation
========================================================== */

.manualNavigation {
  position: sticky;
  top: var(--header-height);

  height: calc(100vh - var(--header-height));

  padding: 28px 20px;

  overflow-y: auto;

  background: #d5dae1;
  border-right: 1px solid #c3c9d1;
}

.navigationTitle {
  margin-bottom: 13px;

  color: #3b4654;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.manualNavigation nav {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.manualNavigation a {
  padding: 8px 10px;

  border-radius: 6px;

  color: #34404e;

  font-size: 14px;
  text-decoration: none;

  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.manualNavigation a:hover,
.manualNavigation a.isActive {
  background: var(--surface);
  color: var(--accent-dark);
}

/* ==========================================================
   Inhaltsbereich
========================================================== */

.manualContent {
  min-width: 0;

  padding: 38px;
}

.manualSection {
  scroll-margin-top: calc(var(--header-height) + 20px);

  margin-bottom: 28px;
  padding: 34px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--surface);

  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.07);
}

.heroSection {
  padding-top: 50px;
  padding-bottom: 50px;
}

.sectionKicker,
.sectionNumber {
  margin: 0 0 8px;

  color: var(--accent-dark);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;

  color: #263342;
}

h1 {
  margin-bottom: 14px;

  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

h2 {
  margin-bottom: 16px;

  font-size: clamp(25px, 3vw, 34px);
}

h3 {
  margin-bottom: 5px;

  font-size: 16px;
}

p {
  margin-top: 0;
}

.sectionIntro {
  max-width: 760px;

  margin-bottom: 22px;

  color: var(--text-soft);

  font-size: 18px;
}

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

code {
  padding: 2px 6px;

  border-radius: 4px;

  background: #e7ebf0;
}

/* ==========================================================
   Screenshot-Platzhalter
========================================================== */

.screenshotLink {
  display: block;

  margin: 24px 0;

  color: inherit;
  text-decoration: none;
}

.screenshotPlaceholder {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 360px;

  padding: 35px;

  border: 2px dashed #aab2bc;
  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      #f4f6f8,
      #e8ecf1
    );

  color: #657181;
  text-align: center;

  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.manualScreenshot {

    display: block;

    width: 100%;

    border-radius: 10px;

    border: 1px solid #cfd6dd;

    box-shadow: 0 8px 24px rgba(0,0,0,.15);

    cursor: zoom-in;

}egpunkttabel


.screenshotLink:hover .screenshotPlaceholder {
  border-color: var(--accent);

  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(31, 119, 255, 0.12);
}

.screenshotPlaceholder strong {
  margin-bottom: 6px;

  color: #354252;

  font-size: 20px;
}

.screenshotPlaceholder span:not(.placeholderNumber) {
  font-family: Consolas, monospace;
  font-size: 13px;
}

.screenshotPlaceholder small {
  max-width: 650px;

  margin-top: 14px;
}

.placeholderNumber {
  position: absolute;
  top: 16px;
  left: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: var(--accent);
  color: #ffffff;

  font-weight: 700;
}

/* ==========================================================
   Funktionsübersicht
========================================================== */

.featureGrid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;

  margin-top: 26px;
}

.featureItem {
  display: block;

  padding: 16px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: var(--surface-soft);
}

.featureItem > span {
  display: block;
  margin-top: 6px;
  color: var(--accent-dark);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.featureItem p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;
}

/* ==========================================================
   Listen und Infoboxen
========================================================== */

.stepList,
.plainList {
  padding-left: 24px;
}

.stepList li,
.plainList li {
  margin-bottom: 8px;
}

.infoBox,
.warningBox {
  margin: 20px 0;
  padding: 16px 18px;

  border-radius: 8px;
}

.infoBox {
  border-left: 4px solid var(--accent);

  background: #eaf3ff;
}

.warningBox {
  border-left: 4px solid var(--warning-border);

  background: var(--warning);
}

/* ==========================================================
   Kapitel-Navigation
========================================================== */

.nextChapter,
.backToTop {
  display: inline-flex;

  margin-top: 22px;
  padding: 10px 15px;

  border-radius: 7px;

  background: var(--header);
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  transition: background 0.18s ease;
}

.nextChapter:hover,
.backToTop:hover {
  background: var(--accent-dark);
}

/* ==========================================================
   Bild-Vollansicht
========================================================== */

.imageLightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 35px;

  background: rgba(10, 15, 22, 0.92);
}

.imageLightbox.isOpen {
  display: flex;
}

.imageLightbox figure {
  max-width: 95vw;
  max-height: 92vh;

  margin: 0;

  text-align: center;
}

.imageLightbox img {
  display: block;

  max-width: 95vw;
  max-height: 84vh;

  margin: auto;

  border-radius: 8px;

  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
}

.imageLightbox figcaption {
  margin-top: 12px;

  color: #ffffff;
}

.closeLightbox {
  position: absolute;
  top: 18px;
  right: 22px;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;

  font-size: 30px;
  cursor: pointer;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 900px) {

  .manualLayout {
    display: block;
  }

  .manualNavigation {
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 900;

    width: min(320px, 88vw);
    height: calc(100vh - var(--header-height));

    transform: translateX(-105%);

    transition: transform 0.25s ease;
  }

  .manualNavigation.isOpen {
    transform: translateX(0);
  }

  .navigationToggle {
    display: block;
  }

  .manualContent {
    padding: 22px;
  }

  .featureGrid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .manualHeaderInner {
    padding: 0 14px;
  }

  .manualVersion {
    display: none;
  }

  .manualContent {
    padding: 12px;
  }

  .manualSection {
    padding: 22px 18px;
  }

  .screenshotPlaceholder {
    min-height: 260px;
  }

}
.manualFooter {

    margin-top: 60px;
    padding-top: 25px;

    border-top: 1px solid #d7dce2;

    text-align: center;

    font-size: 13px;

    color: #7d8794;

}
