/* ============================================================
   HEXXA CONSULTING — zentrales Stylesheet
   Farben laut Logo: Indigo #4a4a80 / Weiß #ffffff / Gold #f1c400
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --indigo: #4a4a80;
  --indigo-dark: #34345c;
  --indigo-tint: #e5e3f4;
  --indigo-tint-soft: #f2f1fa;
  --gold: #f1c400;
  --gold-dark: #c9a300;
  --white: #ffffff;
  --ink: #201f38;
  --ink-soft: #55536f;
  --paper: #f2f1fa;
  --border: #d6d3ea;

  --font-head: 'Space Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--indigo { background: var(--indigo); color: var(--white); }
.section--indigo p { color: #d8d7ea; }
.section--indigo h2 { color: var(--white); }
.section--tint { background: var(--indigo-tint); }
.section--tint-soft { background: var(--indigo-tint-soft); }
.section--white { background: var(--white); }
.section--dark { background: var(--indigo-dark); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section--dark p { color: #cfcee2; }
.gold-rule { width: 44px; height: 3px; background: var(--gold); border: none; margin: 0 0 18px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--indigo);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 98px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 58px; width: auto; }
.brand span { display: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--white); font-weight: 500; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--ink) !important;
  padding: 10px 20px !important; border-radius: 3px; border-bottom: none !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-dark); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav { position: fixed; inset: 98px 0 0 0; background: var(--indigo-dark);
    flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px;
    transform: translateX(100%); transition: transform .25s ease; }
  .nav.is-open { transform: translateX(0); }
  .nav-toggle {
    display: inline-flex; background: none; border: 1px solid #ffffff55; color: var(--white);
    width: 42px; height: 38px; border-radius: 4px; align-items: center; justify-content: center;
    font-size: 1.3rem; cursor: pointer;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 3px; font-weight: 600; font-size: .96rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .12s ease, background .15s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); color: var(--ink); }
.btn-outline { background: transparent; color: var(--white); border-color: #ffffff66; }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn-indigo:hover { background: var(--indigo-dark); }
.btn-ink-outline { background: transparent; border-color: var(--ink); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: var(--indigo); color: var(--white);
  padding: 96px 0 120px;
  position: relative; overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { color: var(--gold); font-weight: 600; margin-bottom: 14px; display: block; letter-spacing: .01em; }
.hero p { color: #d8d7ea; font-size: 1.08rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-audience { margin-top: 30px; color: #b9b8d6; font-size: .92rem; }
.hero-audience b { color: var(--white); }

/* diagonal cut at bottom of hero, echoing the X in the logo */
.x-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 55% 100%, 45% 0, 0 60%);
}

/* ---------- Kategorie-Zugänge (Startseite) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--indigo); border: 2px solid var(--indigo); }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  background: var(--white); padding: 34px 30px; display: flex; flex-direction: column;
  transition: background .15s ease;
}
.cat-card:hover { background: var(--indigo-tint-soft); }
.cat-card .icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--indigo); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.cat-card .icon svg { width: 26px; height: 26px; }
.cat-card:nth-child(7) .icon { background: var(--gold); color: var(--ink); }

.cat-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; }
.cat-card.wide .icon { margin-bottom: 0; flex: none; }
.cat-card.wide .body-wrap { display: flex; flex-direction: column; flex: 1; }
.cat-card.wide .go { margin-top: 10px; }
@media (max-width: 700px) { .cat-card.wide { flex-direction: column; align-items: flex-start; } }
.cat-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.cat-card p { font-size: .94rem; margin-bottom: 16px; }
.cat-card .go { font-weight: 600; font-size: .92rem; color: var(--indigo); margin-top: auto; }
.cat-card:hover .go { color: var(--indigo-dark); text-decoration: underline; }
.cat-card .audience { display: inline-flex; gap: 6px; margin-bottom: 14px; }
.audience-pill {
  font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 2px;
  background: var(--indigo); color: var(--white);
}
.audience-pill.gold { background: var(--gold); color: var(--ink); }

/* ---------- Grid / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.service {
  padding: 32px; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--indigo);
}
.service .num { font-family: var(--font-head); font-size: .85rem; color: var(--gold-dark); font-weight: 700; }

.stat-strip { display: flex; flex-wrap: wrap; gap: 48px; padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--indigo); }
.stat span { color: var(--ink-soft); font-size: .92rem; }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- PDF / product cards ---------- */
.pdf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pdf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pdf-grid { grid-template-columns: 1fr; } }
.pdf-card {
  background: var(--white); border: 1px solid var(--border); display: flex; flex-direction: column;
}
.pdf-card .cover {
  background: var(--indigo); color: var(--white); padding: 28px 24px; min-height: 128px;
  display: flex; align-items: flex-end; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.pdf-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pdf-card .price { font-family: var(--font-head); font-weight: 700; color: var(--indigo); font-size: 1.2rem; margin: 14px 0; }
.pdf-card .btn { margin-top: auto; }
.tag { display: inline-block; background: var(--indigo-tint); color: var(--indigo); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 3px; margin-bottom: 10px; width: fit-content; }

.notice {
  border: 1px dashed var(--indigo); background: var(--indigo-tint); padding: 22px 26px; margin-top: 40px;
}
.notice p { color: var(--ink-soft); margin: 0; }

/* ---------- Fakten / Themen (Sicherheitskonzept) ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .fact-grid { grid-template-columns: 1fr; } }
.fact-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--gold); padding: 24px 26px; }
.fact-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.audience-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .audience-cols { grid-template-columns: 1fr; } }
.audience-col { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--indigo); padding: 32px; }
.audience-col:nth-child(2) { border-top-color: var(--gold); }
.audience-col ul { padding-left: 20px; margin: 16px 0 22px; }
.audience-col li { color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- Steps (Ablauf) ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 700; color: var(--white); background: var(--indigo);
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ---------- Forms ---------- */
form { display: grid; gap: 16px; max-width: 560px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 3px;
  font-family: var(--font-body); font-size: 1rem; background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--indigo); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Contact info blocks ---------- */
.contact-block { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-block .k { font-weight: 600; color: var(--ink); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-dark); color: #cfcee2; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid img { height: 46px; margin-bottom: 14px; }
.footer-grid a { color: #cfcee2; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #ffffff22; margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #a7a6c4;
}

.breadcrumb { color: #d8d7ea; font-size: .9rem; margin-bottom: 12px; display: block; }

/* ---------- Externe Links ---------- */
.ext-icon { margin-left: 5px; vertical-align: -1px; flex: none; }
.nav a.ext { display: inline-flex; align-items: center; }

/* ---------- Shop-/Content-Brücke (Verweis auf externen Shop) ---------- */
.shop-bridge {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
  flex-wrap: wrap;
}
.shop-bridge-text { flex: 1 1 420px; }
.shop-bridge .label { color: var(--indigo); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.shop-bridge-channels { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.channel-pill {
  display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--border);
  padding: 10px 18px; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.channel-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.channel-pill.soon { color: var(--ink-soft); font-weight: 500; }
.channel-pill.soon .dot { background: var(--border); }
.trust-line { margin-top: 18px; font-size: .92rem; color: var(--ink-soft); }
.trust-line strong { color: var(--ink); }
