/* K12 Corporate Brain — Website-Draft
   Design: premium / vertrauensvoll / B2B-Mittelstand.
   Tokens exakt uebernommen aus K5-Website-CSS (siehe
   03_Resources/2026-08-17_Design_und_Strukturmuster_K5_Traceless.md). */

:root {
  --navy:      #0f2742;
  --navy-700:  #1b3a5c;
  --ink:       #1d2733;
  --muted:     #5b6b7c;
  --line:      #e3e8ee;
  --bg:        #ffffff;
  --bg-soft:   #f5f7fa;
  --bg-tint:   #eef3f8;
  --gold:      #b8893f;
  --gold-soft: #f2e7d3;
  --teal:      #1f7a72;
  --red-soft:  #f8e9e9;
  --red:       #b3454a;
  --ok:        #1f7a72;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 6px 24px rgba(15,39,66,.08);
  --shadow-lg: 0 18px 50px rgba(15,39,66,.14);
  --maxw:      1120px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.62;
  color: var(--ink); background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 70px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.eyebrow {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--gold); font-weight: 700; font-family: var(--sans);
}
.lead { font-size: 1.2rem; color: var(--muted); font-family: var(--sans); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: #fff; font-weight: 600;
  font-size: .98rem; padding: 12px 22px; border-radius: 30px; border: 0;
  text-decoration: none; cursor: pointer; min-height: 44px; line-height: 1.2;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(184,137,63,.35); }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.lg { padding: 15px 30px; font-size: 1.05rem; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.15rem; text-decoration: none; }
nav.mainnav { display: flex; gap: 22px; align-items: center; }
nav.mainnav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav.mainnav a:hover { color: var(--navy); }

/* Mobile navigation toggle (hamburger) */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: transparent; border: 1.5px solid var(--navy); color: var(--navy);
  font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 0; flex: none;
}
.nav-toggle:hover { background: var(--navy); color: #fff; }
@media (max-width: 760px) {
  header.site .wrap { position: relative; flex-wrap: wrap; }
  nav.mainnav { gap: 12px; }
  .nav-toggle { display: flex; }
  nav.mainnav .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 6px 24px 14px;
  }
  nav.mainnav .navlinks.open { display: flex; }
  nav.mainnav .navlinks a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  nav.mainnav .navlinks a:last-child { border-bottom: none; }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-700), var(--navy) 70%);
  color: #fff; padding: 90px 0 70px;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; }
.hero .lead { color: #dbe4ee; font-size: 1.28rem; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn.ghost:hover { background: #fff; color: var(--navy); }

/* Sections background variants */
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

/* Cards */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ic {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--gold-soft);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 14px; font-family: var(--serif);
}

/* Numbered steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 62px; margin-bottom: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px;
  border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
}
.step h3 { margin-bottom: 4px; }

/* Contrast / förder box */
.fund-box {
  background: #fff; border: 1.5px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px; max-width: 62ch;
}
.fund-box .badge {
  display: inline-block; background: var(--gold-soft); color: var(--gold);
  border-radius: 30px; padding: 4px 14px; font-size: .8rem; font-weight: 700;
  margin-bottom: 12px;
}
.fund-box small.disclaimer { display: block; margin-top: 14px; color: var(--muted); font-size: .85rem; }

/* Photo placeholder */
.photo-ph {
  background: linear-gradient(135deg,#e8eef4,#d6e0ea);
  border: 1px dashed #9fb2c6; border-radius: var(--radius);
  min-height: 160px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
}

/* Brain-Check Teaser */
.braincheck {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; border: 1px solid var(--line);
}
.bc-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bc-item:last-of-type { border-bottom: none; }
.bc-item input[type="checkbox"] { width: 22px; height: 22px; min-height: 22px; margin-top: 2px; accent-color: var(--gold); }
.bc-item label { font-size: 1rem; }
.bc-result {
  margin-top: 22px; padding: 18px 22px; background: var(--bg-tint);
  border-radius: var(--radius-sm); font-family: var(--serif); color: var(--navy);
}
#bc-count { font-weight: 700; color: var(--gold); }

/* Footer */
footer.site {
  background: var(--navy); color: #dbe4ee; padding: 56px 0 0;
}
footer.site h4 { color: #fff; font-family: var(--sans); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
footer.site a { color: #cfdbe8; }
footer.site .grid { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { footer.site .grid { grid-template-columns: 1fr; } }
.legal-strip {
  margin-top: 40px; border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 0; font-size: .82rem; color: #9fb2c6;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}


/* MVP-Sektion */
.mvp-subhead { margin-top: 48px; }
.mvp-list {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; border: 1px solid var(--line);
}
.mvp-list-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mvp-list-item:last-of-type { border-bottom: none; }
.mvp-list-item .mk {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-tint); color: var(--muted); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.mvp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mvp-tags .badge { margin-bottom: 0; }
.tool-loc {
  display: inline-block; border-radius: 30px; padding: 3px 12px;
  font-size: .76rem; font-weight: 700; margin-top: 10px;
}
.tool-loc.local { background: rgba(31,122,114,.12); color: var(--teal); }
.tool-loc.selfhosted { background: var(--gold-soft); color: var(--gold); }
.tool-loc.cloud { background: var(--red-soft); color: var(--red); }
.mvp-dsgvo-note {
  background: var(--bg-tint); border-radius: var(--radius-sm); padding: 20px 24px;
  font-size: .92rem; color: var(--ink); margin-top: 24px; max-width: 76ch;
}


/* GEO-Bloecke */
#definition .answer-lead,
.answer-lead {
  background: var(--bg-tint); border-radius: var(--radius-sm);
  padding: 22px 26px; max-width: 68ch; font-size: 1.08rem;
  color: var(--ink); border: 1px solid var(--line);
}
.faq-list { max-width: 78ch; }
.faq-item {
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.faq-item:last-of-type { border-bottom: none; }
.faq-item h3 { font-size: 1.22rem; margin-bottom: .35em; }
.faq-item p { color: var(--muted); }
