/**
Theme Name: Feuerwehr Zollikon
Author: i-Webdesign
Author URI: https://www.i-webdesign.ch
Description: WordPress Theme für die Feuerwehr Zollikon
Version: 1.17.0
Template: onepress
*/

/** ===== Table of Content =====
01. Root Variables
02. Various fixes
03. Hero section
04. Frontpage
05. Stats
06. miniCard
07. ctaCard
08. cards (with steps)
09. FAQ
10. Einsatz
11. Vehicles
12. Header Page Image
13. 404 Page
14. Kommando Grid
15. Overwrite default Fontstyle
**/

/* ===== [01] Root Variables ===== */
:root {
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 0px;
  --radius-lg: 12px;

  /* Shadow */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-md-card: 0 14px 36px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 160ms;
  --duration-base: 220ms;

  --fw-hero-text: #ffffff;
  --fw-hero-muted: rgba(255, 255, 255, 0.78);
  --fw-hero-border: rgba(255, 255, 255, 0.14);
  --fw-hero-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --fw-hero-radius: 0px;
  --fw-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fw-dur: 220ms;

  --fw-primary: #d3e861;
  --fw-ghost: rgba(255, 255, 255, 0.08);

  --fw-nav-height: 75px;
}

.h1 {
  font-size: 40px !important;
  color: #222222;
}

.h2 {
  font-size: 32px !important;
  color: #222222;
}

.h3 {
  font-size: 27px !important;
  color: #222222;
}

.h4 {
  font-size: 24px !important;
  color: #222222;
}

.h5 {
  font-size: 22px !important;
  color: #222222;
}

.h6 {
  font-size: 20px !important;
  color: #222222;
}

.a {
  font-size: 18px !important;
  color: #333333;
}

body {
  color: #333333;
}

p,
li,
span,
div {
  color: #333333;
}

/* ===== [02] Various fixes ===== */
.footer-connect {
  padding-top: 25px !important;
  padding-bottom: 5px !important;
}

/* Reveal animations (subtle) */
.fw-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  transition-delay: var(--d, 0ms);
}

.fw-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.fw-center {
  text-align: center;
  margin-top: 12px;
}

.fw-link {
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none !important;
}

a,
a:visited {
  text-decoration: none;
}

a {
  color: #0e4184;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #071f3f;
  text-decoration: none !important;
}

/* Nur Textbereiche (nicht Buttons etc.) */
.site-content a,
.entry-content a {
  color: #0e4184;
}

.wp-embed-aspect-16-9 iframe {
  width: 100% !important;
}

.wp-block-image img {
  border-radius: var(--radius-md) !important;
}

.site-info {
  margin-top: 20px !important;
}

.menu-item > a {
  font-weight: 700;
}

.current-menu-item > a,
.current-menu-parent > a,
.current-menu-ancestor > a {
  font-weight: 900;
}

/* OP Header: Logo & Title aligned  */

