@import url("https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500,600,700&display=swap");

:root {
  --bg: #f6faf7;
  --surface: #ffffff;
  --surface-soft: #eaf6ee;
  --lavender: #d8eedf;
  --surface-sage: #d8eedf;
  --primary: #214a32;
  --primary-soft: #35694b;
  --text: #122018;
  --muted: #5a6a60;
  --muted-light: #9aa89f;
  --danger: #9c3d2f;
  --line: rgba(33, 74, 50, 0.08);
  --shadow: 0 1px 2px rgba(33, 74, 50, 0.05), 0 1px 3px rgba(33, 74, 50, 0.04);
  --shadow-soft: 0 2px 10px rgba(33, 74, 50, 0.07);
  --shadow-strong: 0 18px 50px rgba(33, 74, 50, 0.16);
  --button-shadow: 0 1px 2px rgba(33, 74, 50, 0.18), 0 6px 16px rgba(33, 74, 50, 0.16);
  --focus: 0 0 0 3px rgba(33, 74, 50, 0.16);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1200px;
  /* Mobile: Einrückung für freistehenden Text = Karten-Innenpadding (28px),
     damit Text ohne Karte bündig mit Text in Karten steht. */
  --mobile-text-pad: 28px;
  --font: "General Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: clip;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 20px 10px;
  background: rgba(246, 250, 247, 0.9);
  backdrop-filter: blur(14px);
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 12px), var(--container));
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-height: 42px;
}

.brand-logo {
  display: block;
  width: 122px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 300 / 71;
}

.brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.brand-mark::before {
  transform: rotate(45deg);
}

.brand-mark::after {
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-links a:focus-visible {
  outline: 0;
}

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    color 220ms ease;
}

.nav-cta::before,
.button::before,
.pricing-button::before {
  content: none;
}

.nav-cta:hover,
.button:hover,
.pricing-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover::before,
.button:hover::before,
.pricing-button:hover::before {
  transform: none;
}

.nav-cta:active,
.button:active,
.pricing-button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: var(--shadow);
}

.nav-cta:focus-visible,
.button:focus-visible,
.pricing-button:focus-visible {
  outline: 0;
  box-shadow: var(--focus), var(--shadow-soft);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.nav-panel {
  display: contents;
}

.nav-panel-top,
.mobile-menu-toggle,
.mobile-menu-close,
.nav-overlay {
  display: none;
}

.nav-cta {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--button-shadow);
}

.nav-cta-secondary {
  background: var(--surface-soft);
  color: var(--primary);
  box-shadow: none;
}

.button-dark {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--button-shadow);
}

.button-violet {
  margin-top: 26px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--button-shadow);
}

.hero-section,
.intro-section,
.trust-section,
.use-cases-section,
.included-section,
.workflow-section,
.pricing-section,
.testimonials-section,
.faq-section,
.cta-section,
.site-footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.hero-section {
  padding-top: 12px;
}

.hero-panel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 0;
  background:
    linear-gradient(180deg, rgba(246, 250, 247, 0.96), rgba(234, 246, 238, 0.78)),
    var(--surface-soft);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 78px 20px 0;
  text-align: center;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.hero-mark-logo {
  display: block;
  width: 18px;
  height: auto;
}

.hero-copy h1 {
  margin: 0;
  font-size: 3.9rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 22px auto 0;
  max-width: 430px;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 500;
}

.hero-copy .button {
  margin-top: 26px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(246, 250, 247, 0.88) 0%, rgba(246, 250, 247, 0.2) 46%, rgba(33, 74, 50, 0.06) 100%),
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.8), transparent 42%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  user-select: none;
  -webkit-user-drag: none;
}

.intro-section,
.included-section,
.workflow-section,
.pricing-section,
.testimonials-section,
.faq-section {
  padding-top: 116px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 90px;
  align-items: start;
}

.section-heading h2 {
  margin: 0;
  font-size: 3.8rem;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--text);
  font-size: 1.68rem;
  line-height: 1.12;
  font-weight: 500;
}

.section-lead {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-top: 74px;
}

.feature-card {
  position: relative;
  min-height: 326px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.08;
  font-weight: 400;
}

