/*
Theme Name: Feuerwehr Lobstädt
Theme URI: https://example.com
Author: Feuerwehr Lobstädt
Description: Modernes, schlichtes WordPress-Theme für die Feuerwehr Lobstädt.
Version: 1.0
Text Domain: feuerwehr-lobstaedt
*/

:root {
  --color-red: #c1121f;
  --color-red-dark: #8f0d17;
  --color-dark: #111827;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-light: #f5f5f5;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
}

/* Grundlayout */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

a {
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  color: var(--color-red-dark);
}

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

.site-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  color: var(--color-dark);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-tagline {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation a {
  color: var(--color-dark);
  font-size: 0.94rem;
  font-weight: 650;
}

.main-navigation a:hover {
  color: var(--color-red);
}

/* Allgemeine Abschnitte */

.section {
  padding: 64px 0;
}

.section-light {
  background: var(--color-light);
}

.section-tight {
  padding-top: 48px;
  padding-bottom: 52px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-header h1,
.section-header h2 {
  color: var(--color-dark);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 10px;
}

.section-header p {
  color: var(--color-muted);
  margin: 0;
}

.section-header-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  font-weight: 800;
  white-space: nowrap;
}

/* Startseiten-Einstieg */

.home-intro {
  padding: 42px 0 52px;
  background: var(--color-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.eyebrow {
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.intro-content h1 {
  color: var(--color-dark);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.intro-content p {
  max-width: 680px;
  color: var(--color-text);
  font-size: 1.05rem;
  margin: 0 0 22px;
}

/* Notruf-Box */

.quick-info {
  display: flex;
  align-items: stretch;
  max-width: 620px;
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-red);
  border-radius: 14px;
  overflow: hidden;
  margin: 22px 0 26px;
}

.quick-info-number {
  min-width: 116px;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  padding: 16px 20px;
}

.quick-info-number span {
  display: block;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-info-number strong {
  display: block;
  color: var(--color-red);
  font-size: 2.2rem;
  line-height: 1;
  margin-top: 4px;
}

.quick-info-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
}

.quick-info-text strong {
  color: var(--color-dark);
}

.quick-info-text span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Buttons */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.button-primary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

.button-outline {
  color: var(--color-dark);
  border-color: #d1d5db;
}

.button-outline:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* Karten */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.post-card {
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.card h2,
.card h3 {
  color: var(--color-dark);
  margin-top: 0;
}

.card h2 a,
.card h3 a {
  color: var(--color-dark);
}

.card h2 a:hover,
.card h3 a:hover {
  color: var(--color-red);
}

.post-card-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.info-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.info-card p {
  flex: 1;
}

.info-card a {
  font-weight: 800;
}

/* Link-Kacheln */

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.link-tile {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-dark);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
}

.link-tile:hover {
  color: var(--color-dark);
  border-color: rgba(193, 18, 31, 0.35);
  transform: translateY(-2px);
}

.link-tile span {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.link-tile small {
  display: block;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Inhaltsseiten */

.content-area {
  padding: 64px 0;
}

.entry-title {
  color: var(--color-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-top: 0;
}

.entry-content {
  max-width: 820px;
}

.entry-content p {
  margin-top: 0;
}

.entry-thumbnail {
  margin: 24px 0;
}

.entry-thumbnail img {
  border-radius: var(--radius);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* Pagination */

.pagination,
.nav-links {
  margin-top: 32px;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--color-dark);
}

.page-numbers.current {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* Footer */

.site-footer {
  background: var(--color-dark);
  color: #d1d5db;
  padding: 40px 0;
  margin-top: 64px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--color-white);
}

.site-footer a:hover {
  color: #fecaca;
}

/* Responsive */

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-image img {
    max-height: 280px;
  }

  .card-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .text-link {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-navigation ul {
    gap: 10px 14px;
  }

  .section {
    padding: 48px 0;
  }

  .home-intro {
    padding-top: 32px;
  }

  .quick-info {
    flex-direction: column;
  }

  .quick-info-number {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .post-navigation {
    flex-direction: column;
  }
}
/* Feuerwehrrot dezenter stärker einbinden */

.site-header {
  border-top: 5px solid var(--color-red);
}

.section-header h1::after,
.section-header h2::after,
.intro-content h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  background: var(--color-red);
  border-radius: 999px;
  margin-top: 12px;
}

.section-light {
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.045), rgba(193, 18, 31, 0)),
    var(--color-light);
}

.post-card {
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--color-red);
  opacity: 0.85;
}

.post-card h2,
.post-card h3,
.post-card p,
.post-card .post-card-meta,
.post-card a {
  position: relative;
}

.post-card-meta {
  color: var(--color-red-dark);
  font-weight: 700;
}

.info-card {
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.055), rgba(255, 255, 255, 0) 48%),
    var(--color-white);
}

.link-tile {
  border-top: 4px solid transparent;
}

.link-tile:hover {
  border-color: rgba(193, 18, 31, 0.45);
  border-top-color: var(--color-red);
}

.quick-info {
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.06), rgba(255, 255, 255, 0)),
    #f9fafb;
}

