/*
 * Reference-inspired layout: black stage, red/orange navigation,
 * full-width fire-rescue hero and overlapping editorial cards.
 */
:root {
  --ref-black: #070707;
  --ref-panel: #101010;
  --ref-panel-soft: #181818;
  --ref-red: #c80024;
  --ref-red-dark: #850018;
  --ref-orange: #ff9d00;
  --ref-orange-soft: #ffbd39;
}

body {
  background: #090909;
  color: #f7f7f7;
}

.site-header {
  border: 0;
  background: var(--ref-black);
}

.header-showcase {
  height: 116px;
  background:
    radial-gradient(circle at center, rgba(200,0,36,.11), transparent 27%),
    var(--ref-black);
}

.header-showcase .container {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.header-showcase__meta {
  display: grid;
  margin: 0;
  color: #9e9e9e;
  font-size: .68rem;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.header-showcase__meta strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: .03em;
}

.header-showcase__meta--right { text-align: right; }

.header-showcase .brand {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 50%;
  display: grid;
  width: 365px;
	grid-template-columns: 82px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
  transform: translateX(-50%);
}

.header-showcase .brand-mark {
  display: block;
  width: 82px;
  height: 82px;
  border: 2px solid #9e2415;
  border-radius: 11px;
  clip-path: none;
  background-image: url("assets/images/original-header-top.jpg");
  background-position: -14px -32px;
  background-repeat: no-repeat;
  background-size: 545px 143px;
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}

.header-showcase .brand-copy {
	display: grid;
  gap: 1px;
  color: var(--white);
  text-align: left;
  text-shadow: 0 2px 8px #000;
}

.header-showcase .brand-copy small {
  color: var(--ref-orange-soft);
  font-size: .68rem;
  letter-spacing: .14em;
}

.header-showcase .brand-copy strong {
  font-size: 1.16rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-showcase .brand-copy em {
  color: #c8c8c8;
  font-size: .64rem;
  font-style: normal;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.nav-band {
  background: linear-gradient(90deg, #8d0019, var(--ref-red), #8d0019);
  box-shadow: 0 5px 18px rgba(0,0,0,.35);
}

.header-main {
  min-height: 58px;
  justify-content: center;
}

.primary-nav { width: 100%; }
.primary-nav ul { justify-content: center; gap: 0; }
.primary-nav li:nth-child(3) { margin-right: 0; }
.primary-nav a {
  min-height: 58px;
  padding: 17px 13px;
  border-radius: 0;
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  background: linear-gradient(180deg, var(--ref-orange-soft), var(--ref-orange));
  color: #191000;
}

.reference-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,139,0,.65) 0, rgba(172,14,0,.45) 42%, rgba(0,0,0,.4) 100%),
    url("assets/images/wandbild.jpg") center 42% / cover no-repeat;
}

.reference-hero::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 50%, rgba(255,177,0,.6), transparent 29%),
    linear-gradient(90deg, transparent 50%, rgba(0,0,0,.42));
  content: "";
}

.reference-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(50,0,0,.18), transparent 55%, rgba(7,7,7,.5));
  mix-blend-mode: multiply;
}

.reference-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding-top: 30px;
}

