/* ==========================================================================
   SWISS MARKETER — Design System
   Swiss Editorial / Hell & Präzise
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Design Tokens --- */
:root {
  /* Palette — Swiss Editorial */
  --paper: #FAFAF7;
  --paper-2: #F3F3EE;
  --paper-3: #E8E8E2;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --ink-3: #4A4A48;
  --ink-4: #8A8A86;
  --line: #D9D9D3;
  --line-2: #C5C5BF;
  --swiss-red: #DC0018;
  --swiss-red-dark: #B30014;
  --accent: #0A0A0A;
  --success: #0F7A4A;
  --warn: #B86A00;

  /* Type — Plus Jakarta Sans als primäre Schrift */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing — 8px baseline */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 160px; --s-12: 192px;

  /* Container */
  --container: 1320px;
  --gutter: 32px;

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 800ms;
}

/* --- Base typography --- */
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11", "calt";
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: -0.01em; }

/* Display sizes — fluid */
.display-xl { font-size: clamp(56px, 11vw, 180px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.92; }
.display-lg { font-size: clamp(44px, 7vw, 104px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.96; }
.display-md { font-size: clamp(36px, 5vw, 72px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; }
.display-sm { font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.headline   { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.lead       { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--ink-2); font-weight: 400; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px; background: var(--ink);
  display: inline-block;
}

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); }

/* ==========================================================================
   Top bar — running ticker
   ========================================================================== */
.top-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker__item { padding: 0 var(--s-6); display: inline-flex; align-items: center; gap: 8px; }
.ticker__item::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--swiss-red);
  margin-left: var(--s-6);
}
.ticker__item:last-child::after { display: none; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--s-6);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  background: var(--swiss-red);
  position: relative;
  display: inline-block;
}
.nav__logo-mark::before, .nav__logo-mark::after {
  content: ''; position: absolute; background: white;
}
.nav__logo-mark::before { left: 50%; top: 22%; bottom: 22%; width: 14%; transform: translateX(-50%); }
.nav__logo-mark::after  { top: 50%; left: 22%; right: 22%; height: 14%; transform: translateY(-50%); }

.nav__links { display: flex; gap: 2px; align-items: center; }
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  position: relative;
}
.nav__link:hover { background: var(--paper-3); color: var(--ink); }
.nav__link--active { background: var(--ink); color: var(--paper); }
.nav__link--active:hover { background: var(--ink); color: var(--paper); }
.nav__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__cta:hover { background: var(--swiss-red); transform: translateY(-1px); }

.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 12px; }
  .nav__burger {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .nav__burger span {
    width: 18px; height: 1.5px; background: var(--ink); position: relative;
  }
  .nav__burger span::before, .nav__burger span::after {
    content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  }
  .nav__burger span::before { top: -6px; }
  .nav__burger span::after  { top: 6px; }
}

.mobile-menu {
  position: fixed; inset: 0; background: var(--paper); z-index: 200;
  display: none; flex-direction: column; padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu__close { align-self: flex-end; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: 32px; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--swiss-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 0, 24, 0.25);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--red {
  background: var(--swiss-red);
  color: white;
}
.btn--red:hover { background: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 20px 30px; font-size: 16px; }
.btn__arrow {
  width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: var(--s-10) 0 var(--s-9);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: end;
}
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); } }

.hero__headline { font-size: clamp(48px, 9vw, 152px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; }
.hero__headline .red { color: var(--swiss-red); }
.hero__headline .serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.hero__headline .word-anim {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero__headline .word-anim > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 1s var(--ease-out) forwards;
}
@keyframes wordUp { to { transform: translateY(0); } }

.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 44ch;
  margin-top: var(--s-5);
}
.hero__ctas { display: flex; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
.hero__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
}
.metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.metric__label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.metric__value { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.025em; }
.metric__value .red { color: var(--swiss-red); }
.metric__delta { font-family: var(--font-mono); font-size: 12px; color: var(--success); }

/* ==========================================================================
   Marquee / Brand row
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
  overflow: hidden;
  background: var(--paper);
}
.marquee__inner {
  display: flex; gap: var(--s-9);
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: var(--s-5);
}
.marquee__item .dot { width: 8px; height: 8px; background: var(--swiss-red); display: inline-block; }
.marquee__item .serif { color: var(--ink); }

/* ==========================================================================
   Sections / generic
   ========================================================================== */
.section { padding: var(--s-10) 0; position: relative; }
.section--tight { padding: var(--s-9) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: var(--paper-3); }
.section--dark .eyebrow::before { background: var(--paper); }
.section__header { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-8); align-items: end; }
@media (max-width: 800px) { .section__header { grid-template-columns: 1fr; } }
.section__title { font-size: clamp(36px, 5vw, 80px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; }
.section__desc { color: var(--ink-2); max-width: 48ch; font-size: 17px; }

/* Section number badge */
.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.section-num::before {
  content: ''; width: 32px; height: 1px; background: var(--ink);
}

/* ==========================================================================
   Live Dashboard
   ========================================================================== */
.dashboard {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}
.dashboard::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(220, 0, 24, 0.18), transparent 50%);
  pointer-events: none;
}
.dashboard__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--s-5);
  position: relative;
}
.dashboard__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.dashboard__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #00C875; box-shadow: 0 0 0 0 rgba(0, 200, 117, 0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 117, 0.6) }
  70% { box-shadow: 0 0 0 10px rgba(0, 200, 117, 0) }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 117, 0) }
}

.dashboard__metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3);
  position: relative;
}
@media (max-width: 800px) { .dashboard__metrics { grid-template-columns: repeat(2, 1fr); } }

.kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: var(--s-4);
}
.kpi__label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.kpi__value { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.025em; }
.kpi__delta { font-family: var(--font-mono); font-size: 11px; margin-top: 4px; }
.kpi__delta.up { color: #00C875; }
.kpi__delta.down { color: #FF5C5C; }

.dashboard__chart {
  height: 200px; margin-top: var(--s-5);
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-4);
}
.dashboard__chart svg { width: 100%; height: 100%; }
.dashboard__chart .line { fill: none; stroke: var(--swiss-red); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dashboard__chart .area { fill: url(#chartGrad); opacity: 0.6; }

.dashboard__feed {
  margin-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-4);
  max-height: 200px;
  overflow: hidden;
  position: relative;
}
.dashboard__feed::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.feed-item {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(8px);
  animation: feedIn 0.5s var(--ease-out) forwards;
}
.feed-item .time { color: rgba(255,255,255,0.4); width: 60px; }
.feed-item .badge {
  font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--swiss-red); color: white;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.feed-item .badge.info { background: #2A82E0; }
.feed-item .badge.success { background: #00C875; color: black; }
@keyframes feedIn { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   ROI Rechner
   ========================================================================== */
.roi {
  background: var(--paper-2);
  border-radius: 28px;
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; padding: var(--s-5); } }

.roi__controls { display: flex; flex-direction: column; gap: var(--s-5); }
.roi__row { display: flex; flex-direction: column; gap: 8px; }
.roi__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase;
}
.roi__label strong {
  font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; text-transform: none;
}
.roi__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.roi__chip {
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.roi__chip:hover { border-color: var(--ink); }
.roi__chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.roi__slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--line);
  border-radius: 4px;
  outline: none;
}
.roi__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.roi__slider::-webkit-slider-thumb:hover { transform: scale(1.15); background: var(--swiss-red); }
.roi__slider::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--ink); border-radius: 50%; border: none; cursor: pointer;
}

.roi__result {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  position: relative;
  overflow: hidden;
}
.roi__result::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(220, 0, 24, 0.2), transparent 60%);
}
.roi__result-row { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s-3) 0; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; }
.roi__result-row:last-of-type { border-bottom: none; }
.roi__result-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.roi__result-value { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.roi__result-big { font-size: clamp(48px, 7vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.roi__result-big .red { color: var(--swiss-red); }
.roi__result-cta { margin-top: auto; }

/* ==========================================================================
   Branchen Konfigurator
   ========================================================================== */
.config {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: var(--s-6);
  align-items: start;
}
@media (max-width: 900px) { .config { grid-template-columns: 1fr; } }

.config__tabs { display: flex; flex-direction: column; gap: 4px; }
.config__tab {
  text-align: left;
  padding: var(--s-4) var(--s-5);
  border-radius: 14px;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--dur-fast) var(--ease);
  border: 1px solid transparent;
}
.config__tab:hover { background: var(--paper-2); }
.config__tab.active {
  background: var(--ink);
  color: var(--paper);
}
.config__tab svg { width: 20px; height: 20px; flex-shrink: 0; }
.config__tab .arrow { opacity: 0; transform: translateX(-8px); transition: all var(--dur-fast) var(--ease); }
.config__tab.active .arrow { opacity: 1; transform: translateX(0); }

.config__panel {
  background: var(--paper-2);
  border-radius: 24px;
  padding: var(--s-7);
  min-height: 520px;
  display: none;
  animation: fadeUp 0.5s var(--ease-out);
}
.config__panel.active { display: block; }
.config__panel-title { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -0.025em; margin-bottom: var(--s-3); }
.config__panel-sub { font-size: 17px; color: var(--ink-2); margin-bottom: var(--s-5); max-width: 50ch; }
.config__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
  margin-bottom: var(--s-5);
}
@media (max-width: 700px) { .config__stats { grid-template-columns: 1fr 1fr; } }
.config__stat { background: var(--paper); border-radius: 14px; padding: var(--s-4); }
.config__stat-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.025em; color: var(--swiss-red); }
.config__stat-label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.config__bullets { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-5); }
.config__bullet { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.config__bullet::before {
  content: ''; display: inline-block; width: 10px; height: 10px; background: var(--swiss-red);
  flex-shrink: 0; margin-top: 7px;
}
.config__case {
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink-2);
}
.config__case::before { content: '„'; font-size: 32px; color: var(--swiss-red); margin-right: 4px; }
.config__case::after  { content: '"'; }
.config__case-author { display: block; margin-top: 8px; font-family: var(--font-sans); font-style: normal; font-size: 13px; color: var(--ink-3); }