.button-primary {
  box-shadow: 0 10px 20px rgba(193, 18, 31, 0.22);
}
/* Einsatzkarten mit Beitragsbild */

.einsatz-card {
  padding: 0;
  overflow: hidden;
}

.einsatz-card::before {
  display: none;
}

.einsatz-card-image {
  display: block;
  background: #f3f4f6;
  color: var(--color-muted);
}

.einsatz-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.einsatz-card-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.12), rgba(17, 24, 39, 0.08)),
    #f3f4f6;
  color: var(--color-red-dark);
  font-weight: 800;
}

.einsatz-card-content {
  padding: 20px 22px 22px;
}

.einsatz-card h3 {
  margin-bottom: 0;
}
/* Logo im Header */

.site-branding-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  display: block;
  width: auto;
  height: 140px;
  max-width: 300px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .site-logo {
    height: 130px;
    max-width: 300px;
  }
}

/* Neuigkeiten / Veranstaltungen */

.news-card {
  padding: 0;
  overflow: hidden;
}

.news-card::before {
  display: none;
}

.news-card-image {
  display: block;
  background: #f3f4f6;
}

.news-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.1), rgba(17, 24, 39, 0.06)),
    #f3f4f6;
  color: var(--color-red-dark);
  font-weight: 800;
}

.news-card-content {
  padding: 20px 22px 22px;
}

.news-card h3 {
  margin-bottom: 10px;
}

/* Telefonbutton in der Notruf-Box */

.quick-info {
  align-items: stretch;
}

.quick-info-text {
  flex: 1;
}

.quick-call-button {
  display: grid;
  place-items: center;
  min-width: 64px;
  padding: 0 18px;
  background: var(--color-red);
  color: #ffffff;
  font-size: 1.45rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.quick-call-button span {
  color: #ffffff;
  filter: brightness(0) invert(1);
}

.quick-call-button:hover {
  background: var(--color-red-dark);
  color: #ffffff;
}

@media (max-width: 760px) {
  .quick-info {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .quick-info-number {
    grid-column: 1 / 2;
    border-bottom: 1px solid var(--color-border);
  }

  .quick-info-text {
    grid-column: 1 / 2;
  }

  .quick-call-button {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    min-width: 58px;
  }
}

/* Fahrzeugseite */

.vehicle-section {
  margin-top: 42px;
}

.vehicle-section > h2 {
  color: var(--color-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 20px;
}

.vehicle-section > h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  background: var(--color-red);
  border-radius: 999px;
  margin-top: 10px;
}

.vehicle-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vehicle-tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vehicle-photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.16), rgba(17, 24, 39, 0.08)),
    #f3f4f6;
  color: var(--color-red-dark);
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}

.vehicle-tile-content {
  padding: 24px;
}

