/* =====================================================
   FFW Saulburg  —  Helles, konservatives Design
   Farben: Weis / Hellgrau + Feuerwehr-Rot + Dunkelblau
   ===================================================== */

:root {
  --red:        #c8102e;
  --red-dark:   #a50d25;
  --red-light:  #fce8eb;
  --navy:       #1e2d3d;
  --navy-light: #2e4260;
  --bg:         #ffffff;
  --bg-gray:    #f4f4f2;
  --text:       #2c2c2c;
  --text-muted: #606060;
  --border:     #dcdcdc;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.12);

  --font: 'Source Sans 3', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
.hidden { display: none !important; }

/* ----- Container ----- */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; width: 100%; }

/* ----- Scroll animation ----- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9375rem; font-weight: 600;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #d32f2f, #ff3b3b);
  color: #fff;
  border: none;
  border-radius: 999px;

  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.85rem 2.5rem;

  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;

  /* Pulse nur hier */
  animation: cta-pulse 2.5s infinite;
}

/* Hover */
.btn-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

/* Klick */
.btn-cta:active {
  transform: scale(0.98);
}

/* Shine Effekt */
.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: all 0.6s;
}

.btn-cta:hover::before {
  left: 125%;
}

/* Eigene Animation (extra benannt!) */
@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* =======================================================
   TOPBAR
   ======================================================= */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.8125rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 2.25rem; gap: 1rem;
}
.topbar-left, .topbar-right {
  display: flex; align-items: center; gap: 0.4rem;
}
.topbar-right svg { flex-shrink: 0; }
.topbar-right a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.topbar-right a:hover { color: #fff; }
.topbar-right strong { color: #fff; }

/* =======================================================
   SITE HEADER
   ======================================================= */
#site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
}
.site-logo { display: flex; align-items: center; gap: 1rem; }
.logo-emblem {
  width: 3.25rem;
  height: 3.25rem;

  background: #fff; /* optional statt rot */

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

  overflow: hidden; /* wichtig für Kreis */
}

.logo-emblem img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  image-rendering: auto;
  /* WICHTIG */
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.logo-sub  { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.15rem; }

.header-notruf { text-align: center; }
.notruf-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.notruf-number { font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1; }

/* =======================================================
   NAVBAR
   ======================================================= */
#navbar {
  background: var(--red);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-list { display: flex; }
.nav-link {
  display: block; padding: 0.875rem 1rem;
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(0,0,0,0.18); color: #fff; }
.nav-highlight { background: var(--navy); color: #fff !important; }
.nav-highlight:hover { background: var(--navy-light) !important; }

.nav-toggle { color: #fff; padding: 0.5rem; display: none; }
.mobile-menu { background: var(--navy); }
.mobile-menu a {
  display: block; padding: 0.875rem 1.25rem;
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }

@media (max-width: 900px) {
  .nav-list { display: none; }
  .nav-toggle { display: block; }
}

/* =======================================================
   HERO
   ======================================================= */
.hero {
  position: relative; height: min(70vh, 580px);
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,30,45,0.85) 0%, rgba(20,30,45,0.35) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: 3.5rem; color: #fff;
}
.hero-badge {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 0.5rem;
}
.hero-tagline {
  font-size: 1.0625rem; color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em; margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* =======================================================
   STATS STRIP
   ======================================================= */




.stats-text {
  text-align: center;
}

.cta-text {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #222;
}

.cta-sub {
  font-size: 1.2rem;
  color: #555;
}

.cta-sub span {
  font-weight: 600;
  color: #c62828; /* dezentes Feuerwehr-Rot */
}

.stats-strip {
  padding: 2rem 1rem;
  background-color: #f6f6f6;
}


.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 1.5rem 1rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-lbl { font-size: 0.8125rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* =======================================================
   SECTIONS  (gemeinsame Styles)
   ======================================================= */
.section { padding-block: 4rem 5rem; }
.section-gray { background: var(--bg-gray); }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--navy); line-height: 1.2; }
.section-sub { margin-top: 0.75rem; font-size: 1.0625rem; color: var(--text-muted); max-width: 42rem; margin-inline: auto; }
.section-head-left { margin-bottom: 1.75rem; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--red); margin-bottom: 0.5rem;
  border-left: 3px solid var(--red); padding-left: 0.6rem;
}

/* =======================================================
   AUFGABEN
   ======================================================= */
.aufgaben-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.aufgabe-card {
  background: var(--bg); border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.aufgabe-card:hover {
  box-shadow: var(--shadow-md); border-color: var(--red);
  transform: translateY(-3px);
}
.aufgabe-icon {
  width: 3.5rem; height: 3.5rem; background: var(--red-light);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--red); margin-bottom: 1.25rem;
}
.aufgabe-card h3 { font-size: 1.1875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.aufgabe-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* =======================================================
   AKTUELLES + TERMINE  (two-col)
   ======================================================= */
.two-col-layout { display: grid; gap: 3rem; grid-template-columns: 1fr 360px; }
@media (max-width: 960px) { .two-col-layout { grid-template-columns: 1fr; } }

/* --- News --- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-card {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 1.25rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.news-card:first-child { border-top: 1px solid var(--border); }
.news-date { text-align: center; flex-shrink: 0; }
.news-day { display: block; font-size: 1.75rem; font-weight: 700; color: var(--red); line-height: 1; }
.news-month { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.news-cat {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--red); background: var(--red-light);
  padding: 0.15rem 0.5rem; margin-bottom: 0.4rem;
}
.news-body h3 { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; line-height: 1.3; }
.news-body p { font-size: 0.9rem; color: var(--text-muted); }
.news-readmore { display: inline-block; margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--red); transition: color 0.2s; }
.news-readmore:hover { color: var(--red-dark); }

/* --- Termine sidebar --- */
.termine-list { display: flex; flex-direction: column; }
.termin-item {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 1rem; padding: 0.875rem 0.75rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.15s;
}
.termin-item:hover { background: var(--bg-gray); }
.termin-item:first-child { border-top: 1px solid var(--border); }
.termin-highlight { border-left: 3px solid var(--red); padding-left: calc(0.75rem - 3px); background: var(--red-light); }
.termin-highlight:hover { background: #f9d5db; }
.termin-date { text-align: center; }
.t-day { display: block; font-size: 1.375rem; font-weight: 700; color: var(--navy); line-height: 1; }
.t-mon { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.06em; }
.termin-title { font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.termin-detail { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.15rem; }

/* =======================================================
   150 JAHRE
   ======================================================= */
.jubilee-section { position: relative; overflow: hidden; padding-block: 5rem 6rem; }
.jubilee-bg-img { position: absolute; inset: 0; }
.jubilee-bg-img img { width: 100%; height: 100%; object-fit: cover; }
.jubilee-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,30,45,0.93) 0%, rgba(20,30,45,0.78) 100%);
}
.jubilee-inner { position: relative; color: #fff; text-align: center; }
.jubilee-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.3rem 0.9rem; margin-bottom: 1.25rem;
}
.jubilee-heading { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.jubilee-text { max-width: 36rem; margin-inline: auto; color: rgba(255,255,255,0.75); font-size: 1.0625rem; margin-bottom: 2.5rem; }
.jubilee-dates {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem;
}
.jdate-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.25rem 1.75rem; text-align: center; min-width: 140px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.jdate-card:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.jdate-top { font-size: 0.8125rem; font-weight: 700; color: var(--red); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; }
.jdate-name { font-size: 1.375rem; font-weight: 700; }
.jdate-sub { font-size: 0.8125rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }

/* =======================================================
   VEREIN / JUGEND  (img + text layouts)
   ======================================================= */
.img-text-layout { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 768px) { .img-text-layout { grid-template-columns: 1fr 1fr; } }
.img-text-layout.reverse .img-text-img { order: 2; }
.img-text-layout.reverse .img-text-body { order: 1; }
@media (max-width: 767px) {
  .img-text-layout.reverse .img-text-img { order: 0; }
  .img-text-layout.reverse .img-text-body { order: 0; }
}

.img-text-img img { width: 100%; height: auto; object-fit: cover; box-shadow: var(--shadow-md); }
.img-text-body .section-title { margin-top: 0.5rem; }
.img-text-body p { color: var(--text-muted); font-size: 1rem; }

.text-links { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.text-link-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--red);
  padding: 0.4rem 0; border-bottom: 1px solid var(--border);
  transition: color 0.15s, gap 0.15s;
}
.text-link-item:last-child { border-bottom: none; }
.text-link-item:hover { color: var(--red-dark); gap: 0.75rem; }

.check-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; color: var(--text); }
.check-list svg { color: var(--red); flex-shrink: 0; margin-top: 0.15rem; }

/* =======================================================
   FOOTER  (redesigned, fully responsive)
   ======================================================= */
/* ===== Footer Redesign ===== */
footer#kontakt .footer-top {
  background:
    radial-gradient(1200px 400px at 15% -20%, rgba(200,16,46,.14), transparent 60%),
    linear-gradient(180deg, #1e2d3d 0%, #16222e 100%);
  border-top: 3px solid #c8102e;
  padding: 64px 0 48px;
}
footer#kontakt .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr 1fr;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 40px;
}
footer#kontakt .footer-col {
  position: relative;
}
/* Spaltentrenner: vertikale Linie links von jeder Spalte,
   die nicht ganz links in ihrer Zeile steht. Bei 1 Spalte
   (alles untereinander) verschwinden sie automatisch, da dann
   jede Spalte am Zeilenanfang steht. */