/* ==========================================================================
   Services / Cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-2);
  border-radius: 20px;
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card:hover { transform: translateY(-4px); background: var(--ink); color: var(--paper); }
.card:hover .card__num { color: var(--swiss-red); }
.card:hover .card__title { color: var(--paper); }
.card:hover .card__icon { background: var(--swiss-red); color: white; }
.card__num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-bottom: var(--s-3); transition: color var(--dur) var(--ease); }
.card__icon {
  width: 48px; height: 48px; background: var(--ink); color: var(--paper);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
  transition: background var(--dur) var(--ease);
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: var(--s-3); transition: color var(--dur) var(--ease); }
.card__desc { font-size: 15px; color: inherit; opacity: 0.85; }
.card__link { margin-top: var(--s-5); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-5); border-top: 2px solid var(--ink); position: relative; }
.step__num { font-family: var(--font-mono); font-size: 12px; color: var(--swiss-red); letter-spacing: 0.04em; }
.step__title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step__desc { font-size: 15px; color: var(--ink-2); }
.step__dur { display: inline-block; margin-top: auto; font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; background: var(--paper-2); border-radius: 4px; color: var(--ink-3); align-self: flex-start; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  columns: 3;
  column-gap: var(--s-4);
}
@media (max-width: 1000px) { .testimonial-grid { columns: 2; } }
@media (max-width: 700px) { .testimonial-grid { columns: 1; } }

.testimonial {
  break-inside: avoid;
  background: var(--paper-2);
  border-radius: 18px;
  padding: var(--s-5);
  margin-bottom: var(--s-4);
}
.testimonial__quote { font-family: var(--font-serif); font-size: 22px; line-height: 1.35; color: var(--ink); }
.testimonial__quote::before { content: '„'; color: var(--swiss-red); }
.testimonial__quote::after { content: '"'; }
.testimonial__meta { display: flex; gap: 12px; align-items: center; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  flex-shrink: 0;
}
.testimonial__name { font-size: 14px; font-weight: 500; }
.testimonial__role { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }
.testimonial__metric {
  display: inline-block; margin-top: var(--s-3); padding: 4px 10px;
  background: var(--swiss-red); color: white;
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: var(--s-6);
  display: flex; flex-direction: column;
  background: var(--paper);
}
.plan--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; transform: translateY(-12px); }
.plan--feature::before {
  content: 'BELIEBT';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--swiss-red); color: white;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 999px;
}
.plan__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.plan__price { font-family: var(--font-display); font-size: 56px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: var(--s-4) 0 4px; }
.plan__price small { font-family: var(--font-sans); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan__desc { font-size: 14px; opacity: 0.7; margin-bottom: var(--s-5); }
.plan__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s-5); }
.plan__feature { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.plan__feature::before { content: '✓'; color: var(--swiss-red); font-weight: 700; }
.plan--feature .plan__feature::before { color: var(--swiss-red); }
.plan__cta { margin-top: auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--ink); }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--s-5) 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: color var(--dur-fast) var(--ease);
}
.faq__q:hover { color: var(--swiss-red); }
.faq__icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; flex-shrink: 0; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); font-family: var(--font-mono); font-size: 14px; }
.faq.open .faq__icon { transform: rotate(45deg); background: var(--swiss-red); border-color: var(--swiss-red); color: white; }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq.open .faq__a { max-height: 400px; }
.faq__a-inner { padding-bottom: var(--s-5); font-size: 16px; color: var(--ink-2); max-width: 72ch; line-height: 1.55; }

/* ==========================================================================
   Multi-Step Form
   ========================================================================== */
.form-wrap {
  background: var(--paper-2);
  border-radius: 28px;
  padding: var(--s-7);
}
@media (max-width: 700px) { .form-wrap { padding: var(--s-5); } }

.form__progress { display: flex; gap: 8px; margin-bottom: var(--s-6); }
.form__progress-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; position: relative; }
.form__progress-bar::after {
  content: ''; position: absolute; inset: 0; background: var(--swiss-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.form__progress-bar.done::after { transform: scaleX(1); }
.form__step { display: none; animation: fadeUp 0.5s var(--ease-out); }
.form__step.active { display: block; }
.form__step-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.form__step-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.025em; margin-top: 8px; margin-bottom: var(--s-5); line-height: 1.05; }

.form__options { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (max-width: 600px) { .form__options { grid-template-columns: 1fr; } }
.form__option {
  text-align: left;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  position: relative;
}
.form__option:hover { border-color: var(--ink); }
.form__option.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form__option-sub { display: block; font-size: 12px; font-weight: 400; opacity: 0.7; margin-top: 4px; font-family: var(--font-mono); }

.form__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s-4); }
.form__field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.form__field input,
.form__field textarea,
.form__field select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 16px;
  font-family: var(--font-sans);
  transition: border-color var(--dur-fast) var(--ease);
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--ink);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 600px) { .form__grid-2 { grid-template-columns: 1fr; } }

.form__nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); }
.form__success { text-align: center; padding: var(--s-7) 0; display: none; }
.form__success.active { display: block; }
.form__success-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--swiss-red); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 40px; margin-bottom: var(--s-4);
  animation: pop 0.5s var(--ease-out);
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0 var(--s-5);
  margin-top: var(--s-10);
  position: relative;
  overflow: hidden;
}
.footer__big {
  font-family: var(--font-display);
  font-size: clamp(64px, 13vw, 220px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin-bottom: var(--s-7);
  position: relative;
  pointer-events: none;
}
.footer__big .red { color: var(--swiss-red); }
.footer__big .serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: var(--s-4); }
.footer__col a { display: block; padding: 6px 0; font-size: 15px; color: var(--paper); transition: color var(--dur-fast) var(--ease); }
.footer__col a:hover { color: var(--swiss-red); }
.footer__bot { display: flex; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-6); margin-top: var(--s-6); border-top: 1px solid rgba(255,255,255,0.1); font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); flex-wrap: wrap; }

/* ==========================================================================
   Floating widgets
   ========================================================================== */
.float-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  position: relative;
}
.float-btn:hover { transform: scale(1.08); background: var(--swiss-red); }
.float-btn svg { width: 22px; height: 22px; }
.float-btn--wa { background: #25D366; color: white; }
.float-btn--wa:hover { background: #1ebe5a; }
.float-btn__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  animation: pulseRing 2s var(--ease-out) infinite;
  background: var(--swiss-red);
  opacity: 0;
}
@keyframes pulseRing { 0% { opacity: 0.4; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.6); } }

/* ==========================================================================
   Utility animations
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Branchen Page Header
   ========================================================================== */
.branch-hero {
  padding: var(--s-9) 0 var(--s-8);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.branch-hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: end; }
@media (max-width: 900px) { .branch-hero__inner { grid-template-columns: 1fr; } }
.branch-hero h1 { font-size: clamp(40px, 7vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; }
.branch-hero h1 .red { color: var(--swiss-red); }
.branch-hero .badge {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: var(--s-4);
}
.branch-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: var(--s-5);
}
.branch-stats .bs-value { font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -0.025em; color: var(--swiss-red); }
.branch-stats .bs-label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-4); border-top: 2px solid var(--ink); transition: transform var(--dur) var(--ease); }
.blog-card:hover { transform: translateY(-4px); }
.blog-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; display: flex; gap: 12px; }
.blog-card__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.blog-card__excerpt { font-size: 15px; color: var(--ink-2); }
.blog-card__cat { display: inline-block; padding: 2px 8px; background: var(--swiss-red); color: white; font-size: 11px; border-radius: 4px; }

/* Case Study */
.case-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: center;
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .case-row { grid-template-columns: 1fr; } }
.case-row__num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.case-row__title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; margin: var(--s-3) 0; }
.case-row__sub { font-size: 17px; color: var(--ink-2); margin-bottom: var(--s-4); }
.case-row__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.case-row__stat { padding: var(--s-3) 0; border-top: 2px solid var(--swiss-red); }
.case-row__stat-v { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.025em; }
.case-row__stat-l { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); text-transform: uppercase; }
.case-row__visual {
  border-radius: 20px; aspect-ratio: 4/3;
  background: var(--ink);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
}
.case-row__visual--alt { background: var(--swiss-red); }
.case-row__visual--paper { background: var(--paper-2); color: var(--ink); }
.case-row__visual h3 { font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; text-align: center; padding: 0 24px; }

/* Anchor offset */
section[id] { scroll-margin-top: 100px; }

/* Selection */
::selection { background: var(--swiss-red); color: white; }

/* Focus */
:focus-visible { outline: 2px solid var(--swiss-red); outline-offset: 4px; border-radius: 6px; }


/* ============================================================================
   REFINEMENT LAYER — High-End Premium Touches & 100% Responsive
   ============================================================================ */

