:root {
  --bg:           oklch(96% 0.008 250);
  --surface:      oklch(99% 0.004 250);
  --ink:          oklch(18% 0.01 250);
  --muted:        oklch(52% 0.012 250);
  --panel:        oklch(99% 0.004 250);
  --line:         oklch(88% 0.012 250);
  --accent:       oklch(52% 0.22 255);
  --accent-light: oklch(94% 0.04 255);
  --section-light: oklch(97.5% 0.006 250);
  --section-blue:  oklch(91.5% 0.045 250);
  --section-blue-line: oklch(78% 0.055 250);
  --dark:         oklch(18% 0.01 250);
  --green:        oklch(56% 0.18 155);
  --red:          oklch(54% 0.22 25);
  --shadow:       0 4px 12px oklch(0% 0 0 / 0.07), 0 1px 3px oklch(0% 0 0 / 0.04);
  --font-sans:    "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dark);
  color: white;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.15s ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--section-light);
  font-family: var(--font-sans);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid oklch(72% 0.16 250);
  outline-offset: 3px;
}

.section,
.contact,
.impressum-section {
  scroll-margin-top: 76px;
}

/* ── Nav ── */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: oklch(96% 0.008 250 / 90%);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.brand span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--dark);
  color: oklch(78% 0.14 255);
  font-size: 13px;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a,
.button,
.role-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  background: transparent;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s ease-out, background 0.15s ease-out;
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav .nav-cta {
  border-color: var(--accent);
  background: var(--accent);
  color: oklch(99% 0.004 250);
  padding: 8px 14px;
  font-size: 13px;
}

/* ── Hero ── */

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  background: var(--bg);
  overflow: hidden;
}

.hero-copy {
  max-width: 580px;
}

