/* Found Fluency / Found Fluency AI — visual language taken from the Found Fluency AI concept deck:
   warm cream, deep aubergine ink, orange accent, teal/coral/yellow/purple
   as secondary colours, heavy Inter headlines and soft white cards. */
/* Inter (SIL Open Font License), self-hosted so no data is sent to Google */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #fdf3e7;
  --cream-2: #f8e9d6;
  --ink: #2a2140;
  --ink-soft: #4c4462;
  --muted: #7a7189;
  --orange: #ff7a1a;
  --orange-dark: #e9650a;
  --coral: #ff4d5e;
  --teal: #3dd6b5;
  --yellow: #ffc93c;
  --purple: #7c5cc4;
  --lilac: #b9aed6;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 2px 0 rgba(42, 33, 64, .04), 0 12px 32px rgba(42, 33, 64, .07);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Language switching: only the active language's elements are shown. */
[data-lang="de"] [lang="en"], [data-lang="en"] [lang="de"] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.accent { color: var(--orange); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #e9e4f2; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--sand { background: var(--cream-2); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.eyebrow {
  display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}
.lead { font-size: 1.17rem; color: var(--ink-soft); max-width: 62ch; }
.section--ink .lead { color: #c9c2d8; }
.section-head { max-width: 860px; margin-bottom: 52px; }
.small { font-size: .88rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(253, 243, 231, .94); backdrop-filter: blur(8px); }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(42,33,64,.08); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; flex: none;
}
.lang-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .8rem; padding: 6px 10px; cursor: pointer; color: var(--ink);
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; place-items: center; flex: none; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 2px; background: var(--white); position: relative; }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }
@media (max-width: 1140px) {
  .menu-btn { display: grid; }
  .nav-links {
    display: none; position: fixed; inset: 78px 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch;
    gap: 0; padding: 16px; overflow-y: auto;
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 16px 4px; font-size: 1.5rem; font-weight: 800; border-bottom: 1px solid rgba(42,33,64,.1); }
  .nav-actions .btn--sm.hide-mobile { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px;
  background: var(--orange); color: var(--white); border: 2px solid var(--orange); font: inherit; font-weight: 700;
  font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn--ink { background: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: #3b3058; border-color: #3b3058; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--ink .btn--ghost { color: var(--white); border-color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 .accent { display: block; }
.hero .sub { font-size: 1.45rem; font-weight: 500; margin: 6px 0 10px; }
.hero-art { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob--teal { width: 170px; height: 170px; background: var(--teal); top: -60px; right: 32%; }
.blob--orange { width: 360px; height: 360px; background: var(--orange); top: -160px; right: -120px; }
.blob--yellow { width: 260px; height: 260px; background: #ffdf8f; bottom: -150px; left: -90px; opacity: .8; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .blob--orange { width: 220px; height: 220px; top: -120px; right: -100px; }
  .blob--teal { width: 100px; height: 100px; right: 40%; top: -60px; }
}

@media (min-width: 901px) { .hero-grid--about { grid-template-columns: .8fr 1.2fr; } }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative;
}
.card p { color: var(--ink-soft); }
.card--bar { border-top: 6px solid var(--c, var(--orange)); }
.card--side { border-left: 6px solid var(--c, var(--orange)); }
.card .btn-row { margin-top: auto; padding-top: 12px; }
.card-img { border-radius: 18px; overflow: hidden; margin-bottom: 18px; }
.pill {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--c, var(--orange)); color: var(--white); align-self: flex-start;
}
.num-badge {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  font-weight: 800; background: var(--c, var(--orange)); flex: none;
}
.c-orange { --c: var(--orange); } .c-coral { --c: var(--coral); } .c-teal { --c: var(--teal); }
.c-yellow { --c: var(--yellow); } .c-purple { --c: var(--purple); } .c-ink { --c: var(--ink); }

/* Question list (hook) */
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.qlist li { display: flex; gap: 16px; align-items: center; font-weight: 700; font-size: 1.25rem; }
.qlist li::before { content: "?"; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; flex: none; }
.answer { background: var(--ink); color: var(--white); border-radius: var(--radius-sm); padding: 18px 22px; font-weight: 800; font-size: 1.2rem; margin-top: 18px; }
.answer b { color: var(--orange); }

/* Stats */
.stat { font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
.stat-label { color: var(--muted); margin-top: 6px; }

/* Personas */
.persona .card-img { aspect-ratio: 197 / 235; }
.persona .card-img img { width: 100%; height: 100%; object-fit: cover; }
.persona h3 { margin: 0; }
.persona .role { color: var(--muted); font-size: .92rem; }
.persona blockquote { margin: 14px 0 0; font-weight: 700; color: var(--orange); }
.mix { display: flex; height: 28px; border-radius: 999px; overflow: hidden; margin-top: 14px; font-size: .75rem; font-weight: 700; color: var(--white); }
.mix span { display: grid; place-items: center; white-space: nowrap; overflow: hidden; }

/* Steps (4-step AI coach) */
.steps4 { display: grid; gap: 12px; counter-reset: s; }
.step-row { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); }
.step-row b { font-size: 1.1rem; }
.step-row span.d { color: var(--muted); }

/* Engagement stages (training -> adoption -> operation -> care) */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.stage { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 6px solid var(--c); }
.stage .when { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.stage h3 { margin-top: 8px; }
.stage ul { padding-left: 1.1em; margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 980px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }

/* Timeline dots */
.dots { background: var(--white); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.dots::before { content: ""; position: absolute; left: 8%; right: 8%; top: 40px; height: 4px; background: var(--cream-2); border-radius: 4px; }
.dots div { text-align: center; position: relative; }
.dots i { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--c); margin: 2px auto 12px; box-shadow: 0 0 0 6px var(--white); }
.dots b { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
@media (max-width: 640px) {
  .dots { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .dots::before { left: 32px; right: auto; top: 30px; bottom: 30px; width: 4px; height: auto; }
  .dots div { display: grid; grid-template-columns: 40px 1fr; text-align: left; align-items: center; }
  .dots i { margin: 0 auto; grid-row: span 2; }
}

/* Gantt (rollout plan) */
.gantt { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); overflow-x: auto; }
.gantt table { border-collapse: separate; border-spacing: 0 8px; width: 100%; min-width: 640px; }
.gantt th { font-size: .8rem; color: var(--muted); font-weight: 600; text-align: left; }
.gantt td { padding: 0; height: 34px; }
.gantt td.label { font-weight: 700; padding-right: 16px; white-space: nowrap; width: 220px; }
.gantt .bar { display: block; height: 30px; border-radius: 10px; background: var(--c); color: var(--white); font-size: .8rem; font-weight: 700; padding: 6px 10px; white-space: nowrap; overflow: hidden; }

/* Data flow chips */
.flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.flow span.chip { flex: 1 1 140px; text-align: center; padding: 12px 10px; border-radius: 12px; font-weight: 700; color: var(--white); background: var(--c); }
.flow .arrow { color: var(--orange); font-weight: 800; }
@media (max-width: 760px) { .flow { flex-direction: column; align-items: stretch; } .flow .arrow { text-align: center; transform: rotate(90deg); } }

/* Pyramid */
.pyramid { display: grid; gap: 10px; }
.pyramid .lvl { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; background: var(--white); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); border-left: 6px solid var(--c); }
.pyramid .lvl b.n { font-size: 1.6rem; font-weight: 800; }
.pyramid .kpi { color: var(--orange); font-weight: 700; font-size: .92rem; }
.tag { font-size: .78rem; font-weight: 700; background: var(--cream); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* FAQ */
.faq details { background: var(--white); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Forms */
.panel { background: var(--white); border-radius: 26px; padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .panel { padding: 22px; } }
label, .field-label { display: block; font-weight: 700; margin: 20px 0 8px; font-size: .97rem; }
input[type=text], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 13px 15px; border: 2px solid #e6dccd; border-radius: 12px; font: inherit; font-size: 1rem;
  background: var(--cream); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }
textarea { min-height: 110px; resize: vertical; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border: 2px solid #e6dccd; border-radius: 12px; margin: 0; font-weight: 600; cursor: pointer; background: var(--cream); }
.choice:has(input:checked) { border-color: var(--orange); background: #fff1e4; }
.choice input { margin-top: 4px; accent-color: var(--orange); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.progress { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 6px; margin-bottom: 8px; }
.progress span { height: 6px; border-radius: 6px; background: var(--cream-2); }
.progress span.done { background: var(--orange); }
.progress-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 26px; }
.form-step { display: none; border: 0; padding: 0; margin: 0; }
.form-step.active { display: block; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.error { color: var(--coral); font-weight: 600; min-height: 1.3em; margin-top: 12px; }

/* Executive Check */
.quiz-q { margin-top: 22px; }
.quiz-q > p { font-weight: 700; margin-bottom: 8px; }
.quiz-q > p b { color: var(--orange); margin-right: 8px; }
.kv { display: grid; grid-template-columns: 170px 1fr; margin: 0; }
.kv dt, .kv dd { padding: 10px 0; border-bottom: 1px solid var(--cream-2); margin: 0; }
.kv dt { font-size: .85rem; color: var(--muted); font-weight: 700; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dt { border: 0; padding-bottom: 0; } }

/* Plan calculator */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.summary { position: sticky; top: 96px; }
.sum-block { border-left: 6px solid var(--c); padding: 4px 0 4px 16px; margin: 14px 0 18px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding: 4px 0; color: var(--ink-soft); }
.sum-line span:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.sum-total { display: flex; justify-content: space-between; border-top: 2px solid var(--cream-2); margin-top: 6px; padding-top: 8px; font-weight: 700; }
.grand { background: var(--orange); color: var(--white); border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.grand b { font-size: 1.6rem; font-weight: 800; white-space: nowrap; }
.per { margin: 14px 0 6px; font-size: 1.05rem; }
.per b { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
input:disabled { opacity: .5; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .calc .choices[style] { grid-template-columns: 1fr !important; } }

/* Legal pages */
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin-top: 2em; }
.legal p { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #c9c2d8; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid h4 { color: var(--white); margin: 0 0 14px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid .logo { color: var(--white); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