.site-brand-inner {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.site-logo-div {
  flex-shrink: 0 !important;
}

.site-title-desc {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.site-title a {
  margin: 0 !important;
  margin-top: 10px;
  line-height: 1 !important;
  font-size: 22px !important;
  letter-spacing: 0.8px !important;
  font-weight: 700 !important;
}

.site-description {
  margin-top: 2px;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 1230px) {
  .site-title a {
    font-size: 20px !important;
  }
}

@media (max-width: 1140px) {
  .site-title a {
    font-size: 22px !important;
  }
}

@media (max-width: 600px) {
  .site-title a {
    font-size: 20px !important;
  }
}

/*Copyright-Footer*/
.site-info .container {
  color: white !important;
}

ul.fw-articleCard {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

ul.fw-articleCard > li.wp-block-post {
  display: grid !important;
  grid-template-columns: 1fr !important;
  text-decoration: none !important;
  color: inherit !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  border: 1px solid #e4e7ec !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
  padding-bottom: 16px;
  margin-left: 0px !important;
}

ul.fw-articleCard > li.wp-block-post > .wp-block-post-title,
ul.fw-articleCard > li.wp-block-post > .wp-block-columns,
ul.fw-articleCard > li.wp-block-post > .wp-block-post-excerpt {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

ul.fw-articleCard > li.wp-block-post > .wp-block-columns {
  margin-bottom: 0px !important;
}

ul.fw-articleCard > li.wp-block-post:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.1) !important;
}

/* CF7 Formular full wicdth */
.wpcf7 form {
  width: 100%;
}

.wpcf7 form p {
  margin-bottom: 1.5rem;
}

.wpcf7 form label {
  display: block;
  width: 100%;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.wpcf7 input[type="checkbox"] {
  width: auto;
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    transform var(--fw-dur) var(--fw-ease),
    background var(--fw-dur) var(--fw-ease),
    border-color var(--fw-dur) var(--fw-ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;

  /*--primary*/
  background: var(--fw-primary);
  color: #0f1113;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.wpcf7 input[type="submit"]:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.25);
  outline-offset: 3px;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
}

.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  box-sizing: border-box;

  background-color: #dcdcdc;
  color: #6f6f6f;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  padding: 14px 40px 14px 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.wpcf7 select:hover {
  background-color: #d2d2d2;
}

.wpcf7 select:focus {
  outline: none;
  border-color: #b5b5b5;
}

.wpcf7 .wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7 select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%236f6f6f' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}


.content-area {
  padding-top: 0px !important;
}


.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0px !important;
}

.has-media-on-the-left .wp-block-media-text__content {
  padding-right: 0px !important;
}

.wp-element-button {
  color: white !important;
}

/* External-Links icon */
.entry-content a[href^="https"]:not([href*="zolli.ch"]):after {
    content: "";
    display: inline-block;
    width: .85em;
    height: .85em;
    margin-left: 0.25em;
    vertical-align: baseline;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWV4dGVybmFsLWxpbmstaWNvbiBsdWNpZGUtZXh0ZXJuYWwtbGluayI+PHBhdGggZD0iTTE1IDNoNnY2Ii8+PHBhdGggZD0iTTEwIDE0IDIxIDMiLz48cGF0aCBkPSJNMTggMTN2NmEyIDIgMCAwIDEtMiAySDVhMiAyIDAgMCAxLTItMlY4YTIgMiAwIDAgMSAyLTJoNiIvPjwvc3ZnPg==");
    background-size: contain;
    background-repeat: no-repeat;
}


/* Ausgeschlossene Klassen: Kein Icon anzeigen */
.einsatz-link--ig:after,
.social-link:after,
.no-external-icon:after {
    content: none !important;
    display: none !important;
}

body.page-template-default .site-content {
    border-top: 0 !important;
}

/* ===== [03] Hero section ===== */

.fw-hero {
  position: relative;
  width: 100vw;
  height: calc(100vh - var(--fw-nav-height, 0px));
  height: calc(100svh - var(--fw-nav-height, 0px));
  height: calc(100dvh - var(--fw-nav-height, 0px));
  overflow: hidden;
  isolation: isolate;
  color: var(--fw-hero-text);
  background: #0b0f14;
}

/* Layer 1 & 2: from JS-Variables */
.fw-hero::before,
.fw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: /*blur(2px)*/ saturate(1.05) contrast(1.05);
  transition: opacity var(--fw-dur) var(--fw-ease);
  opacity: 0;
  will-change: opacity;
}

/* before = Standard image */
.fw-hero::before {
  background-image: var(--fw-hero-before);
  opacity: 1;
}

/* after = second image, gets displayed via .show-after */
.fw-hero::after {
  background-image: var(--fw-hero-after);
  opacity: 0;
}

.fw-hero.show-after::after {
  opacity: 1;
}

.fw-hero.show-after::before {
  opacity: 0;
}

.fw-hero:not(.is-ready)::before,
.fw-hero:not(.is-ready)::after {
  opacity: 0;
}

.fw-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.58)
    ),
    radial-gradient(
      1200px 700px at 65% 40%,
      rgba(0, 0, 0, 0.06),
      rgba(0, 0, 0, 0.55)
    );
}

/* Inhalt */
.fw-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(45px, 6vw, 100px) 0 0 0; /* kein bottom padding */
  align-items: center;

  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 3vw, 44px);
}

/* LINKS */
.fw-hero__visual {
  height: 100%;
  display: flex;
  align-items: center;
}

.fw-hero__people {
  display: block;
  max-height: none;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.1);
  transform-origin: bottom left;
}

