/* ════════════════════════════════════════════════════════
   TempGroup Suisse — IT- & Software-Unternehmen
   Light, professional, trustworthy. Blue + Swiss red.
   ════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --blue: #1F4E78;
  --blue-mid: #2E75B6;
  --blue-deep: #163A5A;
  --blue-tint: #EAF1F8;
  --red: #D8232A;
  --red-deep: #B81C22;
  --red-tint: #FCEEEE;

  /* Surface — LIGHT default */
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --bg-soft-2: #ECF1F7;
  --panel: #FFFFFF;
  --ink: #16202E;
  --ink-soft: #44515F;
  --ink-muted: #7E8A98;
  --line: rgba(22, 32, 46, 0.10);
  --line-strong: rgba(22, 32, 46, 0.16);
  --shadow-card: 0 1px 2px rgba(22,32,46,0.04), 0 12px 30px -16px rgba(22,32,46,0.18);
  --shadow-float: 0 30px 60px -28px rgba(22,32,46,0.30);

  /* Accent (tweakable) */
  --accent: #1F4E78;
  --accent-soft: #EAF1F8;

  /* Type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometry */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shell-max: 1240px;
  --shell-pad: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* DARK theme (optional via Tweaks) */
html[data-theme="dark"] {
  --bg: #0E1622;
  --bg-soft: #131F2E;
  --bg-soft-2: #18283A;
  --panel: #16243440;
  --ink: #EAF0F6;
  --ink-soft: #AEBAC7;
  --ink-muted: #768596;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --blue-tint: rgba(46, 117, 182, 0.16);
  --red-tint: rgba(216, 35, 42, 0.18);
  --accent-soft: rgba(46, 117, 182, 0.16);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 18px 40px -22px rgba(0,0,0,0.6);
  --shadow-float: 0 40px 80px -32px rgba(0,0,0,0.7);
  --panel: rgba(22, 36, 52, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
body { min-height: 100vh; position: relative; }

::selection { background: var(--blue); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; }

/* ─── Shell ─── */
.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  position: relative;
}

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px var(--shell-pad);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Wordmark (matches logo) */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.022em;
  white-space: nowrap;
  line-height: 1;
}
.wordmark .wm-main { color: var(--blue); transition: color 0.4s var(--ease); }
.wordmark .wm-suisse { color: var(--red); }
html[data-theme="dark"] .wordmark .wm-main { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft-2); }
.nav-links a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-tint);
  font-weight: 600;
}
html[data-theme="dark"] .nav-links a[aria-current="page"] { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  box-shadow: 0 8px 20px -10px rgba(31,78,120,0.6);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--blue-deep); }
.nav-cta .arrow { transition: transform 0.25s var(--ease); }
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-burger { display: none; }

