/* ---------- Design Tokens ---------- */
:root {
  --bg: #FAF9F6;
  --bg-alt: #F2EFEA;
  --surface: #FFFFFF;
  --text: #232A2E;
  --text-muted: #5C6669;
  --text-soft: #7A8488;
  --accent: #62324D;
  --accent-hover: #4B263B;
  --accent-soft: #F2E8EE;
  --accent-tint: #F8F1F5;
  --border: #E4E1DA;
  --border-strong: #D4D0C6;
  --warm: #C9A87C;
  --warm-soft: #F4EEE2;
  --shadow-sm: 0 1px 2px rgba(35, 42, 46, 0.04), 0 2px 6px rgba(35, 42, 46, 0.04);
  --shadow-md: 0 4px 12px rgba(35, 42, 46, 0.06), 0 12px 32px rgba(35, 42, 46, 0.05);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow-light { color: #E9CBDD; }
.eyebrow-light::before { background: currentColor; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variation-settings: "opsz" 96;
}
.display-sm {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
  margin-top: 22px;
}
.lead-sm {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 58ch;
}
.lead-light { color: rgba(255, 255, 255, 0.82); max-width: 60ch; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 2px rgba(75,38,59,0.18);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 6px 16px rgba(75,38,59,0.22); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--text); background: var(--surface); }
.btn-light {
  background: #fff;
  color: var(--text);
}
.btn-light:hover { background: var(--warm-soft); transform: translateY(-1px); }
.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.44);
}
.btn-outline-light:hover {
  color: var(--accent-hover);
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 249, 246, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #FAF9F6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover { color: var(--text); background: rgba(35, 42, 46, 0.04); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 11px;
  align-items: stretch;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 12px 0 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: rgba(35, 42, 46, 0.04); }

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 9vw, 110px) 0;
}
section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variation-settings: "opsz" 72;
}
.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 62ch;
}

#problem .section-head { margin-bottom: 0; }
.problem-map { position: relative; }
.problem-visual {
  width: min(440px, 84vw);
  aspect-ratio: 1;
  margin: clamp(24px, 4vw, 38px) auto clamp(36px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.problem-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.problem-lines { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-h) - 48px));
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #DADBD2;
  --hero-image-fade: clamp(220px, calc(32vw - 189.6px), 640px);
  --hero-overlay-strong: clamp(300px, calc(39vw - 132px), 870px);
  --hero-overlay-mid: clamp(460px, calc(74vw - 466px), 1430px);
  --hero-overlay-end: clamp(700px, calc(109vw - 790px), 2000px);
}
.hero-stage-image {
  position: absolute;
  top: 0;
  right: min(0px, calc(10vw - 400px));
  bottom: 0;
  left: auto;
  z-index: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.04) calc(var(--hero-image-fade) * 0.18), rgba(0, 0, 0, 0.42) calc(var(--hero-image-fade) * 0.52), #000 var(--hero-image-fade));
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.04) calc(var(--hero-image-fade) * 0.18), rgba(0, 0, 0, 0.42) calc(var(--hero-image-fade) * 0.52), #000 var(--hero-image-fade));
}
.hero-system-overlay {
  display: none;
  pointer-events: none;
  user-select: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(218, 219, 210, 0.98) 0, rgba(218, 219, 210, 0.9) var(--hero-overlay-strong), rgba(218, 219, 210, 0.48) var(--hero-overlay-mid), rgba(218, 219, 210, 0) var(--hero-overlay-end));
}
.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}
.hero-copy {
  max-width: 720px;
  padding: clamp(22px, 4vw, 48px) 0;
}
.hero .eyebrow { color: var(--accent-hover); }
.hero .lead { color: #3F4A4D; }
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: #4E595C;
  font-style: italic;
}

@media (max-width: 699px) {
  .hero {
    min-height: auto;
    display: block;
    padding-top: 0;
    padding-bottom: clamp(32px, 8vw, 48px);
  }
  .hero-stage-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(270px, 42svh, 340px);
    object-fit: cover;
    object-position: 68% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0) 0%, rgba(250, 249, 246, 0.68) 58%, var(--bg) 100%);
  }
  .hero .container {
    position: relative;
    z-index: 2;
    margin-top: clamp(-76px, -14vw, -48px);
  }
  .hero-copy {
    max-width: none;
    padding-top: 0;
  }
  .hero-actions { margin-top: 24px; }
}

