/*
Theme Name: Resellingdaxs
Theme URI: https://resellingdaxs.de/
Author: Resellingdaxs
Description: Schlankes B2B-Onepager-Theme für Resellingdaxs.
Version: 1.9.0
Text Domain: resellingdaxs
*/

:root {
  --ink: #16181b;
  --ink-soft: #292d32;
  --paper: #f7f7f2;
  --white: #fff;
  --yellow: #ffdd58;
  --yellow-bright: #ffe476;
  --muted: #666b73;
  --line: rgba(22, 24, 27, .11);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(11, 13, 15, .12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 16px; background: var(--yellow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding: 18px 0;
  transition: .25s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(247,247,242,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.11em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.brand-name { font-size: 18px; }
.brand--custom .custom-logo-link { display: flex; align-items: center; }
.brand--custom .custom-logo { width: auto; max-width: 240px; height: 52px; object-fit: contain; }
.brand--image img { width: 238px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a:not(.button) { color: #41464d; }
.site-nav a:hover { color: #000; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0,0,0,.16); }
.button--yellow { background: var(--yellow); color: var(--ink); }
.button--ghost { color: var(--ink); background: transparent; border-color: rgba(22,24,27,.25); }
.button--small { min-height: 44px; padding-inline: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  padding: 175px 0 105px;
  background:
    radial-gradient(circle at 78% 25%, rgba(255,221,88,.5), transparent 27%),
    linear-gradient(145deg, #fff 0%, #f7f7f2 66%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -210px;
  bottom: -250px;
  border: 76px solid rgba(255,221,88,.8);
  border-radius: 50%;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 76px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #4b5057;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 3px; border-radius: 3px; background: var(--yellow); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 80px); }
h2 { margin-bottom: 24px; font-size: clamp(38px, 4vw, 59px); }
h3 { margin-bottom: 12px; font-size: 23px; }
.hero h1 span, .accent { position: relative; white-space: nowrap; }
.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: .22em;
  inset: auto -.05em .07em;
  border-radius: 20px;
  background: var(--yellow);
}
.hero-lead { max-width: 660px; margin: 0 0 32px; color: #4c5158; font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; color: #565b62; font-size: 13px; font-weight: 750; }
.mini-proof span { display: flex; align-items: center; gap: 8px; }
.mini-proof span::before { content: "✓"; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,221,88,.65); color: #111; }

.trade-card {
  position: relative;
  padding: 28px;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.trade-card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; pointer-events: none; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: #b7bbc1; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.live-dot { display: flex; align-items: center; gap: 7px; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,221,88,.12); }
.trade-main { padding: 32px; border-radius: 22px; background: #23262a; }
.trade-main small { color: #9ea3a9; }
.trade-main strong { display: block; margin: 7px 0 26px; font-size: 30px; letter-spacing: -.04em; }
.flow { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 9px; }
.flow-item { padding: 15px; border-radius: 16px; background: #30343a; }
.flow-item span { display: block; color: #9ea3a9; font-size: 11px; text-transform: uppercase; }
.flow-item b { font-size: 14px; }
.flow-arrow { color: var(--yellow); text-align: center; }
.card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 10px; }
.card-stat { padding: 15px 12px; border-radius: 16px; background: #23262a; }
.card-stat b { display: block; color: var(--yellow); font-size: 18px; }
.card-stat span { color: #9ea3a9; font-size: 10px; text-transform: uppercase; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); align-items: center; min-height: 120px; }
.trust-grid > * { padding: 25px; border-right: 1px solid var(--line); }
.trust-grid > *:last-child { border-right: 0; }
.trust-label { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.trust-item { font-size: 16px; font-weight: 850; text-align: center; }

.section { padding: 120px 0; }
.section--white { background: #fff; }
.section--dark { overflow: hidden; background: var(--ink); color: #fff; }
.section-heading { max-width: 780px; margin-bottom: 58px; }
.section-heading p { max-width: 680px; color: var(--muted); font-size: 18px; }
.section--dark .section-heading p { color: #a9adb3; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  position: relative;
  min-height: 350px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { color: #a1a5aa; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 45px 0 28px; border-radius: 18px; background: var(--yellow); font-size: 25px; }
.service p { color: var(--muted); }

.logistics-visual {
  padding: 0 0 120px;
  background: #fff;
}
.logistics-frame {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  margin: 0;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.logistics-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,14,.82) 0%, rgba(10,12,14,.28) 52%, rgba(10,12,14,.08) 100%);
}
.logistics-frame img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.logistics-frame figcaption {
  position: absolute;
  z-index: 2;
  left: 48px;
  bottom: 46px;
  max-width: 550px;
  color: #fff;
}
.logistics-frame figcaption span {
  display: block;
  margin-bottom: 9px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.logistics-frame figcaption strong {
  display: block;
  font-size: clamp(30px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; }
.feature-sticky { position: sticky; top: 130px; }
.feature-list { display: grid; gap: 14px; }
.feature {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: 22px;
  background: #24272b;
  border: 1px solid rgba(255,255,255,.07);
}
.feature-index { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 900; }
.feature p { margin: 0; color: #acb0b6; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: steps; }
.process-step { position: relative; min-height: 260px; padding: 29px; border-radius: 24px; background: #fff; border: 1px solid var(--line); counter-increment: steps; }
.process-step::before { content: "0" counter(steps); display: block; margin-bottom: 56px; color: #a1a5aa; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.process-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -18px; top: 45px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); font-weight: 900; }
.process-step p { color: var(--muted); font-size: 15px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,221,88,.48), transparent 31%),
    #f3f3ee;
  box-shadow: 0 20px 55px rgba(22,24,27,.08);
}
.about-visual::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 9px;
  left: 34px;
  top: 32px;
  border-radius: 999px;
  background: var(--yellow);
}
.about-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(120px, 17vw, 240px); font-weight: 950; letter-spacing: -.13em; transform: translateX(-5%); }
.about-monogram-image {
  position: absolute;
  top: 45%;
  left: 50%;
  width: min(76%, 430px);
  height: auto;
  transform: translate(-50%, -55%);
}
.about-badge { position: absolute; left: 28px; right: 28px; bottom: 28px; padding: 22px; border-radius: 20px; background: rgba(22,24,27,.93); color: #fff; }
.about-badge span { display: block; color: #b8bbc0; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.about-copy p { color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 27px 0 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; font-size: 14px; font-weight: 750; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #8b6a00; }

.homepage-editor-content > .container > * { max-width: 900px; margin-inline: auto; }
.rdx-faq-block > h2 { max-width: 760px; margin-bottom: 18px; }
.rdx-faq-intro { margin: 0 0 46px; color: var(--muted); font-size: 18px; }
.homepage-editor-content details {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.homepage-editor-content details:last-child { border-bottom: 1px solid var(--line); }
.homepage-editor-content summary {
  position: relative;
  padding: 27px 58px 27px 0;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.homepage-editor-content summary::-webkit-details-marker { display: none; }
.homepage-editor-content summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  transform: translateY(-50%);
}
.homepage-editor-content details[open] summary::after { content: "−"; background: var(--ink); color: #fff; }
.homepage-editor-content details > :not(summary) { max-width: 780px; margin: 0; padding: 0 58px 27px 0; color: var(--muted); }

.cta { padding: 0 0 120px; }
.cta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding: 68px; border-radius: 36px; background: var(--yellow); }
.cta-box::after { content: "RD"; position: absolute; right: -18px; bottom: -95px; font-size: 250px; font-weight: 950; letter-spacing: -.14em; opacity: .07; }
.cta-box h2 { max-width: 720px; margin-bottom: 16px; }
.cta-box p { max-width: 650px; margin: 0; }
.cta-actions { position: relative; z-index: 1; display: flex; justify-content: flex-end; }

.site-footer { padding: 65px 0 28px; background: #111315; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 70px; padding-bottom: 50px; }
.footer-brand p { max-width: 420px; color: #9ca0a6; font-size: 14px; }
.footer-title { margin-bottom: 18px; color: #a4a8ad; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.09); color: #858a91; font-size: 12px; }

.legal-page { padding: 160px 0 110px; }
.legal-card { max-width: 860px; padding: 55px; border-radius: 30px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.06); }
.legal-card h1 { font-size: clamp(42px, 6vw, 68px); }
.legal-card h2 { margin-top: 38px; font-size: 25px; }
.legal-card p { color: #4f545b; }
.legal-card a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .site-nav { position: fixed; inset: 76px 16px auto; display: none; padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-grid, .feature-grid, .about-grid, .cta-box { grid-template-columns: 1fr; }
  .trade-card { max-width: 590px; transform: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > * { border-bottom: 1px solid var(--line); }
  .trust-grid > *:first-child { grid-column: 1/-1; text-align: center; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: 1/-1; }
  .feature-sticky { position: static; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 660px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 22px; }
  body { font-size: 16px; }
  .brand-name { font-size: 16px; }
  .brand--image img { width: 190px; }
  .hero { padding: 132px 0 76px; }
  h1 { font-size: 46px; }
  .hero-lead { font-size: 18px; }
  .actions .button { width: 100%; }
  .trade-card { padding: 15px; border-radius: 25px; }
  .trade-main { padding: 20px; }
  .card-stats { grid-template-columns: 1fr; }
  .section { padding: 82px 0; }
  .services, .process, .checks { grid-template-columns: 1fr; }
  .services .service:last-child { grid-column: auto; }
  .service { min-height: 300px; }
  .logistics-visual { padding-bottom: 75px; }
  .logistics-frame { min-height: 440px; border-radius: 24px; }
  .logistics-frame::after { background: linear-gradient(0deg, rgba(10,12,14,.84) 0%, rgba(10,12,14,.16) 78%); }
  .logistics-frame figcaption { left: 24px; right: 24px; bottom: 25px; }
  .about-visual { min-height: 400px; }
  .about-monogram { transform: none; letter-spacing: -.1em; }
  .homepage-editor-content summary { padding-block: 22px; font-size: 17px; }
  .cta { padding-bottom: 75px; }
  .cta-box { padding: 38px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
  .legal-card { padding: 32px 22px; }
}
