/* =========================================================================
   Outreach Trust-Landingpage - Layout 2 "Fallstudien-Story" (v1)
   Eigenständige Optik: nicht Leads-Pirates-Branding (Navy/Gold), nicht 1:1
   Kunden-Branding. Struktur bewusst anders als Layout 1: kompakter Hero,
   direkt danach eine erzählte Fallstudie (statt Karten-Raster), Ablauf als
   Zeitstrahl statt Schritt-Karten, FAQ-Akkordeon zur Einwand-Vorwegnahme.
   Farben werden zur Laufzeit teilweise aus assets/config.js gesetzt (main.js).
   Schrift: Serif-Headlines (Georgia-Stack) statt Sans wie in Layout 1.
   ========================================================================= */

:root {
  --accent: #0f8b6c;
  --accent-dark: #0a3d33;
  --accent-soft: #e4f4ef;
  --bg: #ffffff;
  --bg-soft: #f2f8f5;
  --text: #1c2622;
  --text-muted: #5c6b65;
  --border: #dde8e3;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(10, 61, 51, 0.08);
  --shadow-sm: 0 2px 10px rgba(10, 61, 51, 0.07);
  --max-width: 1040px;

  --tint-a: color-mix(in srgb, var(--accent) 8%, #ffffff);
  --tint-b: color-mix(in srgb, var(--accent-dark) 4%, #ffffff);
  --glow-1: color-mix(in srgb, var(--accent) 18%, transparent);
  --glow-2: color-mix(in srgb, var(--accent-dark) 14%, 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.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

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

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

a {
  color: inherit;
}

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: 6px;
  font-weight: 650;
  font-size: 15.5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

.btn-primary:hover {
  background: #0b6d54;
}

.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.94);
  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-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 19px;
  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 (kompakt) --------------------------- */

.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 60px;
}

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

.kicker {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 16px;
}

.hero .lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 26px;
}

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

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

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

.eyebrow {
  display: block;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-tint {
  background: linear-gradient(180deg, var(--tint-a) 0%, var(--tint-b) 100%);
}

.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: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%);
  top: -160px;
  right: -120px;
}

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

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

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

.section-headline.left {
  text-align: left;
  margin-bottom: 14px;
}

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

.section-lead.left {
  text-align: left;
  margin: 0 0 8px;
  max-width: 480px;
}

/* --------------------------------- Fallstudien-Story ------------------------- */

.section-story {
  background: #fff;
}

.story-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.story-company {
  font-weight: 800;
  color: var(--accent-dark);
  font-size: 15px;
}

.story-industry {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.story-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16.5px;
}

.story-body p {
  margin-bottom: 18px;
}

.story-body p:first-of-type::first-letter {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 46px;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  padding: 6px 8px 0 0;
  color: var(--accent);
}

.pull-quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 34px auto 24px;
}

.pull-quote {
  text-align: center;
  border-top: 3px solid var(--accent);
  padding-top: 14px;
}

.pull-quote .stat-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", Times, serif;
}

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

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

/* --------------------------------- Angebot / Ausgangslage -------------------- */

.offer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.offer-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-points li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  padding-left: 46px;
}

.offer-points li::before {
  content: "—";
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.offer-points h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  margin-bottom: 4px;
  color: var(--accent-dark);
}

.offer-points p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* --------------------------------- Zeitstrahl (Ablauf) ----------------------- */

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: color-mix(in srgb, var(--accent) 30%, var(--border) 70%);
}

.timeline li {
  position: relative;
  padding: 0 0 34px 46px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

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

.timeline 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: 680px;
  margin: 0 auto;
}

.about-photo,
.about-photo-fallback {
  width: 68px;
  height: 68px;
  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: 24px;
  font-weight: 700;
  font-family: Georgia, serif;
}

.about-info strong {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  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: 680px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* --------------------------------- FAQ Akkordeon ------------------------------ */

.accordion {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 46px 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-dark);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.accordion-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
}

.accordion-item.open .accordion-question::after {
  content: "\2212";
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
}

.accordion-item.open .accordion-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

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

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

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

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

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

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

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

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

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

.site-footer {
  background: #0a1a15;
  color: #8fa89e;
  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: #bcd3ca;
  text-decoration: none;
  font-size: 13.5px;
}

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

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

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

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

.legal-page h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  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) {
  .pull-quote-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .offer-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@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: 44px 0 48px;
  }

  .section {
    padding: 48px 0;
  }

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

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