/* fg-* namespace — 官方機構審計風格，對照 feuerwehr-frankfurt.de */
:root {
  --fg-red: #c8102e;
  --fg-red-dark: #9e0c24;
  --fg-ink: #1a1a1a;
  --fg-ink-soft: #4a4a4a;
  --fg-line: #e2e2e2;
  --fg-bg-alt: #f5f5f5;
  --fg-amber: #e8890c;
}

.fg-header { border-bottom: 1px solid var(--fg-line); background: #fff; position: sticky; top: 0; z-index: 100; }
.fg-header-inner { max-width: 1180px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fg-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.fg-logo img { width: 40px; height: 40px; object-fit: contain; }
.fg-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.fg-logo-text strong { font-size: 19px; font-weight: 800; color: var(--fg-red); letter-spacing: .01em; }
.fg-logo-text span { font-size: 11px; font-weight: 600; color: var(--fg-ink-soft); letter-spacing: .06em; }
.fg-nav { display: flex; align-items: center; gap: 32px; }
.fg-nav a { font-size: 15px; font-weight: 600; color: var(--fg-ink); text-decoration: none; }
.fg-nav a:hover { color: var(--fg-red); }
.fg-header-cta { background: var(--fg-red); color: #fff; padding: 10px 22px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fg-header-cta:hover { background: var(--fg-red-dark); }

.fg-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.85) 100%), var(--fg-ink) center/cover; }
.fg-hero-inner { max-width: 1180px; margin: 0 auto; padding: 48px 24px 44px; width: 100%; }
.fg-hero-tag { display: inline-block; background: var(--fg-red); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 2px; letter-spacing: .04em; margin-bottom: 18px; }
.fg-hero-title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; color: #fff; line-height: 1.35; max-width: 820px; margin-bottom: 16px; }
.fg-hero-excerpt { font-size: 16px; color: rgba(255,255,255,.82); max-width: 640px; line-height: 1.7; margin-bottom: 24px; }
.fg-hero-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.fg-hero-author { font-size: 14px; color: rgba(255,255,255,.7); }
.fg-hero-author strong { color: #fff; }
.fg-hero-cta { background: #fff; color: var(--fg-ink); padding: 12px 26px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; }
.fg-hero-cta:hover { background: var(--fg-amber); color: #fff; }

.fg-ticker { background: var(--fg-ink); border-bottom: 3px solid var(--fg-red); }
.fg-ticker-inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fg-ticker-label { font-size: 12px; font-weight: 800; color: var(--fg-red); letter-spacing: .06em; white-space: nowrap; }
.fg-ticker-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.fg-ticker-tags a { font-size: 13px; color: rgba(255,255,255,.85); text-decoration: none; padding: 4px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 2px; }
.fg-ticker-tags a:hover { border-color: var(--fg-red); color: #fff; }

.fg-section { padding: 64px 24px; }
.fg-section.fg-alt { background: var(--fg-bg-alt); }
.fg-section-inner { max-width: 1180px; margin: 0 auto; }
.fg-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; border-bottom: 3px solid var(--fg-ink); padding-bottom: 16px; }
.fg-section-title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; color: var(--fg-ink); }
.fg-section-title em { color: var(--fg-red); font-style: normal; }
.fg-section-link { font-size: 14px; font-weight: 700; color: var(--fg-red); text-decoration: none; }

.fg-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.fg-cat-card { background: #fff; border: 1px solid var(--fg-line); border-top: 4px solid var(--fg-red); padding: 26px 24px; }
.fg-cat-tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--fg-red); letter-spacing: .04em; margin-bottom: 10px; }
.fg-cat-desc { font-size: 14px; line-height: 1.75; color: var(--fg-ink-soft); margin-bottom: 16px; }
.fg-cat-link { font-size: 13px; font-weight: 700; color: var(--fg-ink); text-decoration: none; }
.fg-cat-link:hover { color: var(--fg-red); }

.fg-article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.fg-article-card { display: block; background: #fff; border: 1px solid var(--fg-line); text-decoration: none; overflow: hidden; }
.fg-article-card:hover { border-color: var(--fg-red); }
.fg-article-img { width: 100%; aspect-ratio: 16/10; background: var(--fg-bg-alt) center/cover; }
.fg-article-body { padding: 18px 20px 20px; }
.fg-article-cat { display: inline-block; font-size: 11px; font-weight: 800; color: var(--fg-red); letter-spacing: .04em; margin-bottom: 8px; }
.fg-article-title { font-size: 16px; font-weight: 700; color: var(--fg-ink); line-height: 1.5; margin-bottom: 8px; }
.fg-article-desc { font-size: 13px; color: var(--fg-ink-soft); line-height: 1.65; margin-bottom: 14px; }
.fg-article-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #999; border-top: 1px solid var(--fg-line); padding-top: 12px; }
.fg-article-foot span:last-child { color: var(--fg-red); font-weight: 700; }

.fg-benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--fg-line); border: 1px solid var(--fg-line); }
.fg-benefit-item { background: #fff; padding: 28px 24px; }
.fg-benefit-num { font-size: 13px; font-weight: 800; color: var(--fg-red); letter-spacing: .06em; margin-bottom: 10px; }
.fg-benefit-title { font-size: 15px; font-weight: 700; color: var(--fg-ink); margin-bottom: 10px; }
.fg-benefit-desc { font-size: 13.5px; color: var(--fg-ink-soft); line-height: 1.7; }

.fg-split { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.fg-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--fg-line); }
.fg-row-img { width: 96px; height: 68px; flex-shrink: 0; background: var(--fg-bg-alt) center/cover; }
.fg-row-title { font-size: 15px; font-weight: 700; color: var(--fg-ink); text-decoration: none; display: block; margin-bottom: 6px; line-height: 1.5; }
.fg-row-title:hover { color: var(--fg-red); }
.fg-row-date { font-size: 12px; color: #999; }

.fg-widget { background: #fff; border: 1px solid var(--fg-line); padding: 24px; margin-bottom: 20px; }
.fg-widget-title { font-size: 13px; font-weight: 800; color: var(--fg-red); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--fg-ink); }
.fg-author-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fg-author-card img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--fg-red); object-fit: cover; }
.fg-author-name { font-size: 15px; font-weight: 700; color: var(--fg-ink); }
.fg-author-role { font-size: 12.5px; color: var(--fg-red); font-weight: 700; margin-top: 2px; }
.fg-author-bio { font-size: 12.5px; color: var(--fg-ink-soft); line-height: 1.65; }
.fg-widget-cta { background: var(--fg-ink); color: #fff; }
.fg-widget-cta .fg-widget-title { color: var(--fg-amber); border-bottom-color: rgba(255,255,255,.2); }
.fg-widget-cta p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 16px; }
.fg-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fg-tag-list a { font-size: 12.5px; color: var(--fg-ink-soft); border: 1px solid var(--fg-line); padding: 5px 12px; border-radius: 2px; text-decoration: none; }
.fg-tag-list a:hover { border-color: var(--fg-red); color: var(--fg-red); }