/* ---------- Refined Container & spacing ---------- */
:root {
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(64px, 10vw, 160px);
  --section-pad-sm: clamp(48px, 7vw, 112px);
}
.container, .container-wide { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section--tight { padding: var(--section-pad-sm) 0; }

/* ---------- Fluid Typography (refined) ---------- */
.display-xl { font-size: clamp(48px, 12vw, 184px); line-height: 0.88; letter-spacing: -0.045em; }
.display-lg { font-size: clamp(40px, 8vw, 112px); line-height: 0.92; }
.display-md { font-size: clamp(32px, 5.5vw, 76px); line-height: 1.0; }

.hero__headline {
  font-size: clamp(40px, 10.5vw, 168px);
  letter-spacing: -0.045em;
  line-height: 0.88;
}
.section__title { font-size: clamp(32px, 6vw, 88px); letter-spacing: -0.04em; line-height: 0.96; }
.section__desc { font-size: clamp(15px, 1.2vw, 18px); }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.hero__sub { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; }


/* (Cursor, intro, scroll-progress — entfernt, da der native Cursor wichtiger ist als Spielerei.) */


/* ---------- Refined Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  letter-spacing: -0.005em;
  min-height: 48px;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--swiss-red);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.btn--primary:hover { background: var(--ink); box-shadow: 0 12px 32px rgba(220, 0, 24, 0.3); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary { transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease); }
.btn--ghost { transition: all 0.3s var(--ease); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn--red::before { background: var(--ink); }
.btn--red:hover { color: var(--paper); }
.btn--red:hover::before { transform: translateY(0); }


/* ---------- Refined Nav ---------- */
.nav__link {
  position: relative;
  overflow: visible;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:not(.nav__link--active):hover::after { transform: scaleX(1); }
.nav__link--active::after { display: none; }

.nav { transition: padding 0.3s var(--ease), background 0.3s var(--ease); }
.nav.is-shrunk .nav__inner { height: 60px; }
.nav.is-shrunk { box-shadow: 0 4px 24px rgba(0,0,0,0.05); }


/* ---------- Refined Hero ---------- */
.hero {
  padding-top: clamp(48px, 8vw, 120px);
  padding-bottom: clamp(48px, 7vw, 96px);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: clamp(200px, 30vw, 480px);
  height: clamp(200px, 30vw, 480px);
  background: radial-gradient(circle, rgba(220, 0, 24, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero__metrics { gap: var(--s-3); }
.metric {
  transition: transform 0.3s var(--ease);
}
.metric:hover { transform: translateX(4px); }
.metric:hover .metric__value { color: var(--swiss-red); }
.metric__value { transition: color 0.3s var(--ease); }


/* ---------- Refined Marquee ---------- */
.marquee {
  padding: clamp(16px, 2vw, 28px) 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--paper), transparent); }


/* ---------- Refined Cards ---------- */
.card {
  position: relative;
  transition: transform 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
.card__link {
  position: relative;
  overflow: hidden;
}
.card__link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.card:hover .card__link::after { transform: translateX(4px); }


/* ---------- Refined Live Dashboard ---------- */
.dashboard {
  padding: clamp(20px, 3vw, 40px);
  border-radius: clamp(16px, 2vw, 28px);
}
.dashboard::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 30%, rgba(220, 0, 24, 0.3) 50%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
}
.dashboard { position: relative; }
.kpi { transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.kpi:hover { background: rgba(255,255,255,0.06); border-color: rgba(220, 0, 24, 0.3); }
.kpi__value { font-size: clamp(22px, 3vw, 36px); line-height: 1.05; }


/* ---------- Refined ROI ---------- */
.roi { padding: clamp(28px, 4vw, 56px); border-radius: clamp(20px, 2.5vw, 32px); }
.roi__result {
  padding: clamp(28px, 4vw, 48px);
  border-radius: clamp(16px, 2vw, 24px);
}
.roi__slider {
  height: 6px;
  background: var(--line);
  position: relative;
}
.roi__slider::-webkit-slider-thumb { width: 26px; height: 26px; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.roi__slider::-webkit-slider-thumb:hover { box-shadow: 0 4px 20px rgba(220, 0, 24, 0.4); }
.roi__chip { padding: 10px 18px; font-size: 14px; }
.roi__result-big {
  font-size: clamp(40px, 8vw, 88px);
}


/* ---------- Refined Konfigurator ---------- */
.config__panel { padding: clamp(24px, 4vw, 56px); border-radius: clamp(16px, 2.5vw, 28px); min-height: clamp(420px, 50vh, 560px); }
.config__tab { padding: clamp(14px, 1.8vw, 22px) clamp(18px, 2vw, 26px); font-size: clamp(15px, 1.2vw, 18px); }


/* ---------- Refined Testimonials ---------- */
.testimonial {
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: clamp(14px, 1.5vw, 20px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.testimonial:hover { background: var(--paper-3); transform: translateY(-2px); }
.testimonial__quote { font-size: clamp(18px, 1.6vw, 22px); }


/* ---------- Refined Pricing ---------- */
@media (max-width: 900px) {
  .plan--feature { transform: none; }
  .plan--feature::before { top: -10px; }
}


/* ---------- Refined FAQ ---------- */
.faq__q { padding: clamp(20px, 2.5vw, 32px) 0; font-size: clamp(18px, 2vw, 26px); }
.faq__a-inner { padding-bottom: clamp(20px, 2.5vw, 32px); font-size: clamp(15px, 1.2vw, 17px); }


/* ---------- Refined Footer ---------- */
.footer {
  padding: clamp(64px, 9vw, 144px) 0 clamp(20px, 3vw, 40px);
  margin-top: clamp(64px, 10vw, 160px);
}
.footer__big {
  font-size: clamp(48px, 14vw, 240px);
  margin-bottom: clamp(32px, 6vw, 80px);
}
.footer__col h4 { margin-bottom: var(--s-4); }
.footer__col a { font-size: clamp(14px, 1.1vw, 15px); padding: 5px 0; }


/* ============================================================================
   100% RESPONSIVE — Comprehensive Breakpoints
   ============================================================================ */

/* Tablet landscape & smaller (1100px) */
@media (max-width: 1100px) {
  .nav__link { padding: 8px 10px; font-size: 13px; }
  .nav__cta { padding: 11px 16px; font-size: 13px; }
}

/* Tablet (900px) */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__metrics { padding-top: var(--s-4); }
  .config { grid-template-columns: 1fr; }
  .config__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; overflow-x: auto; }
  .config__tab { font-size: 13px; padding: 12px 14px; }
  .config__tab .arrow { display: none; }
}

/* Tablet portrait (768px) */
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section__header { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero__metrics { grid-template-columns: 1fr; }
  .metric { padding: 14px 0; }
  .metric__value { font-size: clamp(28px, 8vw, 44px); }
  .dashboard__metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .roi { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-5); }
  .config__tabs { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan--feature { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .top-bar { font-size: 11px; padding: 8px 0; }
  .ticker__item { padding: 0 var(--s-4); }
  .nav__inner { height: 64px; }
  .nav__logo { font-size: 16px; }
  .nav__logo-mark { width: 24px; height: 24px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: auto; padding: var(--s-5); }
  .testimonial-grid { columns: 1; }
  .branch-hero__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .branch-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .branch-stats .bs-value { font-size: clamp(22px, 6vw, 36px); }
  .case-row { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5) 0; }
  .case-row__visual { aspect-ratio: 16/10; order: -1; }
  .case-row__visual h3 { font-size: clamp(20px, 5vw, 32px); padding: 0 16px; }
  .case-row__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .case-row__stat-v { font-size: clamp(22px, 6vw, 32px); }
  .blog-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .form-wrap { padding: var(--s-5); }
  .form__options { grid-template-columns: 1fr; }
  .form__grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}

/* Phone landscape / large phone (600px) */
@media (max-width: 600px) {
  :root { --gutter: 16px; --section-pad: 56px; --section-pad-sm: 40px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .dashboard__metrics { grid-template-columns: 1fr 1fr; }
  .config__tabs { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer__bot { flex-direction: column; gap: 8px; }
  .branch-stats { grid-template-columns: 1fr; gap: var(--s-3); }
  .case-row__stats { grid-template-columns: 1fr; gap: var(--s-2); }
  .blog-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testimonial-grid { columns: 1; column-gap: 0; }
  .section--dark > .container > div:last-child { grid-template-columns: 1fr !important; }
  .nav__link { display: none; }
  .float-actions { right: 16px; bottom: 16px; }
  .float-btn { width: 52px; height: 52px; }
  .roi__chips { gap: 4px; }
  .roi__chip { padding: 8px 12px; font-size: 12px; }
  .marquee__item { font-size: clamp(24px, 8vw, 34px); gap: var(--s-4); }
}

/* Small phone (400px) */
@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .nav__inner { height: 58px; gap: 8px; }
  .nav__logo span:last-child { font-size: 14px; letter-spacing: -0.03em; }
  .nav__cta { padding: 10px 14px; font-size: 12px; }
  .hero__headline { font-size: clamp(36px, 13vw, 56px); }
  .section__title { font-size: clamp(28px, 9vw, 44px); }
  .display-md { font-size: clamp(28px, 9vw, 44px); }
  .roi__result-big { font-size: clamp(32px, 10vw, 56px); }
  .footer__big { font-size: clamp(40px, 16vw, 80px); letter-spacing: -0.04em; }
  .form__step-title { font-size: clamp(22px, 7vw, 32px); }
  .top-bar { padding: 6px 0; font-size: 10px; }
}

/* Very small (340px) */
@media (max-width: 340px) {
  :root { --gutter: 12px; }
  .nav__logo span:last-child { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 10px; }
  .top-bar { display: none; }
}


/* ============================================================================
   Refined Animations & Micro-Interactions
   ============================================================================ */

/* Reveal stagger */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* Pulse for important elements */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 0, 24, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(220, 0, 24, 0); }
}
.pulse { animation: softPulse 2.5s var(--ease-out) infinite; }

/* Subtle parallax helper */
.parallax {
  will-change: transform;
  transition: transform 0.6s var(--ease);
}

/* Animated divider */
.divider {
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.divider::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 30%; height: 100%;
  background: var(--swiss-red);
  animation: dividerSlide 4s var(--ease-out) infinite;
}
@keyframes dividerSlide { from { left: -30%; } to { left: 100%; } }


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .intro { animation-delay: 0s; animation-duration: 0.1s; }
  .cursor { display: none !important; }
  body { cursor: auto !important; }
  body * { cursor: auto !important; }
}


/* ---------- Print Styles ---------- */
@media print {
  .nav, .top-bar, .footer, .float-actions, .cursor, .scroll-progress { display: none !important; }
  body { color: black; background: white; }
}


/* (Page transitions entfernt.) */


/* ---------- Hero text reveal masks ---------- */
.text-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}
.text-reveal > .text-reveal__inner {
  display: inline-block;
  transform: translateY(110%);
  animation: textRevealUp 1s var(--ease-out) forwards;
}
@keyframes textRevealUp { to { transform: translateY(0); } }


/* ---------- Hover image / link reveals ---------- */
a[data-reveal] {
  position: relative;
  display: inline-block;
}
a[data-reveal]::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
a[data-reveal]:hover::after { transform: scaleX(1); transform-origin: left; }


/* (Filmkorn entfernt.) */
.section--dark { position: relative; }


/* ---------- Better mobile menu ---------- */
.mobile-menu {
  background: var(--paper);
  flex-direction: column;
  padding: clamp(20px, 5vw, 40px);
  gap: var(--s-5);
  transform: translateX(100%);
  display: flex;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu__close {
  align-self: flex-end;
  padding: 12px 18px !important;
  font-size: 14px !important;
  min-height: 44px;
}
.mobile-menu nav { margin-top: var(--s-5); }
.mobile-menu nav a {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 600;
  padding: 14px 0;
  position: relative;
  display: block;
}
.mobile-menu nav a::after {
  content: '→';
  float: right;
  color: var(--swiss-red);
  opacity: 0;
  transition: all 0.3s var(--ease);
  transform: translateX(-10px);
}
.mobile-menu nav a:hover::after,
.mobile-menu nav a:active::after { opacity: 1; transform: translateX(0); }
.mobile-menu__footer {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}


/* ---------- Card numbers refined ---------- */
.card__num {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}


/* ---------- Section dividers ---------- */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}


/* ---------- High contrast focus ---------- */
:focus-visible {
  outline: 2px solid var(--swiss-red);
  outline-offset: 6px;
  border-radius: 8px;
}


/* ---------- Tap target sizing on mobile ---------- */
@media (max-width: 768px) {
  a, button, input, select, textarea {
    min-height: 44px;
  }
  .roi__chip, .form__option, .config__tab, .faq__q { min-height: 48px; }
}


/* ---------- Smooth scrolling padding for sticky nav ---------- */
html { scroll-padding-top: 100px; }


/* ---------- Refined select & input ---------- */
.form__field input,
.form__field textarea,
.form__field select {
  background: var(--paper);
  border-width: 1.5px;
  font-size: 16px; /* Prevent iOS zoom */
}


/* ---------- Refined ticker speed ---------- */
.marquee__inner { animation-duration: 50s; }
.ticker { animation-duration: 50s; }


/* ---------- Live dot in dashboard refined ---------- */
.dashboard__title {
  font-feature-settings: "tnum";
}


/* ---------- Hero metric improvements ---------- */
.metric__value { font-variant-numeric: tabular-nums; }
.kpi__value { font-variant-numeric: tabular-nums; }
.metric__delta { font-feature-settings: "tnum"; }


/* ---------- Container max for very large screens ---------- */
@media (min-width: 1600px) {
  :root { --container: 1440px; }
  .hero__headline { font-size: clamp(80px, 9vw, 180px); }
}


/* ---------- Better link hovers globally ---------- */
.card__link, .blog-card__title {
  transition: color 0.3s var(--ease);
}
.blog-card:hover .blog-card__title { color: var(--swiss-red); }
.blog-card { transition: transform 0.4s var(--ease); }
.blog-card:hover { transform: translateY(-2px); }
.blog-card__cat { transition: transform 0.3s var(--ease); }
.blog-card:hover .blog-card__cat { transform: scale(1.05); }


/* ---------- Refined card stat ---------- */
.config__stat { transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.config__stat:hover { transform: translateY(-2px); background: var(--paper-3); }


/* ---------- Better small text legibility ---------- */
.mono, [class*="mono"] { font-feature-settings: "tnum", "calt"; }


/* ---------- Refined nav burger ---------- */
.nav__burger {
  transition: background 0.3s var(--ease);
}
.nav__burger:hover { background: var(--paper-3); }

/* (Scroll-Spy entfernt — war zu unruhig und Mobile sowieso unsichtbar.) */


/* ---------- Premium scrollbar ---------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--paper); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }


/* ---------- Final polish: better border radii ---------- */
.btn { border-radius: 999px; }
.card, .testimonial, .plan, .roi, .roi__result, .config__panel, .dashboard, .form-wrap, .branch-hero {
  /* keep their existing radii but enforce min */
}


/* ---------- Number tickers (live update) ---------- */
.tick {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.tick-up { animation: tickFlash 0.6s var(--ease); }
@keyframes tickFlash {
  0% { color: inherit; }
  30% { color: var(--success); }
  100% { color: inherit; }
}


/* ---------- Hero CTA mobile fix ---------- */
@media (max-width: 600px) {
  .btn--lg { padding: 18px 24px; font-size: 15px; }
  .btn { padding: 14px 20px; font-size: 14px; min-height: 48px; }
  .form__nav { flex-direction: column-reverse; gap: 10px; }
  .form__nav .btn { width: 100%; justify-content: center; }
}


/* ---------- Better visual hierarchy on Branchen tabs ---------- */
.config__tab.active {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}


/* ---------- Dashboard live time refined ---------- */
.dashboard__live {
  background: rgba(0, 200, 117, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 117, 0.2);
}


/* ---------- Final: Image / Visual cards ---------- */
.case-row__visual {
  transition: transform 0.5s var(--ease-out);
}
.case-row:hover .case-row__visual {
  transform: scale(1.02);
}


/* ---------- Improved overall flow on dark sections ---------- */
.section--dark { overflow: hidden; }
.section--dark .section__title { color: var(--paper); }


/* ---------- Final: ensure hero metrics readable on mobile ---------- */
@media (max-width: 600px) {
  .hero__metrics { gap: 0; }
  .metric { padding: 16px 0; }
  .metric__label { font-size: 10px; }
}


/* ============================================================================
   Cookie Consent Banner (DSG / DSGVO)
   ============================================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px var(--line);
  z-index: 9500;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.cookie-banner--in {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__inner {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.cookie-banner__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.cookie-banner__text p {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.cookie-banner__text a {
  color: var(--swiss-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__choices {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) {
  .cookie-banner__choices { grid-template-columns: 1fr; }
}
.cookie-banner__choice {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  align-items: flex-start;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cookie-banner__choice:hover { border-color: var(--ink-3); }
.cookie-banner__choice:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.cookie-banner__choice input {
  margin-top: 4px;
  width: 16px; height: 16px;
  accent-color: var(--swiss-red);
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-banner__choice input:disabled { opacity: 0.6; cursor: not-allowed; }
.cookie-banner__choice strong {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.cookie-banner__choice span {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
  display: block;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner__actions .btn {
  flex: 1;
  min-width: 130px;
  justify-content: center;
  padding: 12px 18px;
  font-size: 13px;
  min-height: 44px;
}
@media (max-width: 500px) {
  .cookie-banner__actions { flex-direction: column-reverse; gap: 8px; }
  .cookie-banner__actions .btn { width: 100%; }
}


/* ============================================================================
   FINAL POLISH — Cursor zurück, sauberes Design, echte Responsiveness
   ============================================================================ */

/* Cursor garantiert wieder sichtbar */
html, body, * { cursor: auto; }
a, button, [role="button"], label, summary, select, input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"], .roi__chip, .config__tab, .form__option, .faq__q { cursor: pointer; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="url"], textarea { cursor: text; }

/* Reduzierte Animationen — nicht alle Effekte feuern */
.reveal { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }

/* ---------- Hero refinements ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero::before { display: none; } /* roter Gradient-Glow weg, zu unruhig */
.hero__headline {
  font-size: clamp(38px, 8.5vw, 128px);
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.hero__sub {
  font-size: clamp(15px, 1.15vw, 18px);
  max-width: 52ch;
  line-height: 1.6;
  margin-top: clamp(20px, 2vw, 28px);
}

.hero__metrics {
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.5vw, 32px);
  gap: 0;
}
.metric {
  padding: clamp(14px, 1.6vw, 20px) 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-end;
}
.metric:last-child { border-bottom: none; }
.metric__value {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
.metric__label { font-size: 11px; }
.metric__delta { font-size: 11px; color: var(--ink-3); }

/* Hero-CTA Abstände */
.hero__ctas { margin-top: clamp(28px, 3vw, 40px); }


/* ---------- Section spacing — weniger Padding ---------- */
.section { padding: clamp(56px, 7vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5.5vw, 88px) 0; }
.section__header { margin-bottom: clamp(40px, 5vw, 72px); }


/* ---------- Dashboard reduzierter ---------- */
.dashboard {
  padding: clamp(20px, 2.5vw, 36px);
  border-radius: clamp(14px, 1.8vw, 22px);
}
.dashboard::before { display: none; }
.dashboard::after { display: none; }
.kpi {
  padding: clamp(14px, 1.5vw, 20px);
  border-radius: 10px;
}
.kpi__value { font-size: clamp(20px, 2.5vw, 28px); }
.kpi__label { font-size: 10px; }
.kpi__delta { font-size: 10px; }
.dashboard__chart { height: clamp(140px, 18vh, 180px); }
.dashboard__feed { max-height: 160px; }
.feed-item { font-size: 11px; padding: 6px 0; }


/* ---------- Cards einheitlicher ---------- */
.card {
  min-height: auto;
  padding: clamp(22px, 2.5vw, 36px);
  border-radius: 16px;
}
.card__title { font-size: clamp(20px, 1.6vw, 24px); }
.card__desc { font-size: 14px; line-height: 1.55; }


/* ---------- Marquee dezenter ---------- */
.marquee { padding: clamp(14px, 1.5vw, 20px) 0; border: none; background: var(--paper); }
.marquee__item { font-size: clamp(22px, 2.4vw, 36px); color: var(--ink-4); }
.marquee__item .dot { width: 5px; height: 5px; }
.marquee::before, .marquee::after { width: clamp(30px, 6vw, 80px); }


/* ---------- Footer Big-Text proportional ---------- */
.footer__big {
  font-size: clamp(48px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}


/* ---------- ROI Rechner Layout ---------- */
.roi {
  padding: clamp(24px, 3vw, 48px);
  border-radius: 20px;
}
.roi__result-big { font-size: clamp(36px, 6vw, 72px); }


/* ---------- Konfigurator ---------- */
.config__panel {
  padding: clamp(24px, 3vw, 44px);
  min-height: 0;
  border-radius: 18px;
}
.config__tab {
  padding: clamp(12px, 1.4vw, 18px) clamp(16px, 1.6vw, 22px);
  font-size: clamp(14px, 1vw, 16px);
  border-radius: 10px;
}


/* ---------- Pricing — feature-Karte ohne Translation ---------- */
.plan { padding: clamp(24px, 2.8vw, 40px); border-radius: 18px; }
.plan--feature { transform: none; }
.plan--feature::before { top: -12px; }
.plan__name { font-size: 18px; }
.plan__price { font-size: clamp(36px, 4.5vw, 56px); margin: var(--s-3) 0 4px; }
.plan__feature { font-size: 14px; }


/* ---------- Testimonials ---------- */
.testimonial {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 14px;
}
.testimonial__quote { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; }


/* ---------- FAQ ---------- */
.faq__q { font-size: clamp(17px, 1.6vw, 22px); padding: clamp(18px, 2vw, 26px) 0; }
.faq__a-inner { font-size: 15px; line-height: 1.6; }


/* ---------- Buttons aufgeräumt ---------- */
.btn {
  min-height: 46px;
  font-size: 14px;
  padding: 13px 22px;
  letter-spacing: -0.005em;
}
.btn--lg { padding: 16px 28px; font-size: 15px; min-height: 52px; }
.btn::before { display: none; } /* Slide-up Hintergrund weg, sauberer */
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--swiss-red); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220, 0, 24, 0.2); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--red { background: var(--swiss-red); color: white; }
.btn--red:hover { background: var(--ink); transform: translateY(-1px); }


/* ---------- Navigation aufgeräumt ---------- */
.nav__inner { height: 64px; gap: 16px; }
.nav__link { font-size: 14px; padding: 8px 12px; }
.nav__cta { padding: 10px 18px; font-size: 13px; }


/* ============================================================================
   RESPONSIVENESS — Strikte mobile-first Logik
   ============================================================================ */

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .section__header { grid-template-columns: 1fr; gap: 16px; }
  .roi { grid-template-columns: 1fr; gap: 24px; }
  .config { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .branch-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .case-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .case-row__visual { aspect-ratio: 16/10; }
  .nav__links { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .nav__inner { height: 60px; }
  .nav__logo { font-size: 15px; }
  .nav__logo-mark { width: 22px; height: 22px; }
  .nav__cta { padding: 10px 14px; font-size: 12px; }
  .top-bar { font-size: 11px; padding: 8px 0; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero__headline { font-size: clamp(36px, 11vw, 64px); }
  .hero__metrics { padding-top: 20px; }
  .metric { padding: 16px 0; }
  .section { padding: 56px 0; }
  .section__title { font-size: clamp(28px, 8vw, 44px); }
  .section__header { margin-bottom: 32px; }
  .dashboard__metrics { grid-template-columns: 1fr 1fr; }
  .dashboard__head { flex-wrap: wrap; gap: 8px; }
  .cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonial-grid { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .form__options { grid-template-columns: 1fr; }
  .form__grid-2 { grid-template-columns: 1fr; }
  .footer__big { font-size: clamp(40px, 14vw, 80px); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .case-row__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .case-row__stat-v { font-size: 24px; }
  .branch-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .branch-stats .bs-value { font-size: clamp(18px, 4.5vw, 24px); }
  .branch-stats .bs-label { font-size: 10px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .config__tabs { grid-template-columns: 1fr; }
  .case-row__stats { grid-template-columns: 1fr 1fr; }
  .branch-stats { grid-template-columns: 1fr 1fr; }
  .roi__result-big { font-size: clamp(32px, 12vw, 48px); }
  .float-actions { right: 14px; bottom: 14px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 20px; height: 20px; }
  .footer { padding: 64px 0 24px; }
}

@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .hero__headline { font-size: clamp(32px, 12vw, 48px); }
  .section__title { font-size: clamp(24px, 9vw, 36px); }
  .nav__logo span:last-child { font-size: 13px; }
  .nav__cta { padding: 8px 12px; }
  .nav__cta span { display: none; }
  .top-bar { padding: 6px 0; font-size: 10px; }
  .ticker__item { padding: 0 var(--s-3); }
  .form-wrap { padding: 20px; }
  .form__step-title { font-size: clamp(22px, 8vw, 28px); }
}


/* ---------- Floating buttons — auch wieder normaler Cursor ---------- */
.float-btn { cursor: pointer; }


/* ---------- Container max widths sauber ---------- */
.container { max-width: 1280px; }


/* ---------- Section dark Text-Farbe ---------- */
.section--dark .section__desc { color: rgba(255,255,255,0.7); }


/* ---------- Klarere Borders / Schatten ---------- */
.card, .testimonial, .roi, .config__panel, .form-wrap, .dashboard, .plan, .branch-hero {
  box-shadow: none;
}


/* ---------- Hero buttons konsistent ---------- */
.hero__ctas .btn { min-width: auto; }


/* ---------- Konfigurator-Tab full width auf Mobile ---------- */
@media (max-width: 900px) {
  .config__tab { width: 100%; justify-content: space-between; }
}


/* ---------- Skip-Link für Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 9999;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }


/* ---------- HTML Scroll padding für Anker ---------- */
html { scroll-padding-top: 80px; }


/* ---------- Klarere Section-Dividers ---------- */
.section + .section { border-top: 1px solid var(--line); }
.section--dark + .section, .section + .section--dark { border-top: none; }


/* ---------- German text safety (lange Wörter) ---------- */
html, body { overflow-x: hidden; }
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
p { overflow-wrap: anywhere; }


/* ---------- Klarere Hover-States für Karten ---------- */
.card:hover { transform: translateY(-3px); background: var(--ink); color: var(--paper); }
.card:hover .card__num { color: var(--swiss-red); }
.card:hover .card__title { color: var(--paper); }
.card:hover .card__icon { background: var(--swiss-red); }


/* ---------- Live-Dashboard Title responsive ---------- */
.dashboard__title { font-size: clamp(10px, 0.9vw, 12px); }
.dashboard__live { font-size: 10px; }


/* ---------- Form Fields klarer ---------- */
.form__field input, .form__field textarea, .form__field select {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line-2);
  background: white;
}


/* ---------- Reveal kann auf mobile ausgesetzt werden ---------- */
@media (max-width: 600px) {
  .reveal { opacity: 1; transform: none; }
}


/* ---------- Verhindere Animations-Stutter ---------- */
.reveal { will-change: opacity, transform; }
.reveal.in { will-change: auto; }


/* ---------- Konfigurator-Stats kompakter auf Mobile ---------- */
@media (max-width: 600px) {
  .config__stats { grid-template-columns: 1fr; gap: 8px; }
  .config__stat-value { font-size: 28px; }
}


/* ---------- Modell-CTA full-width auf Mobile ---------- */
@media (max-width: 600px) {
  .plan__cta { width: 100%; justify-content: center; }
}


/* ---------- Sichere Form-Padding ---------- */
.form-wrap { padding: clamp(20px, 3vw, 48px); }


/* ---------- Container-Bilder responsive ---------- */
img, svg, video { max-width: 100%; height: auto; }


/* ---------- Ticker Performance ---------- */
.ticker, .marquee__inner { will-change: transform; }


/* ============================================================================
   BLOG POST — Artikel-Typografie
   ============================================================================ */
.post-hero {
  padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s-5);
}
.post-hero__meta .cat {
  background: var(--swiss-red); color: white; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em;
}
.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 22ch;
}
.post-hero__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: clamp(20px, 2.5vw, 32px);
}

/* Article body */
.post-body {
  padding: clamp(40px, 5vw, 80px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr);
  gap: 0 32px;
}
.post-body > * { grid-column: 2; }
.post-body > .post-wide { grid-column: 1 / -1; max-width: 1080px; margin: 0 auto; }

.post-body p, .post-body li {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
}
.post-body p { margin-bottom: var(--s-4); }
.post-body p:has(+ h2), .post-body p:has(+ h3) { margin-bottom: var(--s-5); }

.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: clamp(40px, 5vw, 72px) 0 var(--s-4);
  color: var(--ink);
}
.post-body h2 .num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--swiss-red);
  margin-right: 14px;
  vertical-align: middle;
  transform: translateY(-6px);
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: clamp(28px, 3vw, 40px) 0 var(--s-3);
  color: var(--ink);
}
.post-body h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body em { font-family: var(--font-serif); font-style: italic; }
.post-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--swiss-red);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.post-body a:hover { color: var(--swiss-red); }

