/* ===== Reset & Basis ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: #0c0f0c;
  color: #f5f5f5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Farbpalette (Militär-Look) ===== */
:root {
  --green-dark: #1f3320;    /* dunkles Militärgrün */
  --green: #3f4f2f;         /* olivgrün */
  --sand: #a38f5b;          /* sand / khaki */
  --accent: #c9973f;        /* gold-sand Akzent */
  --bg: #0c0f0c;
  --bg-panel: #182018;
  --border-soft: #334033;
  --text-main: #f5f5f5;
  --text-muted: #b7c0b7;
}

/* ===== Layout-Hilfsklasse ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Header & Navigation ===== */
header {
  background: var(--green-dark);
  color: var(--text-main);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
}

/* Logo-Bereich */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 2rem;
}

.logo-text span:last-child {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Desktop-Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
}

.nav-links li a {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding-bottom: 3px;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* ===== Hamburger links, sichtbar ===== */
.menu-toggle {
  display: none;                      /* wird über Media Query eingeschaltet */
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5); /* heller Rahmen */
  background: rgba(0, 0, 0, 0.6);            /* dunkler Hintergrund */
}

/* Balken im Hamburger */
.menu-toggle .bar {
  width: 20px;
  height: 2px;
  background: #f5f5f5;                /* helle Balken */
  border-radius: 999px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Animation (X-Icon) */
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Off-Canvas Mobile-Menü links ===== */
.mobile-nav-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 40;
  display: none;
}

.mobile-nav-wrapper.open {
  display: block;
}

/* Panel links */
.mobile-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 260px;
  height: 100%;
  background: var(--green-dark);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

/* Links im Off-Canvas */
.mobile-nav-links {
  list-style: none;
  margin-top: 10px;
}

.mobile-nav-links li {
  margin-bottom: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 6px 4px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--green);
}

/* ===== Hero / Seitenkopf ===== */
.hero {
  background: radial-gradient(circle at top, rgba(163, 143, 91, 0.15), transparent),
              linear-gradient(to bottom, var(--bg), #050705);
  padding: 50px 0 30px;
}

.hero-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.hero-text {
  color: var(--text-main);
  margin-bottom: 20px;
}

/* Buttons im Hero / allgemein */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}
.btn-primary:hover {
  background: #d9ad58;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--sand);
}
.btn-secondary:hover {
  background: rgba(163, 143, 91, 0.2);
}

/* ===== Hauptinhalt ===== */
main {
  background: var(--bg);
  min-height: 60vh;
  padding-bottom: 40px;
}

.section {
  padding: 24px 0 0;
}

.section h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-panel {
  background: var(--bg-panel);
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  padding: 16px;
  margin-top: 12px;
}

/* ===== Footer ===== */
footer {
  background: var(--green-dark);
  color: var(--text-muted);
  text-align: center;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 880px) {
  /* Hamburger sichtbar, Desktop-Menü weg */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    text-align: left;
  }
}

@media (min-width: 881px) {
  /* Mobile-Menü-Overlay nur für kleine Screens */
  .mobile-nav-wrapper {
    display: none !important;
  }

  /* Desktop-Menü sichtbar, Hamburger weg */
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
  }
}