.vehicle-type {
  color: var(--color-red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.vehicle-tile h3,
.vehicle-retired-card h3 {
  color: var(--color-dark);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.15;
  margin: 0;
}

.vehicle-subtitle {
  color: var(--color-muted);
  font-weight: 700;
  margin: 6px 0 18px;
}

.vehicle-tile h4 {
  color: var(--color-dark);
  font-size: 1rem;
  margin: 24px 0 10px;
}

.vehicle-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.vehicle-facts.compact {
  grid-template-columns: repeat(2, 1fr);
}

.vehicle-facts div {
  background: #f9fafb;
  border-left: 4px solid var(--color-red);
  border-radius: 12px;
  padding: 10px 12px;
}

.vehicle-facts dt {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-facts dd {
  color: var(--color-dark);
  font-weight: 700;
  margin: 3px 0 0;
}

.vehicle-equipment {
  margin: 0;
  padding-left: 20px;
}

.vehicle-equipment.compact {
  display: grid;
  gap: 6px;
}

.vehicle-equipment li::marker {
  color: var(--color-red);
}

.vehicle-section-retired {
  margin-top: 54px;
}

.vehicle-retired-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.vehicle-retired-main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.vehicle-retired-main p {
  margin-top: 0;
}

.vehicle-facts.retired {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .vehicle-card-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-retired-main,
  .vehicle-facts.retired {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .vehicle-facts.compact {
    grid-template-columns: 1fr;
  }
}
.vehicle-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
}
/* Kleines Bild beim außer Dienst gestellten Fahrzeug */

.vehicle-retired-main-with-image {
  grid-template-columns: 220px minmax(0, 1fr);
}

.vehicle-retired-photo {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #f3f4f6;
}

@media (max-width: 700px) {
  .vehicle-retired-main-with-image {
    grid-template-columns: 1fr;
  }

  .vehicle-retired-photo {
    max-width: 100%;
  }
}
/* Einzelne Artikel / Einsatzberichte */

.single-post-area {
  padding-top: 48px;
}

.single-post-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.single-post-media {
  position: sticky;
  top: 110px;
}

.single-post-media img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #f3f4f6;
  box-shadow: var(--shadow);
}

.single-post-content {
  min-width: 0;
}

.single-post-content .entry-title {
  margin-bottom: 24px;
}

.single-post-content .entry-content {
  max-width: 760px;
}

@media (max-width: 900px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .single-post-media {
    position: static;
  }

  .single-post-media img {
    max-height: 520px;
  }
}
/* Über uns */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
  margin-top: 28px;
}

.about-content {
  max-width: 760px;
  font-size: 1.05rem;
}

.about-content > *:first-child {
  margin-top: 0;
}

.about-facts {
  display: grid;
  gap: 12px;
}

.about-facts div {
  background: #f9fafb;
  border-left: 4px solid var(--color-red);
  border-radius: 12px;
  padding: 14px 16px;
}

.about-facts span {
  display: block;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-facts strong {
  display: block;
  color: var(--color-dark);
  margin-top: 4px;
  line-height: 1.35;
}

.about-section {
  margin-top: 64px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.leadership-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.leadership-initials {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  background: var(--color-red);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 900;
}

.leadership-card h3 {
  color: var(--color-dark);
  margin: 0;
  font-size: 1.3rem;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.timeline-year {
  background: var(--color-red);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  text-align: center;
  font-weight: 900;
}

.timeline-content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--color-dark);
  margin: 0 0 8px;
}

.timeline-content p {
  margin: 0;
}

.about-task-card {
  min-height: 190px;
}

@media (max-width: 900px) {
  .about-intro,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-year {
    width: fit-content;
  }
}

/* Über uns Bilder-Slideshow */

.about-gallery {
  min-width: 0;
}

.about-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #f3f4f6;
  box-shadow: var(--shadow);
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: aboutSlider 25s infinite;
}

.about-slide:nth-child(1) {
  animation-delay: 0s;
}

.about-slide:nth-child(2) {
  animation-delay: 5s;
}

.about-slide:nth-child(3) {
  animation-delay: 10s;
}

.about-slide:nth-child(4) {
  animation-delay: 15s;
}

.about-slide:nth-child(5) {
  animation-delay: 20s;
}

@keyframes aboutSlider {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
/* Footer Links */

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0.75;
}

.footer-admin-link:hover {
  opacity: 1;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* Mitglied werden */

.join-page {
  padding-top: 42px;
}

.join-hero-with-image {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.join-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.join-hero-content {
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.09), rgba(255, 255, 255, 0) 58%),
    #ffffff;
}
.join-hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  max-width: 700px;
}

.join-hero-content p {
  color: var(--color-text);
  font-size: 1.12rem;
  max-width: 720px;
  margin: 0;
}

.join-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.join-hero-points span {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(193, 18, 31, 0.2);
  border-left: 4px solid var(--color-red);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--color-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.join-section {
  margin-top: 64px;
}

.join-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.join-benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.join-benefit-card > span,
.join-benefit-card div > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: rgba(193, 18, 31, 0.1);
  color: var(--color-red);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 14px;
}

.join-benefit-card h3 {
  color: var(--color-dark);
  margin: 0 0 8px;
}

.join-benefit-card p {
  color: var(--color-muted);
  margin: 0;
}