.post-body ul, .post-body ol {
  margin: 0 0 var(--s-4) 0;
  padding: 0;
}
.post-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.post-body ul li::before {
  content: ''; position: absolute;
  left: 6px; top: 0.7em;
  width: 8px; height: 1.5px;
  background: var(--swiss-red);
}
.post-body ol {
  counter-reset: ol;
  padding-left: 0;
}
.post-body ol li {
  counter-increment: ol;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
}
.post-body ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--swiss-red);
  font-weight: 600;
}

.post-body blockquote {
  border-left: 3px solid var(--swiss-red);
  padding: 8px 0 8px 24px;
  margin: var(--s-5) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
}

/* Callout / Info-Box */
.post-callout {
  background: var(--paper-2);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 32px);
  margin: var(--s-6) 0;
  border-left: 3px solid var(--swiss-red);
}
.post-callout > *:last-child { margin-bottom: 0 !important; }
.post-callout h4, .post-callout h3 { margin-top: 0 !important; }
.post-callout--dark {
  background: var(--ink);
  color: var(--paper);
  border-left-color: var(--swiss-red);
}
.post-callout--dark p, .post-callout--dark li { color: rgba(255,255,255,.85); }
.post-callout--dark h3, .post-callout--dark h4 { color: var(--paper); }

