/* ============================================================
   Aurelius Technology Consulting — prototype v4
   Opgeschoonde stylesheet: ongebruikte v2-restanten verwijderd,
   de drie losse "V3 fix"-blokken zijn samengevoegd in de basis.
   ============================================================ */

:root {
  --blue: #001E40;
  --blue-2: #06162c;
  --slate: #252D3A;
  --green: #10C271;
  --green-dark: #0a9f5d;
  --violet: #A7A2FF;
  --gray: #C2C2C4;
  --soft: #f5f7f8;
  --soft-2: #eef4f1;
  --white: #ffffff;
  --ink: #162234;
  --muted: #5d697a;
  --line: rgba(0, 30, 64, .12);
  --shadow: 0 24px 70px rgba(0, 30, 64, .14);
  --radius: 28px;
  --max: 1180px;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, Geneva, Verdana, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}
main { overflow: hidden; }

/* Typografie: geen lelijke afbrekingen in Nederlandse samenstellingen. */
h1, h2, h3 {
  line-height: 1.08;
  color: var(--blue);
  margin: 0;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 6.7vw, 6.2rem); max-width: 860px; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
p { margin: 0 0 18px; }
p, li { overflow-wrap: break-word; word-break: normal; hyphens: none; }
.lead {
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  color: #425066;
  max-width: 760px;
  overflow-wrap: normal;
  hyphens: none;
}
.nowrap { white-space: nowrap; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: rgba(0,30,64,.07);
  color: var(--blue);
  border-radius: 7px;
  padding: .1em .35em;
}

/* ---------- Skip-link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }

/* ---------- Header en navigatie ---------- */
.site-header {
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 30, 64, .09);
  border-radius: 999px;
  position: sticky;
  top: 14px;
  z-index: 50;
  box-shadow: 0 18px 40px rgba(0, 30, 64, .08);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 280px; max-height: 64px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  text-decoration: none;
  font-size: .91rem;
  font-weight: 700;
  color: var(--slate);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-link:hover { background: var(--soft-2); color: var(--blue); transform: translateY(-1px); }
.nav-link.is-active { background: var(--blue); color: var(--white); }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 4px;
  background: var(--soft);
  border-radius: 999px;
  font-size: .76rem;
  color: var(--muted);
}
.language-switch a, .language-switch strong { padding: 5px 8px; border-radius: 999px; }
.language-switch strong { background: var(--green); color: var(--blue); }
.language-switch a { text-decoration: none; color: var(--muted); transition: background .18s ease, color .18s ease; }
.language-switch a:hover { background: var(--soft-2); color: var(--blue); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  padding: 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); border-radius: 4px; }

/* ---------- Layoutbreedtes ---------- */
.hero, .page-hero, .app-hero, .section, .trust-strip {
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.section { padding: clamp(58px, 8vw, 104px) 0; }
.narrow { max-width: 830px; }

/* ---------- Eyebrow, knoppen en links ---------- */
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 800;
}
.eyebrow.light { color: var(--green); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.actions.compact-actions { margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: none;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 35px rgba(0, 30, 64, .16); }
.button.primary { background: var(--blue); color: var(--white); }
.button.secondary { background: var(--soft); color: var(--blue); border-color: var(--line); }
.button.light { background: var(--white); color: var(--blue); }
.button.ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .35); background: rgba(255,255,255,.08); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 3px; }