/* Hamburger button */
.nav-burger {
  width: 44px; height: 44px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-burger:hover { background: var(--bg-soft-2); }
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) { .nav-burger { display: flex; } }
@media (max-width: 520px) {
  .nav-cta { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(16, 32, 46, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(84%, 340px);
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px -24px rgba(0, 0, 0, 0.35);
  padding: 92px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-panel a {
  padding: 14px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.mobile-drawer-panel a:hover { background: var(--bg-soft-2); }
.mobile-drawer-panel a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }
.mobile-drawer-panel .mobile-cta {
  margin-top: 18px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 12px 26px -12px rgba(31,78,120,0.7);
}
.mobile-drawer-panel .mobile-cta:hover { background: var(--blue-deep); }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav-cta span:not(.arrow) { display: none; }
  .nav-cta { padding: 11px 14px; }
}

/* ════════════════════════════════════════════
   Section primitives
   ════════════════════════════════════════════ */
section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section-soft { background: var(--bg-soft); }
.section-soft + .section-soft { background: var(--bg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 18px 0 16px;
  text-wrap: balance;
  max-width: 20ch;
}
.section-lead {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.3vw, 18px);
  max-width: 58ch;
  text-wrap: pretty;
}
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 12px 26px -12px rgba(31,78,120,0.7);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 18px 34px -14px rgba(31,78,120,0.8); }
.btn-primary .arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--bg-soft); transform: translateY(-1px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14.5px;
}
.text-link .arrow { transition: transform 0.2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 78% 8%, var(--blue-tint), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, var(--bg-soft), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .pill { background: var(--bg-soft); }
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22A06B;
  box-shadow: 0 0 0 3px rgba(34,160,107,0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 70px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.034em;
  color: var(--ink);
  margin: 22px 0 22px;
  text-wrap: balance;
}
.hero h1 .u {
  color: var(--blue);
  position: relative;
}
.hero h1 .u::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.12em;
  background: var(--red);
  opacity: 0.85;
  border-radius: 2px;
}
.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-trust .ht {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust .ht b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-trust .ht span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Hero visual — soft floating service cards */
.hero-visual {
  position: relative;
  min-height: 440px;
  perspective: 1400px;
}
@media (max-width: 980px) { .hero-visual { min-height: 380px; } }
@media (max-width: 560px) { .hero-visual { display: none; } }

.hv-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-float);
  padding: 18px 20px;
  width: 260px;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
html[data-theme="dark"] .hv-card { background: var(--bg-soft); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hv-card .hv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hv-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hv-ico svg { width: 20px; height: 20px; }
.hv-ico.b { background: var(--blue-tint); color: var(--blue); }
.hv-ico.r { background: var(--red-tint); color: var(--red); }
.hv-card .hv-t { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; color: var(--ink); }
.hv-card .hv-s { font-size: 12.5px; color: var(--ink-muted); }
.hv-row { display: flex; align-items: center; gap: 8px; }
.hv-bar { height: 6px; border-radius: 99px; background: var(--bg-soft-2); flex: 1; overflow: hidden; position: relative; }
.hv-bar > span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-mid), var(--blue)); border-radius: 99px; }
.hv-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }

.hv-1 { top: 4%; left: 2%; z-index: 3; }
.hv-2 { top: 32%; right: 0%; z-index: 4; }
.hv-3 { bottom: 4%; left: 12%; z-index: 5; }

.hv-glow {
  position: absolute;
  inset: 18% 12%;
  background: radial-gradient(circle, var(--blue-tint), transparent 68%);
  filter: blur(10px);
  z-index: 0;
}

/* logos / trust row under hero */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.trustbar .tb-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.trustbar .tb-items { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.trustbar .tb-items span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.tb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-mid); }