/* Tables */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-5) 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.post-body table th, .post-body table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.post-body table th {
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.post-body table tr:hover td { background: var(--paper-2); }

.post-body code {
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* Article CTA */
.post-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 56px);
  margin: clamp(48px, 6vw, 80px) 0 0;
  text-align: center;
}
.post-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-3);
  color: var(--paper);
}
.post-cta p {
  color: rgba(255,255,255,.75);
  max-width: 48ch;
  margin: 0 auto var(--s-5);
}

/* Reading progress / share box */
.post-meta-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: var(--s-6) 0;
}
.post-meta-strip a { color: var(--ink); }

/* Related posts */
.post-related {
  padding: clamp(48px, 6vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .post-related__grid { grid-template-columns: 1fr; } }

/* Mobile post */
@media (max-width: 900px) {
  .post-body { grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter); }
  .post-body > * { grid-column: 1; }
  .post-body > .post-wide { padding: 0; }
}


/* ============================================================================
   HIGH-MOTION LAYER — 3D, Scroll-Snap, Mesh-Gradients
   ============================================================================ */

/* ---------- Global 3D perspective context ----------
   REMOVED: `body { transform-style: preserve-3d }` was creating a containing
   block for position:fixed children per CSS Transforms Level 1 spec, which broke
   the floating chatbot launcher + cookie banner (they were positioned to the
   document end instead of the viewport bottom). Individual 3D scene wrappers
   (.scene, .monitor, .hero-stage__visual) declare their own preserve-3d locally
   where actually needed. perspective-origin without perspective is a no-op. */

