/*
Theme Name: fmn-modern
Theme URI: https://feuerwehr-noviand.de/
Author: FMN
Description: Seriös‑modernes Starter‑Theme für Feuerwehr Maring‑Noviand (Hero, Karten, CI‑Farben, block‑ready)
Version: 0.1.0
Tested up to: 6.6
Requires at least: 6.2
License: GPL-2.0-or-later
Text Domain: fmn-modern
*/

/* Basale Resets & Variablen als Fallback (theme.json ist führend) */
:root {
  --fmn-red: #C8102E;
  --fmn-dark: #222222;
  --fmn-gray: #F5F5F5;
  --fmn-accent: #FFD100;
}

html {scroll-behavior: smooth}
body {margin:0}

.container {max-width: 1200px; margin: 0 auto; padding: 0 1.25rem}
.section {padding: 3rem 0}

/* Karten */
.card {background:#fff; border:1px solid #e9e9e9; border-radius:12px; padding:1.25rem; box-shadow:0 2px 8px rgba(0,0,0,.04)}
.card:hover {box-shadow:0 6px 20px rgba(0,0,0,.08)}

/* Buttons */
.button {display:inline-block; padding:.8rem 1.2rem; border-radius:999px; text-decoration:none; font-weight:600}
.button--primary {background:var(--fmn-red); color:#fff}
.button--ghost {border:1px solid #fff; color:#fff}

/* Header/Hero */
.hero {position:relative; color:#fff; min-height: 56vh; display:flex; align-items:center}
.hero::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25))}
.hero__inner{position:relative; z-index:1}
.hero h1{font-size:clamp(2rem, 4vw, 4rem); margin:0 0 .5rem}
.hero p{font-size:clamp(1rem, 1.5vw, 1.25rem)}

/* Grid */
.grid{display:grid; gap:1.25rem}
.grid--3{grid-template-columns:repeat(3, 1fr)}
.grid--2{grid-template-columns:repeat(2, 1fr)}
@media (max-width: 900px){.grid--3,.grid--2{grid-template-columns:1fr}}

/* Footer */
.site-footer{background:#111; color:#ddd}
.site-footer a{color:#fff}