/* Sanftes Aufblenden beim Laden – versetzt von oben nach unten */
.hero-copy > * {
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy > .eyebrow      { animation-delay: 0.05s; }
.hero-copy > h1            { animation-delay: 0.12s; }
.hero-copy > .lead         { animation-delay: 0.20s; }
.hero-copy > .hero-actions { animation-delay: 0.28s; }
.hero-copy > .hero-trust   { animation-delay: 0.36s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > * {
    animation: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.contact-eyebrow {
  color: oklch(78% 0.14 255);
}

.contact-eyebrow::before {
  background: oklch(78% 0.14 255);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.lead {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.15s ease-out, box-shadow 0.15s ease-out;
}

.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: oklch(99% 0.004 250);
}

.primary:hover {
  opacity: 0.88;
}

.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.ghost:hover {
  background: var(--surface);
}

.hero-trust {
  margin: 22px 0 0;
  color: oklch(65% 0.012 250);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
}

/* ── Mind Map ── */

.hero-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.map-title {
  margin: 0;
  align-self: center;
  color: oklch(72% 0.012 250);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mindmap {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  overflow: visible;
}

.node-primary {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
  cursor: default;
}

/* Klickbare Knoten: dezentes Pulsieren, versetzt getaktet */
.node-link {
  cursor: pointer;
  animation: node-pulse 3.4s ease-in-out infinite;
}

.node-link:hover,
.node-link:focus-visible {
  animation: none;
  transform: scale(1.07);
  filter: drop-shadow(0 6px 16px oklch(0% 0 0 / 0.12));
  outline: none;
}

@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

.node-dim {
  opacity: 0.6;
}

.node-center {
  cursor: default;
  transform-box: fill-box;
  transform-origin: center;
}

/* Verbindungslinien zeichnen sich beim Laden zum Zentrum hin */
.conn-primary {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: conn-draw 0.9s ease-out forwards;
  animation-delay: var(--conn-delay, 0s);
}

@keyframes conn-draw {
  to { stroke-dashoffset: 0; }
}

/* Zentrum atmet sanft – signalisiert: hier läuft alles zusammen */
.node-center rect:first-of-type {
  animation: center-glow 4.2s ease-in-out infinite;
}

@keyframes center-glow {
  0%, 100% { filter: drop-shadow(0 3px 6px oklch(0% 0 0 / 0.12)); }
  50%      { filter: drop-shadow(0 0 13px oklch(62% 0.2 255 / 0.5)); }
}

@media (prefers-reduced-motion: reduce) {
  .node-link,
  .node-center rect:first-of-type {
    animation: none;
  }

  .conn-primary {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }
}

/* ── Detail-Ebenen (Mind-Map-Knoten → tiefere Schicht) ── */

.layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  background: var(--bg);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}

.layer[hidden] {
  display: none;
}

.layer.is-open {
  opacity: 1;
  transform: scale(1);
}

.layer-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: oklch(96% 0.008 250 / 88%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.layer-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}

.layer-back:hover {
  background: var(--bg);
  border-color: oklch(80% 0.014 250);
  transform: translateX(-2px);
}

.layer-back svg {
  display: block;
}

.layer-kicker {
  color: oklch(72% 0.012 250);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.layer-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) clamp(24px, 5vw, 56px) clamp(56px, 8vw, 96px);
}

.layer-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.icon-app        { background: linear-gradient(135deg, oklch(65% 0.16 150), oklch(56% 0.15 158)); }
.icon-arbeiter   { background: linear-gradient(135deg, oklch(68% 0.16 235), oklch(56% 0.16 245)); }
.icon-bauleitung { background: linear-gradient(135deg, oklch(64% 0.18 280), oklch(58% 0.17 270)); }
.icon-buero      { background: linear-gradient(135deg, oklch(72% 0.15 60), oklch(66% 0.16 45)); }
.icon-fuehrung   { background: linear-gradient(135deg, oklch(65% 0.16 150), oklch(56% 0.15 158)); }

.layer-body .eyebrow {
  margin-bottom: 14px;
}

.layer-body h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.layer-lead {
  max-width: 60ch;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 8px;
}

.layer-points {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.layer-points > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.layer-points dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.layer-points dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.layer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

@media (prefers-reduced-motion: reduce) {
  .layer {
    transition: opacity 0.2s ease-out;
    transform: none;
  }
}

@media (max-width: 640px) {
  .layer-points {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── Sections ── */

main {
  padding: 0;
  background: var(--section-light);
}

.section {
  max-width: none;
  margin: 0;
  padding: clamp(56px, 7vw, 88px) max(clamp(24px, 5vw, 68px), calc((100vw - 1220px) / 2));
}

#ablauf,
#faq {
  background: var(--section-light);
}

#problem {
  background: linear-gradient(
    180deg,
    var(--bg) 0,
    var(--section-light) 180px
  );
}

#angebot,
#team {
  border-block: 1px solid var(--section-blue-line);
  background: var(--section-blue);
}

#angebot {
  border-bottom: 0;
}

#app {
  color: oklch(99% 0.004 250);
  background: linear-gradient(
    180deg,
    var(--section-blue) 0,
    oklch(88% 0.05 250) 24px,
    oklch(66% 0.075 252) 68px,
    oklch(38% 0.065 254) 108px,
    oklch(20% 0.045 255) 148px,
    oklch(20% 0.045 255) calc(100% - 96px),
    var(--section-light) 100%
  );
}

#angebot .card,
#team .team-card {
  border-color: oklch(78% 0.055 250 / 70%);
  box-shadow: 0 8px 22px oklch(28% 0.045 250 / 10%);
}

