:root {
  --bg: #f5f5f1;
  --surface: #ffffff;
  --line: #d8dbd2;
  --text: #2b2f2a;
  --muted: #5b6359;
  --nav: #18211c;
  --active: #2f432f;
  --accent: #6f7a55;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Arial", sans-serif;
  line-height: 1.45;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  background: var(--nav);
  border-bottom: 1px solid #0f1612;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.brand {
  color: #c4ccc2;
  text-decoration: none;
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
}

.main-nav a {
  color: #f1f1eb;
  text-decoration: none;
  font-size: 0.75rem;
  padding: 0.82rem 0.78rem;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.main-nav a.active {
  background: var(--active);
}

.main-nav a:hover {
  background: #2a352f;
}

.nav-toggle {
  display: none;
  border: 1px solid #415145;
  color: #f0f0ea;
  background: transparent;
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 0.35rem 0.55rem;
}

.page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  padding: 1rem;
}

.hero {
  min-height: 330px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12)), url("https://upload.wikimedia.org/wikipedia/commons/a/a7/Leopard_2_A7V_313_Bad_Frankenhausen_2024.JPG");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 2rem;
  margin-bottom: 1rem;
}

.hero h1 {
  color: #f4f4ed;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.hero p {
  color: #e5e4dc;
  max-width: 440px;
  margin: 0 0 1rem;
}

.actions {
  display: flex;
  gap: 0.55rem;
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #f5f5ee;
  text-decoration: none;
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  background: rgba(40, 53, 40, 0.7);
}

.btn.alt {
  background: rgba(255, 255, 255, 0.14);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.section-title {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #3a4135;
}

.card {
  border: 1px solid var(--line);
  padding: 0.65rem;
  background: #fff;
}

.card ul {
  margin: 0;
  padding-left: 1.05rem;
}

.media-frame iframe {
  width: 100%;
  border: 0;
  min-height: 180px;
}

.media-frame iframe[src*="youtube.com/embed"] {
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
}

.media-frame img {
  width: 100%;
  border: 0;
  min-height: 180px;
  object-fit: cover;
}

.interactive-map {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.interactive-map:active {
  cursor: grabbing;
}

.map-embed {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.is-hidden {
  display: none;
}

.thumb-strip {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.image-strip {
  display: flex;
  overflow-x: auto;
  gap: 0.55rem;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}

.image-strip img {
  flex: 0 0 clamp(170px, 22vw, 230px);
  height: 110px;
  scroll-snap-align: start;
}

.home-carousel {
  margin-top: 0.8rem;
}

.home-carousel-stage {
  position: relative;
  width: min(100%, 820px);
  margin: 0 auto;
}

.home-carousel-slide {
  margin: 0;
  display: none;
  text-align: center;
}

.home-carousel-slide.is-active {
  display: block;
}

.home-carousel-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-carousel-slide img {
  display: block;
  width: 100%;
  max-width: min(100%, 820px);
  height: clamp(190px, 32vw, 320px);
  object-fit: cover;
  background: transparent;
  border: 1px solid var(--line);
}

.home-carousel-slide figcaption {
  text-align: center;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.home-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid #415145;
  background: rgba(31, 43, 36, 0.9);
  color: #f1f1eb;
  border-radius: 6px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.home-carousel-nav:hover {
  background: #2a352f;
}

.home-carousel-nav.prev {
  left: 0.6rem;
}

.home-carousel-nav.next {
  right: 0.6rem;
}

.thumb-strip img,
.gallery-grid img,
.tank-shot {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.tank-layout {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 1rem;
}

.tank-layout.single-column {
  display: block;
}

.tank-title {
  font-size: 3rem;
  line-height: 1;
  margin: 0.1rem 0 0.75rem;
  text-transform: uppercase;
  color: #40513a;
}

.icon-list {
  margin: 0;
  padding-left: 1rem;
}

.tank-right {
  display: grid;
  gap: 0.7rem;
}

.tank-shot {
  height: 168px;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid figcaption {
  text-align: center;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.js-gallery-carousel img {
  cursor: zoom-in;
}

.js-gallery-carousel figure {
  cursor: pointer;
}

.gallery-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 12, 0.92);
  z-index: 999;
  padding: 1rem;
}

.gallery-lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border: 1px solid #4a534c;
  border-radius: 6px;
  background: #101410;
}

.lightbox-figure figcaption {
  margin-top: 0.65rem;
  color: #eef3e8;
  font-size: 0.92rem;
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 20, 17, 0.85);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
}

.lightbox-nav {
  width: 2.5rem;
  height: 3rem;
  border-radius: 6px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav.prev {
  margin-right: 0.75rem;
}

.lightbox-nav.next {
  margin-left: 0.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-box label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.form-box input,
.form-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0.4rem;
  margin-bottom: 0.45rem;
}

.form-box button,
.poll button {
  border: 0;
  background: #5f6f54;
  color: #fff;
  padding: 0.43rem 0.8rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.poll label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.86rem;
}

.poll fieldset {
  border: 1px solid var(--line);
  margin: 0 0 0.6rem;
  padding: 0.5rem 0.6rem;
}

.poll legend {
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0 0.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.4rem;
  text-align: left;
}

th {
  background: #f0f2eb;
}

.site-footer {
  color: #5a6157;
  font-size: 0.78rem;
  padding: 0.65rem 0 1.2rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .two-col,
  .tank-layout,
  .gallery-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .thumb-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-carousel-slide img {
    height: clamp(180px, 42vw, 260px);
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-nav.prev {
    left: 0.5rem;
    margin-right: 0;
  }

  .lightbox-nav.next {
    right: 0.5rem;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 2.5rem;
    background: #1d2721;
    flex-direction: column;
    border: 1px solid #3f4f44;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 260px;
    padding: 1.2rem;
  }
}
