:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #161225;
  --muted: #615a77;
  --brand: #8f11a8;
  --brand-dark: #673de6;
  --accent: #382e27;
  --line: #e2daf4;
  --shadow: 0 16px 55px rgba(78, 44, 140, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  display: none;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: rgba(143, 17, 168, 0.08);
  top: -120px;
  left: -100px;
}

.orb-b {
  width: 340px;
  height: 340px;
  background: rgba(103, 61, 230, 0.08);
  right: -100px;
  top: 40%;
}

.site-header {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid #e7def8;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  text-transform: lowercase;
}

.logo-image {
  height: 42px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #2e2841;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.btn {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 16px;
  background: #f0e9ff;
  color: var(--brand-dark);
}

.btn-primary {
  padding: 14px 20px;
  background: linear-gradient(135deg, #8f11a8, #673de6);
  color: #fff;
  box-shadow: 0 12px 24px rgba(103, 61, 230, 0.28);
}

.btn-dark {
  padding: 14px 20px;
  background: #382e27;
  color: #fff;
}

.btn-ghost {
  padding: 14px 20px;
  border: 1px solid var(--line);
  color: #2e2841;
  background: #fff;
}

main {
  padding-top: 42px;
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
}

.hero-lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metrics li {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ece4f8;
}

.hero-metrics strong {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  display: block;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 530px;
}

.device {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.desktop {
  overflow: hidden;
  background: #fcfaff;
  border: 1px solid #e4dcf4;
}

.device-head {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-bottom: 1px solid #e4dcf4;
  background: linear-gradient(180deg, #f7f0ff 0%, #efe5ff 100%);
}

.device-head span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b6ccc2;
}

.device-body {
  display: grid;
  grid-template-columns: 175px 1fr;
}

.device-body aside {
  border-right: 1px solid #e4dcf4;
  padding: 18px 14px;
}

.device-body aside h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.device-body aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.device-body aside li {
  font-size: 0.88rem;
  color: #655e7a;
  padding: 8px;
  border-radius: 8px;
}

.device-body aside li.active {
  background: #f1e7ff;
  color: #673de6;
  font-weight: 700;
}

.panel-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.panel-grid article {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8dff7;
  padding: 14px;
}

.panel-grid article.wide {
  grid-column: span 2;
  background: linear-gradient(145deg, #8f11a8, #673de6);
  color: #fff;
}

.panel-grid p {
  font-size: 0.86rem;
  color: #6a6183;
}

.panel-grid article.wide p {
  color: #efe5ff;
}

.panel-grid strong {
  display: block;
  margin-top: 6px;
  font-family: "Roboto", sans-serif;
}

.phone {
  width: 220px;
  padding: 14px;
  border: 1px solid #e4dcf4;
  background: #ffffff;
  position: absolute;
  right: -24px;
  bottom: -14px;
  transform: rotate(6deg);
}

.device-headline {
  height: 130px;
  border-radius: 14px;
  background: linear-gradient(145deg, #382e27, #8f11a8);
}

.job-card {
  border-radius: 12px;
  border: 1px solid #e4dcf4;
  background: #fff;
  padding: 11px;
  margin-top: -24px;
  position: relative;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

.job-card h5 {
  font-size: 0.82rem;
}

.job-card p {
  font-size: 0.72rem;
  color: #746b8c;
  margin-top: 4px;
}

.timeline-item {
  margin-top: 11px;
  height: 10px;
  border-radius: 999px;
  background: #e3d9f3;
}

.timeline-item.short {
  width: 60%;
}

.phone-footer {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #5f5678;
}

.pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: #8f11a8;
  color: #fff;
  font-weight: 700;
}

.section {
  margin-top: 86px;
}

#vorteile,
#funktionen,
#preise,
#kontakt {
  scroll-margin-top: 150px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.cards {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e8dff7;
  box-shadow: 0 8px 24px rgba(103, 61, 230, 0.06);
}

.glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e8dff7;
}

.step span {
  display: inline-flex;
  font-family: "Roboto", sans-serif;
  font-size: 0.83rem;
  color: #fff;
  background: #673de6;
  border-radius: 999px;
  padding: 5px 10px;
}

.step h3 {
  margin-top: 12px;
  font-size: 1rem;
}

.step p {
  margin-top: 8px;
  color: #6f6786;
  font-size: 0.94rem;
}

.feature-showcase {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-text {
  background: #fff;
  border: 1px solid #e8dff7;
  border-radius: 16px;
  padding: 24px;
}

.feature-text p {
  margin-top: 12px;
  color: var(--muted);
}

.feature-text ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #3a3352;
  display: grid;
  gap: 8px;
}

.feature-visual {
  min-height: 250px;
  display: grid;
  place-items: center;
}

.invoice {
  width: min(320px, 90%);
  background: #fff;
  border: 1px solid #e8dff7;
  border-radius: 16px;
  padding: 16px;
  position: relative;
}

.invoice p {
  font-size: 0.84rem;
  color: #6f6786;
}

.invoice h4 {
  margin-top: 7px;
  font-size: 1.5rem;
}

.line {
  margin-top: 9px;
  height: 8px;
  border-radius: 999px;
  background: #e9e1f7;
}

.line.w70 {
  width: 70%;
}

.line.w40 {
  width: 40%;
}

.stamp {
  position: absolute;
  right: 10px;
  top: 18px;
  transform: rotate(10deg);
  padding: 6px 11px;
  border-radius: 8px;
  background: #8f11a8;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.plan {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 10px;
  padding-top: 24px;
}

.plan .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: #f1e8ff;
  color: #5a3596;
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing .plan h3 {
  min-height: 2.8em;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
}

.price {
  margin-top: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1.45rem;
  min-height: 3.2em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.price span {
  display: block;
  margin-top: 4px;
  font-size: 0.96rem;
  color: #6f6786;
}

.plan ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-auto-rows: minmax(1.4em, auto);
  align-content: start;
}

.plan ul li {
  color: #4a4362;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan ul li::before {
  content: "✓";
  color: #673de6;
  font-weight: 700;
  line-height: 1.2;
}


.popular {
  border: 1px solid #8f11a8;
  box-shadow: 0 14px 36px rgba(103, 61, 230, 0.2);
}

.enterprise {
  border-style: dashed;
}

.faq-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

details {
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #e8dff7;
  border-radius: 14px;
}

summary {
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 0.92rem;
}

details p {
  margin-top: 10px;
  color: #6f6786;
  font-size: 0.92rem;
}

.cta {
  border-radius: 20px;
  border: 1px solid #e4dcf4;
  background: linear-gradient(145deg, #f9f4ff 0%, #f4edff 100%);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.cta h2 {
  margin-top: 8px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.cta p {
  margin-top: 10px;
  color: #6f6786;
}

.cta-actions {
  display: grid;
  gap: 10px;
}

.phone-link {
  color: #673de6;
  font-weight: 700;
  text-decoration: none;
  padding-left: 3px;
}

.site-footer {
  margin: 40px auto 26px;
  padding-top: 16px;
  border-top: 1px solid #e4dcf4;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #587068;
  font-size: 0.9rem;
}

.footer-logo {
  height: 24px;
  width: auto;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
  }

  .phone {
    right: 10px;
    bottom: 0;
  }

  .cards.three,
  .steps,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-showcase,
  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    border-top: 1px solid #e8dff7;
    padding-top: 10px;
  }

  .hero-metrics,
  .cards.two,
  .cards.three,
  .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .device-body {
    grid-template-columns: 1fr;
  }

  .device-body aside {
    border-right: 0;
    border-bottom: 1px solid #e4dcf4;
  }

  .phone {
    position: relative;
    transform: none;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .hero-visual {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
