/* =========================================================
   DigiDek — shared stylesheet
   Identity: deep navy + electric Microsoft blue
   Type: Syne (display) / DM Sans (body) / JetBrains Mono (labels)
   ========================================================= */

:root {
  /* palette */
  --ink:        #0A1A2F;   /* deep navy — dark sections, footer */
  --ink-soft:   #11253D;   /* slightly lifted navy */
  --text:       #0D1B2A;   /* body text on light */
  --muted:      #5A6B82;   /* secondary text */
  --blue:       #28778A;   /* primary accent (brand teal, readable) */
  --teal:       #4FA8B8;   /* light brand teal (glows, accents) */
  --teal-light: #79C7D5;   /* light teal on dark sections */
  --blue-deep:  #1C5C6A;
  --paper:      #F6F8FC;   /* page background */
  --white:      #FFFFFF;
  --mist:       #E4ECF7;   /* borders / tints */
  --mist-2:     #F0F5FC;
  --on-dark:    #DCE6F4;   /* body text on navy */
  --on-dark-mut:#8DA2BE;

  /* type */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* scale */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10,26,47,.05), 0 12px 32px -12px rgba(10,26,47,.18);
  --shadow-blue: 0 12px 30px -10px rgba(79,168,184,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- eyebrow label (mono) ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--on-dark { color: #79C7D5; }
.eyebrow--on-dark::before { background: #79C7D5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .98rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid #79C7D5; outline-offset: 2px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-2px); background: #1C5C6A; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--mist); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--on-dark { background: #fff; color: var(--ink); }
.btn--on-dark:hover { transform: translateY(-2px); background: #eef3fb; }
.btn--outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--outline-dark:hover { border-color:#fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,248,252,.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--mist);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  position: relative; flex: none;
}
.brand__mark::after {
  content:""; position:absolute; inset: 8px;
  border: 2px solid rgba(255,255,255,.9); border-radius: 3px;
  border-right-color: transparent; border-bottom-color: transparent;
  transform: rotate(45deg);
}
.brand span { color: var(--blue); }
.brand img { height: 32px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: .94rem; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--blue); background: var(--mist-2); }
.nav__links a.is-active { color: var(--blue); }

.nav__right { display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang {
  display: inline-flex; border: 1px solid var(--mist); border-radius: 999px; overflow: hidden; background: #fff;
}
.lang button {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  border: 0; background: transparent; color: var(--muted);
  padding: 7px 11px; cursor: pointer; transition: background .2s, color .2s;
}
.lang button.is-active { background: var(--blue); color: #fff; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .3s var(--ease); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(121,199,213,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121,199,213,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(79,168,184,.55), transparent 62%);
  filter: blur(20px);
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0 104px; }
.hero__layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  color: #fff; margin: 22px 0 20px; max-width: 14ch;
}
.hero h1 em { font-style: normal; color: #79C7D5; }
.hero__lede { font-size: 1.16rem; color: var(--on-dark); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stat .n { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: #fff; }
.hero__stat .l { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mut); }

/* automation flow card (hero signature) */
.flowcard {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(121,199,213,.22);
  border-radius: var(--radius-lg);
  padding: 26px; backdrop-filter: blur(6px);
}
.flowcard__head { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 20px; }
.flowcard__dot { width: 8px; height: 8px; border-radius: 50%; background: #36d399; box-shadow: 0 0 0 4px rgba(54,211,153,.18); }
.flownode {
  display: flex; align-items: center; gap: 14px;
  background: rgba(11,37,61,.55); border: 1px solid rgba(121,199,213,.18);
  border-radius: 12px; padding: 13px 15px; margin-bottom: 12px;
  opacity: 0; transform: translateY(8px);
  animation: flowin .5s var(--ease) forwards;
}
.flownode:nth-child(2){ animation-delay:.15s } .flownode:nth-child(3){ animation-delay:.3s } .flownode:nth-child(4){ animation-delay:.45s }
@keyframes flowin { to { opacity: 1; transform: none; } }
.flownode__ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(79,168,184,.18); display: grid; place-items: center; flex: none; color: #79C7D5; }
.flownode__t { font-size: .92rem; color: #fff; font-weight: 500; }
.flownode__s { font-size: .76rem; color: var(--on-dark-mut); }
.flowconnect { width: 2px; height: 14px; background: linear-gradient(rgba(121,199,213,.5), transparent); margin-left: 32px; }

/* =========================================================
   Generic section + trust bar
   ========================================================= */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--ink { background: var(--ink); color: #fff; }
.section__head { max-width: 620px; margin-bottom: 52px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 18px 0 14px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--ink .section__head p { color: var(--on-dark); }

.trust { border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: var(--ink-soft); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 0; flex-wrap: wrap; }
.trust__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); }
.trust__logos { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trust__logos span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: rgba(255,255,255,.62); letter-spacing: -.01em; }

/* =========================================================
   Cards grid (services / features)
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9dbf5; }
.card__ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--mist-2), #fff); border: 1px solid var(--mist);
  color: var(--blue); margin-bottom: 20px;
}
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { font-family: var(--font-mono); font-size: .7rem; color: var(--blue-deep); background: var(--mist-2); border: 1px solid var(--mist); padding: 4px 9px; border-radius: 6px; }

/* numbered process */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 78px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--mist); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--mist); }
.step__n { counter-increment: step; font-family: var(--font-mono); font-size: .9rem; color: var(--blue); padding-top: 4px; }
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* why / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist .ck { width: 22px; height: 22px; border-radius: 7px; background: rgba(79,168,184,.12); color: var(--blue); display: grid; place-items: center; margin-top: 2px; }
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: .96rem; }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-lg); padding: 30px; }
.quote p { font-size: 1.04rem; color: var(--text); margin-bottom: 22px; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote__who b { display: block; font-size: .94rem; }
.quote__who small { color: var(--muted); }

/* CTA band */
.ctaband { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.ctaband h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #fff; margin-bottom: 14px; max-width: 20ch; margin-inline: auto; }
.ctaband p { color: rgba(255,255,255,.86); margin-bottom: 28px; max-width: 50ch; margin-inline: auto; }
.ctaband__grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 70%); }

/* =========================================================
   Page header (inner pages)
   ========================================================= */
.phead { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.phead .hero__grid { mask-image: radial-gradient(110% 110% at 80% -10%, #000 30%, transparent 70%); }
.phead__inner { position: relative; z-index: 2; padding: 80px 0 70px; max-width: 720px; }
.phead h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: #fff; margin: 18px 0 16px; }
.phead p { font-size: 1.14rem; color: var(--on-dark); max-width: 52ch; }

/* breadcrumb */
.crumb { font-family: var(--font-mono); font-size: .74rem; color: var(--on-dark-mut); letter-spacing: .08em; }
.crumb a:hover { color: #79C7D5; }

/* =========================================================
   Case studies
   ========================================================= */
.casecard { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.casecard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.casecard__top { padding: 28px 30px 0; }
.casecard__client { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.casecard h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.casecard__body { padding: 0 30px 28px; }
.casecard__body p { color: var(--muted); }
.metrics { display: flex; gap: 28px; flex-wrap: wrap; padding: 22px 30px; border-top: 1px solid var(--mist); background: var(--mist-2); }
.metric .n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); }
.metric .l { font-size: .82rem; color: var(--muted); }

/* =========================================================
   Blog
   ========================================================= */
.post { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink), var(--blue-deep)); position: relative; }
.post__cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(121,199,213,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(121,199,213,.18) 1px, transparent 1px); background-size: 26px 26px; }
.post__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--blue); text-transform: uppercase; margin-bottom: 12px; }
.post h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post p { color: var(--muted); font-size: .95rem; flex: 1; }
.post__more { margin-top: 16px; font-weight: 600; color: var(--blue); font-size: .92rem; }