/* ---------- Scroll-snap (proximity, nicht mandatory — UX-freundlicher) ---------- */
.snap-container {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
.snap {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}


/* ============================================================================
   HERO 3D — 2-Spalten Grid: Text links, 3D rechts (contained)
   ============================================================================ */

.hero3d {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 12vh, 140px);
}

/* Animated mesh-gradient background — sehr dezent */
.hero3d::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 50% at 85% 15%, rgba(220, 0, 24, 0.08), transparent 60%),
    radial-gradient(40% 40% at 15% 85%, rgba(10, 10, 10, 0.04), transparent 60%),
    var(--paper);
  background-size: 180% 180%;
  animation: meshShift 28s ease-in-out infinite;
}
@keyframes meshShift {
  0%, 100% { background-position: 0% 0%, 100% 100%; }
  50% { background-position: 100% 30%, 0% 70%; }
}

/* Inner grid */
.hero3d__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* Text column */
.hero3d__text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
  min-width: 0;
}

.hero3d__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  width: fit-content;
}
.hero3d__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--swiss-red);
  box-shadow: 0 0 10px var(--swiss-red);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Headline — reasonable max, line-height tight */
.hero3d__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--ink);
  margin: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.hero3d__title .serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
.hero3d__title .red { color: var(--swiss-red); }

.hero3d__sub {
  max-width: 52ch;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.hero3d__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visual column (3D mesh) */
.hero3d__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 560px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
}
#hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#hero-3d canvas { pointer-events: none; }

/* Scroll cue */
.hero3d__scroll {
  position: absolute;
  bottom: clamp(20px, 3vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
  z-index: 3;
}
.hero3d__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--ink-3), transparent);
  position: relative;
  overflow: hidden;
}
.hero3d__scroll-line::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 12px;
  background: var(--swiss-red);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-12px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(36px); opacity: 0; }
}

/* Mobile / tablet: stacked layout */
@media (max-width: 900px) {
  .hero3d { padding: clamp(48px, 10vh, 96px) 0 clamp(80px, 14vh, 120px); }
  .hero3d__inner { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 48px); text-align: left; }
  .hero3d__visual { order: -1; aspect-ratio: 1; max-width: 380px; margin: 0 auto; }
  .hero3d__title { font-size: clamp(36px, 9vw, 56px); }
}
@media (max-width: 560px) {
  .hero3d__visual { max-width: 280px; aspect-ratio: 1; }
  .hero3d__title { font-size: clamp(32px, 10vw, 44px); }
  .hero3d__ctas { flex-direction: column; align-items: stretch; }
  .hero3d__ctas .btn3d { justify-content: center; width: 100%; }
  .hero3d__scroll { display: none; }
}


/* ============================================================================
   CHAR REVEALS — Wörter brechen nie mitten durch
   ============================================================================ */
[data-chars] { display: block; }
[data-chars] .word {
  display: inline-block;
  white-space: nowrap; /* Buchstaben eines Wortes immer zusammen */
  vertical-align: top;
}
[data-chars] .char {
  display: inline-block;
  transform: translateY(110%) rotateX(-90deg);
  opacity: 0;
  transform-origin: 50% 100%;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease-out;
  will-change: transform, opacity;
}
[data-chars].chars-in .char {
  transform: translateY(0) rotateX(0);
  opacity: 1;
}


/* ============================================================================
   SCROLL-3D — Sections rise + tilt into view
   ============================================================================ */
[data-scroll-3d] {
  opacity: 0;
  transform: perspective(1200px) translateY(80px) rotateX(12deg);
  transform-origin: 50% 100%;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
[data-scroll-3d].in-view {
  opacity: 1;
  transform: perspective(1200px) translateY(0) rotateX(0);
}
[data-scroll-3d][data-scroll-3d-delay="1"] { transition-delay: 80ms; }
[data-scroll-3d][data-scroll-3d-delay="2"] { transition-delay: 160ms; }
[data-scroll-3d][data-scroll-3d-delay="3"] { transition-delay: 240ms; }
[data-scroll-3d][data-scroll-3d-delay="4"] { transition-delay: 320ms; }
[data-scroll-3d][data-scroll-3d-delay="5"] { transition-delay: 400ms; }


/* ============================================================================
   TILT CARDS — 3D perspective on hover (via JS data-tilt)
   ============================================================================ */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.tilt-glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}
[data-tilt] > * {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}
[data-tilt] [data-tilt-layer="1"] { transform: translateZ(40px); }
[data-tilt] [data-tilt-layer="2"] { transform: translateZ(60px); }
[data-tilt] [data-tilt-layer="3"] { transform: translateZ(80px); }


/* ============================================================================
   3D BENTO / FLOATING CARDS
   ============================================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: clamp(12px, 1.5vw, 20px);
  perspective: 1400px;
}
.bento__cell {
  background: var(--paper-2);
  border-radius: 20px;
  padding: clamp(20px, 2.5vw, 36px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.5s var(--ease);
}
.bento__cell--dark {
  background: var(--ink);
  color: var(--paper);
}
.bento__cell--red {
  background: var(--swiss-red);
  color: white;
}
.bento__cell--wide { grid-column: span 4; }
.bento__cell--half { grid-column: span 3; }
.bento__cell--third { grid-column: span 2; }
.bento__cell--full { grid-column: span 6; }
.bento__cell--tall { grid-row: span 2; }

.bento__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.bento__cell--dark .bento__num { color: rgba(255,255,255,0.55); }
.bento__cell--red .bento__num { color: rgba(255,255,255,0.7); }

.bento__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.bento__desc {
  margin-top: 12px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  opacity: 0.85;
}
.bento__big {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  display: block;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide, .bento__cell--half, .bento__cell--third, .bento__cell--full { grid-column: span 2; }
  .bento__cell--tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide, .bento__cell--half, .bento__cell--third, .bento__cell--full, .bento__cell--tall { grid-column: span 1; grid-row: span 1; }
}


/* ============================================================================
   3D ROTATING BADGE (used as decorative sticker)
   ============================================================================ */
.rotate-badge {
  width: clamp(80px, 10vw, 140px);
  height: clamp(80px, 10vw, 140px);
  position: relative;
  display: inline-block;
}
.rotate-badge svg {
  width: 100%; height: 100%;
  animation: rotateBadge 18s linear infinite;
}
@keyframes rotateBadge { to { transform: rotate(360deg); } }
.rotate-badge__center {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--swiss-red);
}


/* ============================================================================
   MARQUEE WITH SCROLL-LINK
   ============================================================================ */
.marquee[data-scroll-x] .marquee__inner {
  animation-play-state: running;
  translate: var(--scroll-shift, 0px) 0;
}


/* ============================================================================
   SECTION HEADERS WITH 3D NUMBER
   ============================================================================ */
.h3d-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  background: linear-gradient(180deg, var(--ink-2), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.18;
  pointer-events: none;
}


/* ============================================================================
   3D-DEPTH BUTTONS
   ============================================================================ */
.btn3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.05),
    0 4px 0 var(--swiss-red),
    0 8px 24px rgba(0,0,0,0.12);
}
.btn3d:hover {
  transform: translateY(-4px) rotateX(-6deg);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.05),
    0 8px 0 var(--swiss-red),
    0 16px 32px rgba(0,0,0,0.18);
  background: var(--ink-2);
}
.btn3d:active {
  transform: translateY(0) rotateX(0);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.05),
    0 2px 0 var(--swiss-red),
    0 4px 12px rgba(0,0,0,0.1);
}
.btn3d--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--swiss-red);
}
.btn3d--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}


/* ============================================================================
   SCROLL-SNAP SECTIONS (Full viewport)
   ============================================================================ */
.snap-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 10vh, 140px) 0;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.snap-section--auto {
  min-height: auto;
}


/* ============================================================================
   STAT TICKER — large animated numbers
   ============================================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .stat-row { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; gap: 24px; } }

.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.stat-cell__big {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-cell__big .red { color: var(--swiss-red); }
.stat-cell__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}


/* ============================================================================
   REDUCED-MOTION OVERRIDES
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  #hero-3d { display: none; }
  [data-chars] .char { transform: none !important; opacity: 1 !important; }
  [data-scroll-3d] { opacity: 1 !important; transform: none !important; }
  [data-tilt] { transform: none !important; }
  .hero3d::before { animation: none; }
  .rotate-badge svg { animation: none; }
}


/* ============================================================================
   MOBILE — disable heavy 3D, keep clean
   ============================================================================ */
@media (max-width: 768px) {
  [data-tilt] { transform: none !important; transition: none; }
  [data-scroll-3d] { transform: translateY(40px); }
  [data-scroll-3d].in-view { transform: translateY(0); }
  .hero3d__title { letter-spacing: -0.04em; }
  .stat-cell__big { font-size: clamp(40px, 12vw, 64px); }
}


/* ============================================================================
   BACKGROUND BLOBS (decorative depth)
   ============================================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.blob--red { background: rgba(220, 0, 24, 0.4); }
.blob--ink { background: rgba(10, 10, 10, 0.3); }
.blob--paper { background: rgba(255, 255, 255, 0.8); }


/* ============================================================================
   FLOATING NAV INDICATOR (replace right-side spy)
   ============================================================================ */
