/* ============================================================
   GW-Vertriebs — moderner, farbiger Look
   Palette:
     --ink       #10141B  dunkler Grund (Hero, dunkle Karten)
     --ink-2     #171D28  etwas heller (Karten auf dunklem Grund)
     --paper     #FBF9F5  warmes Off-White (Content-Hintergrund)
     --copper    #C97A3D  Primärakzent (Energie/Entscheidung)
     --copper-l  #E3A56B
     --teal      #1F7A6C  Sekundärakzent
     --indigo    #5B6EE1  Struktur/Steuerung
     --coral     #D9524B  Dringlichkeit, sparsam
   Typografie: Manrope (Display) / Inter (Text) / IBM Plex Mono (Labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --ink: #0F2D52;
  --ink-2: #163B68;
  --paper: #FBF9F5;
  --card: #FFFFFF;
  --copper: #C9A84C;
  --copper-l: #DDBF74;
  --teal: #1F5C56;
  --indigo: #5B6EE1;
  --coral: #B23A3A;
  --amber: #E3A73C;
  --green: #4C9A6B;
  --rose: #D9707A;
  --text: #171A1F;
  --muted: rgba(23, 26, 31, 0.64);
  --muted-light: rgba(251, 249, 245, 0.7);
  --line: rgba(23, 26, 31, 0.1);
  --line-light: rgba(251, 249, 245, 0.14);
  --font-display: 'Spectral', serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shadow: 0 24px 48px -28px rgba(16, 20, 27, 0.28);
  --shadow-sm: 0 10px 24px -16px rgba(16, 20, 27, 0.24);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--copper);
  display: inline-block;
}
.eyebrow--light { color: var(--copper-l); }
.eyebrow--light::before { background: var(--copper-l); }

p { margin: 0 0 1em; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Nav ---------- */

header.site {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-light);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1160px;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--copper-l); }

.brand-logo {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  padding: 6px 16px;
  border-radius: 6px;
}
.brand-logo img { height: 38px; width: auto; display: block; }

nav.main-nav { display: flex; gap: 28px; }

nav.main-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(251, 249, 245, 0.7);
  transition: color 0.15s ease;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--paper);
  border-bottom-color: var(--copper);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(201,122,61,0.28), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(31,122,108,0.28), transparent 60%),
    var(--ink);
  color: var(--paper);
  padding: 92px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .wrap { max-width: 920px; position: relative; z-index: 1; }

.hero-art {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  opacity: 0.85;
  pointer-events: none;
}
@media (max-width: 900px) { .hero-art { display: none; } }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  color: var(--paper);
  max-width: 14ch;
  margin-top: 18px;
}
.hero h1 em { color: var(--copper-l); font-style: normal; }

.hero .lede {
  font-size: 1.12rem;
  color: var(--muted-light);
  max-width: 50ch;
  margin-top: 22px;
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(217,82,75,0.22);
}

.tag-row span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.6);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats .h-stat { border-top: 1px solid rgba(251,249,245,0.25); padding-top: 12px; min-width: 140px; }
.hero-stats .h-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--paper); }
.hero-stats .h-stat span { font-size: 0.82rem; color: var(--muted-light); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: var(--copper);
  color: #1a1206;
  letter-spacing: 0.01em;
  margin-top: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(251,249,245,0.4);
  color: var(--paper);
  box-shadow: none;
}
.btn--outline:hover { border-color: var(--copper-l); color: var(--copper-l); }

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Sections ---------- */

section { padding: 84px 0; }
section.alt { background: var(--card); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Feature / case cards ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.case-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.case-item:hover { transform: translateY(-3px); }

.badge {
  width: 42px; height: 42px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.case-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.case-item p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Stat row ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
}
.stat .figure {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--copper);
  display: block;
}
.stat .label { font-size: 0.88rem; color: var(--muted); }

/* ---------- Confidential reference block ---------- */

.dossier {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dossier .eyebrow { margin-bottom: 20px; }

.redact-line {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(251,249,245,0.1);
}
.redact-line:last-of-type { border-bottom: none; }
.redact-line .rid {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(251,249,245,0.4);
  width: 74px;
  flex-shrink: 0;
}
.redact-bar {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(201,122,61,0.55), rgba(31,122,108,0.4));
}
.redact-line .sector {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(251,249,245,0.55);
  white-space: nowrap;
}
.dossier .note {
  margin-top: 26px;
  font-size: 0.9rem;
  color: rgba(251,249,245,0.72);
  max-width: 54ch;
}

/* ---------- Krisenstadien / Treppe ---------- */

.treppe {
  display: grid;
  gap: 14px;
}