/* ---------- Home: hero ---------- */
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) 0 clamp(34px, 6vw, 78px);
  position: relative;
}
.hero, .page-hero, .app-hero { overflow: hidden; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-home h1 { font-size: clamp(2.55rem, 4.9vw, 4.8rem); }
.hero-visual { position: relative; min-width: 0; }
.visual-frame {
  position: relative;
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(145deg, rgba(16,194,113,.18), rgba(0,30,64,.08));
  box-shadow: var(--shadow);
}
.hero-photo { border-radius: calc(var(--radius) - 10px); aspect-ratio: 4 / 4.4; width: 100%; object-fit: cover; object-position: center; }
.cube-mark {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: min(42%, 210px);
  filter: drop-shadow(0 18px 36px rgba(0,30,64,.18));
  z-index: 2;
}
.experience-card {
  position: absolute;
  left: -18px;
  bottom: 42px;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.experience-card strong { display: block; font-size: 2rem; line-height: 1; color: var(--blue); }
.experience-card span { color: var(--muted); font-weight: 700; }

/* ---------- Home: trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 54px;
}
.trust-strip div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.trust-strip strong { display: block; color: var(--blue); font-size: 1.02rem; }
.trust-strip span { display: block; color: var(--muted); font-size: .94rem; margin-top: 2px; }

/* ---------- Split-secties en kaarten ---------- */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.split-section p, .philosophy-grid p, .image-split p { color: #445066; font-size: 1.04rem; }
.cards { display: grid; gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(0, 30, 64, .07);
  overflow-wrap: break-word;
}
.card.quiet { background: linear-gradient(180deg, #fff, #f8fafb); }
.card.feature { text-align: left; }
.card.feature h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-number, .service-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16,194,113,.14);
  color: var(--green-dark);
  font-weight: 900;
  margin-bottom: 18px;
}

/* ---------- Home: apps-teaser ---------- */
.apps-teaser {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 72px);
  padding: clamp(40px, 6vw, 72px);
  border-radius: 38px;
  color: var(--white);
  background: radial-gradient(circle at 83% 16%, rgba(16,194,113,.44), transparent 34%), linear-gradient(135deg, var(--blue), var(--blue-2));
}
.apps-teaser h2, .apps-teaser p { color: var(--white); }
.dual-app-preview {
  position: relative;
  min-height: 440px;
}
.dual-app-preview .tracker-preview {
  position: absolute;
  right: 2%;
  top: 0;
  width: min(72%, 520px);
  filter: drop-shadow(0 26px 56px rgba(0,0,0,.34));
}
.dual-app-preview .design-preview {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(64%, 470px);
  border-radius: 26px;
  box-shadow: 0 28px 58px rgba(0,0,0,.24);
  background: var(--white);
}

/* ---------- Filosofie en beeldsecties ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}
.image-card { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.image-card img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.image-card.wide img { min-height: 420px; }
.image-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

/* ---------- Call-to-action ---------- */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--soft), #fff);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(46px, 7vw, 82px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.final-cta p { max-width: 720px; margin-left: auto; margin-right: auto; color: var(--muted); }
.final-cta .button { margin-top: 14px; }
.final-cta.compact { margin-top: 10px; }

/* ---------- Paginahero (Consulting, Over, Contact) ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  padding: clamp(58px, 8vw, 110px) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 5.3rem); }
.hero-note, .contact-direct {
  background: var(--blue);
  color: var(--white);
  border-radius: 26px;
  padding: 28px;
}
.hero-note strong { display: block; color: var(--green); font-size: 2.3rem; line-height: 1; margin-bottom: 8px; }
.hero-note span { color: rgba(255,255,255,.78); }

/* ---------- Consulting ---------- */
.intro-authority { padding-bottom: 34px; }
.intro-authority p { font-size: 1.22rem; color: #3d485a; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 34px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(0, 30, 64, .08);
  overflow-wrap: break-word;
}
.service-card h2 { font-size: clamp(1.55rem, 2.1vw, 2.2rem); margin-bottom: 14px; }
.service-card p { color: var(--muted); margin: 0; }
.muted-panel {
  background: var(--soft);
  border-radius: 38px;
  padding: clamp(42px, 6vw, 68px);
  border: 1px solid var(--line);
}
.process-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.process-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.process-list strong { color: var(--blue); }
.process-list span { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: #445066; }
.check-list li:before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 4px rgba(255,255,255,.55); }
.check-list.compact { gap: 9px; margin-top: 16px; }

/* ---------- Apps: hero met twee kaarten ---------- */
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(50px, 7vw, 92px);
  border-radius: 42px;
  background: radial-gradient(circle at 76% 18%, rgba(167,162,255,.55), transparent 35%), radial-gradient(circle at 35% 88%, rgba(16,194,113,.35), transparent 32%), linear-gradient(135deg, var(--blue), #061326);
  color: var(--white);
}
.app-hero h1, .app-hero p { color: var(--white); }
.app-copy { min-width: 0; }
.app-hero-overview { grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr); }
.app-hero-overview h1 { font-size: clamp(2.45rem, 4.4vw, 4.65rem); max-width: 720px; }
.app-stack {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
}
.stack-card {
  position: absolute;
  width: min(88%, 500px);
  border-radius: 30px;
  padding: 22px;
  background: rgba(255,255,255,.96);
  color: var(--blue);
  box-shadow: 0 28px 66px rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.6);
}
.stack-card h2 {
  color: var(--blue);
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  margin-bottom: 6px;
  letter-spacing: -.03em;
}
.stack-card p { color: #47566b; margin-bottom: 14px; }
.stack-card img { border-radius: 22px; width: 100%; background: var(--soft); }
.stack-tracker { right: 7%; top: 18px; transform: rotate(2deg); }
.stack-tracker img { max-height: 230px; object-fit: cover; object-position: center; }
.stack-design { left: 0; bottom: 18px; transform: rotate(-2.5deg); }
.app-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
  font-weight: 900;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(16,194,113,.17);
}