.join-benefit-card-photo {
  padding: 0;
}

.join-benefit-card-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.join-benefit-card-photo div {
  padding: 22px;
}

.join-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.join-paths {
  display: grid;
  gap: 14px;
}

.join-paths article {
  background: #f9fafb;
  border-left: 5px solid var(--color-red);
  border-radius: 14px;
  padding: 18px 20px;
}

.join-paths h3 {
  color: var(--color-dark);
  margin: 0 0 6px;
}

.join-paths p {
  color: var(--color-muted);
  margin: 0;
}

.join-contact-box {
  background: var(--color-dark);
  color: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.join-contact-box-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.join-contact-box-content {
  padding: 26px;
}

.join-contact-box .eyebrow {
  color: #fecaca;
}

.join-contact-box h2 {
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 0 0 14px;
}

.join-contact-box p {
  color: #d1d5db;
}

.join-contact-data {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.join-contact-data strong {
  color: #ffffff;
}

.join-contact-data a {
  color: #fecaca;
  font-weight: 800;
  word-break: break-word;
}

.join-training {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 24px;
}

.join-training-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.join-training-content h2 {
  color: var(--color-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

.join-training-content p {
  color: var(--color-text);
  font-size: 1.05rem;
}

.join-check-list {
  display: grid;
  gap: 8px;
  padding-left: 0;
  margin: 20px 0 0;
  list-style: none;
}

.join-check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
  color: var(--color-dark);
}

.join-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-red);
  font-weight: 900;
}

.join-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  background:
    linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #ffffff;
  border-radius: 24px;
  padding: 34px;
}

.join-final-cta .eyebrow {
  color: #fee2e2;
}

.join-final-cta h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.join-final-cta p {
  color: #fee2e2;
  margin: 0;
}

.join-final-cta .button-primary {
  background: #ffffff;
  color: var(--color-red-dark);
  box-shadow: none;
}

.join-final-cta .button-primary:hover {
  background: #fee2e2;
  color: var(--color-red-dark);
}

@media (max-width: 980px) {
  .join-hero-with-image,
  .join-split,
  .join-training {
    grid-template-columns: 1fr;
  }

  .join-hero-image img {
    min-height: 280px;
    max-height: 360px;
  }

  .join-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .join-benefits-grid {
    grid-template-columns: 1fr;
  }

  .join-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Einsatz-Archiv */

.einsaetze-archive {
  padding-top: 48px;
}

.einsatz-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.einsatz-archive-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.einsatz-archive-image {
  display: block;
  background: #f3f4f6;
}

.einsatz-archive-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.einsatz-archive-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.12), rgba(17, 24, 39, 0.08)),
    #f3f4f6;
  color: var(--color-red-dark);
  font-weight: 900;
}

.einsatz-archive-content {
  padding: 20px 22px 22px;
}

.einsatz-archive-content h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
}

.einsatz-archive-content h2 a {
  color: var(--color-dark);
}

.einsatz-archive-content h2 a:hover {
  color: var(--color-red);
}

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

@media (max-width: 620px) {
  .einsatz-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Einsatzübersicht mit Seitenstatistik */

.einsaetze-archive {
  padding-top: 48px;
}

.einsatz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.einsatz-main {
  min-width: 0;
}

.einsatz-sidebar {
  position: sticky;
  top: 110px;
}

.einsatz-sidebar-card {
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.1), rgba(255, 255, 255, 0) 54%),
    #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.einsatz-sidebar-card h2 {
  color: var(--color-dark);
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0 0 20px;
}

.einsatz-stat-list {
  display: grid;
  gap: 12px;
}