/* RECHTS */
.fw-hero__content {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.fw-hero__eyebrow {
  margin: 0;
  width: 100%;
  text-align: right;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 980px) {
  .fw-hero__eyebrow {
    display: none;
  }
}

.fw-hero__title {
  margin: 0;
  width: 100%;
  text-align: right;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-size: clamp(34px, 4.6vw, 70px);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  color: white;
}

.fw-hero__subtitle {
  margin: 0;
  width: 100%;
  text-align: right;
  max-width: 52ch;
  color: var(--fw-hero-muted);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.55;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.fw-hero__actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    transform var(--fw-dur) var(--fw-ease),
    background var(--fw-dur) var(--fw-ease),
    border-color var(--fw-dur) var(--fw-ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.fw-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.25);
  outline-offset: 3px;
}

.fw-btn--primary {
  background: var(--fw-primary);
  color: #0f1113;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.fw-btn--ghost {
  background: var(--fw-ghost);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.fw-btn:hover {
  transform: translateY(-1px);
}
.fw-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}


.fw-hero__dots {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.fw-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    transform 180ms var(--fw-ease),
    background 180ms var(--fw-ease);
}

.fw-dot.is-active {
  background: rgba(255, 255, 255, 0.92);
  transform: scale(1.25);
}

@media (max-width: 980px) {
  .fw-hero{
    position: relative;
  }
  .fw-hero__inner {
grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 14px;
    padding-bottom: 50vh; /* --> synchronous with __visual height*/
  }

  .fw-hero__visual {
position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
  }

  .fw-hero__people {
height: 100%;
    width: auto;
    max-height: none;
    margin-bottom: -2px;
    transform-origin: bottom center;
  }

  .fw-hero__content {
    position: relative;
    z-index: 2;
  }

  .fw-hero__eyebrow,
  .fw-hero__title,
  .fw-hero__subtitle {
    text-align: left;
  }

  .fw-hero__actions,
  .fw-hero__dots {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .fw-hero__inner {
    width: calc(100% - 28px);
  }

  .fw-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fw-hero::before,
  .fw-hero::after {
    transition: none;
  }

  .fw-dot {
    transition: none;
  }
}

/* ===== [04] FW Frontpage ===== */

.fw-front {
  background: #fff;
}

/* Container */
.fw-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Section */
.fw-section {
  padding: 64px 0;
}

.fw-section--alt {
  background: #f5f6f8;
}

.fw-headline {
  text-align: center;
  margin-bottom: 24px;
}

.fw-section__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fw-section__sub {
  margin: 10px auto 0;
  max-width: 720px;
  opacity: 0.85;
}

/* ===== [05] FW Frontpage ===== */
.fw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .fw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .fw-stats {
    grid-template-columns: 1fr;
  }
}

.fw-stat {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.fw-stat__num {
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.fw-stat__label {
  margin-top: 8px;
  font-weight: 800;
  opacity: 0.85;
}

/* ===== [06] Quick Links (miniCards) ===== */

.fw-grid {
  display: grid;
  gap: 12px;
}

.fw-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .fw-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .fw-grid--3 {
    grid-template-columns: 1fr;
  }
}

.fw-miniCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  border: 1px solid #e4e7ec;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  margin-top: 10px;
  margin-bottom: 10px;
}

.fw-miniCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
  border-color: #d6dae1;
}

.fw-miniCard__title {
  font-weight: 900;
}

.fw-miniCard__chev {
  font-weight: 900;
  opacity: 0.7;
}

/* ===== [07] ctaCards with images ===== */
.fw-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 860px) {
  .fw-cta__grid {
    grid-template-columns: 1fr;
  }
}

.fw-ctaCard {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e4e7ec;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

@media (max-width: 860px) {
  .fw-ctaCard {
    grid-template-columns: 1fr;
  }
}

.fw-ctaCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.1);
}