/* ---------- Apps: productkaarten ---------- */
.section-heading { max-width: 780px; margin-bottom: 32px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p { color: var(--muted); }
.app-overview { padding-bottom: 34px; }
.app-product-cards { align-items: stretch; }
.app-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0,30,64,.09);
}
.app-product-card.design-card { background: linear-gradient(180deg, #fff, #f6fbf8); }
.app-product-card h3 { font-size: clamp(1.85rem, 3vw, 3rem); margin-bottom: 14px; }
.app-product-card p { color: var(--muted); }
.product-copy { min-width: 0; }
.product-visual {
  border-radius: 26px;
  background: var(--soft);
  padding: 18px;
  display: grid;
  align-items: center;
  min-height: 265px;
}
.product-visual img { width: 100%; margin: auto; filter: drop-shadow(0 18px 30px rgba(0,30,64,.13)); }
.phone-product img { max-height: 330px; object-fit: contain; }
.design-product { background: linear-gradient(135deg, #f7fafb, #eaf5ef); }
.design-product img { border-radius: 22px; }

/* ---------- Apps: showcases ---------- */
.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}
.design-studio-showcase { grid-template-columns: minmax(360px, 1fr) minmax(0, .82fr); }
.design-studio-window {
  background: linear-gradient(135deg, #f7fafb, #eaf5ef);
  padding: 20px;
}
.design-studio-window img {
  min-height: unset;
  object-fit: contain;
  border-radius: 24px;
}

/* ---------- Apps: privacyband en downloadpaneel ---------- */
.app-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
  gap: 28px;
  align-items: center;
  padding: clamp(40px, 6vw, 68px);
  border-radius: 36px;
  background: var(--blue);
  color: var(--white);
}
.app-band h2, .app-band p { color: var(--white); }
.privacy-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.privacy-badges span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.07); overflow-wrap: break-word; }
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, var(--soft), #fff);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(34px, 5vw, 58px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.download-panel p { max-width: 720px; color: var(--muted); }
.download-panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.download-panel-split article { min-width: 0; }
.download-panel-split .app-store { margin-top: 10px; }
.app-store { flex: 0 0 190px; display: inline-block; transition: transform .18s ease; }
.app-store:hover { transform: translateY(-2px); }

/* ---------- Over (profiel, quote, ervaring) ---------- */
.profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.profile-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 24px; background: var(--green); }
.profile-card strong { display: block; color: var(--blue); font-size: 1.2rem; }
.profile-card span { display: block; color: var(--muted); }
.quote-box {
  background: var(--blue);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 46px);
  position: relative;
}
.quote-box p { color: var(--white); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.35; margin: 0; }
.experience-list { padding-top: 40px; }

/* ---------- Contact ---------- */
.contact-direct { display: grid; gap: 14px; }
.contact-direct a { display: grid; gap: 2px; text-decoration: none; padding: 16px; background: rgba(255,255,255,.08); border-radius: 18px; border: 1px solid rgba(255,255,255,.15); }
.contact-direct span { color: rgba(255,255,255,.66); font-size: .86rem; }
.contact-direct strong { color: var(--white); overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(360px, 1fr); gap: clamp(30px, 6vw, 72px); align-items: start; }
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 38px);
}
.contact-form label { display: grid; gap: 7px; font-weight: 800; color: var(--blue); }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  border: 1px solid rgba(0,30,64,.18);
  border-radius: 14px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Privacyverklaring ---------- */
