/*
Theme Name: FF Windpassing
Description: Eigenes Theme der Freiwilligen Feuerwehr Windpassing (Konzept "Doppelschicht")
Version: 0.1
Author: FF Windpassing
*/

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  --red: #C8102E;
  --amber: #F2A61E;
  --blue: #1B4C82;
  --anthracite: #1C1E22;
  --bg-light: #F6F6F7;
  --bg-light-alt: #ECEDEF;
  --border-light: #E2E2E5;
  font-family: 'Source Sans 3', 'Source Sans Pro', 'Segoe UI', system-ui, sans-serif;
  color: var(--anthracite);
  background: var(--bg-light);
}

h1, h2, h3, .brand .name, .badge {
  font-family: 'Oswald', 'Bahnschrift SemiCondensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  margin: 0;
}

a { color: inherit; }

.stat-value { font-variant-numeric: tabular-nums; }

/* ---- header / nav ---- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  position: relative;
  z-index: 1200;
  background: linear-gradient(135deg, var(--anthracite) 0%, #121316 100%);
  color: #F2F1ED;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.brand-mark { display: flex; align-items: center; gap: 0.7rem; }
.logo-link { display: block; flex-shrink: 0; line-height: 0; }
.logo { width: 42px; height: 42px; object-fit: contain; display: block; }
.brand { display: flex; flex-direction: column; min-width: 0; }
.brand .name { font-size: 1.15rem; font-weight: 600; line-height: 1.1; text-decoration: none; }
.brand .sub { text-transform: none; font-size: 0.72rem; letter-spacing: 0; font-weight: 400; opacity: 0.75; }

nav.main-nav { display: flex; gap: 1.6rem; align-items: center; }
nav.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
nav.main-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
}
nav.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), #E8536B);
  transition: width 0.15s ease;
}
nav.main-nav a:hover::after { width: 100%; }
nav.main-nav li { position: relative; }
nav.main-nav .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: linear-gradient(135deg, var(--anthracite) 0%, #121316 100%);
  min-width: 210px;
  list-style: none; margin: 0; padding: 0.5rem 0;
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
  z-index: 60;
}
nav.main-nav li:hover > .sub-menu,
nav.main-nav li:focus-within > .sub-menu { display: block; }
nav.main-nav .sub-menu li { position: static; }
nav.main-nav .sub-menu a { display: block; padding: 0.65rem 1.1rem; white-space: nowrap; font-weight: 500; color: #F2F1ED; }
nav.main-nav .sub-menu a::after { content: none; }
nav.main-nav .sub-menu a:hover { color: var(--red); }

.mobile-panel li.has-submenu {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-panel li.has-submenu > a { border-bottom: none; flex: 1 1 auto; }
.mobile-panel .submenu-toggle {
  background: none; border: none; color: inherit; cursor: pointer;
  padding: 0.5rem; margin: 0; font-size: 0.85rem; line-height: 1;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.mobile-panel li.submenu-open .submenu-toggle { transform: rotate(180deg); }
.mobile-panel .sub-menu {
  display: none;
  flex: 1 0 100%;
  list-style: none; margin: 0.2rem 0 0.7rem 1rem; padding: 0;
}
.mobile-panel li.submenu-open > .sub-menu { display: block; }
.mobile-panel .sub-menu a { font-size: 0.92rem; opacity: 0.85; padding: 0.4rem 0; border-bottom: none; }

.notruf-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, #C8102E, #A50D26); color: #fff;
  box-shadow: 0 4px 10px rgba(200, 16, 46, 0.35);
  padding: 0.6rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  white-space: nowrap;
}
/* nav.main-nav a (höhere Spezifität) hat sonst padding/font-size der Pille überschrieben */
nav.main-nav a.notruf-pill { padding: 0.6rem 1.35rem; font-size: 0.85rem; }

.hamburger {
  display: none;
  background: none; border: none; cursor: pointer; color: inherit;
  width: 38px; height: 38px; padding: 8px;
}
.hamburger span {
  display: block; height: 2px; margin: 6px 0; border-radius: 2px;
  background: currentColor;
}
.mobile-panel { display: none; }