.einsatz-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f9fafb;
  border-left: 4px solid var(--color-red);
  border-radius: 12px;
  padding: 13px 14px;
}
.einsatz-stat-list span {
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
/* Letzter Einsatz kompakter */


/* Letzter Einsatz dezent */

.einsatz-last-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.einsatz-last-box > span {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.einsatz-last-box strong {
  display: block;
  color: var(--color-dark);
  font-size: 3rem;
  line-height: 1;
  margin-top: 10px;
}

.einsatz-last-box a {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.einsatz-last-box a:hover {
  color: var(--color-red);
}

.einsatz-last-box small {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.einsatz-stat-list strong {
  color: var(--color-red);
  font-size: 2rem;
  line-height: 1;
}

.einsatz-last-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.einsatz-last-box strong {
  display: block;
  color: var(--color-dark);
  font-size: 3.2rem;
  line-height: 1;
  margin-top: 10px;
}

.einsatz-last-box a,
.einsatz-last-box small {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.einsatz-type-overview {
  margin-bottom: 36px;
}

.small-section-header {
  margin-bottom: 18px;
}

.small-section-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.einsatz-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.einsatz-type-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-red);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--color-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
}

.einsatz-type-card:hover {
  color: var(--color-dark);
  border-color: rgba(193, 18, 31, 0.35);
  border-left-color: var(--color-red);
  transform: translateY(-2px);
}

.einsatz-type-card span {
  font-weight: 800;
}

.einsatz-type-card strong {
  color: var(--color-red);
  font-size: 1.7rem;
  line-height: 1;
}

.einsatz-list-section {
  margin-top: 12px;
}

.einsatz-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.einsatz-archive-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.einsatz-archive-image {
  display: block;
  background: #f3f4f6;
}

.einsatz-archive-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.einsatz-archive-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.12), rgba(17, 24, 39, 0.08)),
    #f3f4f6;
  color: var(--color-red-dark);
  font-weight: 900;
}

.einsatz-archive-content {
  padding: 20px 22px 22px;
}

.einsatz-archive-content h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
}

.einsatz-archive-content h2 a {
  color: var(--color-dark);
}

.einsatz-archive-content h2 a:hover {
  color: var(--color-red);
}

@media (max-width: 980px) {
  .einsatz-layout {
    grid-template-columns: 1fr;
  }

  .einsatz-sidebar {
    position: static;
    order: -1;
  }

  .einsatz-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .einsatz-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .einsatz-type-grid,
  .einsatz-archive-grid {
    grid-template-columns: 1fr;
  }
}
.einsatz-sidebar-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
/* Einsatzarten in der Seitenleiste */

.einsatz-sidebar-types {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.einsatz-sidebar-types h3 {
  color: var(--color-dark);
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.einsatz-sidebar-type-list {
  display: grid;
  gap: 0;
}

.einsatz-sidebar-type-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.einsatz-sidebar-type-list a:first-child {
  border-top: 1px solid var(--color-border);
}

.einsatz-sidebar-type-list a:hover {
  color: var(--color-red);
}

.einsatz-sidebar-type-list span {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.einsatz-sidebar-type-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  background: rgba(193, 18, 31, 0.08);
  color: var(--color-red-dark);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}
.back-to-einsaetze {
  margin: -10px 0 28px;
}

.back-to-einsaetze a {
  font-weight: 800;
}
/* Hinweis auf nächste Veranstaltung */

.next-event-section {
  padding: 0 0 42px;
  background: var(--color-white);
}

.next-event-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.1), rgba(255, 255, 255, 0) 58%),
    #ffffff;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-red);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.next-event-date span {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-event-date strong {
  display: block;
  color: var(--color-red-dark);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-top: 6px;
}

.next-event-content h2 {
  color: var(--color-dark);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.15;
  margin: 0 0 6px;
}

.next-event-content h2 a {
  color: var(--color-dark);
}

.next-event-content h2 a:hover {
  color: var(--color-red);
}

.next-event-content p {
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 820px) {
  .next-event-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
/* 404-Seite */

.error-404-page {
  padding-top: 52px;
}

.error-404-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.11), rgba(17, 24, 39, 0.04)),
    #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.error-404-content h1 {
  color: var(--color-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  margin: 0 0 18px;
}

.error-404-content p {
  color: var(--color-text);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.error-404-sign {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.16) 12px,
      rgba(255, 255, 255, 0.06) 12px,
      rgba(255, 255, 255, 0.06) 24px
    ),
    linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: #ffffff;
  border-radius: 20px;
  padding: 24px;
  overflow: hidden;
}

.error-404-sign::before {
  content: "🚧";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
}

.error-404-sign span {
  display: block;
  font-size: 4.4rem;
  line-height: 0.9;
  font-weight: 900;
}

.error-404-sign strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-top: 10px;
}

.error-404-sign small {
  color: #fee2e2;
  font-weight: 700;
  margin-top: 6px;
}

.error-404-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.error-404-links a {
  display: block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-red);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--color-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
}

.error-404-links a:hover {
  color: var(--color-dark);
  border-color: rgba(193, 18, 31, 0.35);
  border-left-color: var(--color-red);
  transform: translateY(-2px);
}