.legal-content { max-width: 830px; }
.legal-content h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 38px 0 12px; }
.legal-content p, .legal-content li { color: #445066; }
.legal-updated { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--white); margin-top: 40px; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 56px 0; display: grid; grid-template-columns: 1.15fr .75fr .75fr .8fr; gap: 34px; }
.footer-logo { width: 170px; max-height: 62px; object-fit: contain; margin-bottom: 18px; }
.site-footer p { color: rgba(255,255,255,.74); max-width: 460px; }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer a { display: block; color: rgba(255,255,255,.78); text-decoration: none; margin: 8px 0; }
.site-footer a:hover { color: var(--green); }
.footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   Responsief
   ============================================================ */
@media (max-width: 980px) {
  .site-header { border-radius: 26px; align-items: flex-start; }
  .brand img { width: 230px; }
  .nav-toggle { display: inline-block; flex: 0 0 auto; }
  .site-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .nav-link { display: block; }
  .language-switch { align-self: flex-start; margin: 8px 0 0; }
  .hero-home, .page-hero, .app-hero, .split-section, .philosophy-grid, .image-split, .app-showcase, .app-band, .contact-layout, .footer-inner,
  .app-hero-overview, .design-studio-showcase, .download-panel-split {
    grid-template-columns: 1fr;
  }
  .hero-home { padding-top: 56px; }
  .hero-visual { max-width: 620px; }
  .trust-strip, .cards.three, .service-grid { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
  .apps-teaser { grid-template-columns: 1fr; padding: 34px; }
  .app-hero { padding: 34px; margin-top: 24px; }
  .app-stack { min-height: 540px; max-width: 680px; width: 100%; }
  .stack-tracker { right: 0; }
  .stack-design { left: 0; }
  .dual-app-preview { min-height: 520px; max-width: 680px; }
  .dual-app-preview .tracker-preview { right: 0; width: 72%; }
  .dual-app-preview .design-preview { width: 68%; }
  .privacy-badges { justify-content: flex-start; }
  .download-panel { align-items: flex-start; flex-direction: column; }
  .contact-direct { max-width: 520px; }
}

@media (max-width: 640px) {
  .site-header, .hero, .page-hero, .app-hero, .section, .trust-strip { width: min(100% - 26px, var(--max)); }
  .site-header { min-height: 64px; padding: 10px 12px; top: 8px; }
  .brand img { width: 200px; }
  h1, h2, h3, .lead { hyphens: none; word-break: normal; overflow-wrap: normal; max-width: 100%; }
  h1 { font-size: clamp(2rem, 10.5vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 8.5vw, 2.55rem); }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3.05rem); line-height: 1.08; }
  .page-hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.85rem); line-height: 1.08; }
  .app-hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); line-height: 1.08; }
  .lead { font-size: 1.04rem; }
  .button { width: 100%; white-space: normal; }
  .actions { align-items: stretch; }
  .visual-frame { padding: 12px; }
  .cube-mark { width: 145px; right: -18px; bottom: -20px; }
  .experience-card { left: 12px; bottom: 22px; padding: 12px 14px; }
  .experience-card strong { font-size: 1.45rem; }
  .trust-strip { padding-bottom: 34px; }
  .section { padding: 48px 0; }
  .apps-teaser, .app-hero, .app-band, .download-panel, .final-cta, .muted-panel { border-radius: 26px; padding: 26px; }
  .service-card, .card { padding: 24px; }
  .process-list li { grid-template-columns: 1fr; gap: 4px; }
  .image-card img, .image-card.wide img { min-height: 260px; }
  .profile-card { align-items: flex-start; flex-direction: column; }
  .profile-card img { width: 108px; height: 108px; }
  .app-stack { min-height: 445px; }
  .stack-card { width: 92%; padding: 16px; border-radius: 24px; }
  .stack-card img { border-radius: 18px; }
  .stack-tracker { top: 0; }
  .stack-design { bottom: 0; }
  .app-product-card { padding: 24px; border-radius: 28px; }
  .product-visual { min-height: 210px; padding: 14px; }
  .dual-app-preview { min-height: 390px; }
  .dual-app-preview .tracker-preview { width: 78%; }
  .dual-app-preview .design-preview { width: 74%; border-radius: 20px; }
  .footer-inner { padding: 42px 0; }
}

@media (max-width: 420px) {
  .app-hero h1 { font-size: clamp(1.95rem, 9.5vw, 2.45rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 9.2vw, 2.35rem); }
  .hero-home h1 { font-size: clamp(2rem, 9.4vw, 2.75rem); }
  .app-stack { min-height: 410px; }
  .dual-app-preview { min-height: 345px; }
  .button { padding-left: 16px; padding-right: 16px; }
}