.fw-ctaCard__media {
  min-height: 210px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.fw-ctaCard__body {
  padding: 18px 18px 16px;
}

.fw-ctaCard__title {
  font-weight: 950;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.fw-ctaCard__text {
  opacity: 0.9;
  margin-bottom: 12px;
}

.fw-ctaCard__action {
  font-weight: 950;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ===== [08] Einsatzgrundsätze / Cards ===== */

.fw-cards {
  margin: 32px 0;
}


.fw-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fw-cards__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fw-cards__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.fw-card {
  position: relative;

  min-width: 0;
  min-height: 190px;

  padding: 28px 26px 26px 88px;

  background: #ffffff;

  border: 1px solid #d7dadd;
  border-top: 4px solid #d3e861;
  border-radius: 3px;

  box-shadow:
    0 2px 5px rgba(17, 24, 39, 0.06);

  overflow: hidden;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}


/* Ruhiger Hover – kein Scale / Schweben */
.fw-card:hover {
  border-color: #bfc3c7;
  border-top-color: #d3e861;

  box-shadow:
    0 4px 10px rgba(17, 24, 39, 0.09);
}

.fw-card__badge {
  position: absolute;

  left: 22px;
  top: 50%;

  width: auto;
  height: auto;
  margin: 0;

  display: block;

  background: transparent;
  border: 0;
  border-radius: 0;

  color: #d3e861;

  font-size: 5rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.07em;

  transform: translateY(-50%);

  opacity: 0.92;

  pointer-events: none;
  user-select: none;
}


.fw-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 22px;

  margin: 0 0 14px;
}

.fw-card__title {
  margin: 0;

  color: #181a1d;

  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 750;

  letter-spacing: -0.015em;
}


.fw-card__text {
  margin: 0;

  max-width: 36rem;

  color: #50545a;

  line-height: 1.65;
}

.fw-card svg,
.fw-card__icon {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  color: #d3e861;
  fill: currentColor;

  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {

  .fw-cards__grid,
  .fw-cards__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fw-card {
    min-height: 180px;

    padding:
      26px
      24px
      24px
      84px;
  }

  .fw-card__badge {
    left: 21px;

    font-size: 4.5rem;
  }

  .fw-card svg,
  .fw-card__icon {
    width: 42px;
    height: 42px;

    flex-basis: 42px;
  }
}

@media (max-width: 640px) {

  .fw-cards {
    margin: 24px 0;
  }

  .fw-cards__grid,
  .fw-cards__grid--3,
  .fw-cards__grid--2 {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .fw-card {
    min-height: 150px;

    /*
     * Nummer bleibt auch mobil links.
     * Etwas weniger Innenabstand, damit die Card nicht
     * unnötig breit wirkt.
     */
    padding:
      23px
      20px
      22px
      72px;
  }

  .fw-card__badge {
    left: 18px;

    font-size: 3.75rem;
  }

  .fw-card__header {
    gap: 16px;

    margin-bottom: 11px;
  }

  .fw-card__title {
    font-size: 1.18rem;
  }

  .fw-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .fw-card svg,
  .fw-card__icon {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }
}

@media (max-width: 380px) {

  .fw-card {
    padding-left: 64px;
  }

  .fw-card__badge {
    left: 15px;

    font-size: 2.35rem;
  }

  .fw-card svg,
  .fw-card__icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .fw-card {
    transition: none;
  }
}

/* ===== [09] FAQ ===== */
.fw-faq {
  padding-top: 15px;
  padding-bottom: 15px;
}

.fw-faq__inner {
  width: 100%;
  margin: 0 auto;
}

.fw-faq__head {
  margin-bottom: 18px;
}

.fw-faq__title {
  margin: 0 0 6px 0;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fw-faq__subtitle {
  margin: 0;
  opacity: 0.8;
  font-size: 16px;
  line-height: 1.6;
}

.fw-faq__list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.fw-faq__item {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.fw-faq__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.12);
}

.fw-faq__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0px !important;
}

.fw-faq__summary::-webkit-details-marker {
  display: none;
}

.fw-faq__content {
  padding: 0 16px 16px 16px;
  opacity: 0.92;
}

.fw-faq__content p {
  margin: 0;
  line-height: 1.7;
}

.fw-faq__icon {
  width: 18px;
  height: 18px;
  position: relative;
  display: inline-block;
  opacity: 0.75;
}

.fw-faq__icon::before,
.fw-faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 2px;
}

.fw-faq__icon::before {
  width: 18px;
  height: 2px;
}

.fw-faq__icon::after {
  width: 2px;
  height: 18px;
}

.fw-faq__item[open] .fw-faq__icon::after {
  transform: scaleY(0);
}

.fw-faq__item[open] .fw-faq__content {
  padding-top: 2px;
}

.fw-faq__summary:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.18);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}



/* ===== [10] Einsätze: Tabs and  Table ===== */
.einsatz-uebersicht {
  margin: 30px 0;
}

.einsatz-year-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
/*
@media (max-width: 768px) {
  .einsatz-year-tabs {
    grid-template-columns: 3fr;
  }
}*/

.einsatz-year-tab {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  background: #f4f6f8;
  color: #1f2a37;
  border: 1px solid #d7dde3;
  box-shadow: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.einsatz-year-tab:hover {
  background: #eef2f5;
  border-color: #cfd6dd;
}

.einsatz-year-tab.is-active {
  background: #ffffff;
  border-color: #0aa7a2;
}

.einsatz-table-wrap {
  background: #ffffff;
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  position: relative;
}

.einsatz-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-md);
}

.einsatz-table thead th {
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2a37;
  padding: 12px 12px;
  background: #ffffff;
  border-bottom: 3px solid #d3e861;
  /* die farbige Linie wie im Screenshot */
}


.einsatz-table tbody td {
  padding: 12px 12px;
  color: #1f2a37;
  border-bottom: 1px solid #d6e3f1;
  /* dünne blaue Linie wie im Screenshot */
  vertical-align: top;
}

.einsatz-table tbody tr:nth-child(even) td {
  background: #f4f7fb;
}

.einsatz-table tbody tr:hover td {
  background: #eef5ff;
}

.einsatz-table .col-num {
  width: 60px;
}