#angebot .offer-featured {
  border-color: oklch(60% 0.16 255 / 48%);
  background: linear-gradient(145deg, var(--surface), oklch(95% 0.035 250));
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.head p {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.role-detail {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  min-height: 100%;
  padding: 20px;
}

.card,
.team-card {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.card:hover,
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px oklch(0% 0 0 / 0.10);
  border-color: oklch(82% 0.014 250);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.card-index {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.problems {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.problems .card {
  grid-column: span 2;
}

.problems .problem-wide {
  grid-column: span 3;
}

.scenario {
  color: var(--ink);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  font-weight: 500;
}

.offers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer p {
  flex: 1;
}

.offer-featured {
  border-color: oklch(52% 0.22 255 / 30%);
  background: oklch(94% 0.04 255 / 40%);
}

.offer-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: oklch(99% 0.004 250);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-link {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid oklch(52% 0.22 255 / 25%);
  transition: border-color 0.15s ease-out;
}

.offer-link:hover {
  border-bottom-color: var(--accent);
}

/* ── Interactive app showcase ── */

.app-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.app-showcase-head h2 {
  max-width: 680px;
  color: oklch(99% 0.004 250);
}

.app-showcase-head > p {
  margin: 0;
  color: oklch(95% 0.012 250 / 72%);
  font-size: 16px;
}

.app-eyebrow {
  color: oklch(78% 0.14 255);
}

.app-eyebrow::before {
  background: oklch(78% 0.14 255);
}

.app-showcase-frame {
  padding: clamp(18px, 2.6vw, 32px);
  border: 1px solid oklch(99% 0.004 250 / 14%);
  border-radius: 22px;
  background: oklch(99% 0.004 250 / 6%);
  box-shadow: 0 24px 70px oklch(0% 0 0 / 24%);
  backdrop-filter: blur(12px);
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid oklch(99% 0.004 250 / 10%);
  border-radius: 14px;
  background: oklch(5% 0.02 255 / 28%);
}

.app-tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: oklch(94% 0.01 250 / 62%);
  cursor: pointer;
  font-weight: 700;
  transition: color 0.18s ease-out, background 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}

.app-tab:hover {
  color: oklch(99% 0.004 250);
}

.app-tab:focus-visible {
  outline: 3px solid oklch(75% 0.15 255 / 50%);
  outline-offset: 2px;
}

.app-tab.is-active {
  border-color: oklch(72% 0.14 255 / 45%);
  background: oklch(58% 0.2 255 / 24%);
  color: oklch(99% 0.004 250);
  box-shadow: inset 0 1px 0 oklch(99% 0.004 250 / 12%);
}

.app-panels {
  margin-top: 22px;
}

.app-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 540px;
  animation: app-panel-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.app-panel[hidden] {
  display: none;
}

@keyframes app-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.app-panel-copy {
  max-width: 420px;
}

.app-role-label {
  display: inline-block;
  margin-bottom: 14px;
  color: oklch(78% 0.14 255);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.app-panel-copy h3 {
  margin-bottom: 14px;
  color: oklch(99% 0.004 250);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.app-panel-copy > p {
  color: oklch(95% 0.012 250 / 70%);
  font-size: 16px;
}

.app-feature-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.app-feature-list li {
  position: relative;
  padding-left: 26px;
  color: oklch(98% 0.008 250 / 88%);
  font-size: 14px;
  font-weight: 600;
}

.app-feature-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-left: 2px solid oklch(74% 0.17 155);
  border-bottom: 2px solid oklch(74% 0.17 155);
  transform: rotate(-45deg);
}

.demo-device {
  width: 100%;
  overflow: hidden;
  border: 1px solid oklch(78% 0.04 250 / 80%);
  border-radius: 18px;
  background: oklch(97% 0.006 250);
  color: var(--ink);
  box-shadow: 0 22px 55px oklch(0% 0 0 / 30%);
}

.demo-device button {
  font: inherit;
  pointer-events: none;
}

.demo-phone {
  max-width: 390px;
  justify-self: center;
  border-radius: 28px;
}

.demo-device-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid oklch(88% 0.012 250);
  background: oklch(99% 0.004 250 / 94%);
  font-size: 12px;
}

.demo-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 8px;
  background: var(--dark);
  color: oklch(78% 0.14 255);
  font-size: 11px;
  font-weight: 800;
}

.demo-sync,
.demo-context {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.demo-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-sync i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px oklch(56% 0.18 155 / 12%);
}

.demo-mobile-body,
.demo-dashboard-body,
.demo-office-body {
  padding: 18px;
}

.demo-title-row,
.demo-screen-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.demo-title-row strong,
.demo-screen-heading strong {
  display: block;
  font-size: 18px;
}

.demo-title-row small,
.demo-screen-heading small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.demo-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.demo-project-card,
.demo-calendar-card,
.demo-open-card {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid oklch(86% 0.02 250);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 5px 14px oklch(0% 0 0 / 7%);
}

.demo-project-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.demo-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex: 0 0 9px;
  border-radius: 50%;
}

.demo-dot.blue { background: oklch(60% 0.18 245); }
.demo-dot.orange { background: oklch(72% 0.16 60); }
.demo-dot.green { background: oklch(62% 0.16 155); }

.demo-pill {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.demo-pill.amber {
  background: oklch(92% 0.08 80);
  color: oklch(48% 0.12 70);
}

.demo-pill.green {
  background: oklch(93% 0.06 155);
  color: oklch(45% 0.13 155);
}

.demo-project-card > p {
  margin: 9px 0;
  color: var(--muted);
  font-size: 11px;
}

.demo-task {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 9px;
  background: var(--bg);
}

.demo-task > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.demo-task strong,
.demo-task small {
  display: block;
  font-size: 10px;
}

.demo-task small { color: var(--muted); }

.demo-two-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.demo-two-actions button,
.demo-main-action {
  min-height: 38px;
  border: 1px solid oklch(84% 0.02 250);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.demo-main-action {
  width: 100%;
  margin-top: 12px;
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.demo-stat-grid {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.demo-stat-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-stat-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid oklch(87% 0.018 250);
  border-radius: 10px;
  background: var(--surface);
}

.demo-stat-grid small,
.demo-stat-grid strong,
.demo-stat-grid span {
  display: block;
}

.demo-stat-grid small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-stat-grid strong {
  margin: 4px 0;
  font-size: 22px;
}

.demo-stat-grid span {
  color: var(--muted);
  font-size: 8px;
}

.demo-checklist,
.demo-traffic-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.demo-checklist > div,
.demo-traffic-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid oklch(88% 0.012 250);
  border-radius: 9px;
  background: var(--surface);
}

.demo-check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}

.demo-check.done { background: oklch(93% 0.06 155); color: var(--green); }
.demo-check.pending { background: oklch(94% 0.05 255); color: var(--accent); }
.demo-check.alert { background: oklch(94% 0.06 70); color: oklch(55% 0.14 65); }

.demo-checklist p,
.demo-traffic-list p {
  margin: 0;
}

.demo-checklist strong,
.demo-checklist small,
.demo-traffic-list strong,
.demo-traffic-list small {
  display: block;
  font-size: 10px;
}

.demo-checklist small,
.demo-traffic-list small { color: var(--muted); }
.demo-checklist b,
.demo-traffic-list b { color: var(--muted); font-size: 9px; }

.demo-desktop {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
}

.demo-sidebar {
  min-height: 390px;
  padding: 14px 10px;
  background: var(--dark);
}

.demo-sidebar .demo-logo {
  background: oklch(99% 0.004 250 / 10%);
}

.demo-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.demo-sidebar nav span {
  padding: 8px;
  border-radius: 7px;
  color: oklch(99% 0.004 250 / 52%);
  font-size: 9px;
  font-weight: 700;
}

.demo-sidebar nav span.active {
  background: oklch(99% 0.004 250 / 10%);
  color: white;
}

.demo-office-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}

.demo-calendar-card > strong,
.demo-open-card > strong {
  font-size: 11px;
}

.demo-calendar-card > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

.demo-calendar-card b { color: var(--ink); }

.demo-open-card p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.demo-open-card p span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
}

