:root {
  --ink: #081016;
  --ink-2: #071d49;
  --muted: #65727a;
  --line: #dfe6ea;
  --paper: #f5f7fa;
  --white: #ffffff;
  --blue: #0068ff;
  --blue-dark: #041c55;
  --yellow: #ffd51f;
  --orange: #ffbc70;
  --cyan: #edf5ff;
  --shadow: 0 24px 70px rgba(6, 26, 79, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

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

.site-header {
  align-items: center;
  background: rgba(245, 247, 250, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8, 16, 22, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 30;
}

.site-header.is-elevated {
  background: rgba(245, 247, 250, 0.97);
  box-shadow: 0 14px 36px rgba(8, 16, 22, 0.1);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  gap: 12px;
  width: fit-content;
}

.brand img {
  display: block;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  width: 184px;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
}

.nav-links a {
  color: rgba(8, 16, 22, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-actions {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-self: end;
}

.language-switcher {
  position: relative;
}

.language-switcher button {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 16, 22, 0.12);
  border-radius: 8px;
  color: rgba(8, 16, 22, 0.66);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.language-current {
  color: var(--blue-dark);
  min-width: 112px;
}

.language-current::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 8px;
}

.language-menu {
  background: var(--white);
  border: 1px solid rgba(8, 16, 22, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(6, 26, 79, 0.16);
  display: none;
  min-width: 156px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
}

.language-switcher.is-open .language-menu {
  display: grid;
  gap: 4px;
}

.language-menu button {
  border-color: transparent;
  justify-content: flex-start;
  width: 100%;
}

.language-menu button[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--blue-dark);
}

.header-cta {
  background: var(--blue-dark);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 16px;
}

.hero {
  min-height: 94vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.9) 38%, rgba(255, 188, 112, 0.12) 58%, rgba(245, 247, 250, 0.2) 72%),
    linear-gradient(0deg, rgba(245, 247, 250, 0.95) 0%, rgba(245, 247, 250, 0) 30%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 760px;
  padding: clamp(128px, 18vh, 190px) clamp(20px, 5vw, 72px) 70px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.1rem, 6.2vw, 5.05rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 26px;
  max-width: 720px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy {
  color: #34444d;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 16, 22, 0.14);
}

.button.dark {
  background: var(--blue-dark);
  white-space: nowrap;
}

.signal-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 58px 0 0;
}

.signal-row div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 16, 22, 0.1);
  border-radius: 8px;
  padding: 16px;
}

.signal-row dt {
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.signal-row dd {
  color: #475963;
  font-size: 0.86rem;
  line-height: 1.35;
  margin: 8px 0 0;
}

.hero-partners {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 16, 22, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(6, 26, 79, 0.08);
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  margin-top: 0;
  max-width: 660px;
  padding: 14px 16px;
}

.hero-partners span {
  color: #475963;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-partners div {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 0.8fr 1.4fr 1fr;
}

.hero-partners img {
  display: block;
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
}

.hero-partners img:nth-child(2) {
  max-height: 46px;
}

section {
  padding: clamp(78px, 10vw, 136px) clamp(20px, 5vw, 72px);
}

.band {
  background: var(--white);
}

.platform-section {
  background: linear-gradient(180deg, var(--paper), #fff7eb);
}

.products-section {
  background: linear-gradient(180deg, var(--paper), var(--cyan));
}

.pricing-section {
  background: linear-gradient(180deg, var(--white), #fff3df);
}

.addon-section {
  background: linear-gradient(180deg, #fff3df, var(--cyan));
}

.section-kicker,
.section-heading,
.split-intro,
.addon-intro,
.proof-section,
.cta-section {
  margin: 0 auto;
  max-width: 1180px;
}

.section-kicker {
  margin-bottom: 50px;
}

.section-kicker h2,
.section-heading h2 {
  max-width: 980px;
}

.section-heading {
  margin-bottom: 52px;
}

.platform-grid,
.product-layout,
.addon-grid,
.pricing-grid,
.proof-grid,
.team-grid,
.partner-grid,
.process-map {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
}

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

.platform-grid article,
.product-card,
.price-card,
.proof-grid article,
.team-grid article,
.partner-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
}

.platform-grid article {
  min-height: 260px;
}

.card-index {
  color: var(--orange);
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 32px;
}

.process-section {
  background: linear-gradient(135deg, var(--blue-dark), #082b76);
  color: var(--white);
}

.process-section p {
  color: rgba(255, 255, 255, 0.68);
}

.process-section .eyebrow {
  color: var(--yellow);
}

.process-map {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-map article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 22px;
}

.process-map span {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), #4da3ff);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 28px;
  width: 42px;
}

.split-intro {
  align-items: end;
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr;
  margin-bottom: 50px;
}

.product-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: #fbfcff;
  min-height: 320px;
}

.product-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}

.product-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.product-label {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 36px;
  text-transform: uppercase;
}

.product-card.featured .product-label {
  color: var(--yellow);
}

.estate-logo-mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  display: inline-flex;
  height: 112px;
  justify-content: center;
  margin: 0 0 30px;
  overflow: hidden;
  padding: 4px;
  width: 112px;
}

.estate-logo-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  transform: scale(1.32);
  width: 100%;
}

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

