@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Franklin:wght@600;700;800&display=swap');

:root {
    --ink: #140e0c;
    --ink-2: #201411;
    --ink-3: #2d1915;
    --paper: #f4efe7;
    --paper-2: #e9e0d4;
    --card: #fffaf3;
    --red: #b31d16;
    --red-bright: #e33a24;
    --ember: #ff6a24;
    --gold: #caa65a;
    --gold-soft: #e0c989;
    --text: #f8f4ee;
    --muted: #b8aaa0;
    --dark-text: #1c1512;
    --dark-muted: #685b54;
    --line: rgba(202, 166, 90, .23);
    --shadow: 0 30px 80px rgba(15, 7, 4, .22);
    --radius: 5px;
    --shell: 1240px;
    color-scheme: dark;
}

html[data-theme="light"] {
    --ink: #f3eee7;
    --ink-2: #fffaf3;
    --ink-3: #e7ddd2;
    --text: #201713;
    --muted: #6d5e57;
    --line: rgba(119, 71, 43, .2);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -60px; padding: 12px 18px; background: #fff; color: #111; transition: top .2s; }
.skip-link:focus { top: 16px; }

.topline { height: 32px; background: #0b0807; color: #c9bdb4; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.topline-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topline-label { display: flex; align-items: center; gap: 9px; }
.topline-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 12px var(--red-bright); }
.topline a strong { color: white; font-size: 13px; margin-left: 5px; }
.site-header { height: 86px; position: relative; z-index: 100; background: color-mix(in srgb, var(--ink) 93%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.site-header.sticky { position: sticky; top: 0; box-shadow: 0 10px 35px rgba(0,0,0,.16); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.brand span { display: grid; line-height: 1.05; text-transform: uppercase; }
.brand strong { font-family: "Libre Franklin", sans-serif; font-size: 15px; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--gold-soft); font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.main-nav { margin-left: auto; display: flex; height: 100%; align-items: stretch; }
.main-nav a { position: relative; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; height: 2px; left: 12px; right: 12px; bottom: -1px; background: var(--ember); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; position: relative; }
.theme-toggle span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .2s, transform .2s; }
.theme-toggle .sun { opacity: 0; transform: rotate(-25deg); }
html[data-theme="light"] .theme-toggle .sun { opacity: 1; transform: none; }
html[data-theme="light"] .theme-toggle .moon { opacity: 0; transform: rotate(25deg); }
.menu-toggle { display: none; border: 0; background: none; color: var(--text); cursor: pointer; }
.menu-toggle span { width: 23px; height: 2px; display: block; background: currentColor; margin: 4px; transition: transform .25s, opacity .25s; }
.menu-toggle b { display: none; }

.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 11px; color: var(--gold-soft); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--red-bright); }
.eyebrow.dark { color: var(--red); }
.eyebrow.dark span { background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Libre Franklin", Arial, sans-serif; line-height: 1.06; }
h1 { font-size: clamp(3.25rem, 7vw, 6.9rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }

.hero { min-height: calc(100vh - 118px); position: relative; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 75% 35%, rgba(139, 31, 17, .24), transparent 36%), linear-gradient(117deg, #100b09 8%, #21120d 55%, #0b0807 100%); }
html[data-theme="light"] .hero { background: radial-gradient(circle at 75% 35%, rgba(178, 51, 25, .22), transparent 36%), linear-gradient(117deg, #f0e8df, #dccab9 58%, #eee5db); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, black 35%, black); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.hero-grid { min-height: inherit; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: 56px; align-items: center; padding-block: 80px 110px; position: relative; z-index: 2; }
.hero-copy { max-width: 735px; }
.hero h1 { margin-bottom: 28px; max-width: 840px; }
.hero-lead { max-width: 660px; color: var(--muted); font-size: 19px; line-height: 1.75; }
.hero-actions { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(147, 24, 17, .28); }
.button.primary:hover { background: var(--red-bright); }
.button.secondary { border-color: var(--line); color: var(--text); }
.button.secondary:hover { border-color: var(--gold); background: rgba(255,255,255,.035); }
.button.light { background: #fff8ed; color: #21130e; }
.button.outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.response-strip { margin-top: 52px; padding-top: 23px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 650px; }
.response-strip div { padding-right: 22px; border-right: 1px solid var(--line); }
.response-strip div + div { padding-left: 22px; }
.response-strip div:last-child { border: 0; }
.response-strip strong { display: block; font-size: 24px; color: var(--gold-soft); font-family: "Libre Franklin", sans-serif; }
.response-strip span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero-mark { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-mark > img { position: relative; z-index: 3; width: min(92%, 535px); filter: drop-shadow(0 35px 50px rgba(0,0,0,.55)); animation: markFloat 7s ease-in-out infinite; }
.mark-glow { position: absolute; width: 68%; aspect-ratio: 1; border-radius: 50%; background: rgba(210, 60, 26, .35); filter: blur(80px); }
.mark-rings { position: absolute; width: 94%; aspect-ratio: 1; display: grid; place-items: center; }
.mark-rings span { grid-area: 1/1; border: 1px solid var(--line); border-radius: 50%; width: 100%; aspect-ratio: 1; }
.mark-rings span:nth-child(2) { width: 78%; }
.mark-rings span:nth-child(3) { width: 60%; border-style: dashed; animation: spin 30s linear infinite; }
.readiness-card { position: absolute; z-index: 5; right: -15px; bottom: 70px; min-width: 260px; padding: 17px 20px; display: flex; align-items: flex-start; gap: 13px; background: rgba(14, 10, 8, .88); border: 1px solid var(--line); border-left: 3px solid var(--red-bright); box-shadow: var(--shadow); backdrop-filter: blur(15px); color: white; }
.status-dot, .live-dot { width: 8px; height: 8px; margin-top: 7px; flex: 0 0 auto; border-radius: 50%; background: #4ed27b; box-shadow: 0 0 0 5px rgba(78,210,123,.12), 0 0 16px rgba(78,210,123,.8); }
.readiness-card small { display: block; color: #a99b91; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.readiness-card strong { display: block; margin: 2px 0; color: #fff; font-size: 16px; letter-spacing: .04em; }
.readiness-card p { margin: 0; color: #a99b91; font-size: 11px; }
.hero-beam { position: absolute; right: 16%; bottom: -20%; width: 25%; height: 130%; background: linear-gradient(to top, rgba(255,84,28,.16), transparent 60%); filter: blur(20px); transform: rotate(-12deg); }
.embers { position: absolute; inset: 0; overflow: hidden; }
.ember { position: absolute; bottom: -15px; width: 3px; height: 3px; border-radius: 50%; background: #ffb454; box-shadow: 0 0 9px #ff5b23; animation: emberRise var(--duration) linear infinite; animation-delay: var(--delay); opacity: 0; }
.scroll-cue { position: absolute; z-index: 5; bottom: 24px; left: 50%; width: 28px; height: 45px; border: 1px solid var(--line); border-radius: 20px; }
.scroll-cue span { position: absolute; width: 4px; height: 8px; background: var(--gold); border-radius: 5px; left: 11px; top: 8px; animation: scrollCue 1.8s infinite; }
@keyframes emberRise { 0% { transform: translate3d(0,0,0) scale(.5); opacity: 0; } 12% { opacity: .85; } 100% { transform: translate3d(var(--drift), -90vh, 0) scale(1.4); opacity: 0; } }
@keyframes markFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

.mission-panel, .news-section, .intro-section, .command-section, .prevention-section, .station-list-section, .career-intro, .contact-section, .notices-list, .article-body, .application-contact, .faq-section { background: var(--paper); color: var(--dark-text); }
.mission-grid, .split-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.mission-copy, .prose { color: var(--dark-muted); font-size: 18px; }
.mission-copy p { margin-bottom: 30px; }
.text-link { display: inline-flex; gap: 20px; align-items: center; color: var(--red); font-size: 13px; font-weight: 800; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.service-cards { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #d5c8ba; }
.service-card { min-height: 370px; position: relative; padding: 42px 34px 34px; border-right: 1px solid #d5c8ba; color: var(--dark-text); overflow: hidden; transition: background .3s, color .3s, transform .3s; }
.service-card:last-child { border: 0; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--ember)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { background: var(--ink-2); color: var(--text); transform: translateY(-6px); box-shadow: var(--shadow); z-index: 2; }
.service-card:hover::after { transform: scaleX(1); }
.service-number { display: block; color: #9f8c7d; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.service-card i { width: 58px; height: 58px; margin: 42px 0 28px; color: var(--red); display: block; }
.service-card i svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 24px; }
.service-card p { color: var(--dark-muted); font-size: 14px; }
.service-card:hover p { color: var(--muted); }
.service-card b { position: absolute; bottom: 30px; font-size: 11px; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }

.readiness-section { position: relative; background: linear-gradient(135deg, #120b09, #2b1410); color: #fff; overflow: hidden; }
.readiness-section::before { content: ""; position: absolute; inset: 0 50% 0 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px); }
.readiness-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; align-items: center; }
.station-visual { min-height: 500px; padding: 50px; border: 1px solid rgba(255,255,255,.1); position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: radial-gradient(circle at 50% 75%, rgba(209,41,22,.26), transparent 45%); }
.station-visual::before { content: "VCFD"; position: absolute; top: 2%; left: -3%; font-family: "Libre Franklin"; font-size: 155px; font-weight: 800; color: rgba(255,255,255,.028); writing-mode: vertical-rl; }
.station-line { position: absolute; top: 0; right: 45px; height: 65%; width: 1px; background: linear-gradient(var(--red-bright), transparent); box-shadow: 0 0 20px var(--red); }
.visual-label { color: var(--gold-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.visual-number { font-family: "Libre Franklin"; font-size: 105px; font-weight: 800; line-height: 1; letter-spacing: -.07em; }
.visual-number span { font-size: 35px; color: var(--red-bright); }
.station-visual p { margin: 10px 0 0; color: #b5a79d; font-size: 20px; }
.readiness-content > p:not(.eyebrow) { max-width: 600px; color: #b8aaa0; font-size: 18px; }
.station-mini-list { margin: 35px 0; border-top: 1px solid rgba(255,255,255,.12); }
.station-mini-list a { min-height: 77px; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mini-code { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: var(--gold-soft); font-family: "Libre Franklin"; font-weight: 800; font-size: 11px; }
.station-mini-list strong { display: block; font-size: 14px; }
.station-mini-list small { color: #94867c; }
.station-mini-list em { font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.station-mini-list em.operational { color: #5bd384; }
.station-mini-list em.limited { color: #ffb347; }
.station-mini-list em.offline { color: #ff665e; }

.heading-row { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; margin-bottom: 55px; }
.heading-row h2 { margin: 0; }
.heading-row.light .heading-note { max-width: 400px; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--card); border: 1px solid #d8ccc0; min-height: 360px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-image { height: 210px; background-size: cover; background-position: center; }
.news-card-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; justify-content: space-between; gap: 10px; color: #86766b; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.news-meta span { color: var(--red); font-weight: 800; }
.news-card h2, .news-card h3 { margin: 24px 0 13px; font-size: 23px; }
.news-card p { color: var(--dark-muted); font-size: 14px; }
.news-card a { margin-top: auto; padding-top: 15px; color: var(--red); font-size: 12px; font-weight: 800; }

.career-cta { position: relative; padding: 100px 0; background: linear-gradient(105deg, #8c1712, #c12a1c 55%, #6b100d); color: #fff; overflow: hidden; }
.career-cta::before { content: "VCFD"; position: absolute; right: -30px; top: -75px; font-family: "Libre Franklin"; font-size: 240px; font-weight: 800; color: rgba(0,0,0,.09); }
.career-flare { position: absolute; width: 500px; height: 500px; right: 20%; top: -350px; border-radius: 50%; background: #ffb55c; filter: blur(80px); opacity: .2; }
.career-cta-inner { position: relative; display: flex; justify-content: space-between; gap: 80px; align-items: center; }
.career-cta h2 { margin-bottom: 18px; }
.career-cta p:not(.eyebrow) { max-width: 700px; color: #f3c9c2; font-size: 17px; }

.emergency-band { padding: 23px 0; background: #080605; color: #fff; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.emergency-inner > div { display: grid; grid-template-columns: 20px auto; align-items: center; column-gap: 10px; }
.emergency-inner .emergency-pulse { grid-row: span 2; }
.emergency-pulse { width: 9px; height: 9px; border-radius: 50%; background: #ff3427; box-shadow: 0 0 0 0 rgba(255,52,39,.5); animation: pulse 2s infinite; }
.emergency-inner strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.emergency-inner small { color: #8e8178; font-size: 12px; }
.emergency-inner > a { display: flex; align-items: baseline; gap: 10px; font-family: "Libre Franklin"; color: #fff; font-size: 28px; font-weight: 800; }
.emergency-inner > a span { font-family: "DM Sans"; font-size: 10px; color: #a99a90; letter-spacing: .14em; text-transform: uppercase; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,52,39,0); } 100% { box-shadow: 0 0 0 0 rgba(255,52,39,0); } }

.site-footer { padding: 72px 0 25px; background: #100b09; color: #d8cdc4; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 78px; }
.footer-brand strong { color: #fff; font-family: "Libre Franklin"; }
.footer-brand p { color: var(--gold-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer h2 { font-family: "DM Sans"; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.site-footer a, .site-footer p { display: block; margin: 10px 0; color: #8f8178; font-size: 13px; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #685d56; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { min-height: 540px; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 100px 0 85px; background: linear-gradient(115deg, #100b09, #32150f 62%, #100b09); }
html[data-theme="light"] .page-hero { background: linear-gradient(115deg, #efe7dd, #ddcabb 62%, #f5eee7); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 75%, rgba(224,63,28,.24), transparent 28%), repeating-linear-gradient(90deg, transparent 0 95px, rgba(255,255,255,.025) 96px); }
.page-hero .shell { position: relative; z-index: 2; }
.page-hero h1 { max-width: 950px; margin-bottom: 25px; }
.page-hero p:not(.eyebrow) { max-width: 690px; color: var(--muted); font-size: 18px; }
.page-hero .button { margin-top: 18px; }
.page-hero-fire { position: absolute; right: 8%; bottom: -150px; width: 550px; height: 550px; border-radius: 50%; background: radial-gradient(circle, rgba(255,105,36,.2), rgba(179,29,22,.08) 35%, transparent 68%); filter: blur(14px); }
.compact-hero::after, .service-hero::after, .prevention-hero::after, .station-hero::after, .career-hero::after, .notices-hero::after, .contact-hero::after { position: absolute; right: 2vw; bottom: -120px; color: rgba(255,255,255,.025); font-family: "Libre Franklin"; font-size: 290px; font-weight: 800; line-height: 1; }
.compact-hero::after { content: "FD"; }
.service-hero::after { content: "911"; }
.prevention-hero::after { content: "SAFE"; }
.station-hero::after { content: "24/7"; }
.career-hero::after { content: "JOIN"; }
.notices-hero::after { content: "NEWS"; }
.contact-hero::after { content: "VCFD"; }
.prose p + p { margin-top: 25px; }

.values-section { background: var(--ink-2); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.values-grid article { min-height: 300px; padding: 38px; border-right: 1px solid var(--line); }
.values-grid article:last-child { border: 0; }
.values-grid span { color: var(--gold); font-size: 12px; }
.values-grid h3 { margin-top: 75px; font-size: 28px; }
.values-grid p { color: var(--muted); font-size: 14px; }
.section-heading.centered { max-width: 770px; margin: 0 auto 70px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p:last-child { margin-top: 24px; color: var(--dark-muted); font-size: 17px; }
.command-flow { max-width: 1000px; margin: auto; }
.command-node { min-height: 155px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #cfb991; background: var(--card); box-shadow: 0 15px 35px rgba(39,21,13,.06); }
.command-node.chief { width: 390px; margin: auto; }
.command-node small { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.command-node strong { margin: 5px 0; font: 800 24px "Libre Franklin"; }
.command-node span { color: var(--dark-muted); font-size: 12px; }
.command-connector { width: 1px; height: 55px; margin: auto; background: #b69a66; }
.command-branches { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.command-branches::before { content: ""; position: absolute; top: -28px; left: 16.66%; right: 16.66%; height: 28px; border: solid #b69a66; border-width: 1px 1px 0; }

.service-detail-list { display: grid; gap: 1px; background: #d6c7b8; border: 1px solid #d6c7b8; }
.service-detail { padding: 60px; display: grid; grid-template-columns: 230px 1fr; gap: 70px; background: var(--card); align-items: center; }
.service-detail.reverse { grid-template-columns: 1fr 230px; }
.service-detail.reverse .detail-icon { order: 2; }
.detail-icon { width: 190px; aspect-ratio: 1; display: grid; place-items: center; color: var(--red); background: #f0e6db; border-radius: 50%; }
.detail-icon svg { width: 85px; }
.service-detail span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-detail h2 { margin: 10px 0 20px; font-size: clamp(2rem, 3vw, 3.1rem); }
.service-detail p, .service-detail li { color: var(--dark-muted); }
.service-detail ul { padding: 0; list-style: none; display: grid; gap: 8px; }
.service-detail li::before { content: ""; width: 17px; height: 1px; display: inline-block; margin: 0 10px 5px 0; background: var(--red); }
.callout-section { padding: 65px 0; background: var(--red); color: #fff; }
.callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.callout-inner h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.8rem); }

.prevention-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prevention-card { min-height: 285px; padding: 35px 30px; background: var(--card); border: 1px solid #d7cabe; }
.prevention-card b { color: var(--red); font-size: 12px; }
.prevention-card h3 { margin-top: 65px; font-size: 22px; }
.prevention-card p { color: var(--dark-muted); font-size: 14px; }
.escape-section { background: linear-gradient(120deg, #21110d, #100b09); color: #fff; }
.escape-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.escape-number { font: 800 clamp(9rem, 22vw, 20rem)/.75 "Libre Franklin"; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); letter-spacing: -.12em; }
.escape-section ol { list-style: none; padding: 0; margin-top: 45px; }
.escape-section li { padding: 21px 0; display: grid; grid-template-columns: 42px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.escape-section li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-soft); }
.escape-section li strong { font-size: 15px; }
.escape-section li p { margin: 3px 0 0; color: #9e9087; font-size: 13px; }
.accordion { display: grid; gap: 10px; }
.accordion details { border: 1px solid #d8cabe; background: var(--card); }
.accordion summary { padding: 22px 25px; display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; }
.accordion summary span { color: var(--red); font-size: 22px; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { padding: 0 25px 25px; color: var(--dark-muted); }

.station-overview { background: var(--paper); color: var(--dark-text); padding-top: 40px; }
.status-summary { min-height: 92px; display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; border: 1px solid #d2c4b5; background: var(--card); }
.status-summary > div { display: flex; align-items: center; gap: 18px; }
.status-summary small { display: block; color: var(--dark-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.status-summary strong { font-size: 16px; }
.status-summary p { margin: 0; color: var(--dark-muted); font-size: 12px; }
.station-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.station-card { position: relative; padding: 40px; background: var(--card); border: 1px solid #d6c9bd; overflow: hidden; }
.station-card-top { display: flex; justify-content: space-between; align-items: center; }
.station-code { color: var(--red); font: 800 12px "Libre Franklin"; letter-spacing: .15em; }
.status-pill { padding: 6px 9px; display: inline-flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.operational { color: #278449; border-color: #b1d5bc; background: #eef8f1; }
.status-pill.limited { color: #a45b00; border-color: #e1c793; background: #fff6df; }
.status-pill.offline { color: #b22b24; border-color: #ddb2ae; background: #fff0ef; }
.station-emblem { position: absolute; width: 145px; height: 145px; right: -20px; top: 70px; color: rgba(172,36,25,.055); }
.station-card h2 { margin: 55px 0 5px; font-size: 30px; }
.station-district { color: var(--red); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.station-info { margin-top: 35px; padding-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; border-top: 1px solid #dfd3c7; }
.station-info small, .apparatus small { display: block; color: #8c7c71; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.station-info strong { font-size: 13px; font-weight: 600; }
.apparatus { margin-top: 28px; }
.apparatus > div { margin-top: 10px; display: flex; gap: 7px; flex-wrap: wrap; }
.apparatus span { padding: 6px 10px; background: #eee5db; color: #6f332d; font-size: 10px; font-weight: 700; }

.career-paths { background: var(--paper-2); color: var(--dark-text); }
.career-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.career-path-grid article { min-height: 390px; position: relative; padding: 38px; background: var(--card); border-top: 4px solid var(--red); }
.career-path-grid article > span { color: #9b8a7d; font-size: 11px; }
.path-icon { width: 65px; height: 65px; margin: 60px 0 28px; color: var(--red); }
.path-icon svg { width: 100%; }
.career-path-grid h3 { font-size: 26px; }
.career-path-grid p { color: var(--dark-muted); }
.career-openings { margin-top: 80px; }
.career-openings > h2 { font-size: 35px; }
.career-openings article { padding: 28px 0; border-top: 1px solid #cabdaf; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.career-openings article span { color: var(--red); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.career-openings article h3 { margin: 5px 0; font-size: 20px; }
.career-openings article p { margin: 0; color: var(--dark-muted); font-size: 13px; }
.career-openings article a { color: var(--red); font-weight: 800; font-size: 12px; }
.requirements-section { background: #160d0b; color: #fff; }
.requirements-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; }
.requirements-grid > div > p:last-child { color: #9d8d83; }
.requirements-grid ul { list-style: none; padding: 0; margin: 0; }
.requirements-grid li { min-height: 65px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.requirements-grid li span { color: var(--gold-soft); }
.contact-banner { padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 50px; background: var(--card); border: 1px solid #d1c2b5; }
.contact-banner small { color: var(--red); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.contact-banner h2 { margin: 9px 0; font-size: 34px; }
.contact-banner p { margin: 0; color: var(--dark-muted); }

.full-grid { grid-template-columns: repeat(3, 1fr); }
.article-hero { padding: 100px 0; background: linear-gradient(120deg, #190e0b, #35150f); }
.article-hero .shell { max-width: 980px; }
.back-link { color: var(--gold-soft); font-size: 12px; }
.article-meta { margin-top: 70px; display: flex; gap: 20px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.article-meta span { color: var(--gold-soft); }
.article-hero h1 { margin: 18px 0; font-size: clamp(2.6rem, 6vw, 5.7rem); }
.article-hero p { max-width: 750px; color: var(--muted); font-size: 19px; }
.article-shell { max-width: 900px; }
.article-shell > img { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 55px; }
.article-copy { color: var(--dark-text); font-size: 18px; line-height: 1.9; white-space: normal; }

.contact-emergency { margin-bottom: 55px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; background: #20110e; color: #fff; }
.contact-emergency > div { display: flex; align-items: center; gap: 18px; }
.contact-emergency small { display: block; color: #aa9b91; }
.contact-emergency strong { font-size: 17px; }
.contact-emergency > a { font: 800 35px "Libre Franklin"; color: var(--gold-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { min-height: 250px; position: relative; padding: 32px; background: var(--card); border: 1px solid #d6c8bc; transition: transform .25s, background .25s, color .25s; }
.contact-card > span { position: absolute; right: 28px; top: 24px; color: var(--red); }
.contact-card small { display: block; max-width: 85%; color: var(--dark-muted); font-size: 11px; }
.contact-card h2 { margin: 65px 0 8px; font-size: 23px; }
.contact-card p { color: var(--red); font-size: 13px; font-weight: 700; word-break: break-all; }
.contact-card:hover { transform: translateY(-5px); background: var(--ink-2); color: var(--text); box-shadow: var(--shadow); }
.contact-card:hover small { color: var(--muted); }
.hq-section { background: #160d0b; color: #fff; }
.hq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 110px; align-items: center; }
.hq-mark { min-height: 440px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle, rgba(194,45,21,.2), transparent 60%); }
.hq-mark img { width: 330px; filter: drop-shadow(0 25px 40px rgba(0,0,0,.4)); }
.hq-grid h2 { font-size: clamp(2.2rem,4vw,4rem); }
.hq-grid dl > div { padding: 18px 0; display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.hq-grid dt { color: #8f8178; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hq-grid dd { margin: 0; }
.hq-grid a { color: var(--gold-soft); }
.error-page { min-height: 65vh; display: grid; place-items: center; text-align: center; background: var(--paper); color: var(--dark-text); }
.error-page span { font: 800 110px "Libre Franklin"; color: var(--red); }
.error-page h1 { font-size: 38px; }

/* Vollständiges dunkles Oberflächen-System */
html[data-theme="dark"] {
    --paper: #120d0b;
    --paper-2: #18110f;
    --card: #1d1512;
    --dark-text: #f4ede7;
    --dark-muted: #ad9e95;
}
html[data-theme="dark"] .service-cards,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .command-node,
html[data-theme="dark"] .prevention-card,
html[data-theme="dark"] .accordion details,
html[data-theme="dark"] .status-summary,
html[data-theme="dark"] .station-card,
html[data-theme="dark"] .contact-banner,
html[data-theme="dark"] .contact-card {
    border-color: #3b2a24;
}
html[data-theme="dark"] .service-detail-list {
    background: #3b2a24;
    border-color: #3b2a24;
}
html[data-theme="dark"] .detail-icon,
html[data-theme="dark"] .apparatus span {
    background: #2a1c18;
}
html[data-theme="dark"] .apparatus span { color: #e1b977; }
html[data-theme="dark"] .station-info { border-color: #3b2a24; }
html[data-theme="dark"] .status-pill.operational {
    color: #65d98b;
    border-color: #315f40;
    background: #14271a;
}
html[data-theme="dark"] .status-pill.limited {
    color: #efb557;
    border-color: #6b5028;
    background: #2e2111;
}
html[data-theme="dark"] .status-pill.offline {
    color: #f07a72;
    border-color: #6b3631;
    background: #2d1715;
}
html[data-theme="dark"] .career-path-grid article,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .command-node,
html[data-theme="dark"] .service-detail,
html[data-theme="dark"] .prevention-card,
html[data-theme="dark"] .accordion details,
html[data-theme="dark"] .status-summary,
html[data-theme="dark"] .station-card,
html[data-theme="dark"] .contact-banner {
    box-shadow: 0 22px 55px rgba(0, 0, 0, .2);
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }.delay-2 { transition-delay: .16s; }.delay-3 { transition-delay: .24s; }

@media (max-width: 1120px) {
    .main-nav a { padding: 0 7px; font-size: 11px; }
    .main-nav a::after { left: 7px; right: 7px; }
    .brand span { display: none; }
    .hero-grid { grid-template-columns: 1fr .75fr; }
    .hero-mark { min-height: 500px; }
    .service-cards, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(2), .values-grid article:nth-child(2) { border-right: 0; }
    .service-card:nth-child(-n+2), .values-grid article:nth-child(-n+2) { border-bottom: 1px solid #d5c8ba; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { display: none; }
}

@media (max-width: 900px) {
    .shell { width: min(calc(100% - 32px), var(--shell)); }
    .section { padding: 80px 0; }
    .site-header { height: 74px; }
    .brand img { width: 50px; height: 50px; }
    .brand span { display: grid; }
    .menu-toggle { width: 42px; display: block; padding: 7px; }
    .main-nav { position: fixed; inset: 106px 0 0; padding: 30px 24px 50px; height: auto; display: flex; flex-direction: column; align-items: stretch; background: #120c0a; transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
    .main-nav.open { transform: none; }
    .main-nav a { min-height: 55px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.09); color: #bcaea4; font-size: 16px; }
    .main-nav a::after { display: none; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding: 80px 0; }
    .hero-mark { grid-row: 1; min-height: 420px; }
    .hero-mark > img { width: min(70vw, 420px); }
    .readiness-card { right: 5%; bottom: 20px; }
    .scroll-cue { display: none; }
    .mission-grid, .split-intro, .readiness-layout, .escape-grid, .requirements-grid, .hq-grid { grid-template-columns: 1fr; gap: 55px; }
    .readiness-layout { gap: 70px; }
    .station-visual { min-height: 400px; }
    .career-cta-inner, .callout-inner { align-items: flex-start; flex-direction: column; }
    .service-detail, .service-detail.reverse { grid-template-columns: 150px 1fr; gap: 40px; padding: 40px; }
    .service-detail.reverse .detail-icon { order: 0; }
    .detail-icon { width: 140px; }
    .detail-icon svg { width: 65px; }
    .prevention-grid, .station-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .career-path-grid { grid-template-columns: 1fr; }
    .career-path-grid article { min-height: 300px; }
    .path-icon { margin-top: 35px; }
    .full-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .shell { width: min(calc(100% - 24px), var(--shell)); }
    .topline-label { display: none; }
    .topline-inner { justify-content: flex-end; }
    .brand span { display: none; }
    .hero-grid { padding-top: 45px; gap: 25px; }
    .hero-mark { min-height: 340px; }
    .hero-mark > img { width: min(88vw, 340px); }
    .mark-rings { width: 100%; }
    .readiness-card { right: 0; bottom: 0; min-width: 235px; padding: 13px 15px; }
    h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
    h2 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-lead, .page-hero p:not(.eyebrow) { font-size: 16px; }
    .hero-actions .button { width: 100%; }
    .response-strip { margin-top: 35px; }
    .response-strip div { padding-right: 8px; }
    .response-strip div + div { padding-left: 8px; }
    .response-strip strong { font-size: 19px; }
    .response-strip span { font-size: 8px; }
    .service-cards, .values-grid, .prevention-grid, .station-grid, .news-grid, .full-grid, .contact-grid { grid-template-columns: 1fr; }
    .service-card, .values-grid article { border-right: 0; border-bottom: 1px solid #d5c8ba; }
    .service-card { min-height: 320px; }
    .service-card i { margin-top: 30px; }
    .station-visual { min-height: 330px; padding: 30px; }
    .visual-number { font-size: 80px; }
    .station-mini-list a { grid-template-columns: 48px 1fr; }
    .station-mini-list em { display: none; }
    .heading-row { align-items: flex-start; flex-direction: column; }
    .page-hero { min-height: 460px; padding: 70px 0 60px; }
    .command-node.chief { width: 100%; }
    .command-branches { grid-template-columns: 1fr; }
    .command-branches::before { display: none; }
    .service-detail, .service-detail.reverse { grid-template-columns: 1fr; padding: 30px; }
    .detail-icon { width: 105px; }
    .status-summary, .contact-emergency { align-items: flex-start; flex-direction: column; }
    .station-info { grid-template-columns: 1fr; }
    .station-card { padding: 28px; }
    .career-openings article, .contact-banner { align-items: flex-start; flex-direction: column; }
    .escape-number { font-size: 9rem; }
    .hq-mark { min-height: 330px; }
    .hq-grid dl > div { grid-template-columns: 1fr; gap: 6px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; }
    .emergency-inner { align-items: flex-start; flex-direction: column; }
    .footer-bottom { gap: 10px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