footer#kontakt .footer-col::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: calc(clamp(28px, 4vw, 56px) / -2);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.16) 15%, rgba(255,255,255,.16) 85%, transparent);
}

/* Brand / Logo */
footer#kontakt .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
footer#kontakt .footer-emblem {
  width: 64px;
  height: 76px;
  flex: 0 0 auto;
}
footer#kontakt .footer-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.45));
}
footer#kontakt .footer-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  line-height: 1.1;
}
footer#kontakt .footer-sub-name {
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8102e;
  font-weight: 600;
  margin-top: 3px;
}
footer#kontakt .footer-desc {
  color: rgba(255,255,255,0.7);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 34ch;
}

/* Headings */
footer#kontakt .footer-heading {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
}
footer#kontakt .footer-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: #c8102e;
}

/* Listen / Links */
footer#kontakt .footer-links,
footer#kontakt .footer-contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer#kontakt .footer-links a,
footer#kontakt .footer-contact-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: .92rem;
  transition: color .18s ease, transform .18s ease;
  display: inline-block;
}
footer#kontakt .footer-links a:hover,
footer#kontakt .footer-contact-list a:hover {
  color: #fff;
}
footer#kontakt .footer-links li {
  position: relative;
  padding-left: 16px;
}
footer#kontakt .footer-links li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #c8102e;
  font-weight: 700;
  transition: transform .18s ease;
}
footer#kontakt .footer-links li:hover::before {
  transform: translateX(3px);
}
footer#kontakt .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: .9rem;
  line-height: 1.5;
}
footer#kontakt .footer-contact-list li svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #c8102e;
}
footer#kontakt .footer-contact-list strong { color: #fff; }