@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .hamburger { display: block; flex-shrink: 0; }
  .site-head { flex-wrap: nowrap; gap: 0.75rem; }
  .brand-mark { min-width: 0; flex: 1 1 auto; }
  .brand .name {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
    font-size: 0.92rem;
  }
  .logo { width: 34px; height: 34px; }
  .mobile-panel {
    display: none;
    flex-direction: column;
    gap: 0.9rem;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: linear-gradient(180deg, var(--anthracite) 0%, #121316 100%);
    color: #F2F1ED;
    padding: 1rem 1.5rem 1.25rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    z-index: 2100;
  }
  .mobile-panel.open { display: flex; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
  .mobile-panel a {
    color: inherit;
    text-decoration: none; font-weight: 600; font-size: 1rem;
    display: block; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .mobile-panel a.notruf-pill {
    display: inline-flex; padding: 0.6rem 1.3rem; border-bottom: none; margin-top: 0.3rem;
  }
  .btn-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .brand .sub { display: none; }
}

/* ---- hero (Konzept 3: dunkel, schräg geschnitten) ---- */
.hero {
  background: var(--anthracite);
  color: #F2F1ED;
  padding: 4.5rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: -3rem;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background-image: repeating-linear-gradient(-45deg, var(--red) 0 16px, var(--amber) 16px 18px, transparent 18px 36px);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(28,30,34,0.9) 0%, rgba(28,30,34,0.62) 42%, rgba(28,30,34,0.28) 100%);
}
.hero-inner { max-width: 620px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 0.9rem; }
.hero p.lede { font-size: 1.08rem; line-height: 1.5; max-width: 46ch; margin-bottom: 1.6rem; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: 3px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 2px solid transparent;
}
.btn-solid { background: var(--red); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: #F2F1ED; }
.btn-outline-dark { background: transparent; border-color: var(--border-light); color: var(--anthracite); }
.btn-outline-dark:hover { border-color: var(--anthracite); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 600px) {
  .hero { padding: 3.5rem 1.5rem 5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero p.lede { font-size: 0.98rem; }
}

/* ---- stats ribbon ---- */
.stats {
  background: var(--bg-light); color: var(--anthracite);
  max-width: 900px; margin: 0 auto; border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.stats .stat {
  padding: 1.6rem 0.5rem; display: block; text-decoration: none; color: inherit;
  transition: background 0.15s ease;
}
.stats a.stat:active { background: var(--bg-light-alt); }
@media (hover: hover) {
  .stats a.stat:hover { background: var(--bg-light-alt); }
}
.stats .stat-value { display: block; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif; font-size: 2rem; font-weight: 700; color: var(--red); }
.stats .stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.stats-note { text-align: center; font-size: 0.7rem; opacity: 0.5; padding: 0.6rem 0 0; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- sections ---- */
.section { background: var(--bg-light); color: var(--anthracite); padding: 4.5rem 1.5rem 3.5rem; }
.section.alt { background: var(--bg-light-alt); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  max-width: 1080px; margin: 0 auto 1.6rem;
  flex-wrap: wrap; gap: 0.8rem;
}
.section-head h2 { font-size: 1.6rem; }
.grid-wrap { max-width: 1080px; margin: 0 auto; }

.pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pills button {
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border-light); background: transparent; color: var(--anthracite);
  opacity: 0.65; cursor: pointer;
}
.pills button.active { opacity: 1; background: var(--red); border-color: var(--red); color: #fff; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.card {
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border-light);
}
.card .thumb { height: 110px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bg-light-alt), var(--border-light)); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .thumb img.thumb-placeholder {
  width: 56px; height: 56px; object-fit: contain; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); opacity: 0.9;
}
.card .thumb:has(img.thumb-placeholder) { background: #FCEBEB; }
.tag {
  display: inline-block;
  font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem; border-radius: 3px; color: #fff;
  line-height: 1.2;
}
.card .tag { position: absolute; top: 0.7rem; left: 0.7rem; }
.tag-brand { background: var(--red); }
.tag-thl { background: var(--blue); }
.tag-sonstiges { background: #9AA0A6; }
.card .body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.card .date { font-size: 0.72rem; opacity: 0.6; }
.card h3 { font-size: 1.02rem; text-transform: none; letter-spacing: 0; }
.card p { font-size: 0.88rem; line-height: 1.45; margin: 0; opacity: 0.85; flex: 1; }
.card .more { font-size: 0.8rem; font-weight: 700; color: var(--red); text-decoration: none; margin-top: 0.3rem; }

.pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2rem; height: 2.2rem; padding: 0 0.6rem;
  border: 1px solid var(--border-light); border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--anthracite);
  background: #fff; transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---- footer ---- */
.site-foot { background: linear-gradient(180deg, var(--anthracite) 0%, #121316 100%); color: #F2F1ED; padding: 3rem 1.5rem 1.5rem; }
.foot-top {
  max-width: 1080px; margin: 0 auto 2.2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.9rem;
}
.foot-top-logo { width: 64px; height: 64px; object-fit: contain; }
.foot-top-name {
  font-family: 'Oswald', 'Bahnschrift SemiCondensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.1rem;
}
.foot-social { display: flex; gap: 0.7rem; }
.foot-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: #F2F1ED;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.foot-social a svg { width: 19px; height: 19px; }
.foot-social a:hover { border-color: var(--red); color: var(--red); }
.foot-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.foot-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 0.9rem; opacity: 0.6; }
.foot-grid a { display: block; color: #F2F1ED; text-decoration: none; font-size: 0.9rem; margin-bottom: 0.55rem; opacity: 0.9; }
.foot-grid a:hover { color: var(--red); }
.foot-contact { display: flex; align-items: center; gap: 0.55rem; }
.foot-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.75; }
.foot-bottom {
  max-width: 1080px; margin: 0 auto; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.75rem; opacity: 0.6;
}
.foot-bottom a { color: inherit; text-decoration: underline; }
.foot-menu { list-style: none; margin: 0; padding: 0; }
.foot-menu li { margin: 0; }

/* ---- Einsatz-Detailseite ---- */
.einsatz-detail { max-width: 760px; }
.einsatz-detail > a.more { display: inline-block; margin-bottom: 1.5rem; }
.page-content > a.more { display: inline-block; margin-bottom: 1.5rem; font-size: 0.85rem; font-weight: 700; color: var(--red); text-decoration: none; }
.einsatz-detail-head { margin-bottom: 1.2rem; }
.einsatz-detail-head .tag { margin-bottom: 0.6rem; }
.einsatz-detail-head h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 0; }
.einsatz-fact-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem;
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 1.2rem 1.4rem; margin-bottom: 1.8rem;
}
.einsatz-fact-card .fact .k { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.55; margin-bottom: 0.2rem; }
.einsatz-fact-card .fact .v { display: block; font-size: 0.98rem; font-weight: 700; }
.einsatz-fact-card .fact .v.art-color.art-brand { color: var(--red); }
.einsatz-fact-card .fact .v.art-color.art-thl { color: var(--blue); }
.einsatz-fact-card .fact .v.art-color.art-sonstiges { color: #9AA0A6; }
.einsatz-fact-card .fact-full { grid-column: 1 / -1; }
.kraefte-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.kraft-chip {
  display: inline-block; max-width: 100%; background: var(--bg-light-alt); border: 1px solid var(--border-light);
  border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.85rem; font-weight: 600;
  white-space: normal; overflow-wrap: break-word;
}
.einsatz-detail-content { line-height: 1.7; }
.einsatz-detail-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1rem 0; }
.einsatz-detail-content p { margin: 0 0 1rem; }
.einsatz-gallery-heading { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.7; margin: 2rem 0 0.9rem; }
@media (max-width: 640px) {
  .einsatz-fact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
}

/* ---- Beitrag-Detailseite (Aktuelles) ---- */
.post-detail { max-width: 760px; }
.post-detail > a.more { display: inline-block; margin-bottom: 1.5rem; }
.post-detail-head { margin-bottom: 1.5rem; }
.post-detail-head h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 0.4rem; }
.post-detail-head .date { display: block; font-size: 0.85rem; opacity: 0.6; }
.post-detail-image { margin-bottom: 1.5rem; }
.post-detail-image img { width: 100%; height: auto; border-radius: 4px; display: block; }
.post-detail-content { line-height: 1.7; }
.post-detail-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1rem 0; }
.post-detail-content p { margin: 0 0 1rem; }

.einsatz-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem; margin-top: 1.75rem;
}
.einsatz-gallery-item { display: block; border-radius: 4px; overflow: hidden; cursor: pointer; }
.einsatz-gallery-item img { width: 100%; height: 120px; object-fit: cover; display: block; }