.feature-card p {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(100% - 56px, 320px);
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
}

.image-card {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(234, 246, 238, 0.88)),
    var(--surface-soft);
}

.feature-card-dark {
  background: var(--primary);
  color: #ffffff;
}

.feature-card-dark p {
  color: #ffffff;
}

.feature-logo-scene {
  position: absolute;
  right: 42px;
  bottom: 28px;
  width: clamp(120px, 12vw, 150px);
  pointer-events: none;
}

.feature-logo-statue {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(33, 74, 50, 0.16));
}

.trust-section {
  display: grid;
  grid-template-columns: 0.82fr 2fr;
  gap: 80px;
  align-items: center;
  padding-top: 86px;
}

.trust-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 500;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.logo-row span {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: rgba(18, 32, 24, 0.42);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

.use-cases-section {
  display: grid;
  grid-template-columns: 0.86fr 1.18fr;
  gap: 76px;
  padding-top: 130px;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.use-case-heading p {
  max-width: 420px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.38;
}

.use-case-grid {
  display: grid;
  gap: 20px;
}

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

.use-case-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 246, 238, 0.88)),
    var(--surface-soft);
  box-shadow: var(--shadow);
}

.use-case-copy {
  padding: 36px 36px 0;
}

.use-case-copy h3 {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  font-weight: 400;
}

.use-case-copy p {
  max-width: 500px;
  margin: 26px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.38;
  font-weight: 500;
}

.use-case-copy a {
  position: relative;
  display: inline-flex;
  margin-top: 26px;
  font-weight: 600;
}

.use-case-copy a::after,
.footer-column a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.use-case-copy a:hover::after,
.footer-column a:hover::after,
.use-case-copy a:focus-visible::after,
.footer-column a:focus-visible::after {
  transform: scaleX(1);
}

.use-case-copy a:focus-visible,
.footer-column a:focus-visible {
  outline: 0;
}

.dashboard-mockup-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 30 / 17;
  margin: 20px 22px 22px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(234, 246, 238, 0.42)),
    var(--surface-soft);
}

.dashboard-mockup-scene::before {
  content: none;
}

.dashboard-mockup-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.business-image {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-width: none;
}

.process-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  background: var(--primary);
  color: #ffffff;
  min-height: 250px;
}

.process-card span {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 1.4rem;
  font-weight: 500;
}

.process-card h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.08;
  font-weight: 400;
}

.process-card p {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.38;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.center-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.45;
}

.included-grid {
  display: grid;
  gap: 20px;
}

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

.info-card,
.workflow-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 250px;
  background: var(--surface);
}

.info-card-soft {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 246, 238, 0.84)),
    var(--surface-soft);
}

.info-card-dark {
  background: var(--primary);
  color: #ffffff;
}

.info-card h3,
.workflow-card h3 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.08;
  font-weight: 400;
}

.info-card p,
.workflow-card p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.info-card-dark p {
  color: rgba(255, 255, 255, 0.74);
}

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

.workflow-card {
  grid-column: span 4;
  min-height: 260px;
  background: var(--surface);
}

.workflow-card:nth-child(4),
.workflow-card:nth-child(5) {
  grid-column: span 6;
}

.workflow-card span {
  display: block;
  margin-bottom: 36px;
  color: rgba(33, 74, 50, 0.36);
  font-size: 1.35rem;
  font-weight: 600;
}

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

.pricing-card {
  min-height: 310px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-card.popular {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--primary);
  color: #ffffff;
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-name,
.badge {
  font-size: 0.9rem;
  font-weight: 600;
}

.badge {
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--primary);
}

.pricing-card strong {
  display: block;
  margin-top: 22px;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 400;
}

.plan-description {
  min-height: 48px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 500;
}

.popular .plan-description {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 22px;
  margin-top: 28px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--button-shadow);
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    color 220ms ease;
}

.popular .pricing-button {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

.popular ul {
  color: rgba(255, 255, 255, 0.74);
}

.setup-note {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr;
  gap: 36px;
  align-items: start;
  margin-top: 22px;
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--lavender);
}

.setup-note h3 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.05;
  font-weight: 400;
}