.snap-nav {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.snap-nav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.35;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 0;
  padding: 0;
  position: relative;
}
.snap-nav__dot::after {
  content: attr(data-label);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s var(--ease);
  pointer-events: none;
}
.snap-nav__dot:hover { opacity: 1; transform: scale(1.4); }
.snap-nav__dot:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.snap-nav__dot.active {
  background: var(--swiss-red);
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 1100px) { .snap-nav { display: none; } }


/* ============================================================================
   HERO BACKDROP MARQUEE — depth-layered behind hero
   ============================================================================ */
.hero-strip {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(16px, 1.6vw, 22px) 0;
  overflow: hidden;
  position: relative;
}
.hero-strip__inner {
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  animation: ticker 35s linear infinite;
}
.hero-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.hero-strip__item::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--swiss-red);
  border-radius: 50%;
  margin-left: 20px;
}


/* ============================================================================
   3D-LAYERED INFO PANELS
   ============================================================================ */
.panel3d {
  background: var(--paper);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 1px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06),
    0 24px 80px rgba(0,0,0,0.08);
}
.panel3d--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow:
    0 1px 1px rgba(0,0,0,0.2),
    0 16px 40px rgba(0,0,0,0.25),
    0 40px 100px rgba(220,0,24,0.18);
}


/* ============================================================================
   GLITCH RED ACCENT (for swiss-red highlights)
   ============================================================================ */
.accent-red {
  position: relative;
  display: inline-block;
}
.accent-red::after {
  content: '';
  position: absolute;
  left: -6px; right: -6px;
  bottom: 0;
  height: 30%;
  background: var(--swiss-red);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}


/* ============================================================================
   MODERN REFINEMENT LAYER — schlank, leicht, ultra-responsiv
   Überschreibt alles was zu fett/heavy/dated ist.
   ============================================================================ */

:root {
  /* Refined spacing scale */
  --r-container: 1240px;
  --r-gutter: clamp(16px, 3.5vw, 32px);
  --r-section: clamp(56px, 9vw, 128px);
  --r-section-sm: clamp(40px, 6vw, 88px);

  /* Type weights — moderner: 600 als Maximum für Display, 500 für UI */
  --r-w-display: 600;
  --r-w-medium: 500;
  --r-w-regular: 400;

  /* Radii konsistent */
  --r-radius-sm: 8px;
  --r-radius: 12px;
  --r-radius-md: 16px;
  --r-radius-lg: 20px;
  --r-radius-xl: 28px;

  /* Borders */
  --r-line: rgba(10, 10, 10, 0.08);
  --r-line-strong: rgba(10, 10, 10, 0.16);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-feature-settings: "ss01", "cv11", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Container override ---------- */
.container, .container-wide {
  max-width: var(--r-container);
  padding-left: var(--r-gutter);
  padding-right: var(--r-gutter);
}

/* ---------- Typografie schlanker ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--r-w-display);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.hero3d__title,
.section__title,
.post-hero__title,
.bento__title,
.lead-hero h1 {
  font-weight: var(--r-w-display) !important;
  letter-spacing: -0.035em;
}
.hero3d__title { font-size: clamp(36px, 5.8vw, 84px); line-height: 0.96; }
.section__title { font-size: clamp(28px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.section__desc { font-size: clamp(14px, 1.05vw, 17px); line-height: 1.55; color: var(--ink-3); }
.section__header { margin-bottom: clamp(28px, 4vw, 56px); }

/* Hero sub schlanker */
.hero3d__sub {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--ink-3);
  font-weight: var(--r-w-regular);
}

/* Stat numbers — nicht zu fett */
.stat-cell__big {
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(36px, 5.5vw, 72px);
}
.stat-cell__label {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  font-weight: var(--r-w-medium);
}

/* Bento weights */
.bento__title { font-weight: var(--r-w-display); letter-spacing: -0.02em; }
.bento__num { font-weight: var(--r-w-medium); }
.bento__big { font-weight: var(--r-w-display); }
.bento__desc { font-size: clamp(13px, 0.95vw, 14.5px); line-height: 1.55; }

/* Eyebrow / section-num kleiner */
.eyebrow, .section-num, .hero3d__eyebrow {
  font-size: 10.5px;
  font-weight: var(--r-w-medium);
  letter-spacing: 0.1em;
}

/* ============================================================================
   NAVBAR — minimal, modern, schmal
   ============================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--r-line);
}
.navbar__inner {
  max-width: var(--r-container);
  margin: 0 auto;
  padding: 0 var(--r-gutter);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.navbar__mark {
  width: 22px;
  height: 22px;
  background: var(--swiss-red);
  position: relative;
  display: inline-block;
  border-radius: 4px;
  flex-shrink: 0;
}
.navbar__mark::before, .navbar__mark::after {
  content: '';
  position: absolute;
  background: white;
}
.navbar__mark::before { left: 50%; top: 22%; bottom: 22%; width: 14%; transform: translateX(-50%); }
.navbar__mark::after { top: 50%; left: 22%; right: 22%; height: 14%; transform: translateY(-50%); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__link {
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: var(--r-w-medium);
  color: var(--ink-3);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.005em;
}
.navbar__link:hover { color: var(--ink); background: rgba(10, 10, 10, 0.04); }
.navbar__link--active { color: var(--ink); background: rgba(10, 10, 10, 0.06); }

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--r-w-medium);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.navbar__cta:hover { background: var(--swiss-red); transform: translateY(-1px); }

.navbar__burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}
.navbar__burger:hover { background: rgba(10,10,10,0.04); }

@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__burger { display: inline-flex; }
}
@media (max-width: 480px) {
  .navbar__cta { display: none; }
}

/* Hide legacy top-bar / nav */
.top-bar, .nav { display: none !important; }

/* Mobile menu — moderner */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 20px var(--r-gutter);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--r-line);
}
.mobile-menu__close {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  flex-grow: 1;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 500;
  color: var(--ink);
  padding: 12px 0;
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--r-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu nav a::after {
  content: '→';
  color: var(--ink-3);
  font-size: 18px;
  transition: transform 0.2s, color 0.2s;
}
.mobile-menu nav a:hover::after { color: var(--swiss-red); transform: translateX(4px); }
.mobile-menu__foot {
  padding-top: 24px;
  border-top: 1px solid var(--r-line);
}
.mobile-menu__cta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
}


/* ============================================================================
   BUTTONS — schlank, modern, ohne 3D-Stack-Schatten
   ============================================================================ */
.btn3d, .btn3d--ghost,
.btn--primary, .btn--ghost, .btn--red, .btn--lg {
  box-shadow: none !important;
  letter-spacing: -0.005em !important;
}

.btn3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--r-w-medium);
  text-decoration: none;
  cursor: pointer;
  min-height: 42px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  letter-spacing: -0.005em;
}
.btn3d:hover { background: var(--swiss-red); border-color: var(--swiss-red); transform: translateY(-1px); }
.btn3d:active { transform: translateY(0); }

.btn3d--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--r-line-strong);
}
.btn3d--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Generic .btn (legacy) cleanup */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px !important;
  font-family: var(--font-sans);
  font-size: 14px !important;
  font-weight: var(--r-w-medium) !important;
  text-decoration: none;
  cursor: pointer;
  min-height: 42px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  border: 1px solid transparent;
}
.btn::before { display: none !important; }
.btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--primary:hover { background: var(--swiss-red); border-color: var(--swiss-red); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--r-line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--red { background: var(--swiss-red); color: white; border-color: var(--swiss-red); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn--lg { padding: 13px 24px; font-size: 14.5px !important; min-height: 46px; }

/* Button arrow icon */
.btn3d svg, .btn svg { width: 14px; height: 14px; opacity: 0.7; }
.btn3d:hover svg, .btn:hover svg { opacity: 1; }


/* ============================================================================
   FOOTER — kompakt, modern, leicht
   ============================================================================ */
.footer { display: none !important; } /* Legacy hide */

.ftr {
  background: var(--ink);
  color: var(--paper);
  margin-top: clamp(40px, 6vw, 80px);
}
.ftr__inner {
  max-width: var(--r-container);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--r-gutter) clamp(20px, 3vw, 28px);
}
.ftr__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) { .ftr__top { grid-template-columns: 1fr; gap: 32px; } }

.ftr__brand .navbar__brand {
  color: var(--paper);
  font-size: 16px;
}
.ftr__brand .navbar__mark {
  background: var(--swiss-red);
}
.ftr__tag {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 32ch;
}
.ftr__mail {
  display: inline-block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.ftr__mail:hover { color: var(--swiss-red); }

.ftr__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 760px) { .ftr__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .ftr__cols { grid-template-columns: 1fr; } }

.ftr__col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--r-w-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.ftr__col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.ftr__col a:hover { color: var(--swiss-red); }