/* =========================================================
   About
   ========================================================= */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.founder__photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--ink), var(--blue-deep)); position: relative; overflow: hidden; display: grid; place-items: center; }
.founder__photo .initials { font-family: var(--font-display); font-weight: 800; font-size: 4rem; color: rgba(255,255,255,.9); }
.founder__photo::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(121,199,213,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(121,199,213,.14) 1px, transparent 1px); background-size: 30px 30px; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--mist); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content:""; position:absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--paper); }
.timeline .yr { font-family: var(--font-mono); font-size: .8rem; color: var(--blue); }
.timeline strong { display: block; margin: 2px 0 3px; }
.timeline span { color: var(--muted); font-size: .95rem; }

/* certs */
.certs { display: flex; flex-wrap: wrap; gap: 10px; }
.cert { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--mist); border-radius: 10px; padding: 9px 13px; font-size: .86rem; font-weight: 500; }
.cert .d { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* =========================================================
   Contact / form
   ========================================================= */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.contact__info .line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--mist); }
.contact__info .line:last-child { border-bottom: 0; }
.contact__info .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--mist-2); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact__info .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__info .v { font-weight: 600; }

.form { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px; border: 1px solid var(--mist); border-radius: 11px;
  background: var(--paper); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,168,184,.14); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; } /* honeypot */