/* ---------- Cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.problem-card-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  font-variation-settings: "opsz" 24;
}
.problem-card-face {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.problem-card-conclusion {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.problem-card-conclusion .card-title,
.problem-card-conclusion .card-text {
  color: #fff;
}
.problem-card-conclusion .card-text { opacity: 0.86; }
.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  font-variation-settings: "opsz" 36;
}
.card-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.card-solution { position: relative; padding-top: 30px; }
.card-tag {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  font-variation-settings: "opsz" 24;
}

/* ---------- Use Cases ---------- */
.examples-section {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}
.examples-head { max-width: 760px; }
.examples-section .section-title,
.examples-section .section-sub { color: #fff; }
.examples-section .section-sub { opacity: 0.78; }
.examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.example-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.example-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.example-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
}
.example-card .card-title,
.example-card .card-text { color: #fff; }
.example-card .card-text { opacity: 0.76; }

/* ---------- Callout ---------- */
.callout {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--border-strong);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 760px;
}
.callout p { color: var(--text-muted); }
.callout-accent {
  border-left-color: var(--accent);
  background: var(--accent-tint);
}

/* ---------- Split (Angebot) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.split > * { min-width: 0; }
.check-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.angebot-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.price-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.price-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.25;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
}
.price-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
}
.price-value span { font-size: 0.95rem; color: var(--text-muted); margin-left: 6px; font-family: var(--sans); }
.price-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.55;
}
.price-divider { height: 1px; background: var(--border); margin: 18px 0; }
.price-check-list {
  margin-top: 0;
  gap: 9px;
}
.price-check-list li {
  font-size: 0.94rem;
  line-height: 1.48;
}
.price-check-list li::before {
  top: 6px;
  width: 16px;
  height: 16px;
}
.price-check-list li::after {
  left: 4px;
  top: 10px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 24;
}
.step-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.step-text { font-size: 0.96rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- Profil ---------- */
.profil-layout {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
}
.profil-head {
  max-width: 780px;
}
.project-overview { margin-top: 8px; }
.project-overview > h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 48px;
  margin-top: 8px;
}
.project-grid article {
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-strong);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.project-grid h4 { font-size: 1.15rem; line-height: 1.4; letter-spacing: 0; }
.project-grid p { margin-top: 10px; color: var(--text-muted); font-size: 0.95rem; }
.project-grid .project-topic { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
@media (min-width: 700px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.profil-gallery {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1392 / 752;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(98, 50, 77, 0.08);
  box-shadow: 0 20px 50px rgba(98, 50, 77, 0.2);
  border: 1px solid rgba(98, 50, 77, 0.12);
}
.profil-gallery-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.profil-gallery-image.is-active {
  opacity: 1;
}
.profil-gallery-info {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.profil-gallery-info-button {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  right: clamp(12px, 2vw, 22px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(48px, 5vw, 58px);
  height: clamp(48px, 5vw, 58px);
  padding: 0;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(24, 18, 22, 0.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.profil-gallery-info-button:hover,
.profil-gallery-info-button:focus-visible,
.profil-gallery.is-info-open .profil-gallery-info-button {
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}
.profil-gallery-info-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}
.profil-gallery-info-button svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profil-gallery-info-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  width: min(52%, 560px);
  height: 100%;
  padding: clamp(82px, 9vw, 112px) clamp(64px, 6vw, 78px) clamp(24px, 4vw, 44px);
  color: #fff;
  background: linear-gradient(100deg, rgba(61, 30, 47, 0.72), rgba(61, 30, 47, 0.97) 30%);
  opacity: 0;
  transform: translateX(24px);
  visibility: hidden;
  transition: opacity 280ms var(--ease), transform 360ms var(--ease), visibility 0s linear 360ms;
}
.profil-gallery.is-info-open .profil-gallery-info-panel {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}
.profil-gallery-info-title {
  flex-shrink: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.profil-gallery-info-content {
  min-height: 0;
  max-width: 38ch;
  max-height: 100%;
  margin-top: clamp(12px, 2vw, 20px);
  padding-right: 4px;
  overflow-y: auto;
  overflow-wrap: anywhere;
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.84);
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.42) transparent;
}
.profil-gallery-info-content p + p,
.profil-gallery-info-content ul { margin-top: 0.65em; }
.profil-gallery-info-content ul {
  padding-left: 1.1em;
  list-style: disc;
}
.profil-gallery-info-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profil-gallery-info-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.profil-gallery-info-nav-button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.profil-gallery-info-nav-button:hover,
.profil-gallery-info-nav-button:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.06);
}
.profil-gallery-info-nav-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.profil-gallery-info-nav-button-previous { left: 14px; }
.profil-gallery-info-nav-button-next { right: 14px; }
.profil-gallery-info-nav-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 579px) {
  .profil-gallery-info-panel {
    width: 100%;
    padding: 16px 64px 16px 54px;
    background: rgba(61, 30, 47, 0.94);
    transform: translateY(12px);
  }
  .profil-gallery-info-title {
    max-width: 20ch;
    font-size: 1rem;
    line-height: 1.15;
  }
  .profil-gallery-info-content {
    max-width: none;
    max-height: none;
    margin-top: 7px;
    font-size: 0.78rem;
    line-height: 1.3;
  }
  .profil-gallery-info-nav-button {
    width: 38px;
    height: 38px;
  }
  .profil-gallery-info-nav-button-previous { left: 10px; }
  .profil-gallery-info-nav-button-next { right: 10px; }
}
.profil-copy {
  max-width: 72ch;
}
.profil-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 60ch;
}
.profil-text:first-child { margin-top: 0; }
.company-logos {
  margin-top: clamp(38px, 6vw, 68px);
  padding-top: clamp(22px, 4vw, 34px);
  border-top: 1px solid rgba(98, 50, 77, 0.12);
}
.company-logos-title {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.company-logo-strip {
  margin-top: 20px;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px 30px;
}
.company-logo-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 64px;
  position: relative;
}
.company-logo-strip li:focus-visible {
  outline: 2px solid rgba(98, 50, 77, 0.28);
  outline-offset: 6px;
  border-radius: 8px;
}
.company-logo-strip li::after {
  content: attr(data-company);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  max-width: min(240px, 86vw);
  padding: 7px 9px;
  border-radius: 7px;
  background: #141A1C;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
  white-space: normal;
}
.company-logo-strip li:hover::after,
.company-logo-strip li:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.company-logo-strip img {
  width: auto;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(1.08) brightness(1.06);
  opacity: 0.62;
}
.company-logo-strip img.company-logo-small {
  height: 36px;
}
.company-logo-strip img.company-logo-medium {
  height: 44px;
}
.company-logo-strip img.company-logo-large {
  height: 58px;
}
.company-logo-strip img.company-logo-darker {
  filter: grayscale(1) saturate(0) contrast(1.16) brightness(0.82);
  opacity: 0.78;
}
.tag-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-row li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--warm-soft);
  color: #6E5A3C;
  border: 1px solid rgba(201, 168, 124, 0.3);
}

