
/* ======================================================================
   spremberg-fewo · LIGHT THEME (enhanced)
   One central stylesheet. Replace /assets/css/site.css with this file.
   Tweak the variables below to quickly change the look & feel.
   ====================================================================== */

:root{
  /* ---- Brand & colors ---- */
  --brand: #1d4ed8;           /* primary blue */
  --brand-600: #2563eb;
  --brand-700: #1e40af;
  --bg: #ffffff;              /* page background */
  --panel: #ffffff;           /* card & panel background */
  --text: #1f2937;            /* base text */
  --muted: #6b7280;           /* secondary text */
  --border: #e5e7eb;          /* subtle borders */
  --soft: #f7f9fc;            /* soft section background */
  --ring: 0 0 0 3px rgba(37, 99, 235, .25);

  /* ---- Layout & effects ---- */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(2, 6, 23, .06);
  --shadow-sm: 0 4px 14px rgba(2, 6, 23, .05);

  /* ---- Typography ---- */
  --font-size: 17px;
  --lh: 1.65;
}

/* Base */
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:var(--lh);font-size:var(--font-size)}
img{max-width:100%;height:auto;border-radius:var(--radius-sm);border:1px solid var(--border)}

a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-600);text-decoration:underline}

h1{font-size:clamp(1.9rem, 3.6vw, 2.7rem);line-height:1.18;margin:.35rem 0 .8rem}
h2{font-size:clamp(1.5rem, 2.6vw, 2rem);line-height:1.22;margin:1.2rem 0 .6rem}
h3{font-size:clamp(1.2rem, 2vw, 1.35rem);line-height:1.25;margin:1rem 0 .4rem}
p{margin:.65rem 0;color:var(--text)}
.muted{color:var(--muted)}

.container{max-width:1180px;margin:0 auto;padding:1rem}
.section{padding:1.75rem 0 2.25rem}
.section.alt{background:var(--soft);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}

/* Header & Nav */
header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--border);z-index:10;backdrop-filter:saturate(140%) blur(4px)}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.15rem;padding:.6rem 0}
nav ul{display:flex;flex-wrap:wrap;gap:.5rem 1rem;list-style:none;margin:0;padding:0 0 .8rem}
nav a{padding:.5rem .7rem;border-radius:10px;color:#111;border:1px solid transparent;transition:all .15s ease}
nav a:hover{background:#f8fafc;border-color:#eef2ff}
nav a.active{background:#eef2ff;border-color:#c7d2fe;color:#0b5bd3}

/* Hero */
.hero{background:linear-gradient(180deg, #f8fafc, #fff), radial-gradient(600px 220px at 20% -10%, rgba(29,78,216,.10), transparent);border-bottom:1px solid var(--border)}
.hero .wrap{display:grid;gap:1.5rem;grid-template-columns:repeat(12,1fr);align-items:center;padding:1.6rem 0}
.hero .copy{grid-column:span 7}
.hero .image{grid-column:span 5}
.badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;padding:.35rem .6rem;border-radius:999px;background:#eef2ff;border:1px solid #c7d2fe;color:#1e3a8a}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1rem;border-radius:12px;border:1px solid #1d4ed8;background:linear-gradient(180deg, #1d4ed8, #1e40af);color:#fff;box-shadow:var(--shadow);text-decoration:none}
.btn:hover{filter:brightness(1.03)}
.btn.secondary{border-color:var(--border);background:#fff;color:#111}
.btn:focus{outline:none;box-shadow:var(--ring)}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}
.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow);transition:transform .12s ease, box-shadow .12s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(2,6,23,.08)}
.card .thumb{border-radius:12px;overflow:hidden;border:1px solid var(--border);margin-bottom:.6rem}
.card .thumb img{width:100%;height:190px;object-fit:cover;border:none}

/* Content */
.content figure{margin:0 0 1rem}
.content figcaption{color:var(--muted);font-size:.92rem}
ul,ol{padding-left:1.2rem}

/* Forms */
.form{display:grid;gap:1rem;grid-template-columns:repeat(12,1fr)}
.form .field{grid-column:span 6;display:flex;flex-direction:column;gap:.35rem}
.form .field.full{grid-column:span 12}
label{font-weight:600}
input,textarea,select{background:#fff;border:1px solid var(--border);color:var(--text);padding:.7rem .85rem;border-radius:.55rem;transition:border-color .15s, box-shadow .15s}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--brand-600);box-shadow:var(--ring)}
small.help{color:var(--muted)}
.alert{padding:.85rem .95rem;border-radius:.6rem;background:#ecfdf5;border:1px solid #10b98133;color:#065f46}
.alert.error{background:#fef2f2;border-color:#ef444433;color:#7f1d1d}

/* Footer */
footer{border-top:1px solid var(--border);padding:1.2rem 0;color:#6b7280;background:#fff}

/* Responsive */
@media (max-width: 980px){
  .hero .copy,.hero .image{grid-column:span 12}
  .card .thumb img{height:200px}
  nav ul{gap:.4rem .6rem}
}