.einsatz-table .col-date {
  width: 140px;
}

.einsatz-table .col-time {
  width: 110px;
}

.einsatz-table .col-group {
  width: 240px;
}

.einsatz-table .col-event {
  width: auto;
}

.einsatz-table .col-links {
  width: 140px;
  text-align: right;
}

.einsatz-links {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-top: 2px;
}

.einsatz-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

.einsatz-link:hover {
  background: transparent;
  border: 0;
  transform: none;
}

.einsatz-link .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: #1f2a37;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.einsatz-link:hover .dashicons {
  opacity: 1;
}

.einsatz-empty-row,
.einsatz-empty {
  padding: 14px 14px;
  color: #6b7280;
}

.einsatz-table .col-links {
  width: 90px;
  text-align: right;
}

.einsatz-link .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}


/* Badge ADL-Stpt. */
.einsatz-event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.einsatz-event__title {
  display: inline;
}

.einsatz-badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #bfc9d4;
  background: #f3f6f8;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.einsatz-badge--adl {
  border-color: #b8c7d3;
  background: #eef3f6;
  color: #2f4858;
}

.einsatz-latest__evt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

/* ===== Tooltip for ADL-Stpt. Einsatz ===== */

.einsatz-badge--has-tooltip {
  position: relative;
  cursor: help;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.einsatz-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 1000;

  box-sizing: border-box;
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
  min-width: 0;
  padding: 12px 14px;

  border: 1px solid #bfc9d4;
  background: #ffffff;
  color: #2f3b45;

  font-size: 0.80rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;

  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.einsatz-badge--has-tooltip:hover .einsatz-tooltip,
.einsatz-badge--has-tooltip:focus-within .einsatz-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.einsatz-tooltip::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 12px;
}

.einsatz-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid #bfc9d4;
  border-bottom: 1px solid #bfc9d4;
  transform: translateX(-50%) rotate(-45deg);
}

.einsatz-tooltip a {
  display: inline-block;
  margin-top: 6px;
  color: #1d4f91;
  font-weight: 700;
  text-decoration: none;
}

.einsatz-tooltip a:hover,
.einsatz-tooltip a:focus {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .einsatz-tooltip {
    max-width: calc(100vw - 24px);
  }
}

/* ===== Latest Einsätze (-->frontpage) ===== */

.einsatz-latest {
  max-width: 850px;
  margin: 0 auto;
}

.einsatz-latest ul {
  padding-left: 0px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.einsatz-latest__list li {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.einsatz-latest__list {
  border-top: 3px solid #0aa7a2;
}

.einsatz-latest__item {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 14px 12px;
  border-bottom: 1px solid #d6e3f1;
}

.einsatz-latest__item:nth-child(even) {
  background: #f4f7fb;
}

.einsatz-latest__item:hover {
  background: #eef5ff;
}

/* Desktop: one row if space */
.einsatz-latest__nr {
  flex: 0 0 40px;
  color: #374151;
}

.einsatz-latest__when {
  flex: 0 0 130px;
  white-space: nowrap;
  color: #374151;
}

.einsatz-latest__grp {
  flex: 0 0 80px;
  color: #374151;
}

.einsatz-latest__evt {
  flex: 1 1 auto;
  min-width: 0;
  color: #374151;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 650px) {
  .einsatz-latest__item {
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 13px;
  }

  .einsatz-latest__grp {
    white-space: nowrap;
  }

  .einsatz-latest__evt {
    flex-basis: 100%;
    margin-top: 2px;
  }
}

/* ===== Partnerorganisation Styling ===== */
.einsatz-partner-wrapper {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #4b5563; /* Etwas dunkleres Grau als der Haupttext, aber lesbar */
  line-height: 1.4;
}

.einsatz-partner-label {
  font-weight: 600;
  color: #374151;
  margin-right: 4px;
}

.einsatz-partner-list {
  display: inline;
}

/* Falls mehrere Organisationen als Liste dargestellt werden sollen */
.einsatz-partner-list ul {
  display: inline;
  padding: 0;
  margin: 0;
  list-style: none;
}

.einsatz-partner-list li {
  display: inline;
}

.einsatz-partner-list li:not(:last-child)::after {
  content: ", ";
}

/* ===== [11] Fahrzeuge Single and Overview ===== */

.fahrzeug-details-container {
  padding: 30px;
}

.single-post .fahrzeug-details-container {
  padding-top: 0px !important;
}

.fahrzeug-header h1 {
  font-size: 2.5rem;
  color: #333;
}

.fahrzeug-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

/* TODO: löschen*/
.fahrzeug-description h2,
.fahrzeug-tech-details h2 {
  font-size: 1.5rem;
  margin-top: 25px;
  color: #444;
}

.fahrzeug-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Technische Details */
.fahrzeug-tech-details ul {
  list-style-type: none;
  padding: 0;
}

.fahrzeug-tech-details li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.fahrzeug-tech-details strong {
  color: #333;
}

.fahrzeug-gallery h2 {
  font-size: 1.5rem;
  margin-top: 25px;
  color: #444;
}

.fahrzeug-gallery {
  margin-top: 25px;
}

.fahrzeug-gallery .gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fahrzeug-gallery .gallery-item {
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.fahrzeug-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  /* Setzt das Format auf 16:9 */
  object-fit: cover;
}

/* Tabstopp for technical details */
.fahrzeug-tech-details ul {
  list-style: none;
  padding: 0;
}

.fahrzeug-tech-details li {
  font-size: 1rem;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
}

.fahrzeug-tech-details strong {
  font-weight: bold;
}

.fahrzeug-description p,
.fahrzeug-tech-details .description {
  white-space: pre-wrap; /* Important for long strings */
}

.fahrzeug-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fahrzeug-header {
  display: flex;
  gap: 20px;
  align-items: left;
}

.fahrzeug-header img {
  width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .fahrzeug-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fahrzeug-header img {
    width: 100%;
    height: auto;
  }

  .fahrzeug-gallery .gallery-wrapper {
    grid-template-columns: 1fr 1fr;
    /* Zwei Bilder nebeneinander */
  }

  .fahrzeug-gallery .gallery-item {
    width: 100%;
  }
}

/* ===== Fahrzeugübersicht ===== */
.fahrzeug-uebersicht {
  margin: 30px 0;
}

.fahrzeug-section-title {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: #222;
}

/* Fix: 3 Spalten auf Desktop */
.fahrzeug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Responsiv */
@media (max-width: 1024px) {
  .fahrzeug-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fahrzeug-grid {
    grid-template-columns: 1fr;
  }
}

.fahrzeug-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.fahrzeug-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.fahrzeug-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
}

.fahrzeug-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.25s ease;
}