/* ---------- Demo ---------- */
.demo-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.demo-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}
.demo-dot:nth-child(1) { background: #E2B8B0; }
.demo-dot:nth-child(2) { background: #E2D2A8; }
.demo-dot:nth-child(3) { background: #A8D0BD; }
.demo-url {
  margin-left: 12px;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.demo-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 0%, var(--accent-tint), transparent 50%),
    var(--surface);
}
.demo-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.demo-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.demo-line {
  height: 10px;
  background: linear-gradient(90deg, var(--accent-soft), var(--border));
  border-radius: 4px;
  margin-bottom: 10px;
}
.demo-line.short { width: 60%; }
.demo-line:last-child { margin-bottom: 0; }
.demo-actions {
  margin-top: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.demo-note { font-size: 0.88rem; color: var(--text-soft); }

/* ---------- CTA Section ---------- */
.section-cta {
  background: var(--accent-hover);
  color: #fff;
  position: relative;
}
.contact-layout {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}
.contact-intro {
  max-width: 650px;
}
.contact-intro .display-sm { color: #fff; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.contact-direct,
.contact-whatsapp {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}
.contact-direct a,
.contact-whatsapp a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.contact-whatsapp { margin-top: 10px; }
.contact-form-panel {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: clamp(24px, 4vw, 38px);
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(18, 9, 14, 0.24);
}
.contact-form-head h3 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
}
.contact-form-head > p:last-child {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.contact-form-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.contact-form-row {
  display: grid;
  gap: 16px;
}
.contact-field {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
}
.contact-field small {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 450;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.contact-field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 50, 77, 0.12);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--text-soft); }
.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}
.contact-form-footer > p {
  max-width: 34ch;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}
.contact-form-footer > p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form-footer .btn { flex: 0 0 auto; min-width: 12rem; max-width: 100%; }
.contact-form-footer .btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.contact-form-status {
  min-height: 1.35em;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-form-status[data-state="error"] { color: #9B263A; }
@media (min-width: 720px) {
  .contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 0.84fr) minmax(480px, 1.16fr); }
  .contact-intro { padding-top: 20px; }
}
@media (max-width: 579px) {
  .contact-actions { display: grid; }
  .contact-actions .btn { width: 100%; }
  .contact-form-footer { align-items: stretch; flex-direction: column; }
  .contact-form-footer .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #141A1C;
  color: #C9CCCE;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.footer-brand .brand-mark {
  background: rgba(255,255,255,0.06);
  color: #FAF9F6;
}
.footer-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  color: rgba(255,255,255,0.48);
  font-size: 0.8rem;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .site-footer { padding: 22px 0; }
  .footer-inner,
  .footer-meta,
  .footer-nav ul {
    justify-content: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
  .footer-nav ul { gap: 16px; }
}

/* ---------- Privacy notice ---------- */
.cookie-notice {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1100;
  width: min(520px, calc(100vw - 36px));
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid rgba(98, 50, 77, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(25, 17, 22, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-notice-copy p { margin: 0; }
.cookie-notice-title {
  margin-bottom: 5px !important;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}
.cookie-notice-copy p:last-child {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.cookie-notice-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 14px;
}
.cookie-notice-actions a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 3px;
}
.cookie-notice-actions a:hover { text-decoration-color: var(--accent); }
@media (max-width: 420px) {
  .cookie-notice {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px 15px 14px;
  }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-reveal-pending {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-reveal-pending { opacity: 1; transform: none; transition: none; }
  .cookie-notice { transform: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ============================================ */
/*                BREAKPOINTS                   */
/* ============================================ */

/* Small tablets & up (≥ 560px) */
@media (min-width: 560px) {
  .container { padding: 0 28px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .company-logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-body { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet (≥ 820px) */
@media (min-width: 820px) {
  :root { --header-h: 76px; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .examples-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero-grid {
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
    gap: 0;
  }
  .hero-copy { grid-column: 1; max-width: 680px; }
  .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
  .company-logo-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo-body { padding: 36px; gap: 24px; }
}

@media (min-width: 980px) {
  .problem-map {
    max-width: 1120px;
    aspect-ratio: 1120 / 610;
    margin: clamp(28px, 4vw, 42px) auto clamp(14px, 2vw, 24px);
  }
  .problem-visual {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 30.36%;
    width: 39.29%;
    margin: 0;
  }
  .problem-lines {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }
  .problem-lines path {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.96;
    filter: drop-shadow(0 1px 2px rgba(98, 50, 77, 0.34));
  }
  .problem-lines circle {
    fill: #fff;
    stroke: rgba(98, 50, 77, 0.36);
    stroke-width: 2;
    filter: drop-shadow(0 1px 2px rgba(98, 50, 77, 0.24));
  }
  #problem .problem-cards {
    display: block;
  }
  #problem .problem-card {
    position: absolute;
    z-index: 3;
    width: 25%;
    min-width: 0;
    padding: 18px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
  }
  #problem .problem-card-knowledge {
    top: 8.8%;
    left: 0;
  }
  #problem .problem-card-communication {
    top: 61.8%;
    left: 0;
    width: 26.2%;
  }
  #problem .problem-card-documents {
    top: 34.4%;
    right: 0;
  }
  #problem .problem-card-conclusion {
    top: 78%;
    right: 8%;
    width: 33%;
    box-shadow: 0 16px 42px rgba(98, 50, 77, 0.18), var(--shadow-sm);
  }
  #problem .problem-card .problem-card-num {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
  }
  #problem .problem-card .problem-card-face {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
  }
  #problem .problem-card .card-title {
    font-size: 1.04rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  #problem .problem-card .card-text {
    font-size: 0.86rem;
    line-height: 1.48;
  }
}

/* Desktop (≥ 1100px) */
@media (min-width: 1100px) {
  .container { padding: 0 32px; }
  .hero-grid { gap: 0; }
  .split { gap: 72px; }
  .section { padding: clamp(72px, 8vw, 120px) 0; }
  .examples-grid { grid-template-columns: repeat(4, 1fr); }
  .hero {
    min-height: min(820px, calc(100svh - var(--header-h) - 56px));
    padding-top: clamp(64px, 7vw, 112px);
    padding-bottom: clamp(64px, 7vw, 112px);
  }
  .hero-system-overlay {
    display: block;
    position: absolute;
    top: 0;
    right: clamp(-140px, calc(35vw - 504px), 0px);
    z-index: 2;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right center;
    opacity: 0.7;
  }
}

@media (min-width: 1300px) {
  .hero-system-overlay { opacity: 0.78; }
}

/* ---------- Legal subpages ---------- */
.legal-page {
  padding: clamp(48px, 7vw, 80px) 0;
}
.legal-page .container { max-width: 780px; }
.legal-page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 72;
}
.legal-page h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.legal-page h2[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-page h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text);
}
.legal-page p, .legal-page li {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal-page p + p { margin-top: 12px; }
.legal-page ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.legal-page ul li { margin-top: 6px; }
.legal-page a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
.legal-page a:hover { border-bottom-color: var(--accent); }

.legal-meta {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}
.back-link:hover { color: var(--accent-hover); }

/* ---------- Print styles ---------- */
@media print {
  .site-header, .site-footer, .cookie-notice, .back-link { display: none !important; }
  body { background: #fff; }
  .section, .legal-page { padding: 0; }
  .reveal, .reveal.is-reveal-pending { opacity: 1; transform: none; }
  a { color: #000; border-bottom: none !important; }
  @page { margin: 18mm; }
}