.reference-kicker {
  color: var(--ref-orange-soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.reference-hero h1 {
  max-width: 720px;
  margin: 15px 0 16px;
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-shadow: 0 5px 25px rgba(0,0,0,.55);
  text-transform: uppercase;
}

.reference-hero p {
  margin: 0;
  color: #fff3dd;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.reference-hero__actions {
	position: relative;
	z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.reference-button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border: 2px solid var(--ref-orange);
  border-radius: 0;
  background: linear-gradient(180deg, var(--ref-orange-soft), var(--ref-orange));
  color: #1a0e00;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}
.reference-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.reference-button--ghost { border-color: rgba(255,255,255,.7); background: rgba(5,5,5,.28); color: var(--white); }

.reference-hero__number {
  position: absolute;
  z-index: 2;
  right: 3vw;
  bottom: -42px;
  color: rgba(255,255,255,.12);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.1em;
}

.reference-dashboard {
  position: relative;
  padding: 38px 0 92px;
  background:
    linear-gradient(rgba(7,7,7,.89), rgba(7,7,7,.96)),
    url("assets/images/wandbild.jpg") center / cover fixed;
}

.reference-dashboard__grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 14px;
  transform: none;
}

.incident-panel {
  padding: 28px;
  background: linear-gradient(145deg, var(--ref-red) 0%, #d41414 48%, var(--ref-orange) 140%);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}

.panel-heading span,
.reference-module__heading span {
  color: rgba(255,255,255,.62);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.panel-heading h2 {
  margin: 2px 0 17px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.incident-panel__list { display: grid; gap: 4px; }

.incident-teaser {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  text-decoration: none;
}

.incident-teaser__date {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.incident-teaser__content { display: grid; min-width: 0; }
.incident-teaser__content strong { font-size: .82rem; line-height: 1.18; text-transform: uppercase; }
.incident-teaser__content small { margin-top: 5px; color: #ffe0e0; font-size: .68rem; line-height: 1.25; }
.incident-teaser:hover .incident-teaser__date { border-color: var(--ref-orange-soft); color: var(--ref-orange-soft); }

.panel-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.welcome-panel {
  display: grid;
  min-height: 385px;
  grid-template-columns: 1.17fr .83fr;
  border-top: 3px solid var(--ref-red);
  background: rgba(12,12,12,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}

.welcome-panel__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px;
}

.welcome-panel h2 {
  max-width: 580px;
  margin: 10px 0 15px;
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.welcome-panel p { max-width: 560px; margin: 0; color: #bdbdbd; font-size: .9rem; }
.welcome-panel__facts { display: flex; flex-wrap: wrap; gap: 22px; margin: 21px 0; }
.welcome-panel__facts span { color: #cecece; font-size: .75rem; text-transform: uppercase; }
.welcome-panel__facts strong { margin-right: 5px; color: var(--ref-orange); font-size: 1.55rem; }
.welcome-panel__image {
  min-height: 330px;
  background:
    linear-gradient(135deg, rgba(200,0,36,.12), rgba(255,157,0,.28)),
    url("assets/images/wandbild.jpg") center / cover no-repeat;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.reference-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.reference-discover {
	padding: 76px 0;
	background: linear-gradient(135deg, #171717, #090909);
}

.reference-discover__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.discover-card {
	position: relative;
	display: flex;
	min-height: 260px;
	flex-direction: column;
	overflow: hidden;
	padding: 28px;
	border: 1px solid #333;
	border-top: 4px solid var(--ref-red);
	background: #0d0d0d;
	color: #fff;
	text-decoration: none;
}

.discover-card::after {
	position: absolute;
	right: -24px;
	bottom: -38px;
	color: rgba(255,255,255,.045);
	content: "112";
	font-size: 6rem;
	font-weight: 900;
}

.discover-card > * { position: relative; z-index: 1; }
.discover-card span { color: var(--ref-orange); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.discover-card h3 { margin: 15px 0 10px; font-size: 1.42rem; line-height: 1.05; text-transform: uppercase; }
.discover-card p { margin: 0 0 22px; color: #b8b8b8; font-size: .84rem; }
.discover-card strong { margin-top: auto; color: var(--ref-orange); font-size: .72rem; text-transform: uppercase; }
.discover-card--roster { border-top-color: var(--ref-orange); }
.discover-card--club { border-top-color: #ffcf52; }
.discover-card:hover { border-color: var(--ref-orange); transform: translateY(-3px); transition: transform .2s ease; }

.reference-module {
  overflow: hidden;
  border: 1px solid #292929;
  background: rgba(8,8,8,.97);
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.reference-module__heading {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 13px;
  padding: 10px 18px;
  background: linear-gradient(90deg, var(--ref-red), #8a0018);
}

.reference-module--youth .reference-module__heading {
  background: linear-gradient(90deg, var(--ref-orange), #e05c00);
}

.reference-module__heading h2 { margin: 0; color: var(--white); font-size: .98rem; text-transform: uppercase; }
.reference-module__image { min-height: 175px; }
.reference-module--equipment .reference-module__image {
  background:
    linear-gradient(rgba(200,0,36,.16), rgba(0,0,0,.24)),
    url("assets/images/vehicle-hlf20.jpg") center / cover no-repeat;
}
.reference-module--youth .reference-module__image {
  background:
    linear-gradient(rgba(255,157,0,.1), rgba(0,0,0,.3)),
    url("assets/images/Flyer-2016-1.jpg") center / cover no-repeat;
}
.reference-module__body { padding: 24px; }
.reference-module__body p { margin: 0 0 18px; color: #bcbcbc; font-size: .83rem; }
.reference-module__body a,
.fleet-strip__heading a {
  color: var(--ref-orange);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.reference-module__body--stats { padding-top: 15px; }
.reference-module dl { margin: 0 0 18px; }
.reference-module dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid #292929;
}
.reference-module dt { color: #929292; font-size: .72rem; text-transform: uppercase; }
.reference-module dd { margin: 0; color: var(--white); font-size: .77rem; font-weight: 800; }
.organisation-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.organisation-links strong { width: 100%; color: #929292; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.organisation-links a { padding: 6px 9px; border: 1px solid #3a3a3a; color: var(--white); font-size: .7rem; text-decoration: none; }
.organisation-links a:hover { border-color: var(--ref-orange); color: var(--ref-orange); }

.fleet-strip {
  padding: 78px 0;
  background: #111;
}

.fleet-strip__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.fleet-strip__heading h2,
.reference-contact h2 {
  margin: 7px 0 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}
.fleet-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fleet-card {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  padding: 0;
  border-bottom: 4px solid var(--ref-red);
  background:
    linear-gradient(135deg, rgba(200,0,36,.23), transparent 55%),
    #080808;
  color: var(--white);
  text-decoration: none;
}
.fleet-card::after {
  position: absolute;
  right: -35px;
  bottom: -60px;
  color: rgba(255,255,255,.04);
  content: "112";
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}
.fleet-card > * { position: relative; z-index: 1; }
.fleet-card__image { display: block; height: 175px; overflow: hidden; }
.fleet-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.fleet-card:hover .fleet-card__image img { transform: scale(1.035); }
.fleet-card .fleet-card__type { display: block; padding: 20px 24px 0; color: var(--ref-orange); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.fleet-card__copy { padding: 0 24px 24px; }
.fleet-card h3 { margin: 12px 0 8px; font-size: 1.55rem; text-transform: uppercase; }
.fleet-card p { margin: 0; color: #9d9d9d; font-size: .82rem; }
.fleet-card:hover { border-color: var(--ref-orange); }

.reference-contact {
  background: linear-gradient(100deg, #9e001c, var(--ref-red), #e06400);
}
.reference-contact__inner {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.reference-contact .reference-kicker { color: #ffd98a; }
.reference-contact__details {
  display: grid;
  justify-items: end;
  gap: 5px;
}
.reference-contact__details > a:not(.reference-button) { color: var(--white); font-weight: 800; text-decoration: none; }
.reference-contact__details .reference-button { margin-top: 12px; }

.site-footer {
  border-top: 0;
  background: var(--ref-black);
}
.footer-grid { padding-top: 54px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { display: inline-flex; min-height: 34px; align-items: center; padding: 7px 12px; border: 1px solid #555; border-radius: 999px; color: var(--white); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.social-links a:hover { border-color: var(--ref-orange); color: var(--ref-orange); }
.social-links--contact { justify-content: flex-end; margin-top: 10px; }
.social-links--contact a { border-color: rgba(255,255,255,.55); }

@media (max-width: 980px) {
  .primary-nav li:nth-child(3) { margin-right: 0; }
	.header-showcase .brand { width: 340px; }
  .reference-dashboard__grid { grid-template-columns: 260px 1fr; }
  .welcome-panel { grid-template-columns: 1fr; }
  .welcome-panel__image { min-height: 230px; clip-path: none; }
  .reference-modules { grid-template-columns: 1fr 1fr; }
	.reference-discover__grid { grid-template-columns: 1fr 1fr; }
  .reference-module--team { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.header-showcase { height: 108px; }
  .header-showcase__meta { display: none; }
	.header-showcase .brand { top: 9px; width: 320px; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
	.header-showcase .brand-mark { width: 72px; height: 72px; background-position: -12px -28px; background-size: 480px 126px; }
  .header-main { min-height: 58px; }
  .menu-toggle { margin-left: auto; border-color: rgba(255,255,255,.55); }
  .primary-nav { top: 58px; right: 0; left: 0; border-radius: 0; background: #770016; }
  .primary-nav a { min-height: 46px; padding: 12px 15px; }
}

@media (max-width: 720px) {
  .reference-hero,
  .reference-hero__content { min-height: 510px; }
	.reference-dashboard { padding-top: 24px; }
  .reference-dashboard__grid { grid-template-columns: 1fr; transform: none; }
  .incident-panel { order: 2; }
  .welcome-panel { order: 1; }
  .welcome-panel__copy { padding: 32px 26px; }
  .reference-modules,
	.reference-discover__grid,
  .fleet-strip__grid { grid-template-columns: 1fr; }
  .reference-module--team { grid-column: auto; }
  .reference-contact__inner,
  .fleet-strip__heading { display: grid; }
  .reference-contact__details { justify-items: start; }
	.social-links--contact { justify-content: flex-start; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
	.header-showcase { height: 96px; }
	.header-showcase .brand { top: 8px; width: 260px; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
	.header-showcase .brand-mark { width: 60px; height: 60px; background-position: -10px -23px; background-size: 400px 105px; }
	.header-showcase .brand-copy small { font-size: .55rem; }
	.header-showcase .brand-copy strong { font-size: .92rem; }
	.header-showcase .brand-copy em { font-size: .52rem; }
  .reference-hero__content { padding-top: 0; }
  .reference-hero h1 { font-size: 2.45rem; }
  .reference-hero__number { right: 8px; font-size: 8rem; }
  .welcome-panel__facts { display: grid; gap: 6px; }
}
