/* ═══════════════════════════════════════════════════════════
   page-beratung.css  –  /beratung/  (Angebotstreppe)
   Namespaces: .bhero, .b-label, .b-btn*, .bkontakt, .b-marker
   Globale Vars aus base.css (--accent, --radius, --text-*),
   nur teal/slate hier ergaenzt.
   ═══════════════════════════════════════════════════════════ */

:root {
  --teal: #34d399;
  --teal-deep: #2aa97a;
  --slate: #1e293b;
}

/* Globale .container-Zentrierung aufheben (Seite ist linksbuendig,
   nur die Kontakt-CTA bleibt zentriert via .bkontakt-inner) */
.bhero .container, .problem .container, .treppe .container,
.proof .container { text-align: left; }

/* ─── Shared ─── */
.b-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 0.75rem;
}
.thesen-box .b-label,
.proof .b-label,
.bkontakt .b-label { color: var(--teal); }

.b-btn {
  display: inline-block; padding: 0.9rem 1.7rem; border-radius: 10px;
  font-family: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.b-btn-gold { background: var(--accent); color: var(--text-dark); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.b-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 215, 0, 0.32); }
.b-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.75); }
.b-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Flipchart-Marker */
.b-marker { position: relative; display: inline-block; white-space: nowrap; }
.b-marker-stroke {
  position: absolute; left: -3%; bottom: -0.14em; width: 106%; height: 0.55em;
  color: var(--teal); opacity: 0.85; pointer-events: none;
}
.b-marker-stroke path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: bMarkerDraw 0.7s ease-out 0.5s forwards; }
@keyframes bMarkerDraw { to { stroke-dashoffset: 0; } }

/* ─── 1. HERO ─── */
.bhero {
  position: relative;
  background-image: url('../img/beratung/beratung-hero.webp');
  background-size: cover; background-position: center 30%;
  padding: 7rem 0 5.5rem; overflow: hidden;
}
.bhero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.4) 100%);
}
.bhero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.bhero .kicker { font-size: 0.85rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 1.5rem; }
.bhero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.025em; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); overflow-wrap: break-word; hyphens: manual; }
.bhero .sub { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-top: 1.5rem; max-width: 540px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.bhero .actions { display: flex; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }
.check-visual {
  position: relative; max-width: 400px; margin-left: auto;
  display: block; text-decoration: none;
  transition: transform 0.22s ease, filter 0.22s ease;
}
.check-visual:hover { transform: translateY(-7px) scale(1.025); filter: brightness(1.04); }
.check-visual img { width: 100%; border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); }
.check-visual .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--text-dark);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); z-index: 3;
}
.check-visual .caption {
  position: absolute; bottom: 16px; left: 20px; right: 20px;
  background: rgba(30, 41, 59, 0.9); color: #fff;
  border-radius: 10px; padding: 0.65rem 1rem; font-size: 0.85rem; font-weight: 600;
}
.check-visual .caption .go { color: var(--teal); font-weight: 700; }