/* Bottom Bar */
footer#kontakt .footer-bottom {
  background: #16222e;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
footer#kontakt .footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
footer#kontakt .footer-bottom-inner p {
  margin: 0;
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
}
footer#kontakt .footer-bottom-inner p:last-child {
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8102e;
  font-weight: 600;
  font-size: .76rem;
}

/* 3 Spalten: Brand-Spalte volle Breite oben, Rest darunter */
@media (max-width: 1040px) {
  footer#kontakt .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  footer#kontakt .footer-brand-col {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  /* Trenner nur zwischen den 3 Info-Spalten, nicht vor der 1. jeder Zeile */
  footer#kontakt .footer-col:nth-child(3n+2)::before { display: none; }
}

/* 2 Spalten */
@media (max-width: 760px) {
  footer#kontakt .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  footer#kontakt .footer-col:nth-child(3n+2)::before { display: block; }
  /* linke Spalte jeder Zeile (ungerade) bekommt keinen Trenner */
  footer#kontakt .footer-col:nth-child(odd)::before { display: none; }
  footer#kontakt .footer-col:nth-child(even)::before { display: block; }
}

/* 1 Spalte: keine vertikalen Trenner, stattdessen feine
   horizontale Linien als Abschnittstrennung */
@media (max-width: 520px) {
  footer#kontakt .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  footer#kontakt .footer-col::before { display: none !important; }
  footer#kontakt .footer-col {
    padding: 26px 0;
    border-top: 1px solid rgba(255,255,255,.10);
  }
  footer#kontakt .footer-brand-col {
    grid-column: auto;
    border-bottom: none;
    margin-bottom: 0;
    padding-top: 0;
    border-top: none;
  }
  footer#kontakt .footer-col:last-child { padding-bottom: 4px; }
  footer#kontakt .footer-desc { max-width: none; }
  footer#kontakt .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