.green-text { color: var(--green); }
.amber-text { color: oklch(58% 0.15 70); }

.traffic {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px currentColor;
}

.traffic.green { color: oklch(90% 0.05 155); background: var(--green); }
.traffic.amber { color: oklch(93% 0.06 75); background: oklch(66% 0.16 70); }
.traffic.red { color: oklch(94% 0.05 25); background: var(--red); }

.app-proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.app-proof-row span {
  padding: 11px 12px;
  border: 1px solid oklch(99% 0.004 250 / 10%);
  border-radius: 9px;
  color: oklch(97% 0.008 250 / 76%);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

/* ── Product / App section ── */

.product {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: oklch(97% 0.006 250 / 60%);
}

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  padding: 6px 9px;
  border: 1px solid oklch(52% 0.22 255 / 18%);
  border-radius: 999px;
  background: oklch(52% 0.22 255 / 8%);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.roles {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
}

.role-tabs {
  display: grid;
  gap: 8px;
}

.role-tab {
  min-height: 48px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}

.role-tab:hover {
  color: var(--ink);
}

.role-tab.is-active {
  background: var(--dark);
  color: var(--panel);
  border-color: var(--dark);
}

.role-detail {
  padding: 24px;
}

.role-label {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-screen {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: oklch(96% 0.008 250 / 70%);
}

.screen-head,
.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
}

.screen-head {
  margin-top: 22px;
}

.pill,
.mini-head strong,
.done-line {
  border-radius: 8px;
  background: oklch(56% 0.18 155 / 12%);
  color: var(--green);
  font-weight: 700;
}

.pill,
.mini-head strong {
  padding: 5px 10px;
  font-size: 12px;
}

.big-actions,
.demo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.big-actions {
  margin-top: 18px;
}

.action,
.demo-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.action {
  min-height: 84px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.action small {
  color: var(--muted);
  font-weight: 600;
}

.action-yellow { background: oklch(52% 0.22 255 / 8%); }
.action-green  { background: oklch(56% 0.18 155 / 8%); }
.action-red    { background: oklch(54% 0.22 25  / 8%); }
.action-blue   { background: oklch(52% 0.22 255 / 8%); }

.wide {
  grid-column: span 2;
}

.site-pill {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.demo-action {
  min-height: 72px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.12s ease-out;
}

.demo-action:hover { background: var(--bg); }
.demo-action:nth-child(1) { background: oklch(52% 0.22 255 / 8%); }
.demo-action:nth-child(2) { background: oklch(56% 0.18 155 / 8%); }
.demo-action:nth-child(3) { background: oklch(54% 0.22 25  / 8%); }
.demo-action:nth-child(4) { background: oklch(52% 0.22 255 / 8%); }

.done-line {
  margin: 14px 0 0;
  padding: 12px;
  font-size: 14px;
}

/* ── Process ── */

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.process-head > p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 220px;
  padding: 26px 24px;
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: oklch(99% 0.004 250 / 58%);
}

.process-step:first-child {
  border-radius: 14px 0 0 14px;
}

.process-step:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 14px 14px 0;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 43px;
  right: -5px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--section-light);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step h3 {
  font-size: 19px;
}

.process-step p {
  margin: 0;
  font-size: 14px;
}

/* ── Team ── */

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.team-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}