/* ════════════════════════════════════════════
   LEISTUNGEN (services — leads the page)
   ════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 32px 34px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
html[data-theme="dark"] .service { background: var(--bg-soft); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: var(--line-strong); }
.service::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover::after { transform: scaleX(1); }

.service-ico {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-ico svg { width: 26px; height: 26px; }
.service h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.service p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 44ch; }
.service-tags {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.service-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  background: var(--bg-soft);
  white-space: nowrap;
}
.service-num {
  position: absolute;
  top: 28px; right: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════
   WIE WIR ARBEITEN / WARUM (process + trust)
   ════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

.why-item { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.why-item::before {
  content: "";
  position: absolute; top: -2px; left: 0;
  width: 36%; height: 2px;
  background: var(--blue);
}
.why-item:nth-child(2)::before { background: var(--red); }
.why-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 10px;
}
.why-item p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* Approach band (split) */
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; gap: 36px; } }
.approach-steps { display: flex; flex-direction: column; gap: 4px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step-n {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.step:nth-child(2) .step-n { background: var(--blue-mid); }
.step:nth-child(3) .step-n { background: var(--red); }
.step h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

.stat-card {
  background: var(--blue);
  border-radius: var(--radius-l);
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 65%);
}
.stat-card .sc-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.stat-card .sc b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-card .sc span { font-size: 13.5px; color: rgba(255,255,255,0.8); margin-top: 6px; display: block; }
.stat-card .sc-red { color: #FFB3B6; }

/* ════════════════════════════════════════════
   REFERENZPRODUKTE (lower)
   ════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr; } }

.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 28px 0;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
html[data-theme="dark"] .product { background: var(--bg-soft); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: var(--line-strong); }

.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.product-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted); letter-spacing: 0.06em; }
.product-cat {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--blue);
  letter-spacing: 0.04em; padding: 4px 10px; border: 1px solid var(--blue-tint);
  background: var(--blue-tint); border-radius: 99px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 600; letter-spacing: -0.024em; line-height: 1.05;
  margin-bottom: 6px; color: var(--ink);
}
.product-name .accent { color: var(--red); }
.product-tag { color: var(--ink); font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.product-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-bottom: 22px; max-width: 34ch; }
.product-feat { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.product-feat li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.product-feat li::before {
  content: "";
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-tint);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.3L12 5' fill='none' stroke='%231F4E78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-art {
  margin: auto -28px 0;
  height: 150px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

/* TempConnect — node graph */
.art-tc { position: absolute; inset: 0; }
.art-tc svg { width: 100%; height: 100%; }
/* TempTime — clock */
.art-tt { position: absolute; inset: 0; display: grid; place-items: center; }
/* TempOffice — kanban */
.art-to { position: absolute; inset: 22px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.art-to .col { background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 7px; display: flex; flex-direction: column; gap: 5px; }
.art-to .col-h { font-family: var(--font-mono); font-size: 8px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.art-to .card { height: 13px; border-radius: 3px; background: var(--bg-soft-2); }
.art-to .card.hot { background: linear-gradient(90deg, var(--blue-mid), var(--blue)); }
/* Raumplaner Schweiz — Parzelle & Bauzone */
.art-rp { position: absolute; inset: 0; display: grid; place-items: center; }
.art-rp svg { width: 205px; height: auto; }

/* ════════════════════════════════════════════
   KONTAKT
   ════════════════════════════════════════════ */
.contact-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  overflow: hidden;
}
html[data-theme="dark"] .contact-card { background: var(--bg-soft); }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; gap: 36px; } }

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600; letter-spacing: -0.028em; line-height: 1.06;
  color: var(--ink); margin: 14px 0 18px; text-wrap: balance;
}
.contact-left > p { color: var(--ink-soft); font-size: 16px; max-width: 46ch; margin-bottom: 28px; }