/* =======================================================
   TERMINE PAGE  (termine.html)
   ======================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; padding-block: 3.5rem;
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
.page-hero p { margin-top: 0.5rem; color: rgba(255,255,255,0.7); font-size: 1.0625rem; }

/* ── Termin-Cards (termine.html) – gleicher Look wie Einsatz-Cards ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.termin-card {
  background: var(--bg); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.termin-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.11); }
.termin-card.highlight { border-left: 4px solid var(--red); }
.termin-card-img { width: 100%; height: 160px; object-fit: cover; display: block; flex-shrink: 0; }
.termin-card-img:hover { transform: scale(1.04); }
.termin-card-bar { width: 100%; height: 6px; background: var(--red); flex-shrink: 0; }
.termin-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; flex: 1; gap: 0.5rem;
}
.termin-card-top { display: flex; align-items: flex-start; gap: 0.9rem; }
.termin-card-date {
  background: var(--red); color: #fff;
  text-align: center; padding: 0.45rem 0.6rem;
  flex-shrink: 0; min-width: 52px; line-height: 1;
}
.termin-card-date .tcd-day  { display: block; font-size: 1.5rem; font-weight: 700; }
.termin-card-date .tcd-mon  { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.15rem; }
.termin-card-date .tcd-year { display: block; font-size: 0.65rem; opacity: 0.85; }
.termin-card-head { flex: 1; min-width: 0; }
.termin-card-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--red); background: var(--red-light);
  padding: 0.12rem 0.45rem; margin-bottom: 0.35rem;
}
.termin-card-title {
  font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.termin-card-meta {
  display: flex; flex-wrap: wrap; gap: 0.3rem 1rem;
  font-size: 0.8125rem; color: var(--text-muted);
}
.termin-card-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.termin-card-footer {
  padding: 0.6rem 1.25rem; border-top: 1px solid var(--border);
  font-size: 0.8125rem; font-weight: 600; color: var(--red);
  display: flex; align-items: center; justify-content: space-between;
}
.termin-card-footer a {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--red); text-decoration: none;
}
.termin-card-footer button {
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
  padding: 0; font-family: var(--font); transition: color 0.15s;
}
.termin-card-footer button:hover { color: var(--red); }
.btn-ics {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; font-size: 0.8125rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--navy);
  background: var(--bg); transition: border-color 0.2s, background 0.2s;
}
.btn-ics:hover { border-color: var(--red); background: var(--red-light); color: var(--red); }
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* Newsletter box */
.newsletter-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 640px) {
  .newsletter-box { flex-direction: row; align-items: center; gap: 2rem; }
  .newsletter-box .nl-text { flex: 1; }
}
.newsletter-box h3 { font-size: 1.3125rem; font-weight: 700; margin-bottom: 0.35rem; }
.newsletter-box p { font-size: 0.9375rem; color: rgba(255,255,255,0.7); }
.nl-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nl-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 0.65rem 1rem;
  border: none; font-size: 0.9375rem; font-family: var(--font);
  outline: none;
}
.nl-form input[type="email"]:focus { box-shadow: 0 0 0 3px rgba(200,16,46,0.4); }
.nl-form .btn-primary { white-space: nowrap; }
.nl-success { display: none; color: #fff; font-weight: 600; font-size: 0.9375rem; }
.nl-success.show { display: block; }

/* =======================================================
   ADMIN PAGE  (admin.html)
   ======================================================= */
.admin-wrap { min-height: 100vh; background: #f0f2f5; }
.admin-header { background: var(--navy); color: #fff; padding: 1rem 0; }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; }
.admin-header h1 { font-size: 1.125rem; font-weight: 700; }
.admin-body { padding-block: 2rem; }
.admin-grid { display: grid; gap: 1.5rem; grid-template-columns: 340px 1fr; }
@media (max-width: 800px) { .admin-grid { grid-template-columns: 1fr; }
}

.admin-card { background: #fff; border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow); }
.admin-card h2 { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--red); }

.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.6rem 0.875rem;
  border: 1.5px solid var(--border); font-family: var(--font); font-size: 0.9375rem;
  color: var(--text); background: var(--bg); outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}
.form-field textarea { resize: vertical; min-height: 80px; }

.form-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.btn-save { background: var(--red); color: #fff; padding: 0.65rem 1.5rem; font-weight: 600; font-size: 0.9375rem; border: none; transition: background 0.2s; }
.btn-save:hover { background: var(--red-dark); }
.btn-delete { background: transparent; color: var(--red); border: 1.5px solid var(--red); padding: 0.45rem 0.875rem; font-size: 0.8125rem; font-weight: 600; transition: background 0.2s, color 0.2s; }
.btn-delete:hover { background: var(--red); color: #fff; }
.btn-edit { background: transparent; color: var(--navy); border: 1.5px solid var(--border); padding: 0.45rem 0.875rem; font-size: 0.8125rem; font-weight: 600; transition: border-color 0.2s; }
.btn-edit:hover { border-color: var(--navy); }

.event-admin-list { display: flex; flex-direction: column; gap: 0.75rem; }
.event-admin-item {
  border: 1px solid var(--border); background: var(--bg-gray);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 1rem; padding: 0.875rem 1rem;
}
.eai-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.eai-title { font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.eai-cat { font-size: 0.75rem; color: var(--red); }
.eai-actions { display: flex; gap: 0.5rem; }

.login-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--bg-gray); }
.login-card { background: #fff; border: 1px solid var(--border); padding: 2.5rem; width: 100%; max-width: 380px; box-shadow: var(--shadow-md); text-align: center; }
.login-card .logo-emblem { margin-inline: auto; margin-bottom: 1.25rem; }
.login-card h1 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.login-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.login-error { color: var(--red); font-size: 0.875rem; margin-top: 0.5rem; display: none; }
.login-error.show { display: block; }

.badge-highlight { background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== Dropdown Basis ===== */
.nav-dropdown {
  position: relative;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  /* WICHTIG: KEIN margin-top mehr */

  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0;

  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

  opacity: 0;
  pointer-events: none;
  transform: translateY(0); /* kein versatz */

  transition: opacity 0.2s ease;
}

/* Hover aktiv */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

/* Links */
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: #333;
}

.dropdown-menu li a:hover {
  background: rgba(200,16,46,0.1);
  color: var(--red);
}


/* ===== Aktiv (Hover) ===== */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Pfeil dreht sich */
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}


/* Einheitliche Links */
.mobile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;

  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  transition: background 0.2s;
}

.mobile-link:hover {
  background: rgba(255,255,255,0.06);
}

/* Dropdown Container */
.mobile-item {
  display: flex;
  flex-direction: column;
}

/* Submenu */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: rgba(0,0,0,0.15);
}

/* Submenu Links */
.mobile-submenu a {
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* geöffnet */
.mobile-item.open .mobile-submenu {
  max-height: 300px;
}

/* Pfeil */
.mobile-dropdown-header .arrow {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.mobile-item.open .arrow {
  transform: rotate(180deg);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.leader-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.25s;
  border-top: 4px solid #e30613;
}

.leader-card:hover {
  transform: translateY(-5px);
}

.leader-role {
  font-size: 0.85rem;
  color: #777;
}

.leader-name {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Accordion */

.accordion {
  max-width: 900px;
  margin: auto;
}

.accordion-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(0,0,0,0.06);
}


.accordion-header {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}


.accordion-header:hover {
  background: #f5f5f5;
}



.accordion-content {
  display: none;
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
}

.accordion-item.active .accordion-content {
  display: block;
}


.accordion-icon {
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}


.badge {
  color: #e30613;
  font-weight: 600;
}

.stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #c40000;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: white;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #eee;
  transition: 0.2s;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tech-list {
  margin-top: 1rem;
  padding-left: 1rem;
}

.tech-list li {
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.geraeteraum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.geraeteraum-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: 0.2s;
}

.geraeteraum-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}


.geraeteraum-card img {
  width: 100%;
  height: 200px;        /* feste Höhe */
  object-fit: contain;  /* zeigt komplettes Bild */
  border-radius: 12px;  /* optional */
  background-color: white; /* optional für Lücken */
}


.geraeteraum-content {
  padding: 1rem 1.2rem;
}

.geraeteraum-content ul {
  padding-left: 1rem;
  color: var(--text-muted);
}

.section-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 800px;
  margin-inline: auto;
}

.center {
  text-align: center;
}

/* ===== EQUIPMENT ===== */

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}