.error-404-links span {
  display: block;
  font-weight: 900;
}

.error-404-links small {
  display: block;
  color: var(--color-muted);
  margin-top: 4px;
}

@media (max-width: 840px) {
  .error-404-card {
    grid-template-columns: 1fr;
  }

  .error-404-links {
    grid-template-columns: 1fr;
  }
}
/* Interner Bereich */

.intern-page {
  padding-top: 48px;
}

.intern-password-card {
  max-width: 620px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.1), rgba(255, 255, 255, 0)),
    #ffffff;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-red);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.intern-password-card h1 {
  color: var(--color-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.intern-password-card p {
  color: var(--color-muted);
}

.intern-password-form form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.intern-password-form label {
  font-weight: 800;
  color: var(--color-dark);
}

.intern-password-form input[type="password"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 11px 12px;
}

.intern-password-form input[type="submit"] {
  width: fit-content;
  background: var(--color-red);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  cursor: pointer;
}

.intern-password-form input[type="submit"]:hover {
  background: var(--color-red-dark);
}

.intern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.intern-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-red);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.intern-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.intern-card h2 {
  color: var(--color-dark);
  margin: 0 0 8px;
}

.intern-card p {
  color: var(--color-muted);
}

.intern-card a {
  font-weight: 900;
}

.intern-section {
  margin-top: 64px;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-red);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--color-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
}

.download-list a:hover {
  color: var(--color-dark);
  transform: translateY(-1px);
}

.download-list span {
  font-weight: 900;
}

.download-list small {
  color: var(--color-red-dark);
  font-weight: 800;
  white-space: nowrap;
}

.intern-notice {
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-red);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.intern-notice strong {
  color: var(--color-dark);
}

.intern-notice p {
  color: var(--color-muted);
  margin-bottom: 0;
}

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

  .download-list a {
    align-items: flex-start;
    flex-direction: column;
  }
}
.footer-links .footer-admin-link:first-of-type {
  border-color: rgba(193, 18, 31, 0.65);
}
/* Interner Bereich */

.intern-page {
  padding-top: 48px;
}