.setup-note p {
  margin: 0;
  color: var(--primary);
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Einrichtungs-Garantie (Risk Reversal) */
.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-soft);
}

.pricing-guarantee-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(246, 250, 247, 0.16);
  font-size: 1.05rem;
  font-weight: 600;
}

.pricing-guarantee p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.pricing-guarantee strong {
  font-weight: 600;
}

/* Phosphor-Icons (weight light) – gleiche Icon-Sprache wie im Dashboard */
.ph-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}

.pricing-guarantee-icon .ph-icon {
  width: 17px;
  height: 17px;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: rgba(33, 74, 50, 0.08);
  color: var(--primary);
}

.info-icon .ph-icon {
  width: 24px;
  height: 24px;
}

.info-card-dark .info-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-caret {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-caret {
  transform: rotate(180deg);
}

.footer-contact__item span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-contact__item span .ph-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

@media (max-width: 980px) {
  .pricing-guarantee {
    align-items: flex-start;
  }
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  min-height: 180px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.avatar {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.testimonial-card strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.testimonial-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 660px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.5;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 116px;
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--lavender);
}

.cta-section h2 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 400;
}

.cta-section p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 70px 0 44px;
}

.legal-header {
  padding: 18px 20px 10px;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 12px), var(--container));
  margin: 0 auto;
  gap: 24px;
}

.legal-page {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 42px 0 96px;
}

.legal-hero {
  padding: clamp(36px, 6vw, 78px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 246, 238, 0.82)),
    var(--surface-soft);
}

.legal-kicker {
  display: inline-flex;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 3.9rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.legal-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
}

.legal-content {
  display: grid;
  gap: 28px;
  margin-top: 42px;
  max-width: 960px;
}

.legal-content article {
  /* Grid-Item darf nicht ueber die Spaltenbreite hinauswachsen, sonst wuerden
     breite Inhalte wie Tabellen bei overflow-x: clip abgeschnitten. */
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.08;
  font-weight: 500;
}

.legal-content h3 {
  margin: 22px 0 0;
  color: var(--primary);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.legal-content p {
  margin: 16px 0 0;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

/* Tabellen auf den Rechtsseiten, z. B. Cookie-Uebersicht */
.legal-table-scroll {
  overflow-x: auto;
  margin: 16px 0 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.legal-content tr:last-child td {
  border-bottom: 0;
}

.legal-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-action {
  margin-top: 18px;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 247, 0.96)),
    var(--surface);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
}

.cookie-banner__copy {
  display: grid;
  gap: 8px;
}

.cookie-banner__eyebrow {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
}

.cookie-banner p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.48;
}

.cookie-banner__link {
  width: fit-content;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner__button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--button-shadow);
}

.cookie-banner__button--secondary {
  background: var(--surface-soft);
  color: var(--primary);
  box-shadow: none;
}

.cookie-banner__button:focus-visible,
.cookie-banner__link:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
}

.footer-column a {
  position: relative;
  width: fit-content;
}

