:root {
  --brand-blue: #0d7db8;
  --brand-blue-dark: #08689a;
  --brand-blue-light: #86b9da;
  --brand-ice: #eaf5fb;
  --navy: #113248;
  --text: #183244;
  --muted: #5f7685;
  --line: #d8e7f1;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(13, 125, 184, 0.14);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(134, 185, 218, 0.24), transparent 28%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 22%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(216, 231, 241, 0.8);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.logo-wrap img {
  width: 190px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.logo-note {
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a.is-active,
.lang-switch span.is-active {
  color: var(--brand-blue-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

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

.cert-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cert-badge-icon-inline {
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 0.35rem;
}

.cert-badge-icon-light {
  filter: brightness(0) invert(1);
}

.cert-badge-link {
  display: inline-flex;
  align-items: center;
}

.topic-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-blue-dark);
}

.topic-icon-inline {
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 0.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(13, 125, 184, 0.24);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-blue-dark);
  border-color: rgba(13, 125, 184, 0.18);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(134, 185, 218, 0.18);
  color: var(--brand-blue-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1,
.section h2,
.cta-card h2 {
  font-family: "Poppins", "Nunito Sans", Arial, sans-serif;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.35rem);
  line-height: 1.03;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.hero p {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 1.35rem;
}

.hero-actions,
.hero-meta,
.feature-grid,
.steps,
.proof-grid,
.footer-grid,
.form-grid,
.form-actions {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.mini-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.mini-card strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.22rem;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(134, 185, 218, 0.18), rgba(255,255,255,0.96));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(13, 125, 184, 0.08);
}

.dashboard {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
}

.dashboard-top small,
.dashboard-box small,
.proof-card small,
.cta-card small { opacity: 0.84; }

.proof-card.highlight small {
  display: block;
  margin-bottom: 0.2rem;
}

.proof-card.highlight p {
  line-height: 1.35;
}

.dashboard-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.dashboard-box small {
  display: block;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.dashboard-top strong,
.dashboard-box strong,
.proof-card strong { font-size: 1.15rem; }

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

.dashboard-box,
.feature-card,
.step,
.proof-card,
.cta-card,
.footer-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dashboard-box,
.feature-card,
.step,
.proof-card,
.footer-card,
.contact-card { padding: 1.2rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(13, 125, 184, 0.08);
  color: var(--brand-blue-dark);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.section {
  padding: 1.5rem 0 4.4rem;
}

.section-head {
  max-width: 1080px;
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.7rem;
}

.section p.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

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

.solution-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 0 0 1.35rem;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.solution-box-image {
  width: min(100%, 220px);
  height: auto;
  justify-self: center;
}

.solution-showcase-copy h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.solution-showcase-copy .feature-grid {
  margin-top: 0.55rem;
}

.solution-showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.solution-showcase-copy p + p {
  margin-top: 0.65rem;
}

.feature-card h3,
.step h3,
.proof-card h3,
.footer-card h3,
.contact-card h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.feature-card p,
.step p,
.proof-card p,
.footer-card p,
.footer-card li,
.contact-card p,
.contact-card li,
.field-note,
.success-note {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(134, 185, 218, 0.13), rgba(255,255,255,0.1));
  border-top: 1px solid rgba(216, 231, 241, 0.7);
  border-bottom: 1px solid rgba(216, 231, 241, 0.7);
}

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

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: white;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.proof-card.highlight {
  background: linear-gradient(180deg, #ffffff, rgba(234, 245, 251, 0.7));
  border-color: rgba(13, 125, 184, 0.22);
}

.proof-card a,
.footer-card a,
.contact-card a,
.inline-link {
  color: var(--brand-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}

.faq-item p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.related-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-solution-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.related-solution-card img {
  width: 120px;
  height: auto;
  justify-self: center;
}

.related-solution-card h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
}

.related-solution-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.related-solution-card > div {
  display: flex;
  flex-direction: column;
}

.related-solution-card > div a {
  margin-top: auto;
}

.logo-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: logos-scroll 52s linear infinite;
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

.logo-carousel-list {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-carousel-item {
  position: relative;
  width: 220px;
  min-width: 220px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.logo-carousel-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.35rem 0.45rem;
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.97) 22%, #fff 100%);
  border-top: 1px solid var(--line);
  max-height: 48%;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.18s ease, transform 0.22s ease;
  pointer-events: none;
  z-index: 1;
}

.logo-carousel-item:hover::after,
.logo-carousel-item:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.logo-carousel-item img {
  max-width: 100%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation: none;
  }
}

.cta-wrap { padding: 1.5rem 0 5rem; }

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  color: white;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.cta-card h2 { color: white; margin-bottom: 0.6rem; }
.cta-card p { max-width: 62ch; line-height: 1.6; margin: 0 0 1.1rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
  align-items: start;
}

.contact-card {
  background: rgba(255,255,255,0.96);
  color: var(--text);
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full { grid-column: 1 / -1; }

label {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(13, 125, 184, 0.55);
  box-shadow: 0 0 0 4px rgba(13, 125, 184, 0.12);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.btn-submit {
  border: 0;
  width: 100%;
  font-size: 1rem;
}

.success-note {
  display: none;
  background: rgba(13, 125, 184, 0.08);
  border: 1px solid rgba(13, 125, 184, 0.18);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.success-note.show { display: block; }

footer {
  padding: 0 0 3rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-card strong { color: var(--navy); }
.muted { color: var(--muted); }
.legal-card {
  display: grid;
  gap: 0.8rem;
}

.legal-header-flex {
  display: flex;
  justify-content: space-between; /* Schiebt Text nach links, Logo nach rechts */
  align-items: flex-start;        /* Richtet beide oben an der Kante aus */
}

.sap-partner-logo {
  width: min(220px, 100%);
  height: auto;
}

@media (max-width: 1020px) {
  .hero-grid,
  .feature-grid,
  .proof-grid,
  .footer-grid,
  .steps,
  .hero-meta,
  .contact-layout,
  .related-solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .solution-showcase { grid-template-columns: 1fr; text-align: left; }
  .hero h1 { max-width: none; }
}

@media (max-width: 700px) {
  .logo-note { display: none; }
  .topbar-inner { align-items: flex-start; }
  .nav-actions { width: 100%; justify-content: flex-start; }
  .lang-switch { margin-bottom: 0.25rem; }
  .logo-wrap img { width: 148px; }
  .hero { padding-top: 3rem; }
  .logo-carousel-item {
    width: 176px;
    min-width: 176px;
    height: 86px;
  }
  .feature-grid,
  .proof-grid,
  .footer-grid,
  .steps,
  .hero-meta,
  .dashboard-grid,
  .form-grid,
  .related-solutions-grid {
    grid-template-columns: 1fr;
  }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .topbar-inner { flex-direction: column; }
}
