:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --logo-teal: #22a79a;
  --logo-teal-dark: #16877d;
  --logo-orange: #e9781b;
  --logo-orange-dark: #c45f11;
  --logo-gold: #f4bf18;
  --logo-gold-text: #a36e00;
  --logo-green: #74b85b;
  --logo-green-dark: #4f9140;
  --accent: var(--logo-teal);
  --accent-dark: var(--logo-teal-dark);
  --dark: #101114;
  --dark-surface: #1c1d22;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.045em; line-height: 1.03; }
h1 { font-size: clamp(3.3rem, 8vw, 7.8rem); font-weight: 760; }
h2 { font-size: clamp(2.35rem, 5vw, 5.2rem); font-weight: 740; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(245, 245, 247, 0.74);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--text);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; color: #3a3a3c; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 8px 14px; color: white !important; background: var(--logo-orange); border-radius: 999px; }
.nav-cta:hover { background: var(--logo-orange-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 150px) 24px;
}
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 28px; }
.hero-text { max-width: 700px; font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; }
.hero .eyebrow { color: var(--logo-teal); }
#produkt .eyebrow { color: var(--logo-orange); }
.split:not(.soft) .eyebrow { color: var(--logo-green-dark); }
.dark .eyebrow { color: var(--logo-gold); }
#funktionen .eyebrow { color: var(--logo-green-dark); }
.statement .eyebrow { color: var(--logo-orange); }
#pilotphase .eyebrow { color: var(--logo-teal); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  transition: transform 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: var(--logo-teal); color: white; }
.primary:hover { background: var(--logo-teal-dark); }
.hero .primary { background: var(--logo-orange); }
.hero .primary:hover { background: var(--logo-orange-dark); }
.contact-panel .primary { background: var(--logo-green-dark); }
.contact-panel .primary:hover { background: var(--logo-teal-dark); }
.secondary { background: rgba(0, 0, 0, 0.06); }
.full { width: 100%; }

.product-card {
  background: linear-gradient(145deg, #ffffff, #e9edf4);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
}
.mock-browser { background: #fff; border-radius: 24px; overflow: hidden; min-height: 440px; }
.browser-dots { display: flex; gap: 7px; padding: 18px; border-bottom: 1px solid var(--line); }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #d2d2d7; }
.mock-grid { display: grid; grid-template-columns: 110px 1fr; min-height: 380px; }
.mock-sidebar { border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 14px; }
.mock-sidebar div { height: 14px; border-radius: 999px; background: #e8e8ed; }
.mock-sidebar div:nth-child(1) { background: rgba(34, 167, 154, 0.28); }
.mock-sidebar div:nth-child(2) { background: rgba(233, 120, 27, 0.28); }
.mock-sidebar div:nth-child(3) { background: rgba(244, 191, 24, 0.32); }
.mock-sidebar div:nth-child(4) { background: rgba(116, 184, 91, 0.30); }
.mock-main { padding: 28px; }
.mock-title { width: 54%; height: 24px; border-radius: 999px; background: #e8e8ed; margin-bottom: 26px; }
.calendar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.calendar-grid span { min-height: 58px; border-radius: 14px; background: #f2f2f7; }
.calendar-grid .filled { background: var(--logo-teal); }
.calendar-grid .filled:nth-child(9),
.calendar-grid .filled:nth-child(13) { background: var(--logo-orange); }
.calendar-grid .filled:nth-child(19) { background: var(--logo-green); }
.calendar-grid .light { background: var(--logo-gold); }

.centered { text-align: center; }
.narrow { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 58px; align-items: center; }
.split > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.feature-stack { display: grid; gap: 16px; }
.feature-stack article, .card, .contact-panel {
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 12px 44px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
}
.feature-stack article:nth-child(1) { border-top: 4px solid var(--logo-teal); }
.feature-stack article:nth-child(2) { border-top: 4px solid var(--logo-orange); }
.feature-stack article:nth-child(3) { border-top: 4px solid var(--logo-green); }
.feature-stack article:nth-child(1) span { color: var(--logo-teal-dark); }
.feature-stack article:nth-child(2) span { color: var(--logo-orange-dark); }
.feature-stack article:nth-child(3) span { color: var(--logo-green-dark); }
.feature-stack span { display: inline-block; margin-bottom: 18px; color: var(--accent); font-weight: 800; }
.feature-stack p, .card p, .contact-panel p { margin-top: 12px; font-size: 1rem; }

.dark {
  max-width: none;
  background: var(--dark);
  color: white;
  border-radius: 0;
}
.dark .section-heading, .dark .cards { max-width: 1180px; margin-left: auto; margin-right: auto; }
.dark p { color: rgba(255,255,255,0.68); }
.dark .card { background: var(--dark-surface); border-color: rgba(255,255,255,0.08); box-shadow: none; }
.section-heading { text-align: center; max-width: 820px; margin: 0 auto 44px; display: flex; flex-direction: column; gap: 18px; }
.cards { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.cards .card:nth-child(1) { border-top: 4px solid var(--logo-teal); }
.cards .card:nth-child(2) { border-top: 4px solid var(--logo-orange); }
.cards .card:nth-child(3) { border-top: 4px solid var(--logo-gold); }
.cards .card:nth-child(4) { border-top: 4px solid var(--logo-green); }
.card.light { min-height: 220px; }
.statement h2 { max-width: 980px; margin: 0 auto; }
.soft { background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(232,240,255,0.9)); border-radius: var(--radius-lg); margin-bottom: 80px; }
.contact-panel { display: flex; flex-direction: column; gap: 16px; }
.mail-link { color: var(--logo-teal-dark); font-weight: 650; text-align: center; }

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 52px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.footer p { margin-top: 6px; font-size: 0.95rem; }
.footer-links { display: flex; gap: 20px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .three, .four { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    background: rgba(245,245,247,0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.65rem;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  h2 {
    font-size: 2.15rem;
    letter-spacing: -0.025em;
  }
  .nav {
    min-height: 60px;
    padding: 0 18px;
  }
  .brand-logo {
    width: 30px;
    height: 30px;
  }
  .section { padding: 64px 20px; }
  .hero {
    padding-top: 44px;
    gap: 34px;
  }
  .hero-content { gap: 22px; }
  .hero-text { font-size: 1.08rem; }
  .hero-actions { gap: 10px; }
  .button {
    min-height: 46px;
    padding: 0 18px;
  }
  .product-card {
    padding: 14px;
    border-radius: 24px;
  }
  .three, .four { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 8px; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-browser { min-height: auto; }
  .calendar-grid span { min-height: 46px; }
}

@media (max-width: 380px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.95rem; }
  .section { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 36px; }
}