.avatar-silvan {
  background: linear-gradient(135deg, oklch(56% 0.2 255), oklch(47% 0.2 268));
}

.avatar-alex {
  background: linear-gradient(135deg, oklch(50% 0.08 245), oklch(30% 0.055 250));
}

.avatar-arber {
  background: linear-gradient(135deg, oklch(68% 0.15 65), oklch(57% 0.16 45));
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
}

.team-info {
  flex: 1;
}

.team-role {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-info h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.team-tags span {
  padding: 5px 8px;
  border: 1px solid oklch(72% 0.08 250 / 35%);
  border-radius: 999px;
  background: oklch(99% 0.004 250 / 45%);
  color: oklch(38% 0.04 250);
  font-size: 10px;
  font-weight: 700;
}

/* ── Contact ── */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
  padding: clamp(56px, 7vw, 88px) max(clamp(24px, 5vw, 68px), calc((100vw - 1220px) / 2));
  border-radius: 0;
  background: var(--dark);
  color: oklch(99% 0.004 250);
}

.contact h2 {
  color: oklch(99% 0.004 250);
  margin-bottom: 10px;
}

.contact p {
  max-width: 680px;
  color: oklch(99% 0.004 250 / 65%);
}

.founder-intro {
  color: oklch(99% 0.004 250 / 85%) !important;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
}

/* ── Contact details ── */

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 22px;
}

.contact-detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: oklch(99% 0.004 250 / 75%);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease-out;
}

a.contact-detail:hover {
  color: oklch(99% 0.004 250);
}

.contact-detail svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.contact-form {
  display: grid;
  gap: 13px;
  padding: 22px;
  border: 1px solid oklch(99% 0.004 250 / 14%);
  border-radius: 16px;
  background: oklch(99% 0.004 250 / 7%);
  box-shadow: 0 18px 46px oklch(0% 0 0 / 22%);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  color: oklch(99% 0.004 250 / 68%);
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid oklch(99% 0.004 250 / 16%);
  border-radius: 9px;
  background: oklch(99% 0.004 250 / 9%);
  color: white;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease-out, background 0.15s ease-out, box-shadow 0.15s ease-out;
}

