:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-surface: #1a1a1a;
  --bg-soft: #222222;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --orange: #ff6b00;
  --orange-hot: #ff5500;
  --orange-glow: rgba(255, 107, 0, 0.28);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 4px;
  --nav-h: 72px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.92);
}

.nav__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav__brand img {
  height: 36px;
  width: auto;
}

.nav__wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav__wordmark span {
  color: var(--orange);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__phone {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav__phone:hover {
  opacity: 0.85;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.btn--primary {
  color: #0a0a0a;
}

.nav__links a.btn--primary:hover {
  color: #0a0a0a;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  place-items: center;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}

.btn--primary {
  background: var(--orange);
  color: #0a0a0a;
  box-shadow: 0 0 0 0 var(--orange-glow);
}

.btn--primary:hover {
  background: var(--orange-hot);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--orange-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 0.9rem 1.7rem;
  letter-spacing: 0.02em;
}

.btn--outline:hover {
  background: var(--orange);
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--orange-glow);
}

.btn--full {
  width: 100%;
}

/* ——— Hero: Text links / Bild rechts (wie easyfulfillment-Aufteilung) ——— */
.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 1.1fr);
  align-items: stretch;
  min-height: clamp(560px, 82vh, 760px);
  margin-top: var(--nav-h);
  background: #080a12;
  overflow: hidden;
}

.hero__copy {
  display: flex;
  align-items: center;
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem) 3.5rem clamp(1.5rem, 5vw, 5.5rem);
  position: relative;
  z-index: 2;
  background: #080a12;
}

.hero__copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  bottom: 0;
  width: 140px;
  background: linear-gradient(90deg, #080a12 10%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__copy-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
}

.hero__visual {
  position: relative;
  min-height: 0;
  height: 100%;
  background: #0a0a0a;
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  display: block;
  position: absolute;
  inset: 0;
}

img.hero__visual--mobile {
  display: none;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: rgba(245, 245, 245, 0.78);
  max-width: 30rem;
  margin-bottom: 1.75rem;
  line-height: 1.55;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

.hero__badges li {
  font-size: 0.82rem;
  color: rgba(245, 245, 245, 0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Sections ——— */
section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

/* ——— Why ——— */
.why {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.why__item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.why__item p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.why__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

/* ——— Services ——— */
.services__list {
  display: grid;
  gap: 3rem;
}

.service {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.service:nth-child(even) {
  direction: rtl;
}

.service:nth-child(even) > * {
  direction: ltr;
}

.service__visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-surface);
}

.service__visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service:hover .service__visual img {
  transform: scale(1.04);
}

.service__body h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

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

.service--green .service__visual {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 107, 0, 0.2), transparent 55%),
    linear-gradient(145deg, #1a1a1a, #0f1a12);
  display: grid;
  place-items: center;
  min-height: 280px;
}

.service--green .leaf {
  font-size: 4rem;
  color: #7dba6a;
  opacity: 0.9;
}

/* ——— Integrations ——— */
.integrations {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.logos__item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.logos__item:hover {
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateY(-3px);
}

.logos__item img {
  max-height: 36px;
  width: auto;
  max-width: 120px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.carriers strong {
  color: var(--text);
  font-weight: 600;
}

.carrier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.carrier-pills span {
  padding: 0.4rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text);
}

/* ——— Pricing ——— */
.pricing__note {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.price-block {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.price-block--accent {
  border-color: rgba(255, 107, 0, 0.45);
  background:
    linear-gradient(160deg, rgba(255, 107, 0, 0.12), transparent 55%),
    var(--bg-elevated);
}

.price-block h3 {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row span:first-child {
  color: var(--text-muted);
}

.price-row strong {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-featured {
  margin-bottom: 1.25rem;
}

.price-featured .amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
}

.price-featured .amount small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-featured p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.pricing__disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ——— About / Contact ——— */
.about {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.about__copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about__meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.about__meta dt {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about__meta dd {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.form__row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--orange);
}

.form textarea {
  min-height: 100px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form__status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status.is-ok { color: #7dba6a; }
.form__status.is-err { color: #ff6b6b; }

/* ——— Footer ——— */
.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__brand img {
  height: 28px;
}

.footer__brand span {
  font-weight: 700;
}

.footer__brand span em {
  font-style: normal;
  color: var(--orange);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer__links button,
.footer__links a {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
}

.footer__links button:hover,
.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ——— Modals ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: min(100%, 720px);
  max-height: min(85vh, 800px);
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 2rem;
  z-index: 1;
  transform: translateY(12px);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal__panel {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.25rem;
  line-height: 1;
}

.modal__panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.legal-content {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 1.35rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  margin-bottom: 0.65rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.legal-content a {
  color: var(--orange);
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__copy {
    order: 2;
    padding: 2.5rem 1.5rem 3rem;
  }

  .hero__copy::after {
    display: none;
  }

  .hero__visual {
    order: 1;
    min-height: 300px;
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

@media (max-width: 900px) {
  .why__grid,
  .price-grid,
  .about__grid,
  .service,
  .service:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a,
  .nav__links .btn {
    padding: 0.75rem 0;
  }

  .nav__toggle {
    display: grid;
  }

  .nav__phone {
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .hero__visual {
    min-height: 240px;
    aspect-ratio: 5 / 4;
  }

  img.hero__visual--desktop {
    display: none;
  }

  img.hero__visual--mobile {
    display: block;
  }

  .nav__phone {
    display: none;
  }

  section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero h1,
  .hero__sub,
  .hero__cta,
  .hero__badges {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
