:root {
  --blue-900: #071e46;
  --blue-800: #0a2d66;
  --blue-700: #0d3a85;
  --blue-600: #1450b4;
  --blue-500: #1f6fe0;
  --blue-100: #e3edfb;
  --blue-50: #f2f7fd;
  --white: #ffffff;
  --ink: #10182b;
  --ink-soft: #4b5872;
  --gold: #f5b82e;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(7, 30, 70, .12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }
.site-main { min-height: 60vh; }

/* ===== NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 30, 70, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 800; letter-spacing: .3px; }
.brand-logo { height: 44px; width: auto; }
.crest {
  width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(from 210deg, #1f6fe0, #0a2d66 55%, #1f6fe0);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.brand small { display: block; font-weight: 500; font-size: 11px; opacity: .75; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a, .nav ul.nav a {
  color: rgba(255,255,255,.85); font-size: 15px; font-weight: 600;
  padding: 9px 16px; border-radius: 99px; transition: .2s;
}
.nav-links a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav ul { list-style: none; display: flex; gap: 6px; }
.nav-cta { background: var(--gold); color: var(--blue-900) !important; font-weight: 800 !important; }
.nav-cta:hover { background: #ffd257 !important; }

/* ===== HERO (Startseite) ===== */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(31,111,224,.55), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(31,111,224,.35), transparent 60%),
    linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue-700) 100%);
  color: var(--white); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 150px 0 90px; width: 100%; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 {
  font-size: clamp(42px, 7vw, 84px); line-height: 1.02; font-weight: 900;
  letter-spacing: -2px; margin-bottom: 26px;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 38px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 99px; font-weight: 800; font-size: 16px; transition: .2s;
}
.btn-primary { background: var(--gold); color: var(--blue-900); box-shadow: 0 10px 30px rgba(245,184,46,.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { border: 2px solid var(--blue-600); color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: var(--white); }
.hero-stats { display: flex; gap: 44px; margin-top: 70px; flex-wrap: wrap; }
.stat b { font-size: 40px; font-weight: 900; display: block; line-height: 1; }
.stat b em { font-style: normal; color: var(--gold); }
.stat span { font-size: 14px; color: rgba(255,255,255,.65); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ===== Seiten-Hero (Listen, Artikel) ===== */
.page-hero, .article-header {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: var(--white); padding: 150px 0 70px; margin-bottom: 60px;
}
.page-hero h1, .article-header h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -1px; line-height: 1.1;
}
.article-tag {
  display: inline-block; background: rgba(255,255,255,.14); color: var(--gold);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.article-meta { margin-top: 16px; color: rgba(255,255,255,.7); font-size: 15px; font-weight: 600; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.sec-head { max-width: 640px; margin-bottom: 54px; }
.sec-head .kicker { color: var(--blue-600); }
.sec-head .kicker::before { background: var(--blue-600); }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.sec-more { margin-top: 44px; text-align: center; }

/* ===== News-Grid ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(7,30,70,.18); }
.news-thumb { height: 190px; position: relative; display: grid; place-items: center; font-size: 52px; overflow: hidden; }
.news-thumb.has-image img { width: 100%; height: 190px; object-fit: cover; }
.thumb-fallback { background: linear-gradient(135deg, #1f6fe0, #071e46); }
.news-cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); color: var(--blue-800);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 99px;
}
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-body time { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.news-body h3 { font-size: 20px; font-weight: 800; margin: 8px 0 10px; line-height: 1.3; }
.news-body p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.news-body .more { margin-top: 16px; font-weight: 800; color: var(--blue-600); font-size: 14px; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: space-between; margin-top: 50px; font-weight: 700; }
.pagination a { color: var(--blue-600); }

/* ===== Artikel-Inhalt (Ghost-Editor / Koenig-Cards) ===== */
.article-image { margin-bottom: 48px; }
.article-image img { border-radius: var(--radius); width: 100%; }
.article-image figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.gh-content { font-size: 18px; padding-bottom: 90px; }
.gh-content > * + * { margin-top: 24px; }
.gh-content h2 { font-size: 30px; font-weight: 900; letter-spacing: -.5px; margin-top: 48px; }
.gh-content h3 { font-size: 23px; font-weight: 800; margin-top: 36px; }
.gh-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.gh-content blockquote {
  border-left: 4px solid var(--gold); padding: 6px 0 6px 22px;
  font-size: 20px; font-style: italic; color: var(--ink-soft);
}
.gh-content ul, .gh-content ol { padding-left: 26px; }
.gh-content img { border-radius: 12px; }
.gh-content hr { border: none; border-top: 2px solid var(--blue-100); margin: 48px 0; }
.gh-content pre {
  background: var(--blue-900); color: #dbe7fb; padding: 20px 24px;
  border-radius: 12px; overflow-x: auto; font-size: 15px;
}
.gh-content figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* Koenig-Kartenbreiten (Pflicht für gscan) */
.kg-width-wide { position: relative; width: 85vw; max-width: 1180px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-gallery-container { display: flex; flex-direction: column; gap: 8px; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-image { flex: 1; }
.kg-gallery-image img { height: 100%; object-fit: cover; }
.kg-bookmark-card a { display: flex; border: 1px solid var(--blue-100); border-radius: 12px; overflow: hidden; text-decoration: none; }
.kg-bookmark-content { padding: 18px; flex: 1; }
.kg-bookmark-title { font-weight: 800; }
.kg-bookmark-description { font-size: 14px; color: var(--ink-soft); }
.kg-bookmark-thumbnail img { width: 200px; height: 100%; object-fit: cover; }
.kg-callout-card { display: flex; gap: 12px; padding: 20px 24px; border-radius: 12px; background: var(--blue-50); }
.kg-button-card a { display: inline-block; background: var(--blue-600); color: var(--white) !important; text-decoration: none !important; font-weight: 800; padding: 13px 28px; border-radius: 99px; }

/* ===== Sponsoren ===== */
.sponsors { background: var(--blue-900); color: var(--white); }
.sponsors .sec-head .kicker { color: var(--gold); }
.sponsors .sec-head .kicker::before { background: var(--gold); }
.sponsor-track { display: flex; gap: 22px; flex-wrap: wrap; }
.sponsor-logo {
  flex: 1 1 190px; height: 92px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  display: grid; place-items: center; font-weight: 800; font-size: 15px; color: rgba(255,255,255,.65);
}
.sponsor-logo img { max-height: 60px; width: auto; }

/* ===== CTA-Band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--blue-600), var(--blue-800));
  border-radius: 28px; padding: 64px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(13,58,133,.35);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -1px; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 480px; }

/* ===== Footer ===== */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding: 70px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.foot-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.foot-grid a { display: block; padding: 5px 0; font-size: 15px; transition: .2s; }
.foot-grid a:hover { color: var(--gold); }
.foot-grid ul { list-style: none; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-bottom a:hover { color: var(--gold); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .kg-width-wide, .kg-width-full { width: 100%; margin-left: 0; transform: none; }
}
.page-spacer { padding-top: 110px; }