.addr-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-soft);
  margin-bottom: 16px;
}
@media (max-width: 560px) { .addr-card { grid-template-columns: 1fr; } .addr-card .addr-map { height: 160px; } }
.addr-info { display: flex; flex-direction: column; gap: 12px; }
.addr-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.addr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.addr-block { font-style: normal; display: flex; flex-direction: column; gap: 2px; }
.addr-block .addr-street { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.addr-block .addr-city { font-size: 15px; color: var(--ink); font-weight: 500; }
.addr-block .addr-region { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted); margin-top: 3px; }
.addr-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--blue); font-weight: 600; margin-top: auto; width: max-content; }
.addr-link .arrow { transition: transform 0.2s var(--ease); }
.addr-link:hover .arrow { transform: translate(2px,-2px); }
.addr-map { position: relative; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.addr-map svg { width: 100%; height: 100%; display: block; }

.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
@media (max-width: 560px) { .phone-grid { grid-template-columns: 1fr; } }
.phone-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.phone-card:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-card); }
.phone-card-support {
  background: var(--red-tint);
  border-color: color-mix(in oklab, var(--red) 28%, var(--line));
}
.phone-card-support:hover { border-color: var(--red); }
.phone-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft);
  width: max-content;
}
.phone-pill-glow { color: var(--red-deep); border-color: color-mix(in oklab, var(--red) 35%, transparent); background: #fff; }
html[data-theme="dark"] .phone-pill-glow { background: rgba(216,35,42,0.1); color: #FFB3B6; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 2.2s var(--ease-io) infinite; }
.pulse-dot-sm { width: 5px; height: 5px; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.8); } }
.phone-num { font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 27px); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.phone-card-support .phone-num { color: var(--red-deep); }
html[data-theme="dark"] .phone-card-support .phone-num { color: #FFB3B6; }
.phone-sub { font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; text-wrap: pretty; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: 14px; }
.contact-list .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.05em; text-transform: uppercase; width: 80px; flex-shrink: 0; }
.contact-list .val { color: var(--ink); }
.contact-list a.val:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
html[data-theme="dark"] .field input, html[data-theme="dark"] .field textarea { background: var(--bg); }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field textarea { min-height: 110px; resize: vertical; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.submit-row .note { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 600; font-size: 14.5px;
  box-shadow: 0 12px 24px -12px rgba(31,78,120,0.7);
  transition: transform 0.2s, background 0.2s;
}
.btn-submit:hover { transform: translateY(-2px); background: var(--blue-deep); }
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-ok {
  display: none;
  padding: 13px 16px; border-radius: 10px;
  background: var(--blue-tint); border: 1px solid var(--blue);
  color: var(--blue); font-size: 13.5px; font-family: var(--font-mono);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer.footer {
  padding: 64px 0 36px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col-brand { grid-column: 1 / -1; } }

.footer-logo-plate {
  display: inline-flex;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  width: max-content; max-width: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.footer-logo-plate:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.footer-logo-plate img { display: block; width: 230px; height: auto; }

.footer-tag { color: var(--ink-soft); font-size: 14px; margin-top: 16px; max-width: 34ch; line-height: 1.6; }

.footer-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 380px; }
.footer-contact-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.footer-contact-lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.footer-contact-val { font-size: 14px; color: var(--ink-soft); font-style: normal; line-height: 1.6; font-variant-numeric: tabular-nums; transition: color 0.2s; }
a.footer-contact-val:hover { color: var(--blue); }
.footer-contact-accent { display: inline-flex; align-items: center; gap: 8px; color: var(--red-deep); font-weight: 600; }
html[data-theme="dark"] .footer-contact-accent { color: #FFB3B6; }

.footer-col h5 { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted);
  letter-spacing: 0.03em; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .swiss { display: inline-flex; align-items: center; gap: 8px; }

/* Footer legal links */
.footer-legal { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal a, .footer-legal .cookie-reopen {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-legal a:hover, .footer-legal .cookie-reopen:hover { color: var(--blue); }
.footer-legal .cookie-reopen { background: none; border: 0; cursor: pointer; padding: 0; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 300;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  padding: 22px 24px;
  display: none;
}
.cookie-banner.show { display: block; animation: cookieIn 0.4s var(--ease) both; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.cookie-banner h4 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.018em;
  color: var(--ink); margin-bottom: 8px;
}
.cookie-banner p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.cookie-banner p a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cookie-actions button {
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.cookie-actions .cookie-accept { background: var(--blue); color: #fff; }
.cookie-actions .cookie-accept:hover { transform: translateY(-1px); background: var(--blue-deep); }
.cookie-actions .cookie-decline { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); }
.cookie-actions .cookie-decline:hover { border-color: var(--blue); background: var(--bg-soft); }
@media (max-width: 480px) { .cookie-actions button { flex: 1; } }
.swiss-cross { display: inline-grid; width: 14px; height: 14px; place-items: center; background: var(--red); border-radius: 2px; position: relative; }
.swiss-cross::before, .swiss-cross::after { content: ""; position: absolute; background: #fff; }
.swiss-cross::before { width: 8px; height: 2px; }
.swiss-cross::after { width: 2px; height: 8px; }

/* ════════════════════════════════════════════
   Reveal animations
   ════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.20s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.28s; }

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