/* =========================================================================
   Outreach Trust-Landingpage - Basis-Stylesheet (v4, "richtige Website"-Look
   mit mehr Farbe/Leben in den Content-Sektionen statt Weiß/Grau-Monotonie)
   Eigenständige Optik: nicht Leads-Pirates-Branding, nicht 1:1 Kunden-Branding.
   Struktur angelehnt an eine klassische B2B-Landingpage (Header/Nav, Hero,
   Ergebnisse, Zielgruppen, Ausgangslage, Kontaktperson, Ablauf, CTA, Footer).
   Farben werden zur Laufzeit teilweise aus assets/config.js gesetzt (main.js).
   ========================================================================= */

:root {
  --accent: #3454d1;
  --accent-dark: #12203a;
  --accent-soft: #eef1fc;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --text: #1b2333;
  --text-muted: #5b6472;
  --border: #e3e7ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 32, 58, 0.07);
  --shadow-sm: 0 2px 10px rgba(18, 32, 58, 0.06);
  --max-width: 1080px;

  /* Getönte, "lebendige" Sektions-Hintergründe - werden per color-mix() aus
     der Akzentfarbe abgeleitet, damit sie automatisch zur pro-Kunde-Farbe aus
     config.js passen, statt fest verdrahtetes Grau zu sein. */
  --tint-a: color-mix(in srgb, var(--accent) 9%, #ffffff);
  --tint-b: color-mix(in srgb, var(--accent-dark) 5%, #ffffff);
  --glow-1: color-mix(in srgb, var(--accent) 20%, transparent);
  --glow-2: color-mix(in srgb, var(--accent-dark) 16%, transparent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

p {
  margin: 0 0 14px;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 13px;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
}

.text-link:hover {
  text-decoration: underline;
}

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

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 15.5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #2a44b5;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.brand-logo-img {
  height: 30px;
  width: auto;
}

.brand-logo-text {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--accent-dark);
}

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

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
}

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

.hero {
  background: radial-gradient(1200px 500px at 15% -10%, #1c3164 0%, var(--accent-dark) 55%, #0c1626 100%);
  color: #fff;
  padding: 72px 0 88px;
}

.hero-inner {
  max-width: 760px;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b9c6ff;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 20px;
}

.hero .lead {
  color: #cbd3e8;
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

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

.section {
  padding: 76px 0;
  position: relative;
}

/* Eyebrow-Label über der Section-Headline - kleiner farbiger Akzent, der
   sich durch die ganze Seite zieht statt nur im Hero vorzukommen. */
.eyebrow {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.eyebrow-on-deep {
  color: #cfd9ff;
}

/* Sanft getönte Sektion (ersetzt reines Grau durch einen leichten,
   akzentfarben abgeleiteten Verlauf) */
.section-tint {
  background: linear-gradient(180deg, var(--tint-a) 0%, var(--tint-b) 100%);
}

.section-tint .info-card {
  background: #fff;
}

/* Weiße Sektion mit dezenten, unscharfen Farbflächen im Hintergrund -
   sorgt für "Leben" ohne dass die Fläche wie ein Farbblock wirkt. */
.section-glow {
  overflow: hidden;
}

.section-glow::before,
.section-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.section-glow::before {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%);
  top: -180px;
  right: -140px;
}

.section-glow::after {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%);
  bottom: -160px;
  left: -120px;
}

.section-glow > .wrap {
  position: relative;
  z-index: 1;
}

/* Kräftige, farbige Sektion (Ergebnisse/Case Studies direkt nach dem Hero) */
.section-deep {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
}

.section-headline {
  font-size: 28px;
  margin-bottom: 12px;
  text-align: center;
}

.section-headline.on-deep {
  color: #fff;
}

.section-lead {
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.section-lead.on-deep {
  color: #d7ddf5;
}

.text-link.on-deep {
  color: #cfd9ff;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.section-deep .wrap > .text-link {
  display: block;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

#audience-headline, #problem-headline {
  margin-bottom: 40px;
}

/* --------------------------------- Card grid -------------------------------- */

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.info-card .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-card .icon-circle svg {
  width: 22px;
  height: 22px;
}

.info-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* --------------------------------- Process steps ---------------------------- */

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  counter-reset: step;
}

.process-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 36px 56px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 25%, var(--border) 75%);
  margin-left: 20px;
}

.process-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: -21px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-steps h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.process-steps p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* --------------------------------- About / Kontaktperson --------------------- */

.about-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.about-photo,
.about-photo-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.about-photo-fallback {
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.about-info strong {
  display: block;
  font-size: 18px;
  color: var(--accent-dark);
}

.about-info span {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
}

.about-info p {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.transparency-note {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* --------------------------------- Case studies ------------------------------ */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.case-card .case-industry {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.case-card .case-company {
  font-size: 17px;
  font-weight: 750;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.case-card .case-headline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.case-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.case-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.case-stat .stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.case-stat .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Case-Cards innerhalb der farbigen .section-deep - helle "Glas"-Karten auf
   dem Blauverlauf statt weißer Karten mit dunklem Text-auf-Text-Kontrast. */
.section-deep .case-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 34px rgba(9, 16, 34, 0.28);
}

/* --------------------------------- Final CTA ---------------------------------- */

.section-cta {
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}

.section-cta p {
  color: #cbd3e8;
}

.final-cta-inner {
  max-width: 560px;
}

.final-cta-inner .hero-ctas {
  justify-content: center;
  margin: 24px 0 14px;
}

.reply-hint {
  color: #9fabc9;
  font-size: 14px;
}

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

.site-footer {
  background: #0c1626;
  color: #93a0bd;
  padding: 36px 0;
}

.footer-inner p {
  margin: 0 0 14px;
  font-size: 13.5px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.footer-links a {
  color: #c3ccdf;
  text-decoration: none;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #fff;
}

/* --------------------------------- Legal pages (Impressum/Datenschutz) --------- */

.legal-page {
  max-width: 720px;
}

.legal-page h1 {
  font-size: 26px;
  margin-bottom: 20px;
}

.legal-page h2 {
  font-size: 17px;
  margin-top: 30px;
  color: var(--accent-dark);
}

.legal-page address {
  font-style: normal;
  line-height: 1.6;
}

.legal-wrap {
  padding: 56px 0 80px;
}

/* --------------------------------- Responsive ----------------------------------- */

@media (max-width: 860px) {
  .card-grid.three,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 680px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    display: none;
    padding: 8px 24px 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  #nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 52px 0 60px;
  }

  .section {
    padding: 52px 0;
  }

  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
  }

  .about-info span {
    margin-bottom: 8px;
  }
}
