/* ==========================================================================
   SeshFlow – Marketing-Website · Design-System (Prototyp)
   Hybrid-SaaS-Look: nahbare Basis + „erwachsene" Trust-Elemente.
   Alle Farben/Abstände als Tokens → später leicht ins WP-Template portierbar.
   Systemschriften (kein Google Font) = DSGVO-sicher, wie bei Dirks anderen Sites.
   ========================================================================== */

:root {
  /* Marken-Basis (Vorschlag – jederzeit austauschbar) */
  --brand:        #5b4ce0;   /* Indigo – Plattform/Content */
  --brand-dark:   #4a3ccc;
  --brand-soft:   #eeecfb;

  /* Hub-Farbcodierung (wie HubSpot je Hub eine Farbe) */
  --content:      #5b4ce0;   /* Content Studio  – Indigo */
  --marketing:    #10b981;   /* Marketing Hub   – Emerald */
  --sales:        #f59e0b;   /* Sales Hub       – Amber */
  --ops:          #0ea5e9;   /* Operations Hub  – Sky */
  --automation:   #ec4899;   /* Automation Hub  – Pink */

  /* Neutralwerte */
  --ink:          #14162a;   /* Überschriften */
  --body:         #4a4f66;   /* Fließtext */
  --muted:        #7b8099;
  --line:         #e6e8f2;
  --bg:           #ffffff;
  --bg-soft:      #f6f7fc;
  --bg-ink:       #12132a;   /* dunkle Bänder */

  /* Form & Tiefe */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20,22,42,.06), 0 2px 8px rgba(20,22,42,.05);
  --shadow:    0 8px 30px rgba(20,22,42,.10);
  --shadow-lg: 0 24px 60px rgba(20,22,42,.16);

  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-weight: 600; border: 0; border-radius: 999px;
  padding: 13px 24px; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(91,76,224,.32); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(91,76,224,.42); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---- Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand), #8b7cf0);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 12px rgba(91,76,224,.4);
}
.brand__logo { width: 34px; height: 34px; flex: none; display: block; }
/* Chrome-Mark auf dunklem Grund minimal anheben, damit die Silber-Kanten tragen */
.footer .brand__logo { filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--body); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 10px 18px; }
.navtoggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.navtoggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .lead { margin-top: 6px; margin-bottom: 26px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note b { color: var(--body); font-weight: 600; }

/* App-Mockup im Hero (stilisiert, kein Screenshot) */
.mock {
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f2f3f9; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d6e4; display: inline-block; }
.mock__bar i:nth-child(1){ background:#ff6058; } .mock__bar i:nth-child(2){ background:#ffbe2f; } .mock__bar i:nth-child(3){ background:#28c840; }
.mock__url { margin-left: 10px; font-size: .74rem; color: var(--muted); background:#fff; border:1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.mock__body { display: grid; grid-template-columns: 128px 1fr; min-height: 320px; }
.mock__side { background: #fafbff; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock__navitem { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--body); padding: 8px 9px; border-radius: 8px; font-weight: 500; }
.mock__navitem b { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.mock__navitem.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.mock__main { padding: 18px; }
.mock__chips { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.mock__chip { font-size: .68rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--body); border: 1px solid var(--line); }
.mock__chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.mock__lines > div { height: 9px; border-radius: 5px; background: #eceef7; margin-bottom: 9px; }
.mock__lines > div:nth-child(1){ width: 92%; } .mock__lines > div:nth-child(2){ width: 100%; }
.mock__lines > div:nth-child(3){ width: 84%; } .mock__lines > div:nth-child(4){ width: 96%; }
.mock__lines > div.accent { background: linear-gradient(90deg, var(--brand-soft), #fff); }
.mock__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mock__card { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock__card small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mock__card .bar { height: 6px; border-radius: 4px; background: #eceef7; margin-top: 8px; }

/* ---- Plattform-Strip ---------------------------------------------------- */
.strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip p { text-align: center; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.strip__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.strip__logos span { font-weight: 700; color: #aab; font-size: 1.05rem; letter-spacing: -.01em; }

/* ---- Problem ------------------------------------------------------------ */
.prob__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.prob__old, .prob__new { border-radius: var(--r); padding: 26px; }
.prob__cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; margin-top: 40px; }
.prob__old { background: #fff; border: 1px solid var(--line); }
.prob__new { background: var(--bg-ink); color: #cfd3ea; }
.prob__new h3 { color: #fff; }
.prob__list { list-style: none; padding: 0; margin: 14px 0 0; }
.prob__list li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; }
.prob__old .prob__list li::before { content:"✕"; position:absolute; left:0; color:#c05; font-weight:700; }
.prob__new .prob__list li::before { content:"✓"; position:absolute; left:0; color:#3ddc97; font-weight:700; }
.prob__arrow { font-size: 1.6rem; color: var(--brand); }

/* ---- Hubs --------------------------------------------------------------- */
.hubs__base {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; margin: 40px 0 22px;
  background: linear-gradient(180deg, var(--brand-soft), #fff); display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
}
.hubs__base .tag { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--brand); }
.hubs__baseicon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color:#fff; display:grid; place-items:center; font-size: 1.8rem; box-shadow: 0 10px 24px rgba(91,76,224,.35); }
.hubs__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.hub {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px; overflow: hidden; transition: transform .16s ease, box-shadow .2s ease;
}
.hub:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background: var(--c); }
.hub__head { display:flex; align-items:center; gap: 12px; margin-bottom: 6px; }
.hub__icon { width: 42px; height: 42px; border-radius: 12px; display:grid; place-items:center; color:#fff; background: var(--c); font-size: 1.15rem; flex:none; }
.hub__tag { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--c); }
.hub h3 { margin: 0; }
.hub ul { list-style:none; padding:0; margin: 14px 0 0; }
.hub li { position: relative; padding: 5px 0 5px 22px; font-size: .93rem; }
.hub li::before { content:""; position:absolute; left:2px; top:12px; width:7px; height:7px; border-radius:50%; background: var(--c); }
.hub__more { display:inline-block; margin-top:14px; font-weight:600; font-size:.9rem; color: var(--c); }

/* ---- So funktioniert's -------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; }
.step { text-align: center; padding: 0 10px; }
.step__n { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.1rem; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: .95rem; }

/* ---- Enterprise/Trust-Band --------------------------------------------- */
.trust { background: var(--bg-ink); color: #c9cde6; }
.trust h2 { color: #fff; }
.trust .lead { color: #aab0d0; }
.trust__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.trust__item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); padding: 22px; }
.trust__item .ic { font-size: 1.4rem; margin-bottom: 10px; }
.trust__item h3 { color: #fff; font-size: 1.02rem; }
.trust__item p { font-size: .88rem; color: #9ea4c6; margin: 0; }

/* ---- Pricing ------------------------------------------------------------ */
.price__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 42px; align-items: stretch; }
.price {
  background:#fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px;
  display:flex; flex-direction: column;
}
.price.is-featured { border-color: var(--brand); box-shadow: 0 14px 40px rgba(91,76,224,.18); position: relative; }
.price__flag { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background: var(--brand); color:#fff; font-size:.7rem; font-weight:700; padding:4px 12px; border-radius:999px; letter-spacing:.04em; }
.price h3 { font-size: 1.1rem; margin-bottom: 2px; }
.price__sub { font-size:.82rem; color: var(--muted); margin: 0 0 14px; min-height: 34px; }
.price__amt { font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.price__amt span { font-size: .85rem; font-weight: 500; color: var(--muted); }
.price ul { list-style:none; padding:0; margin: 16px 0 22px; flex: 1; }
.price li { font-size:.9rem; padding: 5px 0 5px 22px; position: relative; }
.price li::before { content:"✓"; position:absolute; left:0; color: var(--marketing); font-weight:700; }
.price .btn { width: 100%; justify-content: center; }
.price__note { text-align:center; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.hubadd { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; margin-top: 18px; }
.hubadd__i { border:1px dashed var(--line); border-radius: var(--r-sm); padding: 14px; text-align:center; font-size:.86rem; }
.hubadd__i b { display:block; color: var(--ink); }
.hubadd__i .dot { width:9px;height:9px;border-radius:3px;display:inline-block;margin-right:6px; vertical-align: middle; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width:100%; text-align:left; background:none; border:0; cursor:pointer; font: inherit; font-weight:600; color: var(--ink); padding: 20px 40px 20px 0; position: relative; font-size: 1.02rem; }
.faq__q::after { content:"+"; position:absolute; right:6px; top:50%; transform: translateY(-50%); font-size:1.4rem; color: var(--brand); font-weight:400; }
.faq__item.open .faq__q::after { content:"−"; }
.faq__a { max-height:0; overflow:hidden; transition: max-height .28s ease; }
.faq__a p { padding: 0 0 20px; margin: 0; font-size: .96rem; }

/* ---- Final CTA ---------------------------------------------------------- */
.cta {
  background: linear-gradient(135deg, var(--brand), #8b7cf0); color:#fff; border-radius: var(--r-lg);
  padding: 54px; text-align:center; margin: 0 auto; box-shadow: var(--shadow-lg);
}
.cta h2 { color:#fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 520px; margin: 0 auto 26px; }
.cta__form { display:flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.cta__form input { flex:1; border:0; border-radius: 999px; padding: 14px 20px; font: inherit; }
.cta__brevo { font-size:.78rem; color: rgba(255,255,255,.75); margin-top: 14px; }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--bg-ink); color: #9298bd; padding: 56px 0 30px; font-size:.9rem; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color:#fff; margin-bottom: 12px; }
.footer h4 { color:#fff; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom: 14px; }
.footer a { color:#9298bd; display:block; padding: 4px 0; }
.footer a:hover { color:#fff; }
.footer__bottom { border-top:1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap: 10px; font-size:.82rem; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .navtoggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .mock { transform: none; }
  .prob__cols { grid-template-columns: 1fr; }
  .prob__arrow { transform: rotate(90deg); justify-self: center; }
  .hubs__grid, .price__grid, .trust__grid, .steps, .hubadd { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hubs__grid, .price__grid, .trust__grid, .steps, .hubadd, .footer__grid, .hubs__base { grid-template-columns: 1fr; }
  .hubs__base { text-align: center; justify-items: center; }
  .cta { padding: 36px 22px; }
  .cta__form { flex-direction: column; }
  .cta__form input, .cta__form .btn { width: 100%; }
}
