/* The Green Blaze — design system */
:root {
  --bg:         #f2f6f4;
  --surface:    #ffffff;
  --text:       #111d17;
  --soft:       #2e4a3a;
  --muted:      #607b6e;
  --accent:     #1a6b42;
  --accent-h:   #155736;
  --accent-lt:  #d6ede3;
  --accent-pl:  #eef7f2;
  --border:     #ccdfd5;
  --ft-bg:      #0d2b1e;
  --ft-txt:     #c8ddd3;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--soft);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-h); }

/* Layout */
.wrap        { width: min(1160px, calc(100% - 2.4rem)); margin-inline: auto; }
.wrap-narrow { width: min(760px,  calc(100% - 2.4rem)); margin-inline: auto; }

/* ── Header ── */
.site-header {
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
  position: sticky; top: 0; z-index: 50;
  padding: 0.75rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 0.05rem; }
.brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
}
.brand-name strong { color: var(--accent); }
.brand-sub {
  font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.nav-list { display: flex; list-style: none; gap: 0.15rem; }
.nav-list a {
  text-decoration: none; color: var(--soft);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.35rem 0.7rem; border-radius: 5px;
  transition: background .15s, color .15s;
}
.nav-list a:hover { background: var(--accent-pl); color: var(--accent); }
.nav-list a.nav-cta { background: var(--accent); color: #fff; font-weight: 600; }
.nav-list a.nav-cta:hover { background: var(--accent-h); color: #fff; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: .2s; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, var(--accent-pl) 0%, var(--surface) 60%);
  border-left: 5px solid var(--accent);
  padding: 2.4rem 0 1.8rem;
}
.hero-meta {
  font-size: 0.82rem; color: var(--muted);
  letter-spacing: 0.05em; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.ad-label {
  background: #4a5568; color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; padding: 0.15rem 0.5rem;
  border-radius: 3px; text-transform: uppercase;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem; align-items: start; margin-bottom: 2rem;
}
.eyebrow {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.7rem;
}
h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25; color: var(--text);
  font-weight: 700; margin-bottom: 1rem;
}
.lede { font-size: 1.08rem; line-height: 1.7; color: var(--soft); margin-bottom: 1rem; }
.article-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.81rem; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 0.7rem; margin-top: 0.7rem;
}
.summary-card {
  background: var(--surface);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 1.3rem 1.5rem;
  box-shadow: 0 2px 14px rgba(26,107,66,.08);
}
.summary-card small {
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.summary-card h2 {
  font-size: 0.98rem; margin: 0.4rem 0 0.7rem;
  font-family: 'Sora', sans-serif; color: var(--text);
}
.summary-card ol { padding-left: 1.3rem; font-size: 0.91rem; color: var(--soft); }
.summary-card ol li { margin-bottom: 0.3rem; }
.hero-photo { margin-top: 1.5rem; border-radius: 8px; overflow: hidden; }
.hero-photo img { width: 100%; border-radius: 8px; }
.hero-photo figcaption { font-size: 0.79rem; color: var(--muted); margin-top: 0.45rem; font-style: italic; }

/* ── Page layout ── */
.page-layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 2.4rem; align-items: start; padding: 2.4rem 0 3rem;
}
.main-content { min-width: 0; }

/* ── Typography ── */
.main-content h2 {
  font-family: 'Sora', sans-serif; font-size: 1.25rem;
  font-weight: 700; color: var(--text); margin: 1.8rem 0 0.6rem;
}
.main-content h3 {
  font-family: 'Sora', sans-serif; font-size: 1rem;
  font-weight: 700; color: var(--text); margin-bottom: 0.4rem;
}
.main-content p { margin-bottom: 1rem; }
.main-content ul, .main-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.main-content li { margin-bottom: 0.4rem; }
.fine { font-size: 0.82rem; color: var(--muted); }

/* ── Teil badge ── */
.teil-badge {
  display: inline-flex; align-items: center;
  background: var(--accent-lt); color: var(--accent-h);
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; border-radius: 20px;
  margin: 1.8rem 0 0.4rem;
}

/* ── Disclosure box ── */
.disclosure-box {
  background: var(--accent-pl); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.3rem 1.5rem; margin: 1.5rem 0;
}
.disclosure-box h2 {
  font-family: 'Sora', sans-serif; font-size: 0.98rem;
  color: var(--text); margin: 0 0 0.55rem;
}

/* ── Note box ── */
.note-box {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 0.75rem 1.1rem; border-radius: 0 6px 6px 0;
  font-size: 0.88rem; color: var(--soft); margin: 1rem 0;
}

/* ── Field grid ── */
.field-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin: 1.1rem 0; }
.field-card {
  background: var(--surface); border-radius: 8px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 2px 10px rgba(17,29,23,.07);
  border-top: 3px solid var(--accent);
}
.field-card h3 { font-size: 0.95rem; margin-bottom: 0.45rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.62rem 1.35rem; border-radius: 6px;
  font-weight: 600; font-size: 0.93rem;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Mid CTA ── */
.mid-cta { margin: 1.2rem 0 0.4rem; }

/* ── Mid photo ── */
.mid-photo { margin: 1.7rem 0; border-radius: 8px; overflow: hidden; }
.mid-photo img { border-radius: 8px; }

/* ── Mistakes list ── */
.mistakes-list ul { list-style: none; padding: 0; }
.mistakes-list li {
  padding: 0.55rem 0 0.55rem 1rem;
  border-left: 3px solid var(--border);
  margin-bottom: 0.5rem;
}

/* ── Zwei Wege ── */
.zwei-wege {
  background: var(--ft-bg); color: var(--ft-txt);
  border-radius: 10px; padding: 2rem 2.2rem; margin: 2rem 0;
}
.zwei-wege h2 { font-family:'Sora',sans-serif; font-size:1.25rem; color:#fff; margin-bottom:1rem; }
.zwei-wege p { color: var(--ft-txt); margin-bottom: 0.8rem; }
.zwei-wege .btn-row { display:flex; gap:0.75rem; flex-wrap:wrap; margin-top:1.2rem; }
.zwei-wege .fine { color: rgba(200,221,211,.65); margin-top: 0.8rem; }
.zwei-wege a { color: var(--accent-lt); }
.zwei-wege .btn-ghost { color:#fff; }

/* ── Guide panel ── */
.guide-panel {
  position: sticky; top: 80px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 12px rgba(26,107,66,.07);
}
.guide-panel h3 { font-family:'Sora',sans-serif; font-size:0.98rem; color:var(--text); margin-bottom:0.35rem; }
.guide-panel > p { font-size:0.86rem; color:var(--muted); margin-bottom:0.85rem; }
.guide-panel ol { padding-left:1.3rem; font-size:0.88rem; margin-bottom:1.1rem; color:var(--soft); }
.guide-panel ol li { margin-bottom:0.3rem; }
.btn-rail {
  display: block; background: var(--accent); color: #fff;
  text-align: center; padding: 0.62rem 1rem;
  border-radius: 6px; text-decoration: none;
  font-weight: 600; font-size: 0.9rem; margin-bottom: 0.65rem;
  transition: background .15s;
}
.btn-rail:hover { background: var(--accent-h); color: #fff; }
.rail-note { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* ── Footer ── */
.site-footer { background: var(--ft-bg); color: var(--ft-txt); padding: 2.5rem 0 1.2rem; margin-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 1.5rem;
}
.footer-col h3 {
  font-family:'Sora',sans-serif; font-size:0.82rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  color: rgba(255,255,255,.5); margin-bottom:0.75rem; margin-top:1rem;
}
.footer-col h3:first-child { margin-top:0; }
.footer-col p, .footer-address { font-size:0.87rem; color:var(--ft-txt); line-height:1.7; font-style:normal; }
.footer-col a { color:#a8ccbb; }
.footer-col a:hover { color:#fff; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:0.28rem; }
.foot-copy { font-size:0.79rem; color:rgba(200,221,211,.45); text-align:center; }

/* ── Legal pages ── */
.legal-header { background: var(--accent-pl); border-bottom: 2px solid var(--border); padding: 2rem 0 1.6rem; margin-bottom: 2rem; }
.legal-header .eyebrow { margin-bottom: 0.45rem; }
.legal-header h1 { font-size: 1.9rem; margin-bottom: 0.45rem; }
.legal-header p { color: var(--muted); }
.legal-body { padding: 0 0 3rem; }
.legal-body h2 {
  font-family:'Sora',sans-serif; font-size:1.1rem; color:var(--text);
  margin: 2rem 0 0.55rem; padding-top:1.5rem;
  border-top: 1px solid var(--border);
}
.legal-body h2:first-child { border-top:none; padding-top:0; }
.legal-body p { margin-bottom:0.85rem; }
.legal-body ul { padding-left:1.4rem; margin-bottom:0.85rem; }
.legal-body li { margin-bottom:0.32rem; }
.legal-body a { color:var(--accent); }
.contact-table { width:100%; border-collapse:collapse; margin:1.2rem 0; }
.contact-table th, .contact-table td { padding:0.65rem 1rem; text-align:left; border-bottom:1px solid var(--border); font-size:0.91rem; }
.contact-table th { width:200px; color:var(--muted); font-weight:600; background:var(--accent-pl); }
.mstv-box { background:var(--accent-pl); border:1px solid var(--border); border-radius:8px; padding:1.1rem 1.4rem; margin:1.1rem 0; }
.mstv-box h3 { font-size:0.87rem; color:var(--accent-h); margin-bottom:0.35rem; font-family:'Sora',sans-serif; }
.mstv-box p { font-size:0.88rem; margin:0; }

/* ── Cookie banner ── */
#cookie-bar {
  display: none; position: fixed; bottom:0; left:0; right:0;
  background: var(--ft-bg); color: var(--ft-txt);
  padding: 1rem 1.4rem; gap:1.2rem;
  align-items: center; flex-wrap: wrap; z-index:100;
  font-size: 0.87rem; border-top: 2px solid var(--accent);
}
#cookie-bar p { margin:0; flex:1 1 300px; }
#cookie-bar a { color: var(--accent-lt); }
.cookie-actions { display:flex; gap:0.55rem; }
#cookie-bar button { padding:0.38rem 0.95rem; border-radius:5px; font-weight:600; font-size:0.83rem; cursor:pointer; }
#cookie-accept { background:var(--accent); color:#fff; border:none; }
#cookie-reject { background:transparent; color:var(--ft-txt); border:1px solid rgba(200,221,211,.35); }

/* ── 404 ── */
.page-404 { min-height:58vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:4rem 1rem; }
.page-404 h1 { font-size:5rem; color:var(--accent); margin-bottom:0.5rem; }
.page-404 p { color:var(--muted); margin-bottom:1.5rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid   { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .field-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap:1.5rem; }
  .guide-panel { position:static; }
  .site-header { position: relative; }
  .nav-list {
    display: none; flex-direction:column;
    position: absolute; top: 100%; left:0; right:0;
    background: var(--surface); padding:1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1); gap:0;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding:0.6rem 1rem; border-radius:0; }
  .burger { display:flex; }
  h1 { font-size:1.55rem; }
  .zwei-wege .btn-row { flex-direction:column; }
}