.intern-password-card {
  max-width: 620px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.1), rgba(255, 255, 255, 0)),
    #ffffff;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-red);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.intern-password-card h1 {
  color: var(--color-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.intern-password-card p {
  color: var(--color-muted);
}

.intern-password-form form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.intern-password-form label {
  font-weight: 800;
  color: var(--color-dark);
}

.intern-password-form input[type="password"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 11px 12px;
}

.intern-password-form input[type="submit"] {
  width: fit-content;
  background: var(--color-red);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  cursor: pointer;
}

.intern-password-form input[type="submit"]:hover {
  background: var(--color-red-dark);
}

.intern-header {
  margin-bottom: 30px;
}

.intern-header-actions {
  margin-top: 22px;
}

.dienstplan-panel {
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.08), rgba(255, 255, 255, 0) 45%),
    #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.dienstplan-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.dienstplan-panel-head span {
  display: block;
  color: var(--color-red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dienstplan-panel-head h2 {
  color: var(--color-dark);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin: 6px 0 0;
}

.dienstplan-panel-head p {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.dienstplan-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.dienstplan-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.dienstplan-table th,
.dienstplan-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.dienstplan-table th {
  background: #111827;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dienstplan-table th:first-child {
  border-top-left-radius: 17px;
}

.dienstplan-table th:last-child {
  border-top-right-radius: 17px;
}

.dienstplan-table td {
  color: var(--color-text);
  font-size: 0.95rem;
}

.dienstplan-table tbody tr:last-child td {
  border-bottom: 0;
}

.dienstplan-table tbody tr:hover {
  background: #f9fafb;
}

.dienstplan-date strong {
  color: var(--color-dark);
  white-space: nowrap;
}

.dienstplan-topic {
  font-weight: 800;
  color: var(--color-dark);
}

.dienstplan-table tbody tr.is-past {
  opacity: 0.42;
  background: #f3f4f6;
}

.dienstplan-table tbody tr.is-past td {
  color: #6b7280;
}

.dienstplan-table tbody tr.is-past .dienstplan-topic,
.dienstplan-table tbody tr.is-past .dienstplan-date strong {
  color: #6b7280;
}

.dienstplan-table tbody tr.is-next {
  background:
    linear-gradient(90deg, rgba(193, 18, 31, 0.14), rgba(255, 255, 255, 0));
}

.dienstplan-table tbody tr.is-next td {
  font-weight: 800;
}

.dienstplan-table tbody tr.is-next td:first-child {
  border-left: 5px solid var(--color-red);
}

.dienstplan-table tbody tr.is-next .dienstplan-date strong::after {
  content: "Nächster Dienst";
  display: block;
  width: fit-content;
  margin-top: 6px;
  background: var(--color-red);
  color: #ffffff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dienstplan-note {
  color: var(--color-muted);
  font-size: 0.88rem;
  margin: 14px 0 0;
}

@media (max-width: 760px) {
  .dienstplan-panel {
    padding: 18px;
  }

  .dienstplan-panel-head {
    display: block;
  }

  .dienstplan-panel-head p {
    margin-top: 8px;
  }
}
/* Zusatzinfos Dienstplan */

.dienstplan-extra-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.dienstplan-small-note {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.dienstplan-extra-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
}

.dienstplan-extra-head span {
  display: block;
  color: var(--color-red-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dienstplan-extra-head h3 {
  color: var(--color-dark);
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 6px 0 16px;
}

.dienstplan-extra-list,
.dienstplan-event-list {
  display: grid;
  gap: 10px;
}

.dienstplan-extra-list div,
.dienstplan-event-list div {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  background: #f9fafb;
  border-left: 4px solid var(--color-red);
  border-radius: 12px;
}

.dienstplan-extra-list strong,
.dienstplan-event-list strong {
  color: var(--color-dark);
  font-size: 0.9rem;
}

.dienstplan-extra-list span,
.dienstplan-event-list span {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.dienstplan-extra-note {
  color: var(--color-muted);
  font-size: 0.86rem;
  margin: 14px 0 0;
}

.dienstplan-highlight-box {
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.12), rgba(255, 255, 255, 0)),
    #f9fafb;
  border-left: 5px solid var(--color-red);
  border-radius: 16px;
  padding: 18px;
}

.dienstplan-highlight-box strong {
  display: block;
  color: var(--color-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.dienstplan-highlight-box span {
  display: block;
  color: var(--color-red-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 8px;
}

.dienstplan-event-list div.is-past {
  opacity: 0.42;
  background: #f3f4f6;
  border-left-color: #9ca3af;
}

.dienstplan-event-list div.is-past strong,
.dienstplan-event-list div.is-past span {
  color: #6b7280;
}

@media (max-width: 980px) {
  .dienstplan-extra-grid {
    grid-template-columns: 1fr;
  }
}
/* Dienstplan mobil als Karten */

@media (max-width: 700px) {
  .dienstplan-table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .dienstplan-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .dienstplan-table thead {
    display: none;
  }

  .dienstplan-table,
  .dienstplan-table tbody,
  .dienstplan-table tr,
  .dienstplan-table td {
    display: block;
  }

  .dienstplan-table tr {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 5px solid transparent;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.045);
  }

  .dienstplan-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
  }

  .dienstplan-table td:last-child {
    border-bottom: 0;
  }

  .dienstplan-table td::before {
    content: attr(data-label);
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .dienstplan-table tbody tr.is-past {
    opacity: 0.48;
    background: #f3f4f6;
  }

  .dienstplan-table tbody tr.is-next {
    border-left-color: var(--color-red);
    background:
      linear-gradient(135deg, rgba(193, 18, 31, 0.13), rgba(255, 255, 255, 0)),
      #ffffff;
  }

  .dienstplan-table tbody tr.is-next td:first-child {
    border-left: 0;
  }

  .dienstplan-table tbody tr.is-next .dienstplan-date strong::after {
    margin-top: 7px;
  }
}
.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
/* Über uns Video */

.about-video-section {
  margin-top: 54px;
}

.about-video-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(193, 18, 31, 0.08), rgba(17, 24, 39, 0.04)),
    #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.about-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 6px solid var(--color-red);
  pointer-events: none;
}

.about-video {
  display: block;
  width: 100%;
  max-height: 620px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111827;
  border-radius: 16px;
}
/* Video im Zeitstrahl */

.timeline-video-card {
  margin-top: 16px;
  overflow: hidden;
  background: #111827;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.timeline-video {
  display: block;
  width: 100%;
  max-height: 360px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111827;
}

.timeline-item-with-video .timeline-content {
  padding-bottom: 24px;
}