.equipment-card {
  background: white;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}



.equipment-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}


.equipment-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.equipment-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Utility */
.text-center {
  text-align: center;
}



.equipment-img {
  width: 100%;
  height: 180px;        /* feste Höhe für einheitliches Layout */
  object-fit: contain;  /* 👉 GANZES Bild immer sichtbar */
  border-radius: 12px;
  margin-bottom: 1rem;
}



.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* =========================
   CHRONIK BASIS
========================= */

.chronik-section {
  padding: 4rem 1rem;
}

.section-head.center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.section-sub {
  color: #666;
  margin-top: 0.5rem;
}

.timeline-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #888;
}

/* =========================
   MOBILE TIMELINE
========================= */

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 20px;
}

/* Linie */
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e5e5e5;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

/* Punkt */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid #c62828;
  border-radius: 50%;
}

/* Inhalt */
.timeline-content {
  padding-left: 2rem;
}

.timeline-year {
  font-weight: 700;
  color: #c62828;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  display: inline-block;
  letter-spacing: 1px;
}

/* Karte */
.timeline-card {
  position: relative;
  background: #fff;
  padding: 1.2rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.timeline-card:hover {
  transform: translateY(-3px);
}

.timeline-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.preview {
  font-size: 0.9rem;
  color: #666;
}

/* Expand */
.details {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}


.timeline-card.open .details {
  max-height: 1000px; /* einfach hoch genug setzen */
  margin-top: 0.5rem;
}


.timeline-card.open .preview {
  display: none;
}

/* Highlight */
.timeline-item.highlight .timeline-card {
  border: 2px solid #c62828;
}


/* =========================
   DESKTOP TIMELINE
========================= */

@media (min-width: 768px) {

  .timeline {
    position: relative;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0;
  }

  /* Mittellinie */
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: linear-gradient(to bottom, #c62828, #e57373);
  }

  .timeline-item {
    display: flex;
    width: 100%;
    margin-bottom: 3rem;
  }

  .timeline-content {
    width: 50%;
    position: relative;
  }

  /* LINKS */
  .timeline-item:nth-child(odd) .timeline-content {
    padding-right: 3rem;
    text-align: right;
  }

  /* RECHTS */
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
  }

  /* Punkt mittig */
  .timeline-item::before {
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-width: 4px;
  }

  /* Karten größer */
  .timeline-card {
    padding: 1.4rem;
    border-radius: 16px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
  }

  .timeline-card:hover {
    transform: translateY(-6px) scale(1.01);
  }

  /* Pfeile zur Linie */
  .timeline-item:nth-child(odd) .timeline-card::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 20px;
    border: 10px solid transparent;
    border-left-color: #fff;
  }

  .timeline-item:nth-child(even) .timeline-card::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 20px;
    border: 10px solid transparent;
    border-right-color: #fff;
  }


  /* Year schöner */
  .timeline-year {
    font-size: 0.95rem;
  }

  /* Highlight stärker */
  .timeline-item.highlight .timeline-card {
    border-left: 5px solid #c62828;
    border-right: 5px solid #c62828;
  }
}




