/* JUKon eSG – Redesign (Konzept B): Startseite, Konfigurator, Kopf-/Fußzeile.
   Wird zusätzlich zu style.css geladen, wenn eine Seite $redesign = true setzt
   (siehe includes/header.php). Alle Klassen tragen das Präfix rd-, damit nichts
   mit den bestehenden Styles kollidiert. */

body.rd {
  background: #fffdf8;
  color: #231d12;
  -webkit-font-smoothing: antialiased;
}
body.rd a:hover { text-decoration: none; }
.rd-wrap { max-width: 1296px; margin: 0 auto; padding: 0 48px; }
.rd-fr { font-family: var(--font-display); font-weight: 600; }

/* --- Kopfzeile --- */
.rd-hdr {
  position: sticky; top: 0; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 48px;
  background: rgba(255, 253, 248, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(35, 29, 18, .08);
}
.rd-brand {
  display: flex; align-items: center; gap: 12px; color: #231d12;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em;
}
.rd-brand:hover { color: #231d12; }
.rd-nav { display: flex; gap: 34px; font-size: 15px; }
.rd-nav a { color: #5c5540; font-weight: 500; }
.rd-nav a:hover { color: #231d12; }
.rd-nav a.active { color: #231d12; font-weight: 700; }
.rd-hdr-r { display: flex; align-items: center; gap: 6px; }
.rd-pill {
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px; margin-right: 6px;
  border-radius: 980px; background: #3f6a24; color: #fff; font-size: 15px; font-weight: 700;
}
.rd-pill:hover { color: #fff; background: #2c4f19; }
.rd-ib {
  position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: #231d12; border: 0; background: transparent; cursor: pointer; padding: 0;
}
.rd-ib:hover { color: #3f6a24; }
.rd-badge {
  position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #bd6a3d; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rd-burger { display: none; }

/* --- Buttons, Texte --- */
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 32px; border-radius: 980px; border: 0;
  font-family: inherit; font-size: 18px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.rd-btn:hover { text-decoration: none; }
.rd-btn.lime { background: #a9ea5d; color: #1c3410; }
.rd-btn.lime:hover { background: #b9f06f; color: #1c3410; }
.rd-btn.green { background: #3f6a24; color: #fff; }
.rd-btn.green:hover { background: #2c4f19; color: #fff; }
.rd-btn.sm { height: 44px; padding: 0 20px; font-size: 15px; }
.rd-btn.full { width: 100%; }
.rd-btn[disabled] { background: rgba(255, 246, 231, .2); color: rgba(255, 246, 231, .55); cursor: not-allowed; }
.rd-link { display: inline-flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 600; color: #3f6a24; }
.rd-link:hover { color: #2c4f19; }
.rd-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a4a1f; }
.rd-h1 { margin: 22px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 72px; line-height: 1.03; letter-spacing: -.03em; color: inherit; }
.rd-h1.s { font-size: 60px; }
.rd-h2 { margin: 12px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 52px; line-height: 1.08; letter-spacing: -.025em; color: #231d12; }
.rd-h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; color: inherit; }
.rd-sub { margin: 14px 0 0; font-size: 19px; line-height: 1.6; color: #5c5540; }
.rd-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rd-note { font-size: 13px; color: #6f6850; line-height: 1.5; }
.rd-note .vat-note { color: inherit; }

/* --- Hero --- */
.rd-hero {
  position: relative; margin: 20px 24px 0; border-radius: 48px; overflow: hidden;
  background: radial-gradient(900px 520px at 78% 40%, #4f7d2e 0%, #2c4f19 62%, #233f14 100%);
  color: #fff6e7;
}
.rd-hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center;
  padding: 88px 72px 148px;
}
.rd-hero-in.one { display: block; padding: 68px 72px 128px; }
.rd-tag {
  display: inline-flex; padding: 8px 16px; border-radius: 980px;
  background: rgba(255, 246, 231, .14); font-size: 14px; font-weight: 600; color: #e6f4cf;
}
.rd-lead { margin: 22px 0 0; max-width: 540px; font-size: 20px; line-height: 1.55; color: #e6f4cf; }
.rd-cta-row { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rd-hero .rd-link { color: #fff6e7; }
.rd-stage { position: relative; height: 520px; }
.rd-glow {
  position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169, 234, 93, .35), rgba(169, 234, 93, 0));
  transform: translate(-50%, -50%);
}
.rd-stage .rd-box, .rd-stage .rd-stage-img {
  position: absolute; left: 50%; top: 52%; width: 620px; height: auto; max-height: 470px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
}
.rd-stage .rd-stage-img { object-fit: contain; animation: rd-float 4s ease-in-out infinite; }
@keyframes rd-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50% { transform: translate(-50%, -53%) rotate(-1deg); }
}
.rd-co {
  position: absolute; padding: 12px 16px 12px 12px; border-radius: 22px;
  background: rgba(255, 253, 248, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18); display: flex; align-items: center; gap: 12px; color: #231d12;
}
.rd-co:hover { color: #231d12; transform: translateY(-2px); }
.rd-co b { display: block; font-size: 15px; }
.rd-co small { font-size: 13px; color: #5c5540; }
.rd-co .rd-sw { width: 44px; height: 44px; border-radius: 12px; flex: none; object-fit: cover; }
.rd-co .rd-plus {
  width: 34px; height: 34px; border-radius: 17px; background: #3f6a24; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1;
}
.rd-co1 { left: 0; top: 36px; }
.rd-co2 { right: 0; top: 96px; }
.rd-co3 { left: 24px; bottom: 32px; }

/* --- Startkarte (Größe wählen) --- */
.rd-launch-pad { padding: 0 48px; }
.rd-launch {
  position: relative; z-index: 2; max-width: 1200px; margin: -92px auto 0; padding: 32px;
  border-radius: 36px; background: #fffdf8;
  box-shadow: 0 1px 2px rgba(35, 29, 18, .05), 0 30px 70px rgba(35, 29, 18, .16);
}
.rd-tiles { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.rd-tile {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 28px;
  background: #f6efe0; color: #231d12;
}
.rd-tile:hover { color: #231d12; background: #efe4c9; }
.rd-tile .tb { width: 104px; flex: none; display: flex; align-items: center; justify-content: center; }
.rd-tile .tb svg, .rd-tile .tb img { width: 100%; height: auto; max-height: 80px; object-fit: contain; }
.rd-tile .tt { flex: 1; min-width: 0; }
.rd-tile .tt div + div { font-size: 15px; color: #5c5540; }
.rd-tile .go {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 980px;
  background: #3f6a24; color: #fff; font-size: 15px; font-weight: 700;
}

/* --- Abschnitte, Karten --- */
.rd-sec { padding: 96px 0; }
.rd-sec.pt0 { padding-top: 0; }
.rd-g3, .rd-g4, .rd-g2 { display: grid; gap: 24px; }
.rd-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rd-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rd-card {
  background: #fffdf8; border: 0; border-radius: 28px; padding: 32px;
  box-shadow: 0 1px 2px rgba(35, 29, 18, .04), 0 12px 32px rgba(35, 29, 18, .06);
}
.rd-card.sand { background: #f6efe0; box-shadow: none; }
.rd-card.green { background: linear-gradient(160deg, #3f6a24, #2c4f19); color: #fff6e7; box-shadow: none; }
.rd-pcard {
  border-radius: 28px; background: #fffdf8; padding: 18px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 2px rgba(35, 29, 18, .04), 0 12px 32px rgba(35, 29, 18, .06);
}
.rd-ph { height: 190px; border-radius: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rd-ph img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.rd-pcard .pr { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rd-add {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 980px;
  border: 1.5px solid #3f6a24; font-size: 15px; font-weight: 700; color: #3f6a24;
}
.rd-add:hover { background: #3f6a24; color: #fff; }
.rd-preset { border-radius: 32px; background: #f6efe0; padding: 20px 20px 26px; display: flex; flex-direction: column; }
.rd-preset .rd-ph { height: 240px; border-radius: 24px; }
.rd-preset .rd-ph svg { width: 290px; height: auto; }
.rd-preset form { margin: 0; }
.rd-promo-wrap { padding: 0 48px; }
.rd-promo {
  max-width: 1296px; margin: 0 auto; padding: 44px 56px; border-radius: 40px; color: #fff6e7;
  background: linear-gradient(160deg, #3f6a24, #2c4f19);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.rd-about { padding: 48px; }
.rd-values { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rd-values li { font-size: 16px; line-height: 1.5; color: #3a3326; }
.rd-values b { color: #231d12; }
.rd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.rd-stat {
  padding: 24px 20px; border-radius: 28px; text-align: center; color: #fff6e7;
  background: linear-gradient(160deg, #3f6a24, #2c4f19);
}
.rd-stat .num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 52px; letter-spacing: -.02em; line-height: 1; }
.rd-stat .label { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #e6f4cf; }

/* --- Konfigurator --- */
.rd-khead { padding: 36px 0 8px; }
.rd-khead .rd-h1 { color: #231d12; margin-top: 10px; }
.rd-kgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rd-stack { display: flex; flex-direction: column; gap: 20px; }
.rd-step-title { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6f6850; }
.rd-opts { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.rd-opt { position: relative; display: block; cursor: pointer; }
.rd-opt input, .rd-row-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rd-opt-in {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px;
  border-radius: 24px; background: #fffdf8; text-align: center; color: #231d12;
  box-shadow: 0 1px 2px rgba(35, 29, 18, .08); outline: 2px solid transparent; transition: outline-color .15s, background .15s;
}
.rd-opt-img { height: 70px; display: flex; align-items: center; }
.rd-opt-img img, .rd-opt-img svg { height: 70px; width: auto; max-width: 110px; object-fit: contain; }
.rd-opt-in small { font-size: 14px; color: #5c5540; }
.rd-opt-in .pr { font-size: 14px; font-weight: 700; }
.rd-opt input:checked + .rd-opt-in { outline-color: #3f6a24; background: #f1f8e6; }
.rd-opt input:focus-visible + .rd-opt-in, .rd-row-opt input:focus-visible + .rd-row-in { outline: 2px solid #231d12; outline-offset: 2px; }
.rd-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cdbf9a; flex: none; transition: all .15s; margin-top: 6px; }
.rd-opt input:checked + .rd-opt-in .rd-dot { border: 6px solid #3f6a24; background: #fff; }
.rd-card.flush { padding: 8px 0; }
.rd-card.flush .rd-step-title { padding: 24px 32px 6px; }
.rd-row-opt { display: block; position: relative; cursor: pointer; }
.rd-row-in { display: flex; align-items: center; gap: 14px; padding: 14px 32px; color: #231d12; }
.rd-row-in img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.rd-row-in .txt { flex: 1; font-size: 17px; font-weight: 600; }
.rd-row-in .txt small { display: block; font-weight: 400; color: #5c5540; font-size: 14px; }
.rd-row-in .pr { font-weight: 600; white-space: nowrap; }
.rd-row-opt input:checked + .rd-row-in { background: #f1f8e6; }
.rd-row-in .rd-dot { margin-top: 0; }
.rd-row-opt input:checked + .rd-row-in .rd-dot { border: 6px solid #3f6a24; background: #fff; }
.rd-pgrid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rd-prod {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 26px; background: #fffdf8;
  outline: 2px solid transparent; transition: outline-color .15s;
}
.rd-prod.has { outline-color: #3f6a24; }
.rd-prod .rd-ph { height: 130px; border-radius: 18px; }
.rd-prod .nm { font-size: 18px; font-weight: 700; }
.rd-prod .meta { font-size: 14px; color: #5c5540; }
.rd-prod .meta .vat-note { display: none; }
.rd-prod details { font-size: 13px; color: #5c5540; }
.rd-prod details summary { cursor: pointer; color: #3f6a24; font-weight: 600; }
.rd-prod .pr { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.rd-qty { display: flex; align-items: center; gap: 8px; }
.rd-qty .val { min-width: 18px; text-align: center; font-size: 18px; font-weight: 700; }
.rd-qty button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f6efe0; color: #231d12;
  font-size: 20px; font-weight: 500; line-height: 1; cursor: pointer; font-family: inherit;
}
.rd-qty button.pl { background: #3f6a24; color: #fff; }
.rd-qty button:disabled { opacity: .35; cursor: not-allowed; }
.rd-kside { position: sticky; top: 92px; }
.rd-kbig {
  padding: 34px 40px; border-radius: 40px; color: #fff6e7; overflow: hidden;
  background: radial-gradient(700px 420px at 70% 30%, #4f7d2e 0%, #2c4f19 62%, #233f14 100%);
}
.rd-ktop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rd-ktop .pill { padding: 8px 16px; border-radius: 980px; background: rgba(255, 246, 231, .14); font-size: 14px; font-weight: 700; }
.rd-ktop .cap { font-size: 14px; color: #e6f4cf; }
.rd-ktop .cap.over { color: #f3b9b2; font-weight: 700; }
.rd-kbig .box-visual-frame {
  margin-top: 14px; border: 0; border-radius: 24px; background: rgba(255, 246, 231, .1);
}
.rd-kbig .box-visual-placeholder { min-height: 220px; color: #e6f4cf; }
.rd-dots { display: flex; gap: 4px; margin-top: 14px; }
.rd-dots i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 246, 231, .22); }
.rd-dots i.on { background: #a9ea5d; }
.rd-dots.over i { background: #f3b9b2; }
.rd-kmsg { margin-top: 12px; font-size: 14px; font-weight: 600; color: #f3b9b2; }
.rd-sums { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 246, 231, .16); }
.rd-sum { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 16px; }
.rd-sum.tot { padding-top: 14px; align-items: baseline; }
.rd-sum.tot span:first-child { font-size: 17px; font-weight: 600; }
.rd-sum.tot span:last-child { font-size: 36px; font-weight: 700; letter-spacing: -.02em; }
.rd-kbig .rd-btn { margin-top: 14px; }
.rd-kbig .rd-note { margin: 12px 0 0; color: #cfe3b0; }
.rd-kbig .rd-note .vat-note { color: inherit; }
.rd-mbar { display: none; }
.rd-alert { margin: 18px 0 0; padding: 14px 18px; border-radius: 18px; background: #fdecea; color: #b3261e; font-weight: 600; }

/* --- Fußzeile --- */
.rd-ftr { padding: 56px 0 36px; background: #231d12; color: #e7dab9; }
.rd-ftr .top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.rd-ftr nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; }
.rd-ftr nav a { color: #cfc2a0; }
.rd-ftr nav a:hover { color: #fff6e7; }
.rd-ftr .rd-brand { color: #fff6e7; }
.rd-ftr .bot {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(231, 218, 185, .18);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: #cfc2a0;
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .rd-hdr { padding: 0 28px; }
  .rd-nav { display: none; }
  .rd-nav.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0;
    padding: 14px 28px 22px; background: rgba(255, 253, 248, .98); border-bottom: 1px solid rgba(35, 29, 18, .08);
  }
  .rd-nav.open a { padding: 12px 0; font-size: 17px; }
  .rd-burger { display: flex; }
  .rd-hero { margin: 14px 14px 0; border-radius: 40px; }
  .rd-hero-in { grid-template-columns: minmax(0, 1fr); padding: 52px 44px 120px; gap: 8px; }
  .rd-hero-in.one { padding: 52px 44px 112px; }
  .rd-h1 { font-size: 54px; }
  .rd-h1.s { font-size: 48px; }
  .rd-h2 { font-size: 42px; }
  .rd-stage { height: 460px; }
  .rd-stage .rd-box, .rd-stage .rd-stage-img { width: 520px; }
  .rd-co1 { left: 2%; }
  .rd-co2 { right: 2%; }
  .rd-wrap { padding: 0 28px; }
  .rd-launch-pad, .rd-promo-wrap { padding: 0 28px; }
  .rd-launch { margin-top: -76px; }
  .rd-sec { padding: 72px 0; }
  .rd-g3, .rd-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-promo { padding: 36px; }
  .rd-kgrid { grid-template-columns: minmax(0, 1fr); }
  .rd-kside { position: static; order: -1; }
}

/* --- Mobil --- */
@media (max-width: 640px) {
  .rd-hdr { padding: 0 10px 0 16px; height: 60px; }
  .rd-nav.open { top: 60px; padding: 10px 18px 18px; }
  .rd-pill { display: none; }
  .rd-brand { font-size: 19px; gap: 10px; }
  .rd-hero { margin: 8px 8px 0; border-radius: 30px; }
  .rd-hero-in { padding: 30px 22px 96px; gap: 0; }
  .rd-hero-in.one { padding: 30px 22px 88px; }
  .rd-h1 { font-size: 38px; margin-top: 16px; }
  .rd-h1.s { font-size: 36px; }
  .rd-h2 { font-size: 34px; }
  .rd-h3 { font-size: 24px; }
  .rd-lead { font-size: 17px; margin-top: 14px; }
  .rd-sub { font-size: 17px; }
  .rd-btn { height: 54px; font-size: 17px; padding: 0 26px; }
  .rd-cta-row { margin-top: 22px; gap: 14px; }
  .rd-hero-in > div + div { margin-top: 24px; }
  .rd-stage { height: 330px; margin-top: 14px; }
  .rd-stage .rd-box, .rd-stage .rd-stage-img { width: 360px; top: 46%; max-height: 280px; }
  .rd-glow { width: 320px; height: 320px; }
  .rd-co { padding: 8px 12px 8px 8px; border-radius: 16px; gap: 8px; }
  .rd-co .rd-sw { width: 28px; height: 28px; border-radius: 8px; }
  .rd-co small, .rd-co .rd-plus { display: none; }
  .rd-co b { font-size: 12px; }
  .rd-co1 { left: 0; top: 6px; }
  .rd-co2 { right: 0; top: 44px; }
  .rd-co3 { left: 0; bottom: 6px; }
  .rd-wrap { padding: 0 18px; }
  .rd-launch-pad, .rd-promo-wrap { padding: 0 14px; }
  .rd-launch { margin-top: -64px; padding: 20px 16px; border-radius: 28px; }
  .rd-tile { padding: 14px 16px; gap: 12px; }
  .rd-tile .tb { width: 76px; }
  .rd-tile .go { display: none; }
  .rd-sec { padding: 56px 0; }
  .rd-g2, .rd-g3, .rd-g4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rd-card { padding: 22px; border-radius: 24px; }
  .rd-about { padding: 26px 22px; }
  .rd-ph { height: 150px; }
  .rd-preset .rd-ph { height: 200px; }
  .rd-promo { padding: 30px 24px; border-radius: 30px; }
  .rd-promo .rd-fr { font-size: 30px !important; }
  .rd-row { align-items: flex-start; }
  .rd-ftr nav { gap: 16px; }
  .rd-khead { padding-top: 22px; }
  .rd-kbig { padding: 22px 20px; border-radius: 30px; }
  .rd-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rd-opt-in { padding: 12px 4px; border-radius: 18px; }
  .rd-opt-in .rd-h3 { font-size: 19px; }
  .rd-opt-img img, .rd-opt-img svg { height: 52px; max-width: 80px; }
  .rd-opt-img { height: 52px; }
  .rd-row-in { padding: 12px 20px; }
  .rd-card.flush .rd-step-title { padding: 20px 20px 6px; }
  .rd-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rd-prod { padding: 10px; border-radius: 20px; }
  .rd-prod .rd-ph { height: 100px; }
  .rd-prod .nm { font-size: 15px; }
  .rd-prod .pr { flex-direction: column; align-items: stretch; gap: 8px; }
  .rd-qty { justify-content: space-between; }
  body.rd-hasbar { padding-bottom: 92px; }
  .rd-mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 14px;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .94);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid rgba(35, 29, 18, .08);
  }
  .rd-mbar .rd-btn { flex: 1; }
  .rd-mbar .price { font-size: 12px; color: #6f6850; line-height: 1.3; }
  .rd-mbar .price b { display: block; font-size: 20px; color: #231d12; letter-spacing: -.02em; }
  .rd-mbar .rd-btn[disabled] { background: #e7dab9; color: #8b8367; }
  .rd-kbig .rd-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rd-stage .rd-stage-img { animation: none; transform: translate(-50%, -50%) rotate(-3deg); }
}

/* Größen-Namen in Kacheln/Optionen etwas kleiner, damit lange Boxnamen sauber umbrechen */
.rd-tile .rd-h3 { font-size: 24px; }
.rd-opt-in .rd-h3 { font-size: 21px; }
@media (max-width: 640px) {
  .rd-tile .rd-h3 { font-size: 21px; }
  .rd-opt-in .rd-h3 { font-size: 14px; overflow-wrap: anywhere; }
}

/* ==========================================================================
   Version 1.6.0: Redesign für alle öffentlichen Seiten.
   Die Regeln unter body.rd stellen die älteren Bausteine (Buttons, Formulare,
   Karten, Hinweise, Inhaltsseiten) auf das neue Design um, damit auch Seiten
   ohne eigene rd-Markup (Login, Rechtstexte, Widerruf ...) dazu passen.
   ========================================================================== */

.rd-hero-in.sm { padding: 68px 72px 128px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.rd-stage.sm { height: 360px; }
.rd-steps { margin-top: 24px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rd-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 980px; background: rgba(255, 246, 231, .14); font-size: 14px; font-weight: 600; color: #e6f4cf; }
.rd-step.on { background: #a9ea5d; color: #1c3410; }
.rd-gside { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rd-fld { display: block; margin: 0; }
.rd-fld label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #5c5540; }
.rd-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rd-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-chip { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 980px; background: #f6efe0; font-size: 15px; font-weight: 600; color: #5c5540; cursor: pointer; margin: 0; }
.rd-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rd-chip:has(input:checked) { background: #231d12; color: #fff6e7; }
.rd-chip:has(input:focus-visible) { outline: 2px solid #3f6a24; outline-offset: 2px; }
.rd-icon-box { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex: none; background: #e6f4cf; color: #3f6a24; font-weight: 700; font-size: 22px; }
.rd-cartitem { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.rd-cartitem .thumb { width: 96px; height: 96px; border-radius: 20px; background: #f6efe0; display: flex; align-items: center; justify-content: center; }
.rd-cartitem .thumb svg { width: 80px; height: auto; }
.rd-cartitem.bad { outline: 2px solid #b3261e; }
.rd-cartitem .side { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.rd-cartitem .side .total { font-size: 22px; font-weight: 700; }
.rd-cartitem ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-cartitem li { padding: 6px 12px; border-radius: 980px; background: #f6efe0; font-size: 14px; font-weight: 600; color: #5c5540; }
.rd-qtyform { display: inline-flex; align-items: center; gap: 8px; padding: 3px 3px 3px 14px; border-radius: 980px; background: #f6efe0; font-size: 14px; font-weight: 600; color: #5c5540; margin: 0; }
.rd-qtyform input { width: 64px; height: 36px; border-radius: 980px; border: 0; background: #fffdf8; text-align: center; padding: 0; font-weight: 700; }
.rd-linkbtn { border: 0; background: none; padding: 0; color: #b3261e; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.rd-sumcard .rd-sum { color: #231d12; font-size: 17px; padding: 7px 0; }
.rd-sumcard .rd-sum.tot { border-top: 1px solid rgba(35, 29, 18, .1); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 700; align-items: baseline; }
.rd-sumcard .rd-sum.tot span:last-child { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.rd-sumcard .rd-sum.ok { color: #2e7d32; }
.rd-stack.s12 { gap: 12px; }
.rd-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; line-height: 1.5; margin: 0; }
.rd-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.rd-voucher-visual {
  width: 100%; max-width: 380px; padding: 26px 28px; border-radius: 28px; color: #231d12;
  background: linear-gradient(160deg, #fffdf8, #f1ddc4); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); transform: rotate(-3deg);
}
.rd-voucher-visual .code { margin-top: 14px; font-family: monospace; font-size: 15px; letter-spacing: .06em; color: #3f6a24; }
.rd-voucher-visual .amt { font-size: 44px; letter-spacing: -.02em; margin-top: 6px; }

body.rd main { min-height: 40vh; }
body.rd .container { max-width: 1296px; padding: 0 48px; }
body.rd .section { padding: 64px 0; }
body.rd .section-narrow { max-width: 820px; padding: 56px 24px 72px; }
body.rd .section-narrow h1, body.rd .section > .container > h1 {
  font-size: 52px; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .5em;
}
body.rd h1, body.rd h2, body.rd h3 { font-weight: 600; }
body.rd h2 { font-size: 30px; letter-spacing: -.02em; }
body.rd .section-narrow h2 { font-size: 26px; margin-top: 1.6em; }
body.rd .section-narrow p, body.rd .section-narrow li { font-size: 17px; line-height: 1.65; color: #3a3326; }
body.rd .eyebrow { font-size: 15px; letter-spacing: .08em; color: #8a4a1f; }
body.rd .section-intro { font-size: 19px; line-height: 1.6; }

/* Buttons */
body.rd .btn, body.rd button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 980px; border: 0;
  background: #3f6a24; color: #fff; font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
body.rd .btn:hover { background: #2c4f19; color: #fff; text-decoration: none; }
body.rd .btn[disabled] { opacity: .45; cursor: not-allowed; }
body.rd .btn-secondary { background: transparent; color: #3f6a24; border: 1.5px solid #3f6a24; }
body.rd .btn-secondary:hover { background: #3f6a24; color: #fff; }
body.rd .btn-ghost { background: transparent; color: #231d12; border: 1.5px solid rgba(35, 29, 18, .3); }
body.rd .btn-ghost:hover { background: #231d12; color: #fff6e7; }
body.rd .btn-danger { background: #b3261e; }
body.rd .btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* Karten, Hinweise */
body.rd .card, body.rd .dash-card {
  background: #fffdf8; border: 0; border-radius: 28px; padding: 28px;
  box-shadow: 0 1px 2px rgba(35, 29, 18, .04), 0 12px 32px rgba(35, 29, 18, .06);
}
body.rd .alert { border-radius: 18px; padding: 14px 18px; }
body.rd .alert-info { background: #f6efe0; color: #3a3326; border: 0; }
body.rd .field-hint, body.rd .vat-note-line { font-size: 13px; color: #6f6850; line-height: 1.5; }

/* Formulare */
body.rd input[type=text], body.rd input[type=email], body.rd input[type=password], body.rd input[type=number],
body.rd input[type=tel], body.rd input[type=file], body.rd textarea, body.rd select {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1px solid #e7dab9;
  background: #fffdf8; font-family: inherit; font-size: 17px; color: #231d12;
}
body.rd textarea { padding: 14px 16px; line-height: 1.55; }
body.rd input:focus, body.rd textarea:focus, body.rd select:focus { outline: 2px solid #3f6a24; outline-offset: 1px; border-color: #3f6a24; }
body.rd label { font-size: 14px; font-weight: 600; color: #5c5540; }
body.rd form .field { margin-bottom: 16px; }
body.rd .field-row { gap: 16px; }

/* Anmeldung und Konto-Seiten */
body.rd .login-box {
  max-width: 460px; margin: 56px auto 72px; padding: 36px; background: #fffdf8; border: 0; border-radius: 32px;
  box-shadow: 0 1px 2px rgba(35, 29, 18, .04), 0 24px 60px rgba(35, 29, 18, .1);
}
body.rd .login-box h1 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 .6em; }

/* Vorstand, Partner, Über uns */
body.rd .board-grid { gap: 24px; }
body.rd .board-card { border-radius: 28px; padding: 28px 24px; }
body.rd .icon-btn { border-radius: 980px; }
body.rd .placeholder-grid { gap: 20px; }
body.rd .placeholder-box { border-radius: 24px; background: linear-gradient(160deg, #e6f4cf, #f1ddc4); border: 0; }
body.rd .cta-banner {
  border-radius: 40px; padding: 44px 40px; background: linear-gradient(160deg, #3f6a24, #2c4f19);
}
body.rd .cta-banner .btn { background: #a9ea5d; color: #1c3410; }
body.rd .about-blocks { max-width: 760px; gap: 24px; }
body.rd .about-blocks p, body.rd .about-blocks li { font-size: 18px; line-height: 1.65; color: #3a3326; }
body.rd .about-block-img { border-radius: 28px; }
body.rd .wavy-divider { display: none; }

/* Tabellen (z. B. Rechtstexte) */
body.rd th { background: #f6efe0; }

@media (max-width: 1024px) {
  .rd-hero-in.sm { grid-template-columns: minmax(0, 1fr); padding: 52px 44px 120px; }
  .rd-stage.sm { height: 300px; }
  .rd-gside { grid-template-columns: minmax(0, 1fr); }
  body.rd .container { padding: 0 28px; }
}
@media (max-width: 640px) {
  .rd-hero-in.sm { padding: 30px 22px 96px; }
  .rd-stage.sm { height: 230px; }
  .rd-f2 { grid-template-columns: minmax(0, 1fr); }
  .rd-cartitem { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .rd-cartitem .thumb { width: 64px; height: 64px; border-radius: 16px; }
  .rd-cartitem .thumb svg { width: 52px; }
  .rd-cartitem .side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  body.rd .container { padding: 0 18px; }
  body.rd .section { padding: 44px 0; }
  body.rd .section-narrow { padding: 36px 18px 56px; }
  body.rd .section-narrow h1, body.rd .section > .container > h1 { font-size: 36px; }
  body.rd .login-box { margin: 28px 14px 48px; padding: 26px 22px; border-radius: 28px; }
  body.rd .cta-banner { padding: 32px 22px; border-radius: 30px; }
  .rd-voucher-visual { transform: none; }
}

/* --- 404: Spiel "Pack die Box" --- */
.rd-game { padding: 24px; background: rgba(255, 253, 248, .97); color: #231d12; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.rd-game-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rd-game-dots { display: flex; align-items: center; gap: 8px; }
.rd-game-dots #packDots { display: inline-flex; gap: 8px; }
.rd-game-dots i { width: 12px; height: 12px; border-radius: 6px; background: rgba(35, 29, 18, .16); display: block; }
.rd-game-dots i.on { background: #3f6a24; }
.rd-game-dots .count { margin-left: 8px; font-size: 14px; font-weight: 700; color: #6f6850; }
.rd-game-hint { margin: 8px 0 14px; font-size: 15px; color: #5c5540; min-height: 22px; }
.rd-shelf { padding: 14px; border-radius: 24px; background: #f6efe0; }
.rd-crate { margin-top: 14px; padding: 14px; border-radius: 24px; background: linear-gradient(160deg, #d99062, #c9824f); }
.rd-pg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rd-piece, .rd-slot {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 22px;
  font-family: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.rd-piece { border: 0; box-shadow: 0 1px 2px rgba(35, 29, 18, .1); }
.rd-piece .nm { font-size: 13px; font-weight: 700; color: #231d12; }
.rd-piece.used { opacity: .25; cursor: default; }
.rd-piece.on { box-shadow: 0 0 0 3px #3f6a24; transform: translateY(-4px); }
.rd-slot { border: 2px dashed #b8a97f; background: rgba(255, 253, 248, .75); cursor: default; }
.rd-slot .art { filter: grayscale(1) opacity(.4); }
.rd-slot .lbl { font-size: 12px; font-weight: 700; color: #5c5540; text-align: center; }
.rd-slot.filled { border: 2px solid #3f6a24; }
.rd-slot.filled .art { filter: none; }
.rd-slot.wrong { box-shadow: 0 0 0 3px #b3261e; }
.rd-game:has(.rd-piece.on) .rd-slot:not(.filled) { cursor: pointer; }
.rd-piece:focus-visible, .rd-slot:focus-visible { outline: 3px solid #231d12; outline-offset: 2px; }
.rd-game-done { margin-top: 16px; padding: 18px 20px; border-radius: 22px; background: #e6f4cf; color: #2c4f19; }
.rd-game-done[hidden] { display: none; }
@media (max-width: 640px) {
  .rd-game { padding: 16px; }
  .rd-pg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rd-hero-in.short, .rd-hero-in.sm.short, .rd-hero-in.one.short { padding-bottom: 64px; }
body.rd .rd-qtyform input { width: 64px; min-height: 36px; height: 36px; padding: 0; border: 0; border-radius: 980px; text-align: center; font-weight: 700; font-size: 16px; }
@media (max-width: 1024px) { .rd-hero-in.short, .rd-hero-in.sm.short, .rd-hero-in.one.short { padding-bottom: 48px; } }
@media (max-width: 640px) { .rd-hero-in.short, .rd-hero-in.sm.short, .rd-hero-in.one.short { padding-bottom: 36px; } }

/* Handy-Korrekturen (1.7.1) */
.rd-mbar { background: rgba(255, 253, 248, .98); }
@media (max-width: 640px) {
  /* Startseite: Bühne höher, Box tiefer, nur zwei Produkt-Chips oben */
  .rd-stage { height: 370px; }
  .rd-stage .rd-box, .rd-stage .rd-stage-img { top: 60%; width: 330px; max-height: 260px; }
  .rd-co3 { display: none; }
  /* Konfigurator: Vorschau kompakt, Preise stehen in der festen Leiste unten */
  .rd-kbig { padding: 16px 16px 18px; }
  .rd-kbig .rd-sums, .rd-kbig .rd-note { display: none; }
  .rd-kbig .box-visual-placeholder { min-height: 120px; font-size: 14px; }
  .rd-kbig .box-visual-frame { margin-top: 10px; border-radius: 18px; }
  .rd-opt-in small { font-size: 12px; }
  .rd-opt-in .pr { font-size: 13px; }
  .rd-khead .rd-sub { font-size: 16px; }
}

@media (max-width: 640px) {
  /* Startseite: langer Hero-Text wird auf dem Handy gekürzt, damit die Box im ersten Bildschirm sichtbar ist */
  .rd-lead-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .rd-hero-in > div + div.rd-stage { margin-top: 0; }
  .rd-stage { height: 340px; }
  .rd-stage .rd-box, .rd-stage .rd-stage-img { top: 62%; }
}
@media (max-width: 640px) { .rd-hero-in > .rd-stage { margin-top: 18px; } }

/* ==========================================================================
   1.7.2: Lange Wörter/Namen dürfen eine Seite nie breiter als den Bildschirm machen.
   Ursache war min-width:auto bei Grid-/Flex-Kindern: ein langer Name ohne
   Leerzeichen dehnte die Karte, dadurch wurde die ganze Seite breiter und das
   Handy zoomte heraus (Buttons und Texte "laufen aus dem Bild").
   ========================================================================== */
html { overflow-x: clip; }
body.rd { overflow-x: clip; overflow-wrap: anywhere; }
body.rd .rd-wrap, body.rd .rd-hero-in > *, body.rd .rd-g2 > *, body.rd .rd-g3 > *, body.rd .rd-g4 > *,
body.rd .rd-gside > *, body.rd .rd-kgrid > *, body.rd .rd-pgrid > *, body.rd .rd-tiles > *,
body.rd .rd-preset > *, body.rd .rd-pcard > *, body.rd .rd-card > *, body.rd .rd-prod > *,
body.rd .rd-row > *, body.rd .rd-cartitem > * { min-width: 0; }
.rd-preset, .rd-pcard, .rd-card, .rd-prod, .rd-tile, .rd-launch { min-width: 0; max-width: 100%; }
.rd-preset .rd-h3 { overflow-wrap: anywhere; hyphens: auto; }
.rd-preset-top { padding: 20px 8px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 16px; flex-wrap: wrap; }
.rd-preset-top > div:first-child { flex: 1 1 180px; min-width: 0; }
.rd-btn { max-width: 100%; }
@media (max-width: 640px) {
  .rd-btn { white-space: normal; text-align: center; height: auto; min-height: 54px; padding-top: 10px; padding-bottom: 10px; line-height: 1.25; }
  .rd-btn.sm { min-height: 44px; }
  .rd-h1, .rd-h1.s { overflow-wrap: anywhere; hyphens: auto; }
  .rd-co b { overflow-wrap: anywhere; }
}