.fahrzeug-card:hover .fahrzeug-card__media img {
  transform: scale(1.04);
}

.fahrzeug-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 14px 12px;
  gap: 8px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.68),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
}

.fahrzeug-card__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #fff;
  font-weight: 600 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.fahrzeug-card__cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /*padding: 8px 12px;*/
  /*border-radius: 999px;*/
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.fahrzeug-card:hover .fahrzeug-card__cta {
  transform: translateY(-1px);
}

/* Fallbackif no media found */
.fahrzeug-card__media--empty {
  background: radial-gradient(circle at 20% 20%, #2a2a2a, #111 60%);
}

.fahrzeug-empty {
  padding: 12px 0;
  color: #666;
}

/* ===== Lightbox (Fahrzeuge) ===== */
.fw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.fw-lightbox.is-open {
  display: block;
}

.fw-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.fw-lightbox__dialog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px); /* mehr "Rand" auf Desktop */
}

.fw-lightbox__panel {
  width: min(1320px, calc(100vw - 2 * clamp(18px, 4vw, 56px)));
  max-height: calc(100vh - 2 * clamp(18px, 4vw, 56px));
  display: grid;
  gap: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fw-lightbox__media {
  position: relative;
  background: #2a2929;
  display: grid;
  place-items: center;
}

.fw-lightbox__img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  display: block;
}

.fw-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.fw-lightbox__caption {
  opacity: 0.92;
  line-height: 1.45;
}

.fw-lightbox__count {
  opacity: 0.75;
  white-space: nowrap;
  font-weight: 700;
}

.fw-lightbox__btn {
  position: absolute;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.fw-lightbox__btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.fw-lightbox__btn--close {
  right: 10px;
}
.fw-lightbox__btn--prev,
.fw-lightbox__btn--next {
  top: 50%;
  transform: translateY(-50%);
}

.fw-lightbox__btn--prev:hover,
.fw-lightbox__btn--next:hover {
  transform: translateY(-50%) translateY(-1px);
}

.fw-lightbox__btn--prev {
  left: 10px;
}
.fw-lightbox__btn--next {
  right: 10px;
}

.fw-lightbox__btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .fw-lightbox__btn--prev,
  .fw-lightbox__btn--next {
    display: none;
  } /* mobile: wischen/keyboard reicht oft */
}

.fw-lightbox__btn--fs {
  right: 58px; /* links neben Close */
}

.fahrzeug-gallery .gallery-item a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: translateZ(0);
}

.fahrzeug-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  transform: scale(1.001);
}