.img-wrapper {
  width: 100%;
  height: 180px;

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

  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  box-shadow: none;
}



.timeline-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.timeline-card:hover .timeline-img {
  transform: scale(1.05);
}



@media (max-width: 600px) {


  .img-wrapper {
    max-height: 300px;   /* sanfte Begrenzung */
    overflow: auto;      /* statt hidden */
  }


  .timeline-img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

.team-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.team-text {
  flex: 1;
}

.team-text h3 {
  margin-bottom: 0.5rem;
}

.team-text p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Bild rechts */
.team-image {
  flex: 1;
  text-align: center;
}

.team-image img {
  width: 100%;
  max-width: 350px;
  height: auto; /* ✅ GANZES Bild sichtbar */
  border-radius: 12px;
  object-fit: contain; /* ✅ kein Zuschneiden */
}

.team-caption {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .team-layout {
    flex-direction: column;
    text-align: center;
  }

  .team-image img {
    max-width: 100%;
  }
}

/* =======================================================
   AKTIVE SEITE IN DER NAVIGATION
   ======================================================= */

/* Desktop: aktiver Oberpunkt / Top-Link */
.nav-link.active {
  background: rgba(0,0,0,0.28);
  color: #fff;
  box-shadow: inset 0 -3px 0 #fff;   /* weißer Marker-Strich unten */
}

/* Desktop: aktiver Eintrag im aufgeklappten Dropdown */
.dropdown-menu li a.active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 700;
}

