/* ── Hero ── */
.ops-hero {
  position: relative;
  width: 100%;
  height: calc(70vh + var(--nav-height));
  min-height: calc(320px + var(--nav-height));
  background-image: url('../images/Einsaetze-1920x1280px.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 768px) {
  .ops-hero {
    height: calc(35vh + var(--nav-height));
    min-height: calc(240px + var(--nav-height));
  }
}

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

.ops-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-l);
  color: var(--color-white);
}

.ops-hero-content h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: var(--space-s);
}

.ops-hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  letter-spacing: 0.04em;
}

/* ── Content wrapper ── */
.ops-content {
  padding: var(--space-xl) var(--space-l);
  background-color: var(--color-light);
}

.ops-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

/* ── Year tabs ── */
.ops-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
}

.ops-tab {
  background-color: var(--color-white);
  color: var(--color-marine);
  border: 2px solid var(--color-marine);
  border-radius: 20px;
  padding: var(--space-s) var(--space-l);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.ops-tab:hover {
  background-color: var(--color-marine);
  color: var(--color-white);
}

.ops-tab[aria-selected="true"] {
  background-color: var(--color-marine);
  color: var(--color-white);
}

.ops-tab:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* ── Stat blocks ── */
.ops-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-m);
}

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

.ops-stat {
  background-color: var(--color-marine);
  color: var(--color-white);
  border-radius: 4px;
  padding: var(--space-l);
  text-align: center;
}

.ops-stat-count {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-s);
}

.ops-stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ── Table ── */
.ops-table-wrap {
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--color-shadow);
}

.ops-table th {
  background-color: var(--color-marine);
  color: var(--color-white);
  text-align: left;
  padding: var(--space-s) var(--space-m);
  font-size: 0.9rem;
  font-weight: 600;
}

.ops-table td {
  padding: var(--space-s) var(--space-m);
  font-size: 0.95rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-light);
}

.ops-table tr:nth-child(even) td {
  background-color: var(--color-light);
}

.ops-table tr:last-child td {
  border-bottom: none;
}


/* ── Empty state ── */
.ops-empty {
  padding: var(--space-l);
  text-align: center;
  color: var(--color-text);
  background-color: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* ── Stat block links ── */
.ops-stat-link {
  display: block;
  text-decoration: none;
  color: var(--color-white);
  transition: transform 0.15s, filter 0.15s;
}

.ops-stat-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.ops-stat-link:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}