.fahrzeug-gallery .gallery-item a:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.fahrzeug-gallery .gallery-item a:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

/* ===== Fullscreen Fix: zentriert & korrekt skaliert ===== */
.fw-lightbox__panel:fullscreen,
.fw-lightbox__panel:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
}

.fw-lightbox__panel:fullscreen .fw-lightbox__media,
.fw-lightbox__panel:-webkit-full-screen .fw-lightbox__media {
  height: calc(100vh - 130px); /* Platz für Meta-Leiste unten */
  display: grid;
  place-items: center;
}

.fw-lightbox__panel:fullscreen .fw-lightbox__img,
.fw-lightbox__panel:-webkit-full-screen .fw-lightbox__img {
  max-height: 100%;
  max-width: 100%;
}

.fw-lightbox__img {
  transition: transform 0.08s linear;
  will-change: transform;
  touch-action: none; /* wichtig für pointer pan */
}

/* ===== Fahrzeug Details: lange Textfelder responsiv (Label links, Text darunter vollbreit) ===== */
@media (max-width: 900px) {
  .fahrzeug-tech-details ul li {
    display: grid;
    grid-template-columns: 160px 1fr; /* Label-Spalte bleibt wie Desktop */
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
  }

  .fahrzeug-tech-details ul li > strong {
    grid-column: 1;
    white-space: nowrap;
  }

  /* Alles nach dem <strong> soll unterhalb stehen und volle Breite nutzen */
  .fahrzeug-tech-details ul li > strong + * {
    grid-column: 1 / -1;
  }

  /* Falls der Text nicht in einem eigenen Element steckt (reiner Textnode),
     hilft diese Variante: wir machen strong block und geben dem li padding-left 0 */
  .fahrzeug-tech-details ul li > strong {
    display: inline-block;
  }
}

@media (max-width: 900px) {
  .fahrzeug-tech-details ul li span,
  .fw-value {
    line-height: 1.55;
  }
}

/* FW Video Lightbox */
.fw-vlb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 18px;
}

.fw-vlb.is-open {
  display: flex;
}

.fw-vlb__panel {
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
}

.fw-vlb__panel iframe,
.fw-vlb__panel video {
  width: 100%;
  height: 100%;
  display: block;
}

.fw-vlb__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
}
.fw-vlb__close:hover {
  background: rgba(255, 255, 255, 0.22);
}




/* ===== [12] Modern Header ===== */

.fw-page-hero{
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  
  min-height: clamp(50px, 38vw, 400px);

  display: flex;
  align-items: center;
  justify-content: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;

  overflow: hidden;

  margin-bottom: 30px;
}

/* Overlay */
.fw-page-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

/* Content Wrapper */
.fw-page-hero__inner{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
}

/* Titel */
.fw-page-hero__title{
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(28px, 4vw, 56px);
  text-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.fw-page-hero__subtitle{
  margin-top: 12px;
  color: rgba(255,255,255,.9);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: .4px;
  font-weight: 500;
}

.fw-page-hero__subtitle--symbolbild {
  position: absolute;
  right: 20px;
  bottom: 20px;
  text-align: right;
  margin: 0;
  color: rgb(255, 255, 255);
}

.single-post .page-header,
.single-post .entry-header {
  display: none !important;
}



/* ===== [13] 404 ===== */
.fw-404-simple__lead{
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
}

.fw-404-simple__search{
  max-width: 640px;
}

.fw-404-simple .search-form{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 0;
}

.fw-404-simple .search-form label{
  margin: 0;
}

.fw-404-simple .search-field{
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd6dd;
  border-radius: 0;
  background: #fff;
  color: #1f2a37;
  box-sizing: border-box;
}

.fw-404-simple .search-field:focus{
  outline: none;
  border-color: #0aa7a2;
  box-shadow: none;
}

.fw-404-simple .search-submit{
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--fw-primary);
  color: #0f1113;
  font-weight: 900;
  transition: transform var(--fw-dur) var(--fw-ease),
              background var(--fw-dur) var(--fw-ease),
              border-color var(--fw-dur) var(--fw-ease);
}

.fw-404-simple .search-submit:hover{
  transform: translateY(-1px);
}

@media (max-width: 640px){
  .fw-404-simple{
    padding: 4px 0 38px;
  }

  .fw-404-simple .search-form{
    grid-template-columns: 1fr;
  }

  .fw-404-simple .search-submit{
    width: 100%;
  }
}

.fw-section-404 .fw-headline{
  padding-top: 25px !important;
}



/* ===== [14] Kommando Grid===== */

.fw-command {
  padding: 10px 0 40px;
}

.fw-command__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}

