/* codegiganten SCD Landing Page – Plakat-Design */

:root {
  --yellow: #F5B800;
  --yellow-dark: #E5A800;
  --purple: #5B2D8E;
  --purple-light: #6B3DA0;
  --mint: #7FD4B8;
  --mint-dark: #5FC4A4;
  --dark: #2A2A2A;
  --grey: #555;
  --grey-light: #888;
  --white: #fff;
  --shopware-blue: #189EFF;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(42, 42, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Diagonal background shapes (Plakat-Ecken) */
.bg-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.bg-shape--purple {
  top: 0;
  right: 0;
  width: 45vw;
  height: 35vh;
  background: var(--purple);
  clip-path: polygon(100% 0, 100% 100%, 30% 0);
}

.bg-shape--yellow {
  bottom: 0;
  right: 0;
  width: 55vw;
  height: 45vh;
  background: var(--yellow);
  clip-path: polygon(100% 100%, 100% 0, 20% 100%);
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  width: auto;
  height: 40px;
}

.scd-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--purple);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  gap: 2.5rem;
}

.hero__visual {
  position: relative;
}

.hero__photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__photo {
  width: 100%;
  aspect-ratio: 500 / 748;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
}

.stats {
  position: absolute;
  left: 0;
  bottom: 1.25rem;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}

.stats__bar {
  background: var(--purple);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(91, 45, 142, 0.35);
}

.stats__bar:nth-child(2) {
  margin-left: 1.5rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.headline__strip {
  display: inline-block;
  background: var(--mint);
  color: var(--white);
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  line-height: 1.3;
}

.headline__big {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--dark);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 1.25rem;
}

.hero__intro {
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--purple);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.95rem;
  box-shadow: 0 6px 24px rgba(91, 45, 142, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(91, 45, 142, 0.4);
}

.btn--large {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

/* Services */
.services {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.section-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.services__grid {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 2px solid rgba(91, 45, 142, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--grey);
}

/* Trust / Partners */
.trust {
  position: relative;
  z-index: 5;
  background: var(--purple);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.section-title--light {
  color: var(--white);
}

.trust__text {
  max-width: 52ch;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.6;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1.25rem;
}

.badge-img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* CTA Section */
.cta {
  position: relative;
  z-index: 5;
  padding: 3rem 1.5rem 4rem;
}

.cta__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.cta__title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--dark);
}

.cta__text {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.cta__contact {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--dark);
}

.cta__contact a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__contact a:hover {
  color: var(--purple-light);
}

/* Footer */
.footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--grey-light);
  border-top: 1px solid rgba(42, 42, 42, 0.08);
}

.footer a {
  color: var(--grey);
  text-decoration: none;
}

.footer a:hover {
  color: var(--purple);
}

.footer__legal {
  margin-top: 0.35rem;
}

/* Sticky CTA for mobile (QR-Code Traffic) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 70%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn--sticky {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 5rem;
  }
}

/* Desktop layout */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .hero__visual {
    order: 1;
  }

  .hero__content {
    order: 2;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bg-shape--purple {
    width: 38vw;
    height: 40vh;
  }

  .bg-shape--yellow {
    width: 42vw;
    height: 50vh;
  }
}

@media (min-width: 1100px) {
  .header,
  .hero,
  .services {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn--primary:hover {
    transform: none;
  }
}