.ftr__bot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: clamp(20px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.005em;
}
.ftr__sep { opacity: 0.5; }
.ftr__spacer { flex-grow: 1; min-width: 16px; }
.ftr__bot-cta {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.ftr__bot-cta:hover { color: var(--swiss-red); }

/* Float actions — kleiner & dezenter */
.float-actions {
  position: fixed;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
  border: none;
}
.float-btn:hover { background: var(--swiss-red); transform: translateY(-2px); }
.float-btn svg { width: 18px; height: 18px; }
.float-btn--wa { background: #25D366; }
.float-btn--wa:hover { background: #1ebe5a; }
.float-btn__pulse { display: none; }


/* ============================================================================
   SECTION SPACING — refined
   ============================================================================ */
.section { padding: var(--r-section) 0; }
.section--tight { padding: var(--r-section-sm) 0; }
.snap-section {
  min-height: auto;
  padding: var(--r-section) 0;
}


/* ============================================================================
   CARDS — minimal borders, kein Heavy-Hover
   ============================================================================ */
.card, .testimonial, .plan, .roi, .config__panel, .dashboard, .form-wrap, .branch-hero, .post-callout {
  border-radius: var(--r-radius-lg);
  box-shadow: none;
}

.bento {
  gap: clamp(10px, 1.2vw, 16px);
}
.bento__cell {
  border-radius: var(--r-radius-md);
  padding: clamp(18px, 2.2vw, 28px);
  transition: background 0.3s, transform 0.4s;
}
.bento__title { font-size: clamp(18px, 1.7vw, 24px); }


/* ============================================================================
   DASHBOARD — schlanker
   ============================================================================ */
.dashboard { border-radius: var(--r-radius-lg) !important; padding: clamp(20px, 2.2vw, 28px) !important; }
.dashboard__title { font-size: 10.5px; font-weight: 500; }
.dashboard__live { font-size: 10.5px; font-weight: 500; }
.kpi { border-radius: var(--r-radius-sm); padding: clamp(12px, 1.4vw, 16px); }
.kpi__label { font-size: 10px; font-weight: 500; }
.kpi__value { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.kpi__delta { font-size: 10px; font-weight: 500; }


/* ============================================================================
   ROI — schlanker
   ============================================================================ */
.roi { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-radius-xl); }
.roi__result { border-radius: var(--r-radius-lg); padding: clamp(20px, 3vw, 36px); }
.roi__result-big { font-size: clamp(32px, 5.5vw, 64px); font-weight: 600; letter-spacing: -0.035em; }
.roi__chip { padding: 7px 14px; font-size: 12.5px; font-weight: var(--r-w-medium); border-radius: 999px; }
.roi__chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.roi__label { font-size: 10.5px; font-weight: 500; }
.roi__label strong { font-size: 16px; font-weight: 600; }


/* ============================================================================
   TESTIMONIALS — schlank
   ============================================================================ */
.testimonial { padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-radius-md); }
.testimonial__quote { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; font-weight: 400; }
.testimonial__name { font-size: 13px; font-weight: 500; }
.testimonial__role { font-size: 11px; }
.testimonial__avatar { width: 34px; height: 34px; font-size: 12px; }


/* ============================================================================
   PRICING / PLANS
   ============================================================================ */
.plan { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-radius-lg); }
.plan__name { font-size: 16px; font-weight: 500; }
.plan__price { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; }
.plan__feature { font-size: 13.5px; }


/* ============================================================================
   FAQ
   ============================================================================ */
.faq__q { font-size: clamp(16px, 1.5vw, 20px); padding: clamp(16px, 2vw, 22px) 0; font-weight: 500; letter-spacing: -0.015em; }
.faq__a-inner { font-size: 14.5px; line-height: 1.6; }
.faq__icon { width: 28px; height: 28px; font-size: 12px; }


/* ============================================================================
   PROGRESS — schlanker
   ============================================================================ */
.lead-progress__fill { height: 4px; box-shadow: none; }
.lead-progress__track { height: 4px; }


/* ============================================================================
   HERO PADDING — etwas reduzieren
   ============================================================================ */
.hero3d { padding: clamp(64px, 10vh, 112px) 0 clamp(80px, 12vh, 128px); min-height: auto; }
@media (max-width: 900px) { .hero3d { padding: clamp(48px, 8vh, 80px) 0 clamp(64px, 10vh, 96px); } }


/* ============================================================================
   HERO 3D VISUAL — moderner Frame, weniger Box-Look
   ============================================================================ */
.hero3d__visual {
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 0;
  background: transparent;
}
.hero3d__visual #hero-3d { position: absolute; inset: 0; }


/* ============================================================================
   MARQUEE / HERO STRIP — entfernen oder dezenter
   ============================================================================ */
.hero-strip {
  padding: clamp(12px, 1.4vw, 18px) 0;
}
.hero-strip__inner {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: -0.01em;
  gap: clamp(32px, 5vw, 64px);
}
.hero-strip__item::after {
  width: 4px; height: 4px;
  margin-left: clamp(32px, 5vw, 64px);
}


/* ============================================================================
   STAT-ROW border-radii
   ============================================================================ */
.stat-row {
  border-color: var(--r-line);
  padding: clamp(32px, 5vw, 64px) 0;
}


/* ============================================================================
   FINAL CTA Sektionen — schlanker
   ============================================================================ */
.section--dark { color: var(--paper); }
.section--dark .section__title { color: var(--paper); }


/* ============================================================================
   ULTRA-RESPONSIVE — alle Breakpoints sauber, kein Overflow
   ============================================================================ */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Default mobile-first */
@media (max-width: 1100px) {
  .container, .container-wide, .navbar__inner, .ftr__inner { max-width: 100%; }
}

@media (max-width: 768px) {
  /* Reduce excessive padding */
  .section, .snap-section { padding: clamp(48px, 8vw, 80px) 0; }
  .section__title { font-size: clamp(24px, 7vw, 40px); }
  .hero3d__title { font-size: clamp(32px, 9vw, 48px); line-height: 0.98; }
  .hero3d__sub { font-size: 14.5px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px 0; }
  .stat-cell__big { font-size: clamp(28px, 8vw, 44px); }
  .cards { grid-template-columns: 1fr !important; gap: 12px; }
  .testimonial-grid { columns: 1 !important; }
  .bento { grid-template-columns: 1fr !important; }
  .bento__cell { grid-column: span 1 !important; grid-row: span 1 !important; }
  .footer__big { display: none; } /* legacy */
}

@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
  .hero3d__ctas { flex-direction: column; align-items: stretch; }
  .hero3d__ctas .btn3d { justify-content: center; width: 100%; }
  .btn3d, .btn { padding: 12px 18px; min-height: 46px; font-size: 14px; }
  .navbar__inner { height: 56px; gap: 12px; }
  .navbar__brand { font-size: 14px; }
  .navbar__name { display: inline; }
  .ftr__inner { padding: 32px 16px 20px; }
  .hero3d__visual { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 360px) {
  .navbar__name { display: none; }
  .navbar__inner { gap: 8px; }
}


/* ============================================================================
   CHARS — schlankerer Reveal
   ============================================================================ */
[data-chars] .char {
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease-out;
}


/* ============================================================================
   NAV ACTIVE STATE
   ============================================================================ */
.navbar__link.nav__link--active, .navbar__link.navbar__link--active {
  background: rgba(10, 10, 10, 0.06);
  color: var(--ink);
}


/* ============================================================================
   POST/BLOG — schlanker
   ============================================================================ */
.post-hero__title { font-weight: 600; letter-spacing: -0.035em; }
.post-hero__lead { font-weight: 400; }
.post-body h2 { font-weight: 600; letter-spacing: -0.025em; }
.post-body p, .post-body li { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; }


/* ============================================================================
   SAFE AREA für iOS Notch / Home-Bar
   ============================================================================ */
@supports (padding: max(0px)) {
  .navbar__inner { padding-left: max(var(--r-gutter), env(safe-area-inset-left)); padding-right: max(var(--r-gutter), env(safe-area-inset-right)); }
  .float-actions { right: max(clamp(14px, 2vw, 22px), env(safe-area-inset-right)); bottom: max(clamp(14px, 2vw, 22px), env(safe-area-inset-bottom)); }
  .ftr__inner { padding-left: max(var(--r-gutter), env(safe-area-inset-left)); padding-right: max(var(--r-gutter), env(safe-area-inset-right)); }
}


/* ============================================================================
   Hide section-divider borders that were too heavy
   ============================================================================ */
.section + .section { border-top: none !important; }


/* ============================================================================
   Snap-Nav refinement
   ============================================================================ */
.snap-nav__dot { width: 6px; height: 6px; }
.snap-nav__dot.active { width: 18px; border-radius: 3px; }


/* ============================================================================
   Lead-Form Sidebar Stepper — moderner
   ============================================================================ */
.lead-card { border-radius: var(--r-radius-xl) !important; box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 12px 32px rgba(0,0,0,0.05) !important; }
.lead-btn { font-weight: 500; }
.lead-btn--primary { box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.lead-btn--primary:hover { box-shadow: 0 10px 24px rgba(220,0,24,0.25); }
.lead-step-head h3 { font-weight: 600; letter-spacing: -0.025em; }


/* ============================================================================
   CTA-BUTTONS · WhatsApp-Grün statt Rot (site-weit)
   Nur GEFÜLLTE Aktions-Buttons werden grün. Rote Akzente bleiben bewusst rot:
   Icons, Badges, FAQ-Plus, Text-Highlights, Schweizer Kreuz, ::selection, Blobs.
   Schwarze CTAs (z.B. Sticky-Bar „Anfrage starten") bleiben schwarz.
   ============================================================================ */
:root {
  --cta-green: #25D366;     /* WhatsApp-Grün */
  --cta-green-d: #1da851;
  --cta-green-dd: #0e8c43;
}
/* Haupt-CTA — Pill (Hero + alle Sektionen, alle Seiten) */
.btn-pill--primary {
  background: linear-gradient(135deg, var(--cta-green) 0%, var(--cta-green-d) 70%, var(--cta-green-dd) 100%) !important;
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.55) !important;
}
.btn-pill--primary:hover { box-shadow: 0 40px 100px rgba(37, 211, 102, 0.34) !important; }
/* Klassischer roter Button + grüner Hover-Fill */
.btn--red {
  background: var(--cta-green) !important;
  border-color: var(--cta-green) !important;
  color: #fff !important;
}
.btn--red:hover { color: #fff !important; }
.btn--red::before { background: var(--cta-green-dd) !important; }
/* Dunkle Primär-/Nav-CTAs: roter Hover-/Slide-Fill → Grün (kein Rot-Flash) */
.btn--primary::before { background: var(--cta-green) !important; }
.btn--primary:hover {
  background: var(--cta-green) !important;
  border-color: var(--cta-green) !important;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3) !important;
}
.nav__cta:hover, .navbar__cta:hover {
  background: var(--cta-green) !important;
  border-color: var(--cta-green) !important;
}
/* Lead-Magnet-CTA */
.lead-btn--primary:hover { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28) !important; }
/* Mobile-Sticky-Bar: KI-Chat-Button */
.sticky-mobile-cta__btn--chat {
  background: var(--cta-green) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.30) !important;
}
/* Skip-Link */
.skip-link { background: var(--cta-green) !important; }