.stufe {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.stufe .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--copper-l);
  background: var(--ink);
  width: 56px; height: 56px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.stufe h3 { font-size: 1.1rem; margin-bottom: 6px; }
.stufe p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.stufe .stage-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  height: fit-content;
}
.tag-frueh { background: rgba(76,154,107,0.15); color: var(--green); }
.tag-mittel { background: rgba(227,167,60,0.18); color: #92661d; }
.tag-akut { background: rgba(217,82,75,0.15); color: var(--coral); }

/* ---------- Krisentreppe (staircase) ---------- */

.stairs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 220px;
  margin-bottom: 12px;
}

.stair-step {
  flex: 1;
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 14px;
  color: var(--paper);
  font-family: var(--font-display);
  position: relative;
  transition: transform 0.15s ease;
  cursor: default;
}
.stair-step:hover { transform: translateY(-4px); }
.stair-step .n { font-size: 1.5rem; font-weight: 600; }
.stair-step .l {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
  padding: 0 6px;
  text-align: center;
  color: rgba(251,249,245,0.85);
}

.stair-step.h1 { height: 40%; background: linear-gradient(180deg, #1F5C56, #17453F); }
.stair-step.h2 { height: 52%; background: linear-gradient(180deg, #1F5C56, #17453F); }
.stair-step.h3 { height: 66%; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.stair-step.h4 { height: 78%; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.stair-step.h5 { height: 90%; background: linear-gradient(180deg, #A83D3D, #7E2626); }
.stair-step.h6 { height: 100%; background: linear-gradient(180deg, #8C2F2F, #5F1C1C); }

@media (max-width: 700px) {
  .stairs { height: auto; flex-direction: column; align-items: stretch; }
  .stair-step { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; height: auto !important; border-radius: 4px; }
}

.diagram-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.flow-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.12fr 1fr 0.12fr 1fr 0.12fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .flow-cols { grid-template-columns: 1fr; }
  .flow-connector { display: none !important; }
}

.flow-col-head {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 14px;
  display: block;
}

.flow-items { display: grid; gap: 10px; }

.flow-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.flow-item .dot {
  width: 30px; height: 30px; border-radius: 9px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; font-weight: 700;
}
.flow-item .fi-text b { display: block; font-size: 0.86rem; }
.flow-item .fi-text span { display: block; font-size: 0.74rem; color: var(--muted); }

.flow-box {
  border-radius: 8px;
  padding: 22px 20px;
  height: 100%;
}
.flow-box.dark { background: var(--ink); color: var(--paper); }
.flow-box.outline { background: var(--paper); border: 1.5px solid var(--teal); }
.flow-box.outline-2 { background: var(--paper); border: 1.5px solid var(--indigo); }

.flow-box h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 4px 0 14px; }
.flow-box.dark h4 { color: var(--paper); }
.flow-box ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.flow-box li { font-size: 0.82rem; display: flex; gap: 8px; }
.flow-box.dark li { color: rgba(251,249,245,0.85); }
.flow-box:not(.dark) li { color: var(--muted); }
.flow-box li::before { content: '✓'; font-weight: 700; color: var(--copper-l); flex-shrink: 0; }
.flow-box:not(.dark) li::before { color: var(--teal); }

.flow-connector {
  display: none;
}
@media (min-width: 981px) {
  .flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--line);
    font-size: 1.3rem;
    padding-top: 60px;
  }
}

.flow-arrow {
  display: none;
}
@media (min-width: 981px) {
  .flow-arrow-row { display: flex; justify-content: space-between; padding: 0 8%; margin: 4px 0; }
  .flow-arrow-row span { color: var(--muted); font-size: 1.1rem; }
}

.customer-row {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.customer-row .eyebrow { margin-right: 6px; }
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 500;
}

/* ---------- Contact ---------- */

.contact-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}
@media (max-width: 760px) { .contact-block { grid-template-columns: 1fr; } }

.contact-details dl { margin: 0; }
.contact-details dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-top: 22px;
}
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd { margin: 4px 0 0; font-size: 1.02rem; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--ink);
  color: rgba(251,249,245,0.55);
  padding: 44px 0;
  font-size: 0.84rem;
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-links a { text-decoration: none; color: rgba(251,249,245,0.6); margin-left: 22px; }
.footer-links a:first-child { margin-left: 0; }
.footer-links a:hover { color: var(--paper); }

/* ---------- Legal ---------- */

.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.legal p, .legal li { font-size: 0.95rem; color: var(--muted); }

@media (max-width: 640px) {
  .nav-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  nav.main-nav { flex-wrap: wrap; gap: 14px 20px; }
}