.fg-faq { max-width: 760px; margin: 0 auto; }
.fg-faq-item { border-bottom: 1px solid var(--fg-line); padding: 22px 0; }
.fg-faq-q { font-size: 16px; font-weight: 700; color: var(--fg-ink); margin-bottom: 10px; display: flex; gap: 10px; }
.fg-faq-q::before { content: "F"; color: var(--fg-red); font-weight: 800; }
.fg-faq-a { font-size: 14.5px; line-height: 1.8; color: var(--fg-ink-soft); padding-left: 22px; }

.fg-cta-band { background: var(--fg-ink); padding: 56px 24px; text-align: center; }
.fg-cta-band h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.fg-cta-band p { font-size: 14.5px; color: rgba(255,255,255,.7); margin-bottom: 26px; }
.fg-cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fg-btn-outline { border: 1px solid rgba(255,255,255,.4); color: #fff; padding: 12px 26px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; }
.fg-btn-outline:hover { border-color: #fff; }
.fg-btn-fill { background: var(--fg-red); color: #fff; padding: 12px 26px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; }
.fg-btn-fill:hover { background: var(--fg-red-dark); }

.fg-footer { background: #fff; border-top: 1px solid var(--fg-line); padding: 48px 24px 24px; }
.fg-footer-inner { max-width: 1180px; margin: 0 auto; }
.fg-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.fg-footer-logo { font-size: 17px; font-weight: 800; color: var(--fg-red); margin-bottom: 10px; }
.fg-footer-tagline { font-size: 13px; color: var(--fg-ink-soft); line-height: 1.7; max-width: 320px; }
.fg-footer-col-title { font-size: 12px; font-weight: 800; color: var(--fg-ink); letter-spacing: .05em; margin-bottom: 14px; text-transform: uppercase; }
.fg-footer-link { display: block; font-size: 13.5px; color: var(--fg-ink-soft); text-decoration: none; margin-bottom: 10px; }
.fg-footer-link:hover { color: var(--fg-red); }
.fg-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #999; border-top: 1px solid var(--fg-line); padding-top: 20px; }

@media (max-width: 860px) {
  .fg-nav { display: none; }
  .fg-split { grid-template-columns: 1fr; }
  .fg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fg-footer-grid { grid-template-columns: 1fr; }
}