@media (max-width: 1024px) {
  .fw-command__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fw-command__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fw-command-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fw-command-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.10);
  border-color: #d6dae1;
}

.fw-command-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dfe3e8;
}

.fw-command-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.34) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.18s ease;
}

.fw-command-card__media:hover::after,
.fw-command-card__media:focus-visible::after {
  opacity: 1;
}

.fw-command-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.fw-command-card__media:hover img,
.fw-command-card__media:focus-visible img {
  transform: scale(1.025);
}

.fw-command-card__play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(15, 17, 19, 0.82);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.fw-command-card__media:hover .fw-command-card__play,
.fw-command-card__media:focus-visible .fw-command-card__play {
  opacity: 1;
  transform: translateY(0);
}

.fw-command-card__play-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  position: relative;
  flex-shrink: 0;
}

.fw-command-card__play-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 0;
  height: 0;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.fw-command-card__body {
  padding: 16px 16px 18px;
  text-align: center;
}

.fw-command-card__name {
  margin: 0;
  font-size: 1.05 rem !important;
  line-height: 1.2;
  font-weight: 600;
  color: #1f2a37;
}

.fw-command-card__role {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #334155;
  /*font-weight: 600;*/
}

.fw-command-card__meta {
  margin: 5px 0 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #334155;
}

@media (max-width: 768px) {
  .fw-command-card__play {
    opacity: 1;
    transform: none;
    font-size: 0.86rem;
    padding: 8px 11px;
  }
}

.fw-vlb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 12, 16, 0.78);
}

.fw-vlb.is-open {
  display: flex;
}

.fw-vlb__panel {
  position: relative;
  width: auto;
  max-width: min(100%, 980px);
  max-height: calc(100vh - 40px);
  background: #000;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.fw-vlb__content {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.fw-vlb__content iframe,
.fw-vlb__content video {
  display: block;
  width: min(100vw - 40px, 980px);
  height: auto;
  aspect-ratio: 9 / 16; /* Instagram Reels / Portrait */
  max-height: calc(100vh - 40px);
  border: 0;
  background: #000;
}

.fw-vlb__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  cursor: pointer;
}

.fw-vlb__close:hover {
  background: rgba(255,255,255,0.22);
}

@media (max-width: 640px) {
  .fw-vlb {
    padding: 12px;
  }

  .fw-vlb__content iframe,
  .fw-vlb__content video {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
}

/* ===== [15] Global Font ===== */

body,
button,
input,
select,
textarea {
  font-family: 'Raleway', Arial, sans-serif;
}

body,
.site,
.site-content {
  font-family: 'Raleway', Arial, sans-serif;
}



/* ===== Suche ===== */

.fw-search-page {
  background: #fff;
}

.fw-search-header {
  margin-bottom: 32px;
}

.fw-search-header__eyebrow {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}

.fw-search-header__title {
  margin: 0 0 22px;
}

.fw-search-form {
  max-width: 760px;
}

.fw-search-form .search-form {
  display: flex;
  gap: 10px;
}

.fw-search-form .search-field {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d7dde3;
  background: #fff;
}

.fw-search-form .search-submit {
  padding: 12px 18px;
  border: 1px solid transparent;
  background: var(--fw-primary);
  color: #0f1113;
  font-weight: 800;
  cursor: pointer;
}

.fw-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fw-search-card {
  margin: 0;
  border: 1px solid #e4e7ec;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

.fw-search-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.fw-search-card__link {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.fw-search-card__media {
  min-height: 180px;
  background: #f3f4f6;
  overflow: hidden;
}

.fw-search-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.fw-search-card__body {
  padding: 18px;
}

.fw-search-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.fw-search-card__type {
  font-weight: 800;
}

.fw-search-card__title {
  margin: 0 0 9px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.fw-search-card__excerpt {
  line-height: 1.6;
}

.fw-search-card__cta {
  display: inline-block;
  margin-top: 14px;
  color: #0e4184;
  font-weight: 800;
}

.fw-search-pagination {
  margin-top: 32px;
}

.fw-search-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fw-search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d7dde3;
  background: #fff;
  text-decoration: none;
}

.fw-search-pagination .page-numbers.current {
  border-color: #0aa7a2;
  font-weight: 800;
}

.fw-search-empty {
  max-width: 760px;
  padding: 22px;
  border: 1px solid #e4e7ec;
  background: #f7f8fa;
}

.fw-search-empty h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .fw-search-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .fw-search-form .search-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fw-search-form .search-submit {
    width: 100%;
  }

  .fw-search-card__link {
    grid-template-columns: 1fr;
  }

  .fw-search-card__media,
  .fw-search-card__media img {
    min-height: 200px;
  }
}
