/* =========================================================================
   Outreach Trust-Landingpage - Layout 3 "Service-Hub mit Tabs" (v1)
   Eigenständige Optik: nicht Leads-Pirates-Branding (Navy/Gold), nicht 1:1
   Kunden-Branding, auch strukturell anders als Layout 1 (klassische
   Landingpage) und Layout 2 (Fallstudien-Story): Trust-Leiste statt großem
   Ergebnis-Block, Tabs statt Zielgruppen-Karten, sticky Sidebar mit
   Kontaktperson + Sprungmarken neben dem Hauptcontent.
   Farben/Typografie warm (Terracotta/Bernstein), klare Sans-Stack für einen
   "SaaS-Produkt"-Charakter. Farben werden zur Laufzeit teilweise aus
   assets/config.js gesetzt (main.js).
   ========================================================================= */

:root {
  --accent: #c76a1f;
  --accent-dark: #4a2c12;
  --accent-soft: #fbe9d8;
  --bg: #ffffff;
  --bg-soft: #faf3e9;
  --text: #2c2115;
  --text-muted: #6b5c4a;
  --border: #ecdfcd;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(74, 44, 18, 0.08);
  --shadow-sm: 0 2px 10px rgba(74, 44, 18, 0.07);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Segoe UI", Verdana, Geneva, Tahoma, 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: 13px 24px;
  border-radius: 6px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: #a85715;
}

.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: 8px 16px;
  font-size: 13.5px;
}

/* --------------------------------- 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: 68px;
}

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

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

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

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

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  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: var(--accent-dark);
  color: #fff;
  padding: 60px 0 0;
}

.hero-inner {
  max-width: 740px;
  padding-bottom: 44px;
}

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

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

.hero .lead {
  color: #e9d9c6;
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 28px;
}

.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;
}

/* --------------------------------- Trust-Leiste ---------------------------- */

.trust-bar {
  background: var(--accent);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 22px 24px;
  justify-content: space-between;
}

.trust-item {
  color: #fff;
  min-width: 150px;
}

.trust-item .trust-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.trust-item .trust-label {
  display: block;
  font-size: 13px;
  color: #fce6cd;
}

/* --------------------------------- Hub Layout (Sidebar) --------------------- */

.hub-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 60px 0 20px;
  align-items: start;
}

.hub-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.hub-section:first-child {
  padding-top: 0;
}

.hub-section:last-child {
  border-bottom: none;
}

.hub-headline {
  text-align: left;
  font-size: 24px;
  margin-bottom: 10px;
}

.hub-lead {
  text-align: left;
  margin: 0 0 24px;
  max-width: 560px;
}

.eyebrow {
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.hub-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 92px;
  align-self: start;
}

.sidebar-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.sidebar-contact {
  text-align: center;
}

.sidebar-contact .about-photo,
.sidebar-contact .about-photo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}

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

.sidebar-contact strong {
  display: block;
  font-size: 15.5px;
  color: var(--accent-dark);
}

.sidebar-contact span.muted {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.sidebar-contact p {
  font-size: 13.5px;
  margin-bottom: 10px;
}

.sidebar-transparency {
  font-size: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin: 10px 0 0;
  color: var(--text-muted);
}

.sidebar-jumpnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-jumpnav-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sidebar-jumpnav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  padding: 6px 0;
  border-top: 1px solid var(--border);
}

.sidebar-jumpnav a:first-of-type {
  border-top: none;
}

.sidebar-jumpnav a:hover {
  color: var(--accent);
}

/* --------------------------------- Tabs ------------------------------------- */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tab-button {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 4px;
  margin-right: 20px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text-muted);
  cursor: pointer;
}

.tab-button.active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.tab-panel p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* --------------------------------- Feature list (Ausgangslage) -------------- */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}

.feature-list li strong {
  color: var(--accent-dark);
}

/* --------------------------------- Compact steps (Ablauf) ------------------- */

.compact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.compact-steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.compact-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-steps h3 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

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

/* --------------------------------- Case detail card -------------------------- */

.case-detail-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.case-detail-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-detail-card .case-company {
  font-size: 19px;
  font-weight: 750;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

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

.case-detail-card .case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.case-detail-card .case-stat {
  display: flex;
  flex-direction: column;
}

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

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

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

.section {
  padding: 64px 0;
}

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

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

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

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

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

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

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

.site-footer {
  background: #2c1c0c;
  color: #cbb494;
  padding: 32px 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: #e4d2b8;
  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: 25px;
  margin-bottom: 20px;
}

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

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

.legal-wrap {
  padding: 52px 0 76px;
}

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

@media (max-width: 900px) {
  .hub-layout {
    grid-template-columns: 1fr;
  }

  .hub-sidebar {
    position: static;
    order: 2;
  }

  .hub-main {
    order: 1;
  }

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

@media (max-width: 680px) {
  .main-nav {
    position: absolute;
    top: 68px;
    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 0;
  }

  .hero-inner {
    padding-bottom: 32px;
  }

  .section {
    padding: 44px 0;
  }

  .hub-layout {
    padding: 40px 0 8px;
  }

  .trust-bar-inner {
    justify-content: flex-start;
    gap: 22px 32px;
  }
}