.form__note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.formmsg { display: none; padding: 14px 16px; border-radius: 11px; font-size: .94rem; margin-bottom: 18px; }
.formmsg.ok { display: block; background: #e7f8f0; color: #0a6b46; border: 1px solid #b6e6d2; }
.formmsg.err { display: block; background: #fdecec; color: #a11b1b; border: 1px solid #f3c2c2; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: var(--on-dark); padding: 64px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer__about { color: var(--on-dark-mut); font-size: .95rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--on-dark); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: #79C7D5; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; color: var(--on-dark-mut); }
.footer__bottom a:hover { color: #79C7D5; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__layout, .split, .founder, .contact { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero__inner { padding: 64px 0 72px; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--mist); padding: 14px 24px 22px; gap: 2px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 12px 10px; border-radius: 8px; }
  .nav__toggle { display: block; }
  .grid--3, .grid--4, .grid--2, .field--row, .metrics { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .ctaband { padding: 38px 24px; }
  .form { padding: 24px; }
  .trust__inner { justify-content: flex-start; }
  .step { grid-template-columns: 54px 1fr; gap: 14px; }
  .section__head[style*="space-between"] { flex-direction: column !important; align-items: flex-start !important; }
  .section__head[style*="space-between"] > a.btn { align-self: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .flownode { opacity: 1; transform: none; }
}

/* hide inline nav CTA on narrower screens so the 8 links fit (Kontakt link + hero CTA remain) */
@media (max-width: 1140px) {
  .nav__cta { display: none; }
}

/* =========================================================
   Solutions / pricing cards
   ========================================================= */
.price { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--mist); display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--ink); letter-spacing: -.02em; }
.price .per { font-size: .86rem; color: var(--muted); }
.solnote { text-align: center; color: var(--muted); font-size: .96rem; max-width: 60ch; margin: 36px auto 0; }
.soltip { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); text-align: center; margin-bottom: 30px; }

/* training card meta line */
.kmeta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: 6px; }

/* collapse nav to hamburger earlier (8 menu items) */
@media (max-width: 1040px) {
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--mist); padding: 14px 24px 22px; gap: 2px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 12px 10px; border-radius: 8px; }
  .nav__toggle { display: block; }
}

/* logo image sizes */
.footer .brand img { height: 30px; }
@media (max-width:720px){ .brand img { height: 28px; } }

/* hero qualitative points (replaces big-number stats) */
.hero__stats { gap: 16px 30px; }
.hero__point { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.02rem; color: var(--on-dark); }
.hero__point .hp-ic { width: 24px; height: 24px; border-radius: 7px; background: rgba(79,168,184,.20); color: var(--teal-light); display: grid; place-items: center; font-size: .78rem; flex: none; }

/* =========================================================
   Trust marquee (scrolling client names)
   ========================================================= */
.marquee { flex: 1; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: rgba(255,255,255,.62); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Hero rotating example card
   ========================================================= */
#flowContent { transition: opacity .3s var(--ease); }
#flowContent.fading { opacity: 0; }
.flowdots { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.flowdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.flowdot.is-active { width: 18px; border-radius: 3px; background: var(--teal-light); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  #flowContent { transition: none; }
}

/* =========================================================
   FAQ accordion (solutions page)
   ========================================================= */
.faq { display: grid; }
.faq__item { border-bottom: 1px solid var(--mist); }
.faq__item:first-child { border-top: 1px solid var(--mist); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: none; border: 0; cursor: pointer; padding: 20px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); transition: color .2s; }
.faq__q:hover { color: var(--blue); }
.faq__q:focus-visible { outline: 3px solid #79C7D5; outline-offset: 2px; border-radius: 6px; }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 4px 20px; max-width: 64ch; }

@media (prefers-reduced-motion: reduce) {
  .faq__a, .faq__icon::before, .faq__icon::after { transition: none; }
}