/* Mobile: aktiver Top-Link und aktiver Dropdown-Header */
.mobile-link.active,
.mobile-dropdown-header.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-left: 3px solid var(--red);
}

/* Mobile: aktiver Eintrag im Untermenü */
.mobile-submenu a.active {
  background: rgba(200,16,46,0.25);
  color: #fff;
  border-left: 3px solid var(--red);
}

.tech-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem 1.4rem;

  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 3px 14px rgba(0,0,0,0.05);

  transition: 0.25s ease;
  position: relative;
  height: 100%;
}

/* Hover */
.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* subtiler roter Streifen oben */
.tech-card::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  top: 0;
  height: 3px;

  background: var(--red);
  border-radius: 2px;
}

/* Titel kompakter */
.tech-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-weight: 700;
}

/* Container */
.tech-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* 🔥 WICHTIG: Grid statt Flex */
.tech-row {
  display: grid;
  grid-template-columns: 110px 1fr; /* 👉 sorgt für perfekte Ausrichtung */

  align-items: center;

  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);

  font-size: 0.9rem;
}

/* letzte Linie weg */
.tech-row:last-child {
  border-bottom: none;
}

/* linke Spalte (fix) */
.tech-row span {
  color: var(--text-muted);
}

/* rechte Spalte */
.tech-row strong {
  font-weight: 600;
  color: var(--navy);
}

/* Tablet */
@media (max-width: 1000px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Handy */
@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

.einsatz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.einsatz-card {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  overflow: hidden;
}

.einsatz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
}

.einsatz-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.einsatz-card-img-placeholder {
  width: 100%;
  height: 6px;
  background: var(--red);
}

.einsatz-card-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.einsatz-card-date {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.45rem 0.6rem;
  min-width: 52px;
}

.einsatz-card-footer {
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--red);
}

.einsatz-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Responsive */
@media (max-width: 900px) {
  .einsatz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .einsatz-grid {
    grid-template-columns: 1fr;
  }
}


.einsatz-card-img-placeholder {
  width: 100%;
  height: 160px; /* gleiche Höhe wie Bilder */
  background: #e5e5e5; /* schönes grau */
  display: block;
}