.footer-column strong {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-column p {
  max-width: 280px;
  margin: 0;
  line-height: 1.45;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-contact__item {
  display: grid;
  gap: 3px;
  width: fit-content;
  padding-top: 10px;
  border-top: 1px solid rgba(33, 74, 50, 0.12);
}

.footer-contact__item span {
  color: rgba(90, 106, 96, 0.72);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-contact__item a {
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 500;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
}

.footer-column .footer-brand::after {
  content: none;
}

.footer-brand-logo {
  display: block;
  width: 132px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 300 / 71;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .split-heading,
  .feature-grid,
  .trust-section,
  .use-cases-section,
  .process-grid,
  .included-grid,
  .workflow-grid,
  .pricing-grid,
  .testimonial-row,
  .cta-section,
  .setup-note,
  .site-footer {
    grid-template-columns: 1fr;
  }

  /* Mobile-Footer: Logo oben über volle Breite, Menu + Legal nebeneinander */
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding: 48px 0 36px;
  }
  .footer-logo {
    grid-column: 1 / -1;
  }

  /* Freistehender Text (ohne Karte) bündig mit Karten-Text einrücken */
  .section-heading,
  .section-lead,
  .trust-section {
    padding-inline: var(--mobile-text-pad);
  }

  .navbar {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  }

  .mobile-menu-toggle span,
  .mobile-menu-close span {
    position: absolute;
    width: 26px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--primary);
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .mobile-menu-toggle span:last-child {
    transform: translateY(4px);
  }

  .mobile-menu-state:checked + .navbar .mobile-menu-toggle span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-state:checked + .navbar .mobile-menu-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu-state:checked + .navbar .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.94);
  }

  .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    display: grid;
    align-content: start;
    width: min(88vw, 380px);
    height: 100svh;
    padding: 28px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    border-left: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(234, 246, 238, 0.9)),
      var(--surface-soft);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(22px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(104%);
    transition: transform 240ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu-state:checked + .navbar .nav-panel {
    transform: translateX(0);
  }

  .nav-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-menu-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .nav-links {
    display: grid;
    justify-content: stretch;
    gap: 4px;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(33, 74, 50, 0.08);
  }

  .nav-links a::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    border-radius: 0;
  }

  .nav-actions {
    display: grid;
    justify-content: stretch;
    gap: 12px;
    margin-top: 34px;
  }

  .nav-actions .nav-cta {
    width: 100%;
    min-height: 50px;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100svh;
    z-index: 50;
    display: block;
    border: 0;
    background: rgba(18, 32, 24, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    backdrop-filter: blur(2px);
  }

  .mobile-menu-state:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel {
    min-height: 610px;
  }

  .hero-copy h1,
  .legal-hero h1,
  .section-heading h2,
  .cta-section h2 {
    font-size: 3rem;
  }

  .section-heading p {
    font-size: 1.28rem;
  }

  .trust-section,
  .use-cases-section,
  .intro-section,
  .included-section,
  .workflow-section,
  .pricing-section,
  .testimonials-section,
  .faq-section {
    padding-top: 76px;
  }

  .workflow-card,
  .workflow-card:nth-child(4),
  .workflow-card:nth-child(5) {
    grid-column: auto;
  }

  .feature-logo-scene {
    right: 24px;
    bottom: 28px;
    width: clamp(128px, 19vw, 160px);
  }

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

  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__button {
    flex: 1 1 190px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 10px;
  }

  .hero-section,
  .intro-section,
  .trust-section,
  .use-cases-section,
  .included-section,
  .workflow-section,
  .pricing-section,
  .testimonials-section,
  .faq-section,
  .cta-section,
  .site-footer {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero-copy {
    padding-top: 54px;
  }

  .hero-copy h1,
  .legal-hero h1,
  .section-heading h2,
  .use-case-copy h3,
  .cta-section h2 {
    font-size: 2.35rem;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .hero-panel {
    min-height: 650px;
  }

  .hero-image {
    object-position: 24% bottom;
  }

  .feature-card,
  .info-card,
  .workflow-card,
  .pricing-card,
  .testimonial-card,
  .process-card,
  .setup-note,
  .cta-section {
    padding: 22px;
  }

  .image-card {
    min-height: 420px;
  }

  .feature-card p {
    position: static;
    width: auto;
    margin-top: 80px;
  }

  .image-card p {
    margin-top: 188px;
  }

  .feature-logo-scene {
    top: 118px;
    right: 22px;
    bottom: auto;
    width: 94px;
  }

  .legal-header {
    padding-inline: 10px;
  }

  .legal-page {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 32px;
  }

  .legal-hero,
  .legal-content article {
    padding: 22px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .cookie-banner__actions {
    display: grid;
  }

  .use-case-copy {
    padding: 26px 26px 0;
  }

}

/* =====================================================================
   Preiskalkulator (#preiskalkulator)
   Nutzt durchgängig bestehende Tokens, Rundungen und das Button-System.
   ===================================================================== */
.calc {
  margin-top: 8px;
}

/* --- Gemeinsame Steuerleiste --- */
.calc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  margin: 0 auto 28px;
}

/* --- Betriebsregler: Beschriftung frei, Schiene als kompakte Karte --- */
.calc-slider-group {
  width: min(560px, 100%);
  margin: 0;
}

.calc-slider-card {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.calc-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  padding-inline: 20px;
}

.calc-slider-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.calc-slider-value {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  font-weight: 400;
  color: var(--text);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      var(--primary) 0%,
      var(--primary) var(--calc-slider-fill, 0%),
      var(--surface-sage, var(--lavender)) var(--calc-slider-fill, 0%),
      var(--surface-sage, var(--lavender)) 100%
    );
  cursor: pointer;
  outline: 0;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.calc-slider:hover::-webkit-slider-thumb,
.calc-slider:active::-webkit-slider-thumb {
  transform: scale(1.08);
}
.calc-slider:hover::-moz-range-thumb,
.calc-slider:active::-moz-range-thumb {
  transform: scale(1.08);
}

.calc-slider:focus-visible::-webkit-slider-thumb {
  box-shadow:
    var(--focus),
    var(--shadow-soft);
}
.calc-slider:focus-visible::-moz-range-thumb {
  box-shadow:
    var(--focus),
    var(--shadow-soft);
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  padding-inline: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

/* --- Karte: ergänzende Calc-Elemente (erbt von .pricing-card) --- */
.calc-card {
  display: flex;
  flex-direction: column;
}

.calc-card .plan-description {
  min-height: auto;
  margin-top: 12px;
}

.calc {
  display: flex;
  flex-direction: column;
}

/* Hauptpreis */
.calc-price {
  display: block;
  margin-top: 24px;
  font-size: 2.4rem;
  line-height: 1.02;
  font-weight: 400;
}

.calc-price-sub {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.popular .calc-price-sub {
  color: rgba(255, 255, 255, 0.74);
}

/* Aufschlüsselung */
.calc-breakdown {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.popular .calc-breakdown {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 500;
}

.calc-row span:last-child {
  flex-shrink: 0;
  color: var(--text);
}

.popular .calc-row {
  color: rgba(255, 255, 255, 0.74);
}

.popular .calc-row span:last-child {
  color: #ffffff;
}

/* Gesamtsumme-Box */
.calc-total {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.popular .calc-total {
  background: rgba(255, 255, 255, 0.12);
}

.calc-total-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.popular .calc-total-label {
  color: rgba(255, 255, 255, 0.74);
}

.calc-total-value {
  display: block;
  margin-top: 4px;
  font-size: 1.5rem;
  line-height: 1.05;
  font-weight: 400;
  color: var(--text);
}

.popular .calc-total-value {
  color: #ffffff;
}

/* CTA-Button und Feature-Liste ans Kartenende schieben */
.calc-card .pricing-button {
  margin-top: 24px;
}

.calc-card ul {
  margin-top: 22px;
}

/* --- Detail-Übersicht --- */
.calc-summary {
  margin-top: 28px;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.calc-summary-title {
  margin: 0 0 20px;
  font-size: 1.6rem;
  line-height: 1.05;
  font-weight: 400;
}

.calc-summary-scroll {
  overflow-x: auto;
}

.calc-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.calc-summary-table th,
.calc-summary-table td {
  padding: 13px 16px;
  text-align: right;
  border-bottom: 1px solid rgba(33, 74, 50, 0.12);
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
}

.calc-summary-table thead th {
  font-weight: 600;
}

.calc-summary-table th[scope="row"],
.calc-summary-table thead th:first-child {
  text-align: left;
  color: var(--muted);
}

.calc-summary-table tr:last-child th,
.calc-summary-table tr:last-child td {
  border-bottom: 0;
}

.calc-summary-table .calc-summary-total th,
.calc-summary-table .calc-summary-total td {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--primary);
}

.calc-summary-table .calc-summary-total th {
  color: var(--text);
}

/* --- Fußnote --- */
.calc-disclaimer {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
}

/* --- Mobile --- */
@media (max-width: 980px) {
  .calc-controls {
    gap: 20px;
  }

  .calc-slider-group {
    width: min(452px, 100%);
    margin: 0 auto;
  }

  .calc-summary {
    padding: 26px var(--mobile-text-pad);
  }

  .calc-disclaimer {
    padding-inline: var(--mobile-text-pad);
  }
}

@media (max-width: 560px) {
  .calc-controls {
    gap: 16px;
    padding: 14px;
  }

  .calc-slider-group {
    max-width: none;
  }
}