/* ---- Lightbox (Foto-Galerien, mobil per Swipe bedienbar) ---- */
body.lightbox-open { overflow: hidden; }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(14,15,17,0.96);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 1rem;
  touch-action: pan-y;
}
.lightbox-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 4px; user-select: none; -webkit-user-drag: none;
}
.lightbox-close, .lightbox-nav {
  position: absolute; border: none; background: rgba(255,255,255,0.1); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; touch-action: manipulation;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-close {
  top: 1rem; right: 1rem; width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; z-index: 2;
}
.lightbox-nav {
  top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.9rem; line-height: 1;
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-overlay.lightbox-single .lightbox-nav { display: none; }
.lightbox-counter {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  background: rgba(255,255,255,0.12); padding: 0.35rem 0.8rem; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.lightbox-overlay.lightbox-single .lightbox-counter { display: none; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .lightbox-stage { padding: 3.5rem 0.25rem; }
}

/* ---- Einsätze-Archiv: Einsatzprotokoll ---- */
.page-head { max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page-head p { color: #6B6660; margin: 0.5rem 0 0; max-width: 60ch; }
.page-head .more { display: inline-block; margin-top: 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--red); text-decoration: none; }

.stat-strip {
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 1.75rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border-light);
}
.stat-strip .cell { padding: 0 0.6rem 1.5rem; text-align: center; }
.stat-strip .stat-n {
  display: block; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif;
  font-size: 1.6rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-strip .cell.art-brand .stat-n { color: var(--red); }
.stat-strip .cell.art-thl .stat-n { color: var(--blue); }
.stat-strip .cell.art-sonstiges .stat-n { color: #9AA0A6; }
.stat-strip .stat-lbl { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; margin-top: 0.2rem; }
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.filter-bar {
  max-width: 1080px; margin: 0 auto; padding: 1.5rem 1.5rem;
}
.filter-bar-inner {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.art-filter {
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 8px; flex: 1 1 160px;
  border: 1px solid var(--border-light); background: var(--bg-light-alt); color: var(--anthracite);
  cursor: pointer;
}

.list-wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.entry-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-light); }
.row {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.1rem; align-items: center;
  padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--border-light);
  border-left: 4px solid transparent; text-decoration: none; color: inherit;
  transition: background 0.15s ease;
}
.row.art-brand { --c: var(--red); }
.row.art-thl { --c: var(--blue); }
.row.art-sonstiges { --c: #9AA0A6; }
.row.art-termin { --c: var(--amber); }
.row[class*="art-"] { border-left-color: var(--c); }
.row:hover { background: var(--bg-light-alt); }
.row-date { text-align: center; line-height: 1.05; }
.row-date .day { display: block; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-date .month { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.row-main { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.row-title { font-size: 1rem; font-weight: 700; }
.row-meta { font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.row-arrow { font-size: 1.35rem; font-weight: 700; color: #C7C2BB; flex-shrink: 0; transition: color 0.15s ease, transform 0.15s ease; }
.row:hover .row-arrow { color: var(--c, var(--red)); transform: translateX(2px); }
.row.is-hidden { display: none; }
@media (max-width: 640px) {
  .list-wrap {
    padding-left: 0; padding-right: 0;
    margin-left: -1.5rem; margin-right: -1.5rem;
    width: calc(100% + 3rem); max-width: none;
  }
  /* .list-wrap ohne umschließenden .section-Container (Einsätze-Archiv) braucht
     keinen zusätzlichen Randausgleich, da hier nur eine statt zwei Padding-Ebenen existieren */
  .list-wrap-flush {
    margin-left: 0; margin-right: 0;
    width: auto; max-width: none;
  }
  .row { grid-template-columns: 56px 1fr auto; padding: 1.1rem 1rem; gap: 0.9rem; }
  .row-date .day { font-size: 1.2rem; }
  .row-arrow { font-size: 1.5rem; padding-right: 0.2rem; }
}

.card.is-hidden { display: none; }

/* ---- generic content pages ---- */
.page-content { max-width: 1080px; padding: 3rem 1.5rem 4rem; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; margin-bottom: 2.5rem; }

/* ---- Impressum / Datenschutz ---- */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.15rem; margin: 2.2rem 0 0.7rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { line-height: 1.7; color: #4A453F; margin: 0 0 1rem; }
.legal-content .legal-list { margin: 0 0 1rem; padding-left: 1.2rem; line-height: 1.7; color: #4A453F; }
.legal-content .legal-list li { margin-bottom: 0.5rem; }
.legal-address { font-style: normal; line-height: 1.7; background: var(--bg-light-alt); border-radius: 10px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }

/* ---- Mitglied werden ---- */
.mitglied-steps { max-width: 780px; margin: 0 auto; padding-left: 1.3rem; line-height: 1.7; color: #4A453F; }
.mitglied-steps li { margin-bottom: 0.8rem; }

/* ---- Chronik ---- */
.chronik-timeline {
  max-width: 760px; margin: 1rem auto 0; position: relative;
  padding-left: 5.5rem;
}
.chronik-timeline::before {
  content: ""; position: absolute; left: 3.2rem; top: 0.4rem; bottom: 0.4rem; width: 3px;
  background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 40%, var(--bg-light-alt)));
  border-radius: 2px;
}
.chronik-entry { position: relative; padding-bottom: 2.4rem; }
.chronik-entry:last-child { padding-bottom: 0; }
.chronik-jahr {
  position: absolute; left: -5.5rem; top: 0; width: 2.6rem; text-align: right;
  font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif; font-weight: 700;
  font-size: 1.15rem; color: var(--red); letter-spacing: 0.02em;
}
.chronik-jahr::after {
  content: ""; position: absolute; right: -1.1rem; top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px var(--bg-light);
}
.chronik-content { padding-top: 0.05rem; }
.chronik-content p { line-height: 1.7; color: #4A453F; margin: 0; }
.chronik-fotos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.chronik-foto-thumb {
  display: block; width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.chronik-fotos .chronik-foto-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; }

.rc-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.rc-item { background: #fff; border: 1px solid var(--border-light); border-radius: 10px; padding: 1.1rem 1.2rem; }
.rc-item-title { font-size: 1rem; font-weight: 700; color: var(--anthracite); margin-bottom: 0.3rem; }
.rc-item-desc { font-size: 0.92rem; color: #4A453F; margin: 0; line-height: 1.55; }
.rc-item .chronik-fotos { margin-top: 0.9rem; }
.rc-foto-more { position: relative; }
.rc-foto-more::after {
  content: attr(data-more); position: absolute; inset: 0; border-radius: 8px;
  background: rgba(28,30,34,0.6); color: #fff; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 620px) {
  .chronik-timeline { padding-left: 3.6rem; }
  .chronik-timeline::before { left: 1.5rem; }
  .chronik-jahr { position: relative; left: auto; width: auto; text-align: left; margin-bottom: 0.3rem; margin-left: -3.6rem; padding-left: 3.6rem; }
  .chronik-jahr::after { left: 1.45rem; right: auto; top: 0.35rem; }
}

/* ---- Downloads ---- */
.download-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.download-item a {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.1rem; border-radius: 10px;
  background: var(--bg-light-alt); text-decoration: none; color: inherit;
  transition: background 0.15s ease;
}
@media (hover: hover) {
  .download-item a:hover { background: color-mix(in srgb, var(--red) 8%, var(--bg-light-alt)); }
}
.download-icon { flex-shrink: 0; display: flex; color: var(--red); }
.download-icon svg { width: 22px; height: 22px; }
.download-info { display: flex; flex-direction: column; min-width: 0; }
.download-titel { font-weight: 700; }
.download-meta { font-size: 0.78rem; opacity: 0.6; }

/* ---- Fahrzeuge / vehicle showcase ---- */
.vehicle-page.page-content { max-width: 1200px; }
.vehicle-list { display: flex; flex-direction: column; gap: 3.5rem; }
.vehicle-block {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
}
.vehicle-block:last-child { border-bottom: none; padding-bottom: 0; }

.vehicle-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light-alt);
}
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.2rem 0; display: block; }

.vehicle-eyebrow {
  display: inline-block; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.4rem;
}
.vehicle-content { max-width: 780px; }
.vehicle-content h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  margin-bottom: 0.9rem;
}
.vehicle-content p { line-height: 1.7; color: #4A453F; margin-bottom: 1.3rem; font-size: 1.02rem; }
.vehicle-specs { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; }
.vehicle-specs li { font-size: 0.92rem; border-bottom: 1px dotted var(--border-light); padding-bottom: 0.4rem; overflow-wrap: break-word; }

/* ---- Ausrüstung ---- */
.tag-fahrzeug { background: var(--blue); }
.tag-ausruestung { background: var(--amber); color: #3A2C00; }

.ausruestung-filter-bar { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ausruestung-filter-bar button {
  font-family: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.45rem 0.9rem;
  border-radius: 999px; border: 1px solid var(--border-light); background: #fff; color: var(--anthracite); cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ausruestung-filter-bar button.active { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }

.ausruestung-grid {
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 4rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.3rem;
}
.ausruestung-card {
  border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; display: block; background: #fff;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ausruestung-card:hover { box-shadow: 0 8px 20px rgba(28,30,34,0.1); transform: translateY(-2px); }
.ausruestung-card.is-hidden { display: none; }
.ausruestung-thumb { position: relative; height: 140px; background: var(--bg-light-alt); }
.ausruestung-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ausruestung-thumb .tag { position: absolute; top: 0.6rem; left: 0.6rem; }
.ausruestung-card-body { padding: 0.9rem 1rem 1.1rem; }
.ausruestung-card-body h3 { font-size: 0.98rem; margin: 0 0 0.4rem; }
.ausruestung-card-body p { font-size: 0.82rem; color: #5A5650; margin: 0; line-height: 1.45; }

.ausruestung-detail { max-width: 900px; }
.ausruestung-detail > a.more { display: inline-block; margin-bottom: 1.5rem; font-size: 0.8rem; font-weight: 700; color: var(--red); text-decoration: none; }
.ausruestung-detail-head { margin-bottom: 1.5rem; }
.ausruestung-detail-head .tag { display: inline-block; margin-bottom: 0.6rem; }
.ausruestung-detail-head h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 0; }

@media (max-width: 640px) {
  .ausruestung-grid {
    grid-template-columns: 1fr;
    margin-left: -1.5rem; margin-right: -1.5rem;
    width: calc(100% + 3rem);
    padding-left: 1rem; padding-right: 1rem;
  }
  .ausruestung-thumb { height: 200px; }
}

/* ---- generic page hero/intro (Jugendfeuerwehr, Aktive Mannschaft, ...) ---- */
.page-hero { width: 100%; aspect-ratio: 21 / 9; border-radius: 10px; overflow: hidden; margin-bottom: 2rem; background: var(--bg-light-alt); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 639px) {
  .page-hero { width: calc(100% + 2rem); margin-left: -1rem; margin-right: -1rem; }
}
.page-intro { max-width: 700px; margin: 0 auto 2rem; text-align: center; }
.page-intro p { font-size: 1.05rem; line-height: 1.7; color: #4A453F; }

/* ---- Jugendfeuerwehr ---- */

.fact-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem;
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 1.2rem 1.4rem; margin-bottom: 2.5rem;
}
.fact-card .fact .k { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.55; margin-bottom: 0.2rem; }
.fact-card .fact .v { display: block; font-size: 0.98rem; font-weight: 700; }
@media (max-width: 640px) {
  .fact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
}

.page-section { max-width: 780px; margin: 0 auto 2.5rem; }
.page-section h2 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.page-section p { line-height: 1.7; color: #4A453F; margin-bottom: 1rem; }
.page-section.wide { max-width: 900px; }

.jf-abzeichen { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.jf-abzeichen span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 700; padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border-radius: 999px; border: 1px solid var(--border-light); background: #fff;
}
.jf-abzeichen .dot { width: 14px; height: 14px; padding: 0; margin: 0; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.jf-abzeichen .dot.bronze { background: #CD7F32; }
.jf-abzeichen .dot.silber { background: #B7B7B7; }
.jf-abzeichen .dot.gold { background: #D4AF37; }

.jf-betreuer-card {
  max-width: 420px; margin: 0 auto;
  flex-direction: column; align-items: center; text-align: center; gap: 1.2rem;
}
.jf-betreuer-card .fk-avatar { width: 160px; height: 160px; font-size: 2.2rem; }
.jf-betreuer-card .fk-body { text-align: center; }
@media (min-width: 640px) {
  .jf-betreuer-card { flex-direction: row; text-align: left; max-width: 540px; margin: 0; }
  .jf-betreuer-card .fk-body { text-align: left; }
}

.jf-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; }
.jf-gallery a { display: block; border-radius: 6px; overflow: hidden; }
.jf-gallery img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform 0.2s ease; }
.jf-gallery a:hover img { transform: scale(1.04); }

.jf-cta { max-width: 780px; margin: 0 auto; text-align: center; background: var(--bg-light-alt); border-radius: 10px; padding: 2.2rem 1.5rem; }
.jf-cta p { margin-bottom: 1.1rem; font-size: 1.05rem; }

/* ---- Aktive Mannschaft ---- */
.ms-stat-strip { max-width: 700px; padding: 0 1.5rem 2.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: none; }
.ms-stat-strip .stat-n { font-size: 2rem; color: var(--red); }

.ms-quals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem;
}
.ms-qual {
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 1.3rem 1.1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.ms-qual-icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--red) 10%, #fff); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.ms-qual-icon svg { width: 24px; height: 24px; }
.ms-qual-value {
  font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif;
  font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1;
}
.ms-qual-label { font-size: 0.82rem; color: #5A5650; line-height: 1.3; }
.ms-stand { text-align: center; font-size: 0.78rem; opacity: 0.55; margin-top: 1.8rem; }

@media (max-width: 640px) {
  .ms-stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 0.5rem; padding-right: 0.5rem; }
  .ms-stat-strip .stat-n { font-size: 1.5rem; }
}

/* ---- Führungskräfte ---- */
.fk-intro { margin-bottom: 2rem; }
.fk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.fk-card {
  display: flex; gap: 1.2rem; align-items: center;
  background: #fff; border: 1px solid var(--border-light); border-radius: 8px;
  padding: 1.5rem 1.4rem;
}
.fk-avatar {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--amber));
  color: #fff; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif;
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em;
}
.fk-avatar-photo { object-fit: cover; object-position: center top; }
.fk-body { min-width: 0; }
.fk-rang { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); font-weight: 700; margin-bottom: 0.3rem; }
.fk-name { font-size: 1.3rem; margin-bottom: 0.3rem; overflow-wrap: break-word; }
.fk-funktion { font-size: 1rem; opacity: 0.72; line-height: 1.4; margin: 0; }
@media (max-width: 480px) {
  .fk-avatar { width: 72px; height: 72px; font-size: 1.3rem; }
  .fk-name { font-size: 1.15rem; }
}
/* ---- Unwetterwarnungen ---- */
.ww-intro { max-width: 640px; margin: 0 auto 1.75rem; text-align: center; opacity: 0.75; }
.ww-map-card {
  border-radius: 8px; overflow: hidden; border: 1px solid var(--border-light);
  box-shadow: 0 10px 28px rgba(28,30,34,0.1); margin-bottom: 1.75rem;
}
#ww-karte { width: 100%; height: 520px; background: var(--bg-light-alt); }
.ww-legende { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; padding: 1.5rem 1.6rem; }
.ww-legende h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.ww-legende-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem; }
.ww-legende-list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; }
.ww-swatch { width: 15px; height: 15px; border-radius: 3px; display: inline-block; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); }
.ww-quelle { font-size: 0.78rem; opacity: 0.6; margin: 0; }
.ww-quelle a { text-decoration: underline; }
@media (max-width: 640px) { #ww-karte { height: 380px; } }

/* ---- Erfassung (mobiles Formular für Einsätze & Berichte) ---- */
.erf-wrap { max-width: 480px; }
.erf-wrap button, .erf-wrap a, .erf-wrap label.photo-add, .erf-wrap input[type="file"] {
  touch-action: manipulation;
}
@media (max-width: 639px) {
  .erf-wrap { padding-left: 1rem; padding-right: 1rem; }
}

.erf-login {
  background: #fff; border: 1px solid var(--border-light); border-top: 3px solid var(--red);
  border-radius: 14px; padding: 2.8rem 1.9rem; box-shadow: 0 1px 4px rgba(28,30,34,0.05);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin: 1rem auto;
}
.erf-login-logo { margin-bottom: 1.1rem; }
.erf-login-logo img { width: 58px; height: 58px; border-radius: 10px; border: 1px solid var(--border-light); display: block; }
.erf-login-title { font-size: 1.4rem; margin-bottom: 0.3rem; color: var(--anthracite); }
.erf-login-sub { font-size: 0.85rem; color: #6B6660; margin-bottom: 1.9rem; }
.erf-login-form { width: 100%; }
.erf-field { margin-bottom: 1.1rem; text-align: left; }
.erf-field label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--anthracite); font-weight: 700; margin-bottom: 0.4rem; }
.erf-field input {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid #C7C2BB;
  background: var(--bg-light-alt); color: var(--anthracite); font-size: 1rem; font-family: inherit;
}
.erf-field input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.erf-login-hint { font-size: 0.76rem; color: #8a857d; margin-top: 1.5rem; max-width: 32ch; }
.erf-section { padding-top: 1.5rem; padding-bottom: 2rem; }

.erf-error { background: #fdeceb; color: #a3172b; border-radius: 8px; padding: 0.7rem 1rem; font-size: 0.85rem; margin-bottom: 1rem; width: 100%; }
.erf-success { background: #e9f7ee; color: #1f7a41; border-radius: 8px; padding: 0.7rem 1rem; font-size: 0.85rem; margin-bottom: 1.2rem; }

.erf-top { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0 1.2rem; border-bottom: 1px solid var(--border-light); margin-bottom: 1.2rem; }
.erf-who { font-size: 0.78rem; color: #6B6660; }
.erf-who strong { display: block; color: var(--anthracite); font-size: 0.95rem; }
.erf-logout { font-size: 0.78rem; color: var(--red); font-weight: 700; text-decoration: none; }

.erf-greet { font-size: 1.3rem; margin-bottom: 0.2rem; }
.erf-greet-sub { font-size: 0.88rem; color: #6B6660; margin-bottom: 1.6rem; }

.menu-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.2rem;
  border-radius: 14px; margin-bottom: 1rem; text-decoration: none; color: inherit;
  border: 1px solid var(--border-light); background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.menu-card:hover { box-shadow: 0 8px 20px rgba(28,30,34,0.1); transform: translateY(-1px); }
.menu-card .icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.menu-card .icon svg { width: 26px; height: 26px; }
.menu-card.card-einsatz .icon { background: var(--red); }
.menu-card.card-bericht .icon { background: var(--blue); }
.menu-card.card-edit .icon { background: #9AA0A6; }
.menu-card .txt strong { display: block; font-size: 1.02rem; margin-bottom: 0.15rem; }
.menu-card .txt span { font-size: 0.8rem; color: #6B6660; }

.erf-recent { margin-top: 2rem; }
.erf-recent h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.55; margin-bottom: 0.8rem; }
.erf-recent-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light); font-size: 0.86rem;
  text-decoration: none; color: inherit; position: relative;
}
a.erf-recent-row { padding-right: 1.5rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a.erf-recent-row::after {
  content: '›'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 700; color: #C7C2BB; line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}
a.erf-recent-row:hover, a.erf-recent-row:active { color: var(--red); }
a.erf-recent-row:hover::after, a.erf-recent-row:active::after { color: var(--red); transform: translateY(-50%) translateX(2px); }
.erf-recent-row-disabled { opacity: 0.6; }
.erf-recent-row span:first-child { overflow-wrap: break-word; }
.erf-recent-row .dim { color: #6B6660; flex-shrink: 0; }

.erf-recent-list a.erf-recent-row {
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 0.95rem 2rem 0.95rem 1.1rem; margin-bottom: 0.6rem;
}
.erf-recent-list a.erf-recent-row:hover,
.erf-recent-list a.erf-recent-row:active { background: var(--bg-light-alt); border-color: var(--red); }
.erf-recent-list .erf-recent-row-disabled {
  border-radius: 10px; padding: 0.95rem 1.1rem; margin-bottom: 0.6rem;
  background: var(--bg-light-alt); border-bottom: none;
}

.erf-swipe-row {
  position: relative; border-radius: 10px; margin-bottom: 0.6rem;
  clip-path: inset(0 round 10px); /* robuster als overflow:hidden+mask-image: Safari clippt transformierte Kinder damit zuverlässig */
}
.erf-recent-list .erf-swipe-row .erf-recent-row {
  margin-bottom: 0; position: relative; z-index: 1; touch-action: pan-y; will-change: transform;
}
.erf-recent-list .erf-swipe-row div.erf-recent-row {
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px; padding: 0.95rem 1.1rem;
}
.erf-swipe-delete-btn {
  position: absolute; top: 0; right: 0; bottom: 0; width: 84px; z-index: 0;
  background: var(--red); color: #fff; border: none; font-family: inherit;
  font-weight: 700; font-size: 0.82rem; cursor: pointer; touch-action: manipulation;
  border-radius: 0 10px 10px 0;
}

/* Auf Geräten mit Maus (PC/Notebook) gibt es kein Wischen — Löschen-Button dauerhaft sichtbar anzeigen */
@media (hover: hover) and (pointer: fine) {
  .erf-swipe-row { display: flex; align-items: stretch; gap: 0.5rem; overflow: visible; }
  .erf-recent-list .erf-swipe-row .erf-recent-row { flex: 1 1 auto; }
  .erf-swipe-delete-btn {
    position: static; width: auto; flex-shrink: 0; z-index: auto;
    border-radius: 10px; padding: 0 1.1rem; opacity: 0.85; transition: opacity 0.15s ease;
  }
  .erf-swipe-delete-btn:hover { opacity: 1; }
}
.erf-status-tag { font-style: normal; font-size: 0.72rem; color: var(--amber); font-weight: 700; }
.erf-hint-text { font-size: 0.82rem; color: #6B6660; margin: 0 0 1rem; }
.erf-existing-photos { margin-bottom: 0.6rem; }

.erf-form-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--border-light); }
.erf-form-title { font-weight: 700; font-size: 0.95rem; text-align: center; }
.back-link { font-size: 0.85rem; color: var(--red); font-weight: 700; text-decoration: none; justify-self: start; }

.field-group { margin-bottom: 1.3rem; }
.field-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; }
.field-group .opt { font-weight: 400; color: #8a857d; }
.field-group input[type="text"], .field-group input[type="date"], .field-group input[type="time"], .field-group input[type="email"], .field-group input[type="number"], .field-group textarea {
  width: 100%; padding: 0.8rem 0.9rem; border-radius: 10px; border: 1px solid var(--border-light);
  background: var(--bg-light-alt); font-size: 0.98rem; font-family: inherit; text-align: left;
}
/* iOS Safari zentriert Datum-/Zeit-Eingaben sonst trotz text-align: left in ihrem nativen Steuerelement */
.field-group input[type="date"], .field-group input[type="time"] {
  -webkit-appearance: none; appearance: none;
}
.field-group textarea { resize: vertical; min-height: 90px; }
.field-group input:focus, .field-group textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }

/* ---- Kontaktseite ---- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; margin-top: 2rem; align-items: start; }
.kontakt-info { background: var(--anthracite); color: #fff; border-radius: 12px; padding: 2rem 1.8rem; }
.kontakt-info h2 { font-size: 1.05rem; margin-bottom: 1.3rem; }
.kontakt-info .foot-contact { color: #fff; text-decoration: none; opacity: 0.9; margin-bottom: 1rem; }
.kontakt-info .foot-contact:last-child { margin-bottom: 0; }
.kontakt-info .foot-contact:hover { opacity: 1; }
.kontakt-form-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
  padding: 1.8rem; box-shadow: 0 8px 22px rgba(28,30,34,0.06);
}
.kontakt-form textarea { min-height: 140px; }
.kontakt-form button[type="submit"] { cursor: pointer; font-family: inherit; }
.kontakt-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 780px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

/* ---- Einsatzstatistik ---- */
.stat-summary {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem;
  margin: 2rem 0 1.75rem;
}
.stat-summary-tile {
  background: #fff; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 1.1rem 0.8rem; text-align: center;
}
.stat-summary-value { display: block; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.stat-summary-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.65; margin-top: 0.3rem; }

.stat-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
  padding: 1.6rem 1.6rem 1.2rem; margin-bottom: 1.5rem;
}
.stat-card h2 { font-size: 1rem; margin-bottom: 1rem; }
.stat-card h2 .opt { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.55; font-size: 0.8rem; }

.stat-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.stat-grid-2 .stat-card { margin-bottom: 0; }

.stat-chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -0.3rem; padding: 0 0.3rem; }
.stat-chart { width: auto; height: auto; display: block; }
.stat-bar { fill: var(--red); }
.stat-bar-value { font-size: 11px; font-weight: 700; fill: var(--anthracite); font-variant-numeric: tabular-nums; }
.stat-bar-label { font-size: 10.5px; fill: #6B6660; text-transform: uppercase; letter-spacing: 0.02em; }

.stat-donut-wrap { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.stat-donut { width: 150px; height: 150px; flex-shrink: 0; }
.stat-donut-total { font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif; font-size: 30px; font-weight: 700; fill: var(--anthracite); }
.stat-donut-sub { font-size: 10px; fill: #6B6660; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.88rem; }
.stat-legend li { display: flex; align-items: center; gap: 0.55rem; }
.stat-legend strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.stat-legend-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }

.stat-kraefte-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.stat-kraefte-list li { display: grid; grid-template-columns: 8.5rem 1fr auto; align-items: center; gap: 0.7rem; font-size: 0.85rem; }
.stat-kraefte-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-kraefte-bar-wrap { background: var(--bg-light-alt); border-radius: 999px; height: 10px; overflow: hidden; }
.stat-kraefte-bar { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.stat-kraefte-count { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; min-width: 1.5rem; }
.stat-kraefte-hinweis { font-size: 0.76rem; color: #6B6660; margin-top: 0.9rem; }

@media (max-width: 780px) {
  .stat-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid-2 { grid-template-columns: 1fr; }
  .stat-kraefte-list li { grid-template-columns: 6rem 1fr auto; }
  .stat-donut-wrap { flex-direction: column; text-align: center; }
  .stat-legend { align-items: center; }
  .stat-legend li { width: 100%; max-width: 220px; }
}

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.seg button { padding: 0.75rem 0.4rem; border-radius: 10px; border: 1.5px solid var(--border-light); background: #fff; font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.seg button.sel-brand.active { background: var(--red); border-color: var(--red); color: #fff; }
.seg button.sel-thl.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.seg button.sel-sonstiges.active { background: #9AA0A6; border-color: #9AA0A6; color: #fff; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.kraft-suggest { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.7rem; }
.kraft-suggest-btn {
  font-family: inherit; font-size: 0.8rem; font-weight: 600; color: var(--anthracite);
  background: var(--bg-light-alt); border: 1px solid var(--border-light); border-radius: 999px;
  padding: 0.4rem 0.8rem; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.kraft-suggest-mark { display: inline-block; width: 0.9em; }
.kraft-suggest-btn:active { border-color: var(--red); color: var(--red); }
@media (hover: hover) {
  .kraft-suggest-btn:hover { border-color: var(--red); color: var(--red); }
}
.kraft-suggest-btn.is-hinzugefuegt {
  background: var(--red); border-color: var(--red); color: #fff;
}
@media (hover: hover) {
  .kraft-suggest-btn.is-hinzugefuegt:hover { background: #a30d25; border-color: #a30d25; color: #fff; }
}

.kraft-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem; }
.kraft-chips .kraft-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--red); border: 1px solid var(--red); color: #fff;
  border-radius: 999px; padding: 0.35rem 0.7rem 0.35rem 0.9rem; font-size: 0.82rem; font-weight: 600;
}
.kraft-chips .kraft-chip button { border: none; background: none; color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1; cursor: pointer; padding: 0; }
.kraft-chips .kraft-chip button:hover { color: #fff; }
.kraft-add { display: flex; gap: 0.5rem; }
.kraft-add input { flex: 1; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--border-light); background: var(--bg-light-alt); font-family: inherit; font-size: 0.92rem; }
.kraft-add button { flex-shrink: 0; width: 42px; border-radius: 10px; border: 1.5px dashed var(--border-light); background: #fff; font-size: 1.2rem; color: var(--red); cursor: pointer; }

.qual-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.8rem; }
.qual-row { display: flex; gap: 0.5rem; align-items: center; }
/* Höher spezifisch als ".field-group input[type=...]" (das sonst width:100% erzwingt und das Flex-Layout hier zerschießt) */
#qualList .qual-label-input { width: auto; flex: 1; min-width: 0; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--border-light); background: var(--bg-light-alt); font-family: inherit; font-size: 0.92rem; }
#qualList .qual-value-input { width: 4.2rem; flex-shrink: 0; padding: 0.7rem 0.5rem; border-radius: 10px; border: 1px solid var(--border-light); background: var(--bg-light-alt); font-family: inherit; font-size: 0.92rem; text-align: center; }
.qual-remove { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; border: none; background: var(--bg-light-alt); color: #8a857d; font-size: 1.2rem; line-height: 1; cursor: pointer; touch-action: manipulation; }
.qual-remove:active { background: #fdeceb; color: var(--red); }
.qual-add-btn { width: 100%; margin-bottom: 1.3rem; padding: 0.75rem; border-radius: 10px; border: 1.5px dashed var(--border-light); background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--red); cursor: pointer; font-family: inherit; touch-action: manipulation; }

.fk-edit-list { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 0.8rem; }
.fk-edit-card { background: var(--bg-light-alt); border: 1px solid var(--border-light); border-radius: 12px; padding: 1rem; }
.fk-edit-card .field-group { margin-bottom: 0.9rem; }
.fk-edit-card .field-group input { background: #fff; }
.fk-edit-photo { margin-bottom: 0.9rem; }
.fk-foto-add.is-hidden { display: none; }
.fk-edit-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.fk-edit-move-group { display: flex; gap: 0.4rem; }
.fk-edit-move-up, .fk-edit-move-down, .fk-edit-remove {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-light);
  background: #fff; color: #6B6660; font-size: 1rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; touch-action: manipulation; padding: 0;
}
.fk-edit-remove { color: var(--red); border-color: transparent; box-shadow: 0 1px 4px rgba(0,0,0,0.1); font-size: 1.2rem; border-radius: 50%; }

.photo-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.photo-thumb { width: 72px; height: 72px; background: var(--bg-light-alt); position: relative; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.photo-remove {
  position: absolute; top: -9px; right: -9px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; border: 2px solid #fff; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.photo-edit {
  position: absolute; bottom: -9px; right: -9px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--anthracite); color: #fff; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.photo-edit svg { width: 15px; height: 15px; }
.photo-add {
  width: 72px; height: 72px; border-radius: 14px; border: 1.5px dashed var(--border-light);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-light-alt); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.photo-add:hover { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--bg-light-alt)); }
.photo-add-icon { display: flex; color: #8a857d; transition: color 0.15s ease; }
.photo-add-icon svg { width: 26px; height: 26px; }
.photo-add:hover .photo-add-icon { color: var(--red); }
.photo-add-label { display: none; }

/* ---- Foto-Ausrichter: frei verschieb-/zoombares Zuschneiden (Führungskräfte-Fotos) ---- */
.fk-crop-overlay {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(14,15,17,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; padding: 1.2rem;
}
.fk-crop-overlay.open { opacity: 1; pointer-events: auto; }
.fk-crop-modal {
  background: #fff; border-radius: 16px; padding: 1.5rem; max-width: 360px; width: 100%;
  text-align: center;
}
.fk-crop-hint { font-size: 0.85rem; color: #6B6660; margin: 0 0 1rem; }
.fk-crop-viewport {
  width: 280px; height: 280px; max-width: 100%; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; position: relative; margin: 0 auto;
  background: var(--bg-light-alt); cursor: grab; touch-action: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border-light);
}
.fk-crop-viewport:active { cursor: grabbing; }
.fk-crop-img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; }
.fk-crop-zoom { width: 100%; margin: 1.2rem 0 0.4rem; accent-color: var(--red); }
.fk-crop-actions { display: flex; gap: 0.7rem; margin-top: 0.8rem; }
.fk-crop-actions .save-btn { box-shadow: none; }
.fk-crop-cancel {
  flex: 1; padding: 0.85rem; border-radius: 12px; border: 1px solid var(--border-light);
  background: #fff; color: #3a3733; font-weight: 700; font-size: 0.95rem; font-family: inherit; cursor: pointer;
}
.fk-crop-confirm { flex: 1; }

.form-sticky { position: sticky; bottom: 0; padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg-light) 40%); margin-top: 0.5rem; }
.save-btn {
  width: 100%; padding: 1rem; border-radius: 12px; border: none;
  background: var(--red); color: #fff; font-weight: 700; font-size: 1.02rem; font-family: inherit;
  box-shadow: 0 8px 20px rgba(200,16,46,0.35); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  position: relative; overflow: hidden;
}
.save-btn:disabled { opacity: 0.9; cursor: default; }
.save-btn > svg, .save-btn > .save-btn-text { position: relative; z-index: 1; }
.save-btn-progress {
  position: absolute; top: 0; left: 0; bottom: 0; width: 0%;
  background: rgba(255,255,255,0.28); transition: width 0.2s ease; z-index: 0;
}
.save-btn-progress.is-verarbeitung {
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.18) 100%);
  background-size: 200% 100%;
  animation: ff-save-verarbeitung 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .save-btn-progress.is-verarbeitung { animation: none; background: rgba(255,255,255,0.3); }
}
@keyframes ff-save-verarbeitung {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.erf-delete-form { margin-top: 1rem; text-align: center; }
.delete-btn {
  background: none; border: none; color: var(--red); font-family: inherit;
  font-size: 0.85rem; font-weight: 600; padding: 0.6rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}

@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; }
}

/* ---- Kalender ---- */
.kal-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 0 0 2rem; }
.kal-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 8px;
  padding: 0.5rem 1.5rem 1.2rem; box-shadow: 0 8px 22px rgba(28,30,34,0.07);
  margin-bottom: 1.2rem;
}
.kal-month-heading {
  font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.55;
  margin: 1.6rem 0 0.3rem; padding-top: 1rem; border-top: 1px solid var(--border-light);
}
.kal-month-heading:first-child { margin-top: 1rem; padding-top: 0; border-top: none; }
.kal-row {
  display: grid; grid-template-columns: 60px 1fr; gap: 1.1rem; align-items: center;
  padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--border-light);
}
.kal-row:last-child { border-bottom: none; }
.kal-row-date { text-align: center; line-height: 1.05; }
.kal-row-date .day {
  display: block; font-family: 'Oswald', 'Bahnschrift SemiCondensed', sans-serif;
  font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--red);
}
.kal-row-date .month { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.6; }
.kal-row-main { min-width: 0; }
.kal-row-title { font-weight: 600; font-size: 0.98rem; margin-bottom: 0.2rem; overflow-wrap: break-word; }
.kal-row-meta { font-size: 0.82rem; color: #6B6660; }
.kal-empty { padding: 2.5rem 0; text-align: center; opacity: 0.6; }
.kal-hint { font-size: 0.82rem; opacity: 0.6; text-align: center; max-width: 60ch; margin: 0 auto; }
@media (max-width: 640px) {
  .kal-card {
    margin-left: -1.5rem; margin-right: -1.5rem;
    width: calc(100% + 3rem);
    border-radius: 0; border-left: none; border-right: none;
    padding: 0.5rem 1rem 1.2rem;
  }
}

/* ---- Pegelstände ---- */
.pegel-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.pegel-card { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; padding: 1.4rem 1.5rem 0.5rem; box-shadow: 0 8px 22px rgba(28,30,34,0.07); }
.pegel-card h2 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.pegel-frame { width: 100%; height: 420px; border-radius: 4px; overflow: hidden; }
.pegel-frame iframe { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) {
  .pegel-grid {
    margin-left: -1.5rem; margin-right: -1.5rem;
    width: calc(100% + 3rem);
  }
  .pegel-card { border-radius: 0; border-left: none; border-right: none; padding: 1.2rem 1rem 0.5rem; }
  .pegel-frame { height: 340px; }
}

@media (max-width: 640px) {
  .fk-grid {
    grid-template-columns: 1fr;
    margin-left: -1.5rem; margin-right: -1.5rem;
    width: calc(100% + 3rem);
  }
  .fk-card { border-radius: 0; border-left: none; border-right: none; }
}
.vehicle-specs li strong { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.6; margin-bottom: 0.15rem; font-weight: 600; }
.vehicle-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-size: 0.8rem; padding: 0.35rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--border-light); background: #fff; color: var(--anthracite);
}
@media (min-width: 900px) {
  .vehicle-block { flex-direction: row; align-items: center; gap: 3rem; }
  .vehicle-photo { flex: 1 1 58%; aspect-ratio: 4 / 3; }
  .vehicle-content { flex: 1 1 42%; }
  .vehicle-block:nth-child(even) { flex-direction: row-reverse; }
}
@media (max-width: 480px) {
  .vehicle-specs { grid-template-columns: 1fr; }
}