.contact-form input,
.contact-form select {
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 92px;
  padding: 10px 12px;
  resize: vertical;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea::placeholder {
  color: oklch(99% 0.004 250 / 38%);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: oklch(72% 0.14 255);
  background: oklch(99% 0.004 250 / 12%);
  box-shadow: 0 0 0 3px oklch(62% 0.18 255 / 20%);
}

.contact-submit {
  width: 100%;
  margin-top: 2px;
  cursor: pointer;
}

.contact .form-note {
  margin: 0;
  color: oklch(99% 0.004 250 / 48%);
  font-size: 10px;
  line-height: 1.5;
}

/* ── FAQ ── */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.faq-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.faq-item:nth-child(odd) {
  padding-right: 44px;
  border-right: 1px solid var(--line);
}

.faq-item:nth-child(even) {
  padding-left: 44px;
}

.faq-item h3 {
  color: var(--ink);
  margin-bottom: 10px;
}

/* ── Footer ── */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px clamp(22px, 5vw, 68px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-brand {
  color: var(--ink);
  font-weight: 800;
}

.foot-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.foot-links {
  display: flex;
  gap: 16px;
}

.foot-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease-out;
}

.foot-links a:hover {
  color: var(--ink);
}

/* ── Impressum ── */

.impressum-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.impressum-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px clamp(22px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.impressum-col h4 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.impressum-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--muted);
}

.impressum-col a {
  color: var(--accent);
  font-weight: 600;
}

/* ── Scroll-Reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .hero,
  .head,
  .app-showcase-head,
  .app-panel,
  .process-head,
  .roles,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero > * {
    min-width: 0;
  }

  .hero-copy {
    max-width: 100%;
  }

  .grid,
  .problems,
  .offers,
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team {
    grid-template-columns: 1fr;
  }

  .problems .card,
  .problems .problem-wide {
    grid-column: auto;
  }

  .problems .card:last-child {
    grid-column: 1 / -1;
  }

  .role-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-panel {
    min-height: 0;
  }

  .app-panel-copy {
    max-width: 680px;
  }

  .demo-device:not(.demo-phone) {
    max-width: 720px;
    justify-self: center;
  }

  .app-proof-row,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    gap: 12px;
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .process-step::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .faq-grid,
  .impressum-body {
    grid-template-columns: 1fr;
  }

  .faq-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .faq-item:nth-child(even) {
    padding-left: 0;
  }

  .top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
    flex-shrink: 0;
    padding-inline: 9px;
    font-size: 12px;
  }

  .nav .nav-cta {
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero {
    padding: 32px 20px 40px;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .app-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase-frame {
    padding: 14px;
    border-radius: 16px;
  }

  .app-showcase-head,
  .process-head {
    gap: 18px;
  }

  .app-panel {
    gap: 28px;
  }

  .app-proof-row,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .demo-desktop {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .demo-sidebar {
    min-height: 440px;
    padding-inline: 7px;
  }

  .demo-sidebar nav span {
    padding-inline: 5px;
    font-size: 8px;
  }

  .demo-office-body,
  .demo-dashboard-body {
    padding: 12px;
  }

  .demo-office-grid {
    grid-template-columns: 1fr;
  }

  .demo-stat-grid > div {
    padding: 9px;
  }

  .demo-stat-grid strong {
    font-size: 18px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 16px;
  }

  /* Simplify mind map on mobile: hide dim elements */
  .conn-dim,
  .node-dim {
    display: none;
  }

  main {
    padding: 0;
  }

  .section,
  .contact {
    padding: 52px 20px;
  }

  .grid,
  .problems,
  .offers,
  .team,
  .big-actions,
  .demo-actions,
  .role-tabs {
    grid-template-columns: 1fr;
  }

  .problems .card:last-child {
    grid-column: auto;
  }

  .team-card {
    flex-direction: column;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }
}