.addon-intro {
  margin-bottom: 22px;
}

.addon-intro h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.4rem);
  max-width: 760px;
}

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

.addon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
}

.addon-card .product-label {
  color: var(--orange);
}

.addon-price {
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 22px;
}

.addon-card ul {
  color: #4c5b64;
  line-height: 1.65;
  margin: 0;
  padding-left: 18px;
}

.consulting-section {
  background: linear-gradient(180deg, var(--cyan), var(--paper));
  padding-top: 0;
}

.consulting-panel {
  align-items: start;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(24px, 4vw, 44px);
}

.consulting-panel h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
}

.consulting-copy {
  color: #3d4d57;
  display: grid;
  gap: 14px;
  line-height: 1.65;
}

.consulting-copy p {
  margin: 0;
}

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

.price-card {
  position: relative;
}

.price-card.highlight {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 70px rgba(0, 104, 255, 0.18);
}

.price-card.highlight::before {
  background: var(--yellow);
  border-radius: 999px;
  color: var(--blue-dark);
  content: "Empfohlen";
  font-size: 0.72rem;
  font-weight: 900;
  padding: 7px 11px;
  position: absolute;
  right: 18px;
  top: 18px;
  text-transform: uppercase;
}

.plan {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.price {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price span {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
}

.plan-meta {
  color: #41525c;
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.price-card ul {
  color: #4c5b64;
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
}

.pricing-note-panel {
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark), #062b7f);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(190px, 0.35fr) 1fr;
  margin: 34px auto 0;
  max-width: 1180px;
  padding: clamp(22px, 3vw, 34px);
}

.pricing-note-panel strong {
  color: var(--yellow);
}

.pricing-note-panel span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.proof-section {
  align-items: start;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.proof-grid {
  grid-template-columns: 1fr;
}

.proof-grid article {
  background: #fbfcff;
}

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

.team-grid article {
  background: var(--paper);
  overflow: hidden;
  padding: 0;
}

.team-grid img {
  aspect-ratio: 1 / 1;
  background: var(--white);
  display: block;
  object-fit: cover;
  width: 100%;
}

.team-grid article > div {
  padding: 22px;
}

.team-grid strong,
.team-grid span {
  display: block;
}

.team-grid span {
  color: var(--muted);
  margin-top: 10px;
}

.partner-section {
  background: linear-gradient(180deg, var(--white), var(--cyan));
}

.partner-grid {
  align-items: stretch;
  grid-template-columns: 0.8fr 1.4fr 1fr;
}

.partner-grid article {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 160px;
  padding: clamp(24px, 4vw, 42px);
}

.partner-grid img {
  display: block;
  max-height: 86px;
  max-width: 100%;
  object-fit: contain;
}

.partner-grid .wide img {
  max-height: 118px;
}

.cta-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 104, 255, 0.94), rgba(6, 26, 79, 0.97)),
    var(--blue);
  border-radius: 0;
  color: var(--white);
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr auto;
  max-width: none;
  padding: clamp(70px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.cta-section .eyebrow {
  color: var(--yellow);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 780px;
}

.cta-section h2 {
  max-width: 1020px;
}

.site-footer {
  align-items: center;
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 18px 34px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

.site-footer p,
.site-footer address {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.social-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 42px;
}

.social-links svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.social-links a:nth-child(2) svg,
.social-links a:nth-child(3) svg,
.social-links a:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}

.social-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink-2);
  transform: translateY(-2px);
}

.site-footer address {
  display: flex;
  flex-wrap: wrap;
  font-style: normal;
  gap: 10px 26px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .platform-grid,
  .product-layout,
  .addon-grid,
  .process-map,
  .team-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-map article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 24px 0 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.88) 62%, rgba(255, 188, 112, 0.16) 82%, rgba(245, 247, 250, 0.38) 100%),
      linear-gradient(0deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0) 46%);
  }

  .hero-content {
    padding-top: 124px;
  }

  .split-intro,
  .proof-section,
  .pricing-grid,
  .pricing-note-panel,
  .consulting-panel,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-section .button {
    justify-self: start;
  }

  .site-footer,
  .site-footer address {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    justify-content: flex-start;
  }

}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 152px;
  }

  .header-cta {
    align-items: center;
    display: inline-flex;
    font-size: 0;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    width: 58px;
  }

  .header-cta::before {
    content: "Demo";
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher button {
    min-height: 36px;
    padding: 0 9px;
  }

  .language-current {
    justify-content: center;
    min-width: 106px;
    width: auto;
  }

  .language-current::after {
    margin-left: 5px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.4vw, 3rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .signal-row,
  .hero-partners div,
  .platform-grid,
  .product-layout,
  .addon-grid,
  .process-map,
  .team-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid article {
    min-height: 130px;
  }

  .pricing-note-panel {
    grid-template-columns: 1fr;
  }
}