/* ─── 2. PROBLEM / THESE ─── */
.problem { background: #ffffff; padding: 5rem 0; }
.problem h2 { max-width: 760px; }
.problem .lead { max-width: 680px; color: var(--text-muted); font-size: 1.1rem; margin-top: 1.25rem; }
.problem .lead strong { color: var(--text-dark); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.stat {
  background: linear-gradient(150deg, #1e293b 0%, #2c3e52 60%, #1f3a33 100%);
  border-radius: var(--radius); padding: 1.9rem 1.6rem 1.6rem; position: relative;
}
.stat::before { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 6px; background: var(--teal); border-radius: 0 0 6px 6px; }
.stat .num { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.02em; color: #ffffff; line-height: 1; }
.stat p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); margin-top: 0.85rem; }
.stat .src { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); margin-top: 0.8rem; font-weight: 600; letter-spacing: 0.3px; }

.thesen-box {
  display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 2.25rem;
  background: linear-gradient(150deg, #1e293b 0%, #2c3e52 60%, #1f3a33 100%);
  border-radius: var(--radius); padding: 1.5rem 2.5rem 1.5rem 1.5rem; position: relative;
  box-shadow: 0 18px 50px rgba(26, 26, 46, 0.22); margin-top: 2.75rem;
}
.thesen-box::before { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 6px; background: var(--teal); border-radius: 0 0 6px 6px; }
.thesen-box img { width: 100%; display: block; border-radius: 10px; filter: hue-rotate(55deg) saturate(0.85); }
.thesen-box h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.4rem; color: #fff; }
.thesen-box p { color: rgba(255, 255, 255, 0.75); max-width: 520px; }
.thesen-box .b-btn { flex-shrink: 0; }

/* ─── 3. ANGEBOTSTREPPE ─── */
.treppe { background: var(--bg-light); padding: 4.5rem 0; }
.treppe .intro { max-width: 680px; color: var(--text-muted); font-size: 1.1rem; margin-top: 1rem; }
.treppe-weiche {
  max-width: 680px; margin-top: 1.1rem; padding: 0.9rem 1.2rem;
  background: #fff; border: 1px solid var(--border-light); border-left: 4px solid var(--teal);
  border-radius: 10px; font-size: 0.98rem; color: var(--text-muted);
}
.treppe-weiche a { color: var(--teal-deep); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 1px; }
.stufen { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.stufe {
  display: grid; grid-template-columns: 56px 1fr 150px; gap: 1.6rem; align-items: start;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; position: relative;
}
.stufe-num {
  width: 56px; height: 56px; border-radius: 14px; background: #eefaf4; color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900;
}
.stufe h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; }
.stufe .stufe-desc { color: var(--text-muted); margin-top: 0.4rem; font-size: 0.98rem; max-width: 620px; }
.stufe .stufe-meta { font-size: 0.82rem; color: #9a9ab0; margin-top: 0.75rem; font-weight: 600; }
.stufe .stufe-cta { display: inline-block; margin-top: 0.9rem; font-weight: 700; color: var(--accent-blue); font-size: 0.9rem; text-decoration: none; }
.stufe-price { text-align: right; }
.price-badge { display: inline-block; font-weight: 800; border-radius: 99px; padding: 0.4rem 1rem; font-size: 0.95rem; white-space: nowrap; }
.price-free { background: #eefaf4; color: var(--teal-deep); }
.price-fix { background: var(--accent); color: var(--text-dark); }
.price-req { background: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border-light); }
.price-note { display: block; font-size: 0.72rem; color: #9a9ab0; margin-top: 0.4rem; font-weight: 600; }
.stufe-hero { border: 2px solid var(--accent); box-shadow: 0 16px 44px rgba(26, 26, 46, 0.10); }
.stufe-hero .stufe-num { background: #fff7cc; color: #a17a00; }
.stufe-flag {
  position: absolute; top: -12px; left: 1.8rem; background: var(--accent); color: var(--text-dark);
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 0.3rem 0.9rem; border-radius: 99px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.stufe-hero .stufe-promise { display: inline-block; margin-top: 0.9rem; font-weight: 800; color: var(--teal-deep); font-size: 0.95rem; }

/* ─── PROOF (dunkel) ─── */
.proof { background: linear-gradient(160deg, #0f172a, #1e293b); color: #fff; padding: 4.5rem 0; }
.proof .section-title { color: #fff; }
.proof .section-title .x { color: var(--teal); font-weight: 400; padding: 0 0.15em; }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin-top: 2rem; }
.proof-item .num { font-size: 2rem; font-weight: 900; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.proof-item p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-top: 0.6rem; }
.agents-proof {
  display: grid; grid-template-columns: auto 1fr; gap: 2.25rem; align-items: center; margin-top: 2.75rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 1.75rem 2rem;
}
.agents-avatars { display: flex; }
.agents-avatars img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid #1e293b; margin-left: -14px; }
.agents-avatars img:first-child { margin-left: 0; }
.agents-text h3 { font-size: 1.25rem; font-weight: 800; color: #fff; }
.agents-text p { color: rgba(255, 255, 255, 0.75); font-size: 0.98rem; margin-top: 0.5rem; max-width: 640px; }
.agents-link { display: inline-block; margin-top: 0.75rem; color: var(--teal); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 1px; }
.logos-line { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem; }
.logos-line .lbl { font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; font-weight: 700; }
.logos-line .row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; }
.logos-line img { height: 24px; filter: brightness(0) invert(1); opacity: 0.7; }

/* ─── 7. KONTAKT / CTA ─── */
.bkontakt {
  position: relative;
  background-image: url('../img/Sebastian%20WERK1%20Cafe%20v2%20small.webp');
  background-size: cover; background-position: center; padding: 5.5rem 0;
}
.bkontakt-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.74); }
.bkontakt-inner { position: relative; text-align: center; }
.bkontakt .b-label { display: block; }
.bkontakt h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; }
.bkontakt p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }
.bkontakt .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.bkontakt .actions-secondary { margin-top: 1rem; }
.bkontakt .actions-secondary .b-btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; border-width: 1px; }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .bhero .container { grid-template-columns: 1fr; }
  .check-visual { margin: 2rem auto 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  /* Stat-Kacheln: mobil horizontal wischbar statt gestapelt */
  .stat-row {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .stat-row::-webkit-scrollbar { display: none; }
  .stat-row .stat { flex: 0 0 82%; scroll-snap-align: start; }
  .thesen-box { grid-template-columns: 1fr; text-align: center; }
  .thesen-box img { margin: 0 auto; max-width: 240px; }
  .stufe { grid-template-columns: 48px 1fr; }
  .stufe-price { grid-column: 2; text-align: left; margin-top: 0.5rem; }
  .agents-proof { grid-template-columns: 1fr; }
  .agents-avatars { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .bhero h1 { font-size: 2rem; }
  .problem h2 { font-size: 1.42rem; }
}

/* ── Detailseiten /beratung/use-case-workshop/ + /beratung/ai-pilot-sprint/ ── */
.bhero-compact { padding: 6.5rem 0 4.5rem; }
.bhero-compact .container { display: block; max-width: 800px; }
.bhero-compact h1 { font-size: clamp(2rem, 4vw, 3.1rem); }

.bd-facts { background: #fff; padding: 0; }
.bd-facts .container { transform: translateY(-2.6rem); }
.bd-facts-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-light); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 44px rgba(26, 26, 46, 0.10);
}
.bd-fact { background: #fff; padding: 1.1rem 1.3rem; }
.bd-fact .k { font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-deep); }
.bd-fact .v { font-weight: 800; margin-top: 0.2rem; font-size: 0.98rem; }

.bd-main { background: #fff; padding: 1.5rem 0 4.5rem; }
.bd-main .container, .bd-wen .container { text-align: left; }
.bd-steps { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; max-width: 760px; }
.bd-step { display: grid; grid-template-columns: 44px 1fr; gap: 1.2rem; align-items: start; }
.bd-step-num {
  width: 44px; height: 44px; border-radius: 12px; background: #eefaf4; color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900;
}
.bd-step h3 { font-size: 1.05rem; font-weight: 800; }
.bd-step p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.2rem; }

.bd-deliver { background: var(--bg-light); padding: 4.5rem 0; }
.bd-deliver .container { text-align: left; }
.bd-check-list { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 2rem; max-width: 860px; list-style: none; padding: 0; }
.bd-check-list li { position: relative; padding-left: 1.9rem; color: var(--text-dark); font-weight: 600; font-size: 0.98rem; }
.bd-check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal-deep); font-weight: 900; }
.bd-check-list li span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.9rem; margin-top: 0.15rem; }

.bd-next {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem;
  background: linear-gradient(150deg, #1e293b 0%, #2c3e52 60%, #1f3a33 100%);
  border-radius: var(--radius); padding: 1.8rem 2.2rem; position: relative;
  box-shadow: 0 18px 50px rgba(26, 26, 46, 0.22); margin-top: 3rem; text-align: left;
}
.bd-next::before { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 6px; background: var(--teal); border-radius: 0 0 6px 6px; }
.bd-next h3 { color: #fff; font-size: 1.35rem; font-weight: 800; }
.bd-next p { color: rgba(255,255,255,0.75); margin-top: 0.35rem; max-width: 560px; }
.bd-next .b-btn { flex-shrink: 0; }

@media (max-width: 860px) {
  .bd-facts-row { grid-template-columns: repeat(2, 1fr); }
  .bd-check-list { grid-template-columns: 1fr; }
  .bd-next { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* Lange Marker-Woerter (Use-Case-Workshop) duerfen mobil umbrechen */
  .bhero-compact .b-marker { white-space: normal; }
  .bhero-compact .b-marker-stroke { display: none; }
}

/* ── Farbwelten der Detailseiten: .bw = Workshop (Indigo), .bs = Sprint (Amber) ── */
.bw { --pg-accent: #a5b4fc; --pg-accent-deep: #4f46e5; --pg-accent-soft: #eef2ff; }
.bs { --pg-accent: #fcd34d; --pg-accent-deep: #d97706; --pg-accent-soft: #fef3c7; }

/* Hero-Bilder + farbige Overlays (Midjourney) */
.bhero-workshop { background-image: url('../img/beratung/workshop-hero.webp'); background-position: center; }
.bhero-workshop::before { background: linear-gradient(to bottom, rgba(30, 27, 75, 0.55) 0%, rgba(30, 27, 75, 0.72) 100%); }
.bhero-sprint { background-image: url('../img/beratung/sprint-hero.webp'); background-position: center; }
.bhero-sprint::before { background: linear-gradient(to bottom, rgba(69, 33, 6, 0.5) 0%, rgba(50, 24, 5, 0.72) 100%); }

/* Akzente folgen der Seitenfarbe */
.bw .kicker, .bs .kicker { color: var(--pg-accent); }
.bw .b-marker-stroke, .bs .b-marker-stroke { color: var(--pg-accent); opacity: 0.9; }
.bw .b-label, .bs .b-label { color: var(--pg-accent-deep); }
.bw .bd-fact .k, .bs .bd-fact .k { color: var(--pg-accent-deep); }
.bw .bd-step-num, .bs .bd-step-num { background: var(--pg-accent-soft); color: var(--pg-accent-deep); }
.bw .bd-check-list li::before, .bs .bd-check-list li::before { color: var(--pg-accent-deep); }
.bw .bd-facts-row, .bs .bd-facts-row { border-top: 5px solid var(--pg-accent-deep); }
.bw .bd-next::before, .bs .bd-next::before { background: var(--pg-accent); }
.bw .bd-next .b-label, .bs .bd-next .b-label { color: var(--pg-accent); }

/* Feinschliff Detailseiten */
.bhero-compact .kicker { letter-spacing: 2.5px; }
.bd-main .section-title, .bd-deliver .section-title { max-width: 720px; }
.bd-step { padding: 0.35rem 0; }
.bd-step + .bd-step { border-top: 1px solid var(--bg-light); padding-top: 1.15rem; }
