/* Ironbastion — shared stylesheet */

:root {
  --ink-900: #14181B;
  --ink-800: #1D2327;
  --ink-700: #2E3640;
  --ink-600: #5B646D;
  --ink-400: #9AA3AA;
  --cream-100: #F7F5EF;
  --cream-200: #F3F1EA;
  --line: #E4E0D4;
  --accent: #4FA3A1;
  --accent-ink: #0E3F3E;
  --warm: #8C7A4A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink-700);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  background: var(--ink-900);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand svg { margin-right: 14px; }
.brand .wordmark { font-size: 20px; font-weight: 700; color: var(--cream-200); line-height: 1.1; }
.brand .subline { font-size: 9px; letter-spacing: 2.5px; color: var(--accent); margin-top: 2px; }

nav.main { display: flex; align-items: center; }
nav.main a {
  color: var(--cream-200);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.85;
  margin-left: 32px;
}
nav.main a:first-child { margin-left: 0; }
nav.main a:hover, nav.main a.active { opacity: 1; color: var(--accent); }
nav.main a.cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  opacity: 1;
}

.navtoggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.navtoggle span { display: block; width: 24px; height: 2px; background: var(--cream-200); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink-900);
  color: var(--cream-200);
  padding: 52px 0 46px 0;
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-text { flex: 1 1 auto; min-width: 0; }
.hero-graphic { flex: 0 0 auto; color: var(--ink-400); }
.hero .eyebrow {
  font-size: 12.5px; letter-spacing: 2px; color: var(--accent); font-weight: 700;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { font-size: 38px; line-height: 1.2; margin: 0 0 16px 0; max-width: 680px; }
.hero p.lead { font-size: 17px; color: #C9CDD1; max-width: 620px; margin: 0 0 28px 0; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--cream-200); border: 1.5px solid #3A434B; margin-left: 12px; }

/* ---------- Benefit strip ---------- */
.benefit-strip {
  background: var(--cream-100);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.benefit-strip .grid {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-spacing: 24px 0;
  margin: 0 -24px;
}
.benefit-strip .item { display: table-cell; vertical-align: top; width: 25%; }
.benefit-strip .item .inner { display: flex; align-items: flex-start; }
.benefit-strip .check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  margin-right: 12px;
}
.benefit-strip .t { font-weight: 700; color: var(--ink-900); font-size: 14.5px; margin-bottom: 2px; }
.benefit-strip .d { font-size: 13px; color: var(--ink-600); }

/* ---------- Sections ---------- */
section { padding: 52px 0; }
section.alt { background: var(--cream-100); }
.section-head { max-width: 680px; margin: 0 0 28px 0; }
.section-head .kicker {
  font-size: 12.5px; letter-spacing: 1.5px; color: var(--accent); font-weight: 700;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 28px; color: var(--ink-900); margin: 0 0 12px 0; }
.section-head p { font-size: 15.5px; color: var(--ink-600); margin: 0; }

/* ---------- Two-column layout helper (table-based) ---------- */
.split { display: table; width: 100%; table-layout: fixed; border-spacing: 48px 0; margin: 0 -48px; }
.split > div { display: table-cell; vertical-align: top; }
.split.w60-40 > div:first-child { width: 62%; }
.split.w60-40 > div:last-child { width: 38%; }
.split.w50-50 > div { width: 50%; }

/* ---------- Icon cards (3 Testbereiche etc.) ---------- */
.card-grid { display: table; width: 100%; table-layout: fixed; border-spacing: 20px 0; margin: 0 -20px; }
.card-grid .cell { display: table-cell; width: 33.333%; vertical-align: top; }
.icon-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; height: 100%;
}
.icon-card .icon { color: var(--accent); margin-bottom: 12px; }
.icon-card.dark { background: var(--ink-800); border-color: var(--ink-800); }
.icon-card.accent { background: var(--accent); border-color: var(--accent); }
.icon-card.dark .icon, .icon-card.accent .icon { color: var(--cream-200); }
.icon-card.accent .icon { color: var(--accent-ink); }
.icon-card h3 { font-size: 16.5px; color: var(--ink-900); margin: 0 0 8px 0; }
.icon-card.dark h3 { color: var(--cream-200); }
.icon-card.accent h3 { color: var(--accent-ink); }
.icon-card p { font-size: 14px; color: var(--ink-600); margin: 0; }
.icon-card.dark p { color: #C9CDD1; }
.icon-card.accent p { color: var(--accent-ink); }

/* ---------- Phase chain ---------- */
.phasechain { display: table; width: 100%; table-layout: fixed; border-spacing: 16px 0; margin: 8px -16px 0 -16px; }
.phase { display: table-cell; text-align: center; vertical-align: top; width: 20%; }
.phase .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px auto;
}
.phase .lbl { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.phase .sub { font-size: 12px; color: var(--ink-600); }

/* ---------- Table ---------- */
table.data { border-collapse: collapse; width: 100%; margin-top: 8px; }
table.data th { background: var(--ink-800); color: var(--cream-200); text-align: left; padding: 12px 14px; font-size: 14px; }
table.data td { border-bottom: 1px solid var(--line); padding: 12px 14px; font-size: 14px; color: var(--ink-700); vertical-align: top; }
table.data tr:nth-child(even) td { background: var(--cream-100); }

/* ---------- Process list ---------- */
.steps { counter-reset: step; margin-top: 8px; }
.step { display: flex; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: step; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; margin-right: 18px;
}
.step .n::before { content: counter(step); }
.step .body h4 { margin: 0 0 4px 0; font-size: 15.5px; color: var(--ink-900); }
.step .body p { margin: 0; font-size: 14px; color: var(--ink-600); }

/* ---------- Addon cards ---------- */
.addon {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-bottom: 16px;
}
.addon .flag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.addon .flag.standalone { background: #E4F2F1; color: var(--accent-ink); }
.addon .flag.requires { background: var(--cream-200); color: var(--warm); }
.addon h3 { font-size: 19px; color: var(--ink-900); margin: 0 0 8px 0; }
.addon > p { font-size: 14.5px; color: var(--ink-600); margin: 0 0 18px 0; }
.addon .why {
  background: var(--ink-800); color: var(--cream-200); border-radius: 8px; padding: 16px 20px; margin-bottom: 18px;
}
.addon .why .t { font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: 0.4px; margin-bottom: 6px; text-transform: uppercase; }
.addon .why p { color: #D8D3C5; font-size: 13.8px; margin: 0; }
.addon .cols { display: table; width: 100%; table-layout: fixed; border-spacing: 16px 0; margin: 0 -16px; }
.addon .cols .box { display: table-cell; vertical-align: top; width: 33.333%; background: var(--cream-100); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.addon .cols.two .box { width: 50%; }
.addon .cols .box .t { font-weight: 700; font-size: 13.8px; color: var(--ink-900); margin-bottom: 4px; }
.addon .cols .box .d { font-size: 13px; color: var(--ink-600); }

.combo-note {
  background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: 20px 24px; font-size: 14.5px;
}
.combo-note strong { display: block; font-size: 15px; margin-bottom: 6px; }

/* ---------- Sidebar-style info panel ---------- */
.panel-dark {
  background: var(--ink-800); color: var(--cream-200); border-radius: 12px; padding: 22px;
}
.panel-dark .h { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px; }
.panel-dark .cert { font-size: 14.5px; font-weight: 700; color: var(--cream-200); margin-bottom: 2px; }
.panel-dark .sub { font-size: 12.5px; color: var(--ink-400); margin-bottom: 4px; }
.panel-dark .ins { font-size: 12.5px; color: var(--warm); font-style: italic; }
.panel-dark hr { border: none; border-top: 1px solid #2E3640; margin: 18px 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-900); color: var(--cream-200); border-radius: 14px; padding: 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band .text { margin-right: 24px; margin-bottom: 8px; }
.cta-band h3 { font-size: 22px; margin: 0 0 6px 0; }
.cta-band p { font-size: 14.5px; color: #C9CDD1; margin: 0; max-width: 480px; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink-900); color: var(--ink-400); padding: 28px 0 22px 0; margin-top: 24px; }
footer.site .top { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }
footer.site .brand { margin-bottom: 8px; }
footer.site .brand .wordmark { font-size: 16px; }
footer.site nav a { color: var(--ink-400); text-decoration: none; font-size: 13.5px; margin-left: 20px; }
footer.site nav a:first-child { margin-left: 0; }
footer.site nav a:hover { color: var(--accent); }
footer.site .legal { border-top: 1px solid var(--ink-800); padding-top: 18px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; }
footer.site .legal span { margin-bottom: 4px; }

/* ---------- Legal pages ---------- */
.legal-page h1 { font-size: 26px; color: var(--ink-900); }
.legal-page h2 { font-size: 17px; color: var(--ink-900); margin-top: 32px; }
.legal-page p, .legal-page li { font-size: 14.5px; color: var(--ink-700); }
.legal-page .placeholder { background: #FDF6E8; border: 1px dashed var(--warm); color: var(--warm); padding: 2px 6px; border-radius: 4px; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .benefit-strip .grid, .benefit-strip .item,
  .card-grid, .card-grid .cell,
  .phasechain, .phase,
  .addon .cols, .addon .cols .box,
  .split, .split > div {
    display: block;
    width: 100% !important;
    margin: 0 0 20px 0;
  }
  .hero-graphic { display: none; }
  .icon-card { margin-bottom: 0; }
  .phase { margin-bottom: 28px; text-align: left; }
  .phase .num { margin: 0 0 10px 0; }
  .split { margin: 0; }
  .hero h1 { font-size: 30px; }
  nav.main { display: none; }
  .navtoggle { display: block; }
  header.site.open nav.main {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink-900);
    padding: 16px 24px 24px 24px;
  }
  header.site.open nav.main a { display: block; margin: 0 0 16px 0; }
  .cta-band { display: block; }
}
