/*
Theme Name: KreativStodl
Theme URI: https://example.com/kreativ-stodl
Author: Lovable
Author URI: https://lovable.dev
Description: Warmes, hochwertiges Manufaktur-Theme für personalisierte Produkte (Lasergravur, UV-Druck, 3D-Druck). Cremefarbenes Layout mit Holz-/Braun-Akzenten und dunklem Footer.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreativ-stodl
Tags: custom-logo, custom-menu, featured-images, translation-ready, e-commerce, portfolio
*/

:root {
  --cream:      #f7f2e8;
  --cream-soft: #f2ecdd;
  --paper:      #ffffff;
  --ink-900:    #1a1a1a;
  --ink-700:    #2a2a2a;
  --ink-500:    #555555;
  --ink-400:    #7a7a7a;
  --line:       rgba(26, 26, 26, 0.10);
  --wood-500:   #8b5a2b;
  --wood-600:   #6f4620;
  --wood-300:   #c9a074;
  --footer-bg:  #1c1917;
  --footer-text:#c9c2b6;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06);
  --shadow-md:  0 8px 30px -10px rgba(0,0,0,.18);
  --container:  1200px;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-900); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wood-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-500); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 13px 26px;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--wood-500); color: #fff; }
.btn--primary:hover { background: var(--wood-600); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--outline:hover { background: var(--ink-900); color: var(--cream); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: #fff; color: var(--ink-900); border-color: #fff; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 99;
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand__mark {
  width: 44px; height: 44px; border: 2px solid var(--ink-900);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  background: var(--cream);
}
.site-brand__text { line-height: 1.1; }
.site-brand__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.site-brand__sub { font-size: 10px; letter-spacing: .16em; color: var(--ink-400); text-transform: uppercase; }

.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 34px;
}
.primary-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-700);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--wood-500); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-action { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--ink-500); }
.header-action svg { width: 22px; height: 22px; }
.header-action:hover { color: var(--wood-500); }
.header-action__icon { position: relative; display: inline-flex; }
.header-action__badge {
  position: absolute; top: -6px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--wood-500); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 2px var(--cream, #fff);
}
.header-action__badge[hidden] { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-900); margin: 4px 0; border-radius: 2px; }

@media (max-width: 960px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 20px 24px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 16px; }
  .nav-toggle { display: block; }
  .header-actions { gap: 12px; }
}

/* Hero */
.hero {
  padding: 40px 0 60px;
}
.hero__wrap {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
}
.hero__content .eyebrow { display: none; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .accent { color: var(--wood-500); display: block; }
.hero__lead { font-size: 1.08rem; color: var(--ink-700); max-width: 42ch; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__badges {
  display: grid; grid-template-columns: repeat(3, auto); gap: 24px 32px;
}
.hero__badge { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.hero__badge svg { width: 20px; height: 20px; color: var(--wood-500); flex-shrink: 0; margin-top: 2px; }
.hero__badge strong { display: block; font-weight: 600; color: var(--ink-900); }
.hero__badge span { color: var(--ink-500); }

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__badges { grid-template-columns: 1fr 1fr; }
}

/* Feature cards row (Gestalten / Entdecken / Für Unternehmen) */
.features {
  padding: 20px 0 60px;
}
.features__grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; isolation: isolate;
}
.feature-card__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s ease; }
.feature-card:hover .feature-card__bg { transform: scale(1.05); }
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 100%);
}
.feature-card__icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card__icon svg { width: 22px; height: 22px; color: #fff; }
.feature-card h3 { color: #fff; font-size: 1.55rem; margin-bottom: 8px; }
.feature-card p { color: rgba(255,255,255,.85); font-size: 14.5px; margin-bottom: 20px; }
.feature-card .btn { align-self: flex-start; }

@media (max-width: 880px) { .features__grid { grid-template-columns: 1fr; } }

/* Section head */
.section-head { margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; }
.section-head--center { text-align: center; margin-bottom: 48px; }

/* Services grid */
.services { padding: 20px 0 80px; }
.services__grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__media { aspect-ratio: 4/3; overflow: visible; position: relative; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__icon {
  position: absolute; right: 20px; bottom: -22px; z-index: 20;
  width: 46px; height: 46px; border-radius: 50%; background: var(--wood-500);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.service-card__icon svg { width: 22px; height: 22px; color: #fff; }
.service-card__body { padding: 34px 24px 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 16px; }
.service-card__link { font-size: 14px; font-weight: 600; color: var(--wood-500); display: inline-flex; align-items: center; gap: 6px; }
.service-card__link:hover { color: var(--wood-600); }

@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; } }

/* Process steps */
.process { padding: 60px 0 80px; }
.process__grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch; position: relative;
}
.process__step {
  background: var(--paper); border-radius: var(--radius);
  padding: 32px 24px 24px; text-align: center; position: relative;
  border: 1px solid var(--line);
}
.process__num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--wood-500); color: #fff;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
}
.process__icon {
  width: 52px; height: 52px; margin: 8px auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-900);
}
.process__icon svg { width: 32px; height: 32px; }
.process__step h4 { font-size: 15px; margin-bottom: 8px; font-weight: 600; }
.process__step p { font-size: 13px; margin: 0; color: var(--ink-500); }

@media (max-width: 880px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process__grid { grid-template-columns: 1fr; } }

/* Trust bar */
.trust {
  background: var(--cream-soft);
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.trust__grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item svg { width: 28px; height: 28px; color: var(--ink-900); flex-shrink: 0; }
.trust__item strong { display: block; font-weight: 600; color: var(--ink-900); font-size: 14.5px; margin-bottom: 2px; }
.trust__item span { font-size: 13px; color: var(--ink-500); }
@media (max-width: 880px) { .trust__grid { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 28px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--wood-300); }
.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    gap: 40px;
    grid-template-columns: 0.6fr 0.4fr 1.8fr;
    align-items: start;
}
.footer-col h4 {
  font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px;
  font-family: var(--font-display);
}
.footer-col p, .footer-col li { font-size: 14px; color: var(--footer-text); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 12px; }
.footer-newsletter input {
  flex: 1; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05);
  color: #fff; font-size: 14px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter button {
  padding: 11px 20px; border-radius: var(--radius-sm); border: 0;
  background: var(--wood-500); color: #fff; font-weight: 600; cursor: pointer;
}
.footer-newsletter button:hover { background: var(--wood-600); }
.social { display: flex; gap: 12px; margin-top: 8px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.social a:hover { background: var(--wood-500); border-color: var(--wood-500); }
.social svg { width: 20px; height: 20px; color: #fff; }
/*.footer-logo {
  width: 100px; height: 100px; border: 3px solid var(--wood-500);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--wood-500);
}*/
.footer-bottom {
  max-width: var(--container); margin: 40px auto 0; padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.5);
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: 0 20px;
  }
  .footer-col:nth-child(3) {
    grid-column: 1 / 3;
  }
  .footer-col:nth-child(3) > div[style*="text-align: right"] {
    text-align: left !important;
  }
  .footer-col:nth-child(3) .btn {
    display: flex;
    width: 100%;
    text-align: center;
    margin-top: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 20px 0;
  }
  .footer-bottom__links {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
  }
}

/*@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-logo { display: none; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }*/

/* Content pages / blog */
.entry { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.entry h1 { margin-bottom: .3em; }
.entry-meta { color: var(--ink-400); font-size: 14px; margin-bottom: 24px; }
.entry-content img { border-radius: var(--radius); margin: 20px 0; }
.entry-content blockquote {
  border-left: 3px solid var(--wood-500); padding-left: 20px;
  font-size: 1.15rem; color: var(--ink-700); margin: 24px 0;
}

.sr-only { position: absolute!important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ==========================================================
   Shop / page-shop.php
   ========================================================== */
.shop { padding: 32px 0 80px; }

/* Kategorie-Karussell */
.shop-carousel {
  position: relative;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 14px 60px;
  margin-bottom: 28px;
}
.shop-carousel__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none;
}
.shop-carousel__list::-webkit-scrollbar { display: none; }
.shop-carousel__item {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 90px; padding: 6px 10px;
  cursor: pointer; transition: color .2s ease;
  color: var(--ink-700);
}
.shop-carousel__item:hover { color: var(--wood-500); }
.shop-carousel__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-soft); color: var(--ink-900);
  transition: background .2s ease, color .2s ease;
}
.shop-carousel__item:hover .shop-carousel__icon { background: var(--wood-500); color: #fff; }
.shop-carousel__icon svg { width: 22px; height: 22px; }
.shop-carousel__label { font-size: 12.5px; font-weight: 500; }
.shop-carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--ink-900); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.shop-carousel__nav,
.shop-carousel__nav--prev,
.shop-carousel__nav--next { background: var(--wood-500); }
.shop-carousel__nav:hover,
.shop-carousel__nav--prev:hover,
.shop-carousel__nav--next:hover { background: var(--wood-600); }
.shop-carousel__nav svg { width: 18px; height: 18px; }
.shop-carousel__nav--prev { left: 12px; }
.shop-carousel__nav--next { right: 12px; }
.shop-carousel__swipe-hint { display: none; }

/* Slider: neue Produkte */
.shop-slider { margin: 0 0 26px; }
.shop-slider__viewport {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--cream-soft);
  aspect-ratio: 16 / 6; min-height: 220px;
}
.shop-slider__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .5s ease; pointer-events: none;
}
.shop-slider__slide.is-active { opacity: 1; pointer-events: auto; }
.shop-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-slider__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 64px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}
.shop-slider__title { color: #fff; font-weight: 700; font-size: clamp(16px, 2vw, 22px); }
.shop-slider__cta { flex: 0 0 auto; }
.shop-slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--wood-500); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.shop-slider__nav:hover { background: var(--wood-600); }
.shop-slider__nav svg { width: 18px; height: 18px; }
.shop-slider__nav--prev { left: 12px; }
.shop-slider__nav--next { right: 12px; }
.shop-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.shop-slider__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer;
}
.shop-slider__dot.is-active { background: var(--wood-500); }
@media (max-width: 720px) {
  .shop-slider__viewport { aspect-ratio: 4 / 3; min-height: 0; }
  .shop-slider__overlay { flex-direction: column; align-items: stretch; text-align: center; padding: 14px 14px 16px; }
  .shop-slider__nav { width: 34px; height: 34px; }
}

/* Layout: Filter / Grid / Side */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1180px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .shop-filter { order: 1; }
  .shop-main { order: 2; }
}

/* Mobile: Filter eingeklappt + Slider ohne Pfeile */
.shop-filter__mobile { display: none; }
@media (max-width: 900px) {
  .shop-filter { padding: 0; }
  .shop-filter__mobile {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 14px 16px; border: 0; background: transparent;
    font: inherit; font-weight: 600; color: var(--ink-900); cursor: pointer;
  }
  .shop-filter__mobile svg { width: 18px; height: 18px; transition: transform .2s ease; }
  .shop-filter__mobile[aria-expanded="true"] svg { transform: rotate(180deg); }
  .shop-filter__body { display: none; padding: 0 16px 16px; }
  .shop-filter__body.is-open { display: block; }
  .shop-filter__title { display: none; }
}
@media (max-width: 720px) {
  .shop-slider__nav { display: none; }
  .shop-carousel { margin-bottom: 8px; padding: 12px 14px; border-radius: var(--radius); touch-action: pan-y; }
  .shop-carousel__nav { display: none; }
  .shop-carousel__swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin: 0 0 18px; color: var(--ink-400); font-size: 12px;
  }
  .shop-carousel__swipe-hint svg { width: 17px; height: 17px; }
}


/* Filter */
.shop-filter {
  background: var(--paper); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.shop-filter__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; margin: 0 0 18px;
}
.shop-filter__group { margin-bottom: 20px; }
.shop-filter__group h4 {
  font-size: 13.5px; font-weight: 600; margin: 0 0 12px;
  color: var(--ink-700);
}
.shop-filter__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.shop-filter__list label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-700); cursor: pointer;
}
.shop-filter__list label:hover { color: var(--wood-500); }
.shop-filter__list input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: var(--wood-500);
}
.shop-filter__list em { font-style: normal; color: var(--ink-400); font-size: 12.5px; margin-left: auto; }
.shop-filter__more {
  display: inline-block; margin-top: 10px;
  color: var(--wood-500); font-size: 13px; font-weight: 500;
}
.shop-filter__toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 12px 0;
  background: none; border: 0; border-top: 1px solid var(--line);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--ink-900); cursor: pointer;
}
.shop-filter__toggle svg { width: 16px; height: 16px; color: var(--ink-500); }
.shop-filter__range { margin-top: 6px; }
.shop-filter__track {
  height: 4px; border-radius: 2px; background: var(--cream-soft);
  position: relative; margin: 12px 0 10px;
}
.shop-filter__track span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 55%; background: var(--wood-500); border-radius: 2px;
}
.shop-filter__track::after {
  content: ""; position: absolute; left: 55%; top: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--wood-500); transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.shop-filter__range-labels {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-500);
}
.shop-filter__apply { width: 100%; margin-top: 10px; }
.shop-filter__reset {
  width: 100%; margin-top: 8px; padding: 11px;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink-500);
  font-family: var(--font-body); font-size: 13px; cursor: pointer;
}
.shop-filter__reset:hover { color: var(--ink-900); border-color: var(--ink-900); }

/* Toolbar */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; flex-wrap: wrap; gap: 10px;
}
.shop-toolbar__count { font-size: 14px; color: var(--ink-500); }
.shop-toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-500); }
.shop-toolbar__sort select {
  padding: 8px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper);
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink-900);
  cursor: pointer;
}

/* Produktgrid */
.shop-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1180px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .shop-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card__media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--cream-soft);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: var(--ink-900);
}
.product-card__badge--laser { background: var(--ink-900); }
.product-card__badge--uv    { background: #6a5acd; }
.product-card__badge--3d    { background: #2b8ac6; }
.product-card__badge--new   { background: var(--wood-500); }

.product-card__body {
  padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1;
}
.product-card__title {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  margin: 0 0 2px; color: var(--ink-900);
}
.product-card__sub { font-size: 12.5px; color: var(--ink-400); margin: 0 0 10px; }
.product-card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.product-card__price {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--wood-500);
}
.product-card__actions { display: flex; gap: 6px; }
.product-card__actions button {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-soft); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-700); transition: background .2s ease, color .2s ease;
}
.product-card__actions button:hover { background: var(--wood-500); color: #fff; }
.product-card__actions svg { width: 15px; height: 15px; }

/* Kategorie-Karussell: aktiver Zustand */
.shop-carousel__item {
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.shop-carousel__item.is-active { color: var(--wood-500); }
.shop-carousel__item.is-active .shop-carousel__icon { background: var(--wood-500); color: #fff; }
.shop-carousel__icon-img { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.shop-carousel__icon-text { font-size: 18px; line-height: 1; }

/* Filtergruppen */
.shop-filter__group.is-collapsed .shop-filter__list { display: none; }
.shop-filter__group .shop-filter__toggle { border: 0; }
.shop-filter__group.is-collapsed .shop-filter__toggle svg { transform: rotate(-90deg); }
.shop-filter__price { display: flex; gap: 10px; }
.shop-filter__price label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-500); }
.shop-filter__price input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper);
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink-900);
}

/* Produktkarte: Warenkorb / Konfigurieren */
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__media { display: block; }
.product-card__cart {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-soft); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-700); transition: background .2s ease, color .2s ease;
}
.product-card__cart:hover { background: var(--wood-500); color: #fff; }
.product-card__cart svg { width: 15px; height: 15px; }
.product-card__cart.loading { opacity: .6; }
.product-card__cart.added::after { content: '\2713'; margin-left: 4px; }
.product-card__configure {
  padding: 7px 12px; border-radius: var(--radius-sm);
  background: var(--cream-soft); color: var(--ink-700);
  font-size: 12.5px; font-weight: 600; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.product-card__configure:hover { background: var(--wood-500); color: #fff; }

/* Ladezustand, Leermeldung, Nachladen */
.shop-grid.is-loading { opacity: .5; pointer-events: none; transition: opacity .2s ease; }
.shop-empty { grid-column: 1 / -1; font-size: 14px; color: var(--ink-500); }
.shop-more { display: flex; justify-content: center; margin-top: 28px; }
.shop-more button[hidden] { display: none; }

/* Trust unten */
.shop-trust {
  margin-top: 32px; padding: 20px 22px;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr);
}
.shop-trust__item { display: flex; gap: 12px; align-items: center; }
.shop-trust__item svg { width: 32px; height: 32px; color: var(--wood-500); flex-shrink: 0; padding: 6px; background: var(--cream-soft); border-radius: 8px; box-sizing: content-box; }
.shop-trust__item strong { display: block; font-size: 13.5px; color: var(--ink-900); font-weight: 600; }
.shop-trust__item span   { font-size: 12px; color: var(--ink-500); }
@media (max-width: 880px) { .shop-trust { grid-template-columns: 1fr 1fr; } }

/* ========== Kontaktseite ========== */
.contact-section { padding: 40px 0 80px; background: var(--cream); }
.contact-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.contact-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; }
.contact-alert--ok  { background: #e8f3ea; color: #24603a; border: 1px solid #b7dcc0; }
.contact-alert--err { background: #fbeae9; color: #7a2a24; border: 1px solid #f0c3bf; }

.contact-grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 32px;
  background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-md); overflow: hidden;
}
.contact-side { padding: 44px 40px; background: var(--paper); border-right: 1px solid var(--line); }
.contact-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-500); }
.contact-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 12px 0 16px; }
.contact-title::after { content: ""; }
.contact-intro { color: var(--ink-500); font-size: 15px; line-height: 1.65; margin: 0 0 28px; }

.contact-info { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 14px; }
.contact-info__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--cream-soft);
  display: inline-flex; align-items: center; justify-content: center; color: var(--wood-500); flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info small { display: block; font-size: 12px; color: var(--ink-400); margin-bottom: 2px; }
.contact-info strong { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--ink-900); }
.contact-info a { color: inherit; }

.contact-trust {
  list-style: none; padding: 22px; margin: 0;
  background: var(--cream-soft); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 16px;
}
.contact-trust li { display: flex; gap: 12px; align-items: flex-start; }
.contact-trust span {
  width: 36px; height: 36px; border-radius: 10px; background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; color: var(--wood-500); flex-shrink: 0;
}
.contact-trust span svg { width: 18px; height: 18px; }
.contact-trust strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink-900); margin-bottom: 2px; }
.contact-trust small { color: var(--ink-500); font-size: 13px; }

/* Form */
.contact-form { padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.contact-field em { color: var(--wood-500); font-style: normal; }
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field select,
.contact-field textarea {
  width: 100%; font: inherit; color: var(--ink-900);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-field textarea { resize: vertical; min-height: 130px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none; border-color: var(--wood-500);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, .15);
}
.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}

.contact-upload {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 28px 20px; border: 1.5px dashed rgba(139, 90, 43, .35);
  border-radius: var(--radius); background: rgba(247, 242, 232, .5); cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.contact-upload:hover { background: var(--cream-soft); border-color: var(--wood-500); }
.contact-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.contact-upload__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; color: var(--wood-500);
}
.contact-upload__icon svg { width: 22px; height: 22px; }
.contact-upload strong { font-size: 14.5px; font-weight: 600; color: var(--ink-900); }
.contact-upload small { color: var(--ink-500); font-size: 12.5px; }

.contact-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-500); }
.contact-consent input { margin-top: 4px; accent-color: var(--wood-500); }
.contact-consent a { color: var(--wood-500); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.contact-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--wood-500); color: #fff; font: 600 15px/1 var(--font-display); letter-spacing: .01em;
  transition: background .15s ease, transform .1s ease;
}
.contact-submit:hover { background: var(--wood-600); }
.contact-submit:active { transform: translateY(1px); }
.contact-submit svg { width: 18px; height: 18px; }

.contact-note {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  color: var(--ink-500); font-size: 13px; margin: 4px 0 0;
}
.contact-note svg { width: 16px; height: 16px; color: var(--wood-500); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 24px; }
  .contact-form { padding: 32px 24px; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ==========================================================
   Dartflights Konfigurator / page-dartflights.php
   ========================================================== */
.dart-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.dart-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: right center;
  opacity: .55;
}
.dart-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 30%, rgba(247,242,232,.55) 55%, rgba(247,242,232,0) 100%);
}
.dart-hero__inner { position: relative; }
.dart-hero .eyebrow {
  display: inline-block; font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--wood-500); font-weight: 600; margin-bottom: 14px;
}
.dart-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.dart-hero h1 .accent { color: var(--wood-500); }
.dart-hero__lead { color: var(--ink-500); max-width: 60ch; margin: 0; }

/* Stepper */
.dart-stepper-wrap { padding: 22px 0 8px; }
.dart-stepper {
  list-style: none; margin: 0; padding: 18px 24px;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
}
.dart-stepper__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex: 1; min-width: 100px;
}
.dart-stepper__num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
  background: var(--cream-soft); color: var(--ink-400); font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.dart-stepper__item.is-active .dart-stepper__num { background: var(--wood-500); color: #fff; }
.dart-stepper__label { font-size: 13px; color: var(--ink-500); font-weight: 500; }
.dart-stepper__item.is-active .dart-stepper__label { color: var(--ink-900); font-weight: 600; }
.dart-stepper__sep { color: var(--ink-400); flex: 0 0 auto; }
.dart-stepper__sep svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .dart-stepper__sep { display: none; }
  .dart-stepper__item { min-width: 0; flex: 0 0 auto; flex-direction: row; gap: 8px; }
}

/* Config grid */
.dart-config { padding: 24px 0 60px; }
.dart-config__grid {
  display: grid; grid-template-columns: 1fr 1.45fr; gap: 24px;
  align-items: start;
}
@media (max-width: 980px) { .dart-config__grid { grid-template-columns: 1fr; } }
.dart-col { display: flex; flex-direction: column; gap: 20px; }

/* Card */
.dart-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.dart-card__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; margin: 0 0 16px; color: var(--ink-900);
}
.dart-card__title--small { font-size: 14.5px; }
.dart-card__title--flush { margin: 0; }
.dart-optional { color: var(--ink-400); font-weight: 400; font-size: 13px; }

/* Select-look */
.dart-select {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--ink-900);
  background: var(--paper);
}
.dart-select svg { width: 16px; height: 16px; color: var(--ink-500); }

/* Brands */
.dart-brands {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 14px;
}
.dart-brand {
  aspect-ratio: 1.4/1;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; color: var(--ink-900);
  transition: border-color .2s ease, background .2s ease;
}
.dart-brand:hover { border-color: var(--wood-300); }
.dart-brand.is-active { border-color: var(--wood-500); background: #fff; }

/* Shapes carousel */
.dart-shapes {
  position: relative; margin-top: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 0 34px;
}
.dart-shape {
  position: relative;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  color: var(--ink-500);
  transition: border-color .2s ease, color .2s ease;
}
.dart-shape svg { width: 60%; height: 60%; }
.dart-shape:hover { border-color: var(--wood-300); color: var(--ink-900); }
.dart-shape.is-active { border-color: var(--wood-500); color: var(--ink-900); }
.dart-shape__check {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--wood-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.dart-shape__check svg { width: 14px; height: 14px; }
.dart-shape-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
}
.dart-shape-nav:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-shape-nav svg { width: 14px; height: 14px; }
.dart-shape-nav--prev { left: 0; }
.dart-shape-nav--next { right: 0; }

.dart-model-info {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 16px;
}
.dart-model-info__icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; color: var(--wood-500);
  flex-shrink: 0;
}
.dart-model-info__icon svg { width: 20px; height: 20px; }
.dart-model-info strong { display: block; font-size: 14.5px; color: var(--ink-900); margin-bottom: 2px; }
.dart-model-info p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.5; }

/* Tabs */
.dart-tabs {
  display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.dart-tab {
  background: none; border: 0; padding: 10px 2px; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.dart-tab.is-active { color: var(--ink-900); border-color: var(--wood-500); font-weight: 600; }

/* Drop zone */
.dart-drop {
  border: 2px dashed rgba(139,90,43,.35);
  border-radius: var(--radius-sm);
  padding: 26px 20px; text-align: center;
  background: rgba(247,242,232,.4);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.dart-drop__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-soft); color: var(--wood-500);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.dart-drop__icon svg { width: 22px; height: 22px; }
.dart-drop strong { font-size: 13.5px; color: var(--ink-900); font-weight: 600; }
.dart-drop__hint { font-size: 12px; color: var(--ink-400); }

.dart-file {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper);
}
.dart-file__icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(217, 91, 60, .12); color: #c2410c;
  display: flex; align-items: center; justify-content: center;
}
.dart-file__icon svg { width: 18px; height: 18px; }
.dart-file__meta { flex: 1; }
.dart-file__meta strong { display: block; font-size: 13.5px; color: var(--ink-900); font-weight: 600; }
.dart-file__meta span { font-size: 12px; color: var(--ink-400); }
.dart-file__remove {
  background: none; border: 0; cursor: pointer; color: var(--ink-400);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.dart-file__remove:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-file__remove svg { width: 16px; height: 16px; }

.dart-tip {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 14px; padding: 12px 14px;
  background: var(--cream-soft); border-radius: var(--radius-sm);
}
.dart-tip__icon { color: var(--wood-500); flex-shrink: 0; }
.dart-tip__icon svg { width: 20px; height: 20px; }
.dart-tip p { margin: 0; font-size: 13px; color: var(--ink-700); line-height: 1.5; }
.dart-tip strong { color: var(--ink-900); font-weight: 600; }

.dart-templates {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper);
  font-family: var(--font-body); font-size: 14px; color: var(--ink-900);
  cursor: pointer;
}
.dart-templates:hover { border-color: var(--wood-300); }
.dart-templates svg { width: 16px; height: 16px; color: var(--ink-500); }

/* Preview */
.dart-preview-card { padding: 22px; }
.dart-preview-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.dart-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-700); cursor: pointer;
}
.dart-toggle__switch {
  width: 38px; height: 22px; border-radius: 999px; background: var(--wood-500);
  position: relative; display: inline-block;
}
.dart-toggle__dot {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .2s ease;
}

.dart-preview {
  position: relative;
  background: linear-gradient(180deg, #fafafa, #f2ecdd);
  border-radius: var(--radius);
  aspect-ratio: 4/4.4;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dart-preview img { max-width: 78%; max-height: 92%; width: auto; height: auto; object-fit: contain; }
.dart-preview__bg {
  position: absolute; top: 14px; left: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-700);
}
.dart-preview__bg svg { width: 18px; height: 18px; }

.dart-views {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 16px;
}
.dart-view {
  background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.dart-view__thumb {
  width: 100%; aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream-soft);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dart-view__thumb img { width: 70%; height: 90%; object-fit: contain; }
.dart-view.is-active .dart-view__thumb { border-color: var(--wood-500); }
.dart-view__label { font-size: 12px; color: var(--ink-500); }
.dart-view.is-active .dart-view__label { color: var(--ink-900); font-weight: 600; }

.dart-zoom {
  display: flex; justify-content: center; gap: 14px; margin-top: 14px;
}
.dart-zoom button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
}
.dart-zoom button:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-zoom svg { width: 16px; height: 16px; }

/* Order grid */
.dart-order-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 720px) { .dart-order-grid { grid-template-columns: 1fr; } }

.dart-order-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start;
}
.dart-qty__label, .dart-price__label {
  display: block; font-size: 12.5px; color: var(--ink-500); margin-bottom: 8px;
}
.dart-qty__control {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--paper);
}
.dart-qty__control button {
  width: 38px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 18px; color: var(--ink-700);
}
.dart-qty__control button:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-qty__control input {
  flex: 1; border: 0; text-align: center; padding: 10px 0;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink-900);
  background: transparent; min-width: 0;
}
.dart-qty__control input:focus { outline: none; }

.dart-price { text-align: right; }
.dart-price__value {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--ink-900); line-height: 1.2;
}
.dart-price__unit { display: block; font-size: 12px; color: var(--ink-400); margin-top: 2px; }
.dart-price__badge {
  display: inline-block; margin-top: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(139,90,43,.12); color: var(--wood-600);
  font-size: 11.5px; font-weight: 600;
}

.dart-features {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.dart-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-700);
}
.dart-features__check { color: var(--wood-500); flex-shrink: 0; }
.dart-features__check svg { width: 18px; height: 18px; }

.dart-cta {
  width: 100%; padding: 14px 20px; font-size: 15px;
}
.dart-cta svg { width: 18px; height: 18px; }
.dart-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 12px 0 0; font-size: 12.5px; color: var(--ink-400);
}
.dart-secure svg { width: 14px; height: 14px; }

/* Trust bar */
.dart-trust {
  margin-top: 32px;
  padding: 24px;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 880px) { .dart-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .dart-trust { grid-template-columns: 1fr; } }
.dart-trust__item { display: flex; gap: 12px; align-items: center; }
.dart-trust__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream-soft); color: var(--wood-500);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dart-trust__icon svg { width: 22px; height: 22px; }
.dart-trust__item strong { display: block; font-size: 14px; color: var(--ink-900); font-weight: 600; }
.dart-trust__item span { font-size: 12.5px; color: var(--ink-500); }

/* ============================================================
   Dartflights Konfigurator – Interaktion
   ============================================================ */
.dart-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.dart-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: right center;
  opacity: .55;
}
.dart-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 30%, rgba(247,242,232,.55) 55%, rgba(247,242,232,0) 100%);
}
.dart-hero__inner { position: relative; }
.dart-hero .eyebrow {
  display: inline-block; font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--wood-500); font-weight: 600; margin-bottom: 14px;
}
.dart-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.dart-hero h1 .accent { color: var(--wood-500); }
.dart-hero__lead { color: var(--ink-500); max-width: 60ch; margin: 0; }

/* Stepper */
.dart-stepper-wrap { padding: 22px 0 8px; }
.dart-stepper {
  list-style: none; margin: 0; padding: 18px 24px;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
}
.dart-stepper__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex: 1; min-width: 100px;
}
.dart-stepper__num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
  background: var(--cream-soft); color: var(--ink-400); font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.dart-stepper__item.is-active .dart-stepper__num { background: var(--wood-500); color: #fff; }
.dart-stepper__label { font-size: 13px; color: var(--ink-500); font-weight: 500; }
.dart-stepper__item.is-active .dart-stepper__label { color: var(--ink-900); font-weight: 600; }
.dart-stepper__sep { color: var(--ink-400); flex: 0 0 auto; }
.dart-stepper__sep svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .dart-stepper__sep { display: none; }
  .dart-stepper__item { min-width: 0; flex: 0 0 auto; flex-direction: row; gap: 8px; }
}

/* Config grid */
.dart-config { padding: 24px 0 60px; }
.dart-config__grid {
  display: grid; grid-template-columns: 1fr 1.45fr; gap: 24px;
  align-items: start;
}
@media (max-width: 980px) { .dart-config__grid { grid-template-columns: 1fr; } }
.dart-col { display: flex; flex-direction: column; gap: 20px; }

/* Card */
.dart-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.dart-card__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; margin: 0 0 16px; color: var(--ink-900);
}
.dart-card__title--small { font-size: 14.5px; }
.dart-card__title--flush { margin: 0; }
.dart-optional { color: var(--ink-400); font-weight: 400; font-size: 13px; }

/* Select-look */
.dart-select {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--ink-900);
  background: var(--paper);
}
.dart-select svg { width: 16px; height: 16px; color: var(--ink-500); }

/* Brands */
.dart-brands {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 14px;
}
.dart-brand {
  aspect-ratio: 1.4/1;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; color: var(--ink-900);
  transition: border-color .2s ease, background .2s ease;
}
.dart-brand:hover { border-color: var(--wood-300); }
.dart-brand.is-active { border-color: var(--wood-500); background: #fff; }

/* Shapes carousel */
.dart-shapes {
  position: relative; margin-top: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 0 34px;
}
.dart-shape {
  position: relative;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  color: var(--ink-500);
  transition: border-color .2s ease, color .2s ease;
}
.dart-shape svg { width: 60%; height: 60%; }
.dart-shape:hover { border-color: var(--wood-300); color: var(--ink-900); }
.dart-shape.is-active { border-color: var(--wood-500); color: var(--ink-900); }
.dart-shape__check {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--wood-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.dart-shape__check svg { width: 14px; height: 14px; }
.dart-shape-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
}
.dart-shape-nav:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-shape-nav svg { width: 14px; height: 14px; }
.dart-shape-nav--prev { left: 0; }
.dart-shape-nav--next { right: 0; }

.dart-model-info {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 16px;
}
.dart-model-info__icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; color: var(--wood-500);
  flex-shrink: 0;
}
.dart-model-info__icon svg { width: 20px; height: 20px; }
.dart-model-info strong { display: block; font-size: 14.5px; color: var(--ink-900); margin-bottom: 2px; }
.dart-model-info p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.5; }

/* Tabs */
.dart-tabs {
  display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.dart-tab {
  background: none; border: 0; padding: 10px 2px; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.dart-tab.is-active { color: var(--ink-900); border-color: var(--wood-500); font-weight: 600; }

/* Drop zone */
.dart-drop {
  border: 2px dashed rgba(139,90,43,.35);
  border-radius: var(--radius-sm);
  padding: 26px 20px; text-align: center;
  background: rgba(247,242,232,.4);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.dart-drop__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-soft); color: var(--wood-500);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.dart-drop__icon svg { width: 22px; height: 22px; }
.dart-drop strong { font-size: 13.5px; color: var(--ink-900); font-weight: 600; }
.dart-drop__hint { font-size: 12px; color: var(--ink-400); }

.dart-file {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper);
}
.dart-file__icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(217, 91, 60, .12); color: #c2410c;
  display: flex; align-items: center; justify-content: center;
}
.dart-file__icon svg { width: 18px; height: 18px; }
.dart-file__meta { flex: 1; }
.dart-file__meta strong { display: block; font-size: 13.5px; color: var(--ink-900); font-weight: 600; }
.dart-file__meta span { font-size: 12px; color: var(--ink-400); }
.dart-file__remove {
  background: none; border: 0; cursor: pointer; color: var(--ink-400);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.dart-file__remove:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-file__remove svg { width: 16px; height: 16px; }

.dart-tip {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 14px; padding: 12px 14px;
  background: var(--cream-soft); border-radius: var(--radius-sm);
}
.dart-tip__icon { color: var(--wood-500); flex-shrink: 0; }
.dart-tip__icon svg { width: 20px; height: 20px; }
.dart-tip p { margin: 0; font-size: 13px; color: var(--ink-700); line-height: 1.5; }
.dart-tip strong { color: var(--ink-900); font-weight: 600; }

.dart-templates {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper);
  font-family: var(--font-body); font-size: 14px; color: var(--ink-900);
  cursor: pointer;
}
.dart-templates:hover { border-color: var(--wood-300); }
.dart-templates svg { width: 16px; height: 16px; color: var(--ink-500); }

/* Preview */
.dart-preview-card { padding: 22px; }
.dart-preview-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.dart-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-700); cursor: pointer;
}
.dart-toggle__switch {
  width: 38px; height: 22px; border-radius: 999px; background: var(--wood-500);
  position: relative; display: inline-block;
}
.dart-toggle__dot {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .2s ease;
}

.dart-preview {
  position: relative;
  background: linear-gradient(180deg, #fafafa, #f2ecdd);
  border-radius: var(--radius);
  aspect-ratio: 4/4.4;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dart-preview img { max-width: 78%; max-height: 92%; width: auto; height: auto; object-fit: contain; }
.dart-preview__bg {
  position: absolute; top: 14px; left: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-700);
}
.dart-preview__bg svg { width: 18px; height: 18px; }

.dart-views {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 16px;
}
.dart-view {
  background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.dart-view__thumb {
  width: 100%; aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream-soft);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dart-view__thumb img { width: 70%; height: 90%; object-fit: contain; }
.dart-view.is-active .dart-view__thumb { border-color: var(--wood-500); }
.dart-view__label { font-size: 12px; color: var(--ink-500); }
.dart-view.is-active .dart-view__label { color: var(--ink-900); font-weight: 600; }

.dart-zoom {
  display: flex; justify-content: center; gap: 14px; margin-top: 14px;
}
.dart-zoom button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
}
.dart-zoom button:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-zoom svg { width: 16px; height: 16px; }

/* Order grid */
.dart-order-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 720px) { .dart-order-grid { grid-template-columns: 1fr; } }

.dart-order-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start;
}
.dart-qty__label, .dart-price__label {
  display: block; font-size: 12.5px; color: var(--ink-500); margin-bottom: 8px;
}
.dart-qty__control {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--paper);
}
.dart-qty__control button {
  width: 38px; height: 40px; border: 0; background: none; cursor: pointer;
  font-size: 18px; color: var(--ink-700);
}
.dart-qty__control button:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-qty__control input {
  flex: 1; border: 0; text-align: center; padding: 10px 0;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink-900);
  background: transparent; min-width: 0;
}
.dart-qty__control input:focus { outline: none; }

.dart-price { text-align: right; }
.dart-price__value {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--ink-900); line-height: 1.2;
}
.dart-price__unit { display: block; font-size: 12px; color: var(--ink-400); margin-top: 2px; }
.dart-price__badge {
  display: inline-block; margin-top: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(139,90,43,.12); color: var(--wood-600);
  font-size: 11.5px; font-weight: 600;
}

.dart-features {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.dart-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-700);
}
.dart-features__check { color: var(--wood-500); flex-shrink: 0; }
.dart-features__check svg { width: 18px; height: 18px; }

.dart-cta {
  width: 100%; padding: 14px 20px; font-size: 15px;
}
.dart-cta svg { width: 18px; height: 18px; }
.dart-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 12px 0 0; font-size: 12.5px; color: var(--ink-400);
}
.dart-secure svg { width: 14px; height: 14px; }

/* Trust bar */
.dart-trust {
  margin-top: 32px;
  padding: 24px;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 880px) { .dart-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .dart-trust { grid-template-columns: 1fr; } }
.dart-trust__item { display: flex; gap: 12px; align-items: center; }
.dart-trust__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream-soft); color: var(--wood-500);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dart-trust__icon svg { width: 22px; height: 22px; }
.dart-trust__item strong { display: block; font-size: 14px; color: var(--ink-900); font-weight: 600; }
.dart-trust__item span { font-size: 12.5px; color: var(--ink-500); }

/* ============================================================
   Dartflights Konfigurator – Interaktion
   ============================================================ */
.dart-shapes__list { display: flex; gap: 10px; flex: 1; justify-content: center; }
.dart-shape { position: relative; }
.dart-shape .dart-shape__check { opacity: 0; transition: opacity .18s ease; }
.dart-shape.is-active .dart-shape__check { opacity: 1; }

.dart-stepper__item.is-done { opacity: 1; }
.dart-stepper__item.is-done .dart-stepper__num {
	background: var(--wood-500, #8f6a3f);
	color: #fff;
	border-color: transparent;
}

.dart-drop { cursor: pointer; display: flex; }
.dart-drop.is-over { border-color: var(--wood-500, #8f6a3f); background: rgba(143,106,63,.07); }

.dart-textfields { display: grid; gap: 14px; margin-top: 4px; }
.dart-field { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.dart-field input[type="text"],
.dart-field select {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-weight: 500;
}
.dart-field input[type="color"] {
	width: 56px; height: 38px; padding: 2px;
	border: 1px solid rgba(0,0,0,.12); border-radius: 10px; background: #fff;
}
.dart-field input:focus, .dart-field select:focus {
	outline: none; border-color: var(--wood-500, #8f6a3f);
}

.dart-preview { position: relative; overflow: hidden; transition: background .25s ease; }
.dart-preview[data-bg="1"] { background: #14171a; }
.dart-preview[data-bg="2"] { background: linear-gradient(140deg, #f6efe6, #e2d3bf); }
.dart-preview img { transition: transform .25s ease; transform-origin: center; }
.dart-preview__text {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; letter-spacing: .02em;
	text-shadow: 0 2px 10px rgba(0,0,0,.35); pointer-events: none; text-align: center;
}

.dart-toggle { cursor: pointer; }
.dart-toggle.is-on .dart-toggle__switch { background: var(--wood-500, #8f6a3f); }
.dart-toggle.is-on .dart-toggle__dot { transform: translateX(18px); }
.dart-toggle__dot { transition: transform .2s ease; }

.dart-qty__presets { display: flex; gap: 6px; margin-top: 10px; }
.dart-qty__preset {
	flex: 1; padding: 7px 0; border-radius: 10px; font: inherit; font-size: .8rem; font-weight: 600;
	border: 1px solid rgba(0,0,0,.12); background: #fff; cursor: pointer; transition: all .18s ease;
}
.dart-qty__preset:hover { border-color: var(--wood-500, #8f6a3f); }
.dart-qty__preset.is-active { background: var(--wood-500, #8f6a3f); border-color: transparent; color: #fff; }

.dart-msg {
	margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
	background: rgba(143,106,63,.1); color: var(--anthracite-900, #1f2327);
	font-size: .85rem; font-weight: 600;
}

/* ============================================================
   Dartflights – Herstellungsverfahren, Hersteller, Flightgröße
   ============================================================ */
.dart-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.dart-method {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  text-align: left;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.dart-method:hover { border-color: var(--wood-300); }
.dart-method.is-active { border-color: var(--wood-500); background: var(--paper); }
.dart-method__icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--wood-500);
  border: 1px solid var(--line);
}
.dart-method.is-active .dart-method__icon { background: var(--wood-500); color: #fff; border-color: var(--wood-500); }
.dart-method__icon svg { width: 20px; height: 20px; }
.dart-method__text { display: flex; flex-direction: column; line-height: 1.3; }
.dart-method__text strong { font-family: var(--font-display); font-size: 15px; color: var(--ink-900); }
.dart-method__text span { font-size: 12.5px; color: var(--ink-400); }
.dart-method__check {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wood-500); color: #fff;
  opacity: 0; transform: scale(.6);
  transition: opacity .2s ease, transform .2s ease;
}
.dart-method__check svg { width: 11px; height: 11px; }
.dart-method.is-active .dart-method__check { opacity: 1; transform: scale(1); }

.dart-note {
  display: flex; gap: 8px;
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-700);
  background: var(--cream-soft);
  border-left: 3px solid var(--wood-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dart-field--select { display: block; }
.dart-field--select > span {
  display: block; margin-bottom: 6px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-400); font-weight: 600;
}
.dart-field--select select {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  padding: 13px 42px 13px 16px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink-900);
  background: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5a2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease;
}
.dart-field--select select:hover { border-color: var(--wood-300); }
.dart-field--select select:focus { outline: none; border-color: var(--wood-500); }

/* Custom product dropdown with disabled styling */
select[data-product-select][hidden] { display: none; }
.dart-product-dropdown { position: relative; width: 100%; }
.dart-product-dropdown__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink-900);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease;
  text-align: left;
}
.dart-product-dropdown__trigger:hover { border-color: var(--wood-300); }
.dart-product-dropdown__trigger:focus,
.dart-product-dropdown.is-open .dart-product-dropdown__trigger { outline: none; border-color: var(--wood-500); }
.dart-product-dropdown__current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dart-product-dropdown__caret {
  width: 18px; height: 18px; color: var(--wood-500); flex-shrink: 0;
  transition: transform .2s ease;
}
.dart-product-dropdown.is-open .dart-product-dropdown__caret { transform: rotate(180deg); }
.dart-product-dropdown__list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  max-height: 280px; overflow-y: auto;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
}
.dart-product-dropdown__option {
  display: block; width: 100%;
  padding: 10px 12px;
  font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-900);
  text-align: left;
  background: transparent;
  border: 0; border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.dart-product-dropdown__option:hover:not(.is-disabled),
.dart-product-dropdown__option:focus:not(.is-disabled) { background: var(--cream-soft); outline: none; }
.dart-product-dropdown__option.is-disabled {
  color: #ff9999;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: .9;
}

.dart-hint { margin: 10px 0 0; font-size: 13px; color: var(--ink-500); }
.dart-hint strong { color: var(--ink-900); }

.dart-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.dart-size {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px 14px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-500);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.dart-size svg { width: 46px; height: 62px; }
.dart-size__label { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.dart-size:hover { border-color: var(--wood-300); color: var(--ink-900); }
.dart-size.is-active { border-color: var(--wood-500); background: var(--paper); color: var(--wood-500); }
.dart-size__check {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wood-500); color: #fff;
  opacity: 0; transform: scale(.6);
  transition: opacity .2s ease, transform .2s ease;
}
.dart-size__check svg { width: 11px; height: 11px; }
.dart-size.is-active .dart-size__check { opacity: 1; transform: scale(1); }

/* Nicht verfügbare Optionen: ausgegraut & nicht anwählbar */
.dart-size.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(1);
}
.dart-size.is-disabled:hover { border-color: var(--line); color: var(--ink-500); box-shadow: none; }
.dart-size.is-disabled .dart-size__label { color: var(--ink-500); }
.dart-size.is-disabled .dart-size__check { display: none !important; opacity: 0; }
.dart-field--select select option.is-disabled,
.dart-field--select select option:disabled { color: #9a938a; font-style: italic; }
.dart-hint--warn { color: #b3261e; font-weight: 500; }

/* Warenkorb-Button: deaktiviert, wenn Auswahl in Schritten 1-3 unvollständig ist */
.dart-cta:disabled,
.dart-cta.is-disabled {
  background: var(--ink-400);
  color: rgba(255,255,255,.75);
  cursor: not-allowed;
  opacity: .65;
  transform: none;
  box-shadow: none;
}
.dart-cta:disabled:hover,
.dart-cta.is-disabled:hover {
  background: var(--ink-400);
  color: rgba(255,255,255,.75);
  transform: none;
  box-shadow: none;
}


/* Laser-Modus: Vorschau in Schwarz-Weiß */
.dart-config[data-method-mode="laser"] .dart-preview img,
.dart-config[data-method-mode="laser"] .dart-view__thumb img { filter: grayscale(1) contrast(1.25); }

@media (max-width: 480px) {
  .dart-methods, .dart-sizes { grid-template-columns: 1fr; }
}

/* ============================================================
   Leistungsseiten (Lasern / UV-Druck / 3D-Druck)
   ============================================================ */
.svc-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 24px clamp(32px, 5vw, 56px);
}
.svc-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wood-500);
  margin-bottom: 18px;
}
.svc-hero__title {
  font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: .02em;
  line-height: .95;
  margin-bottom: .2em;
}
.svc-hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--wood-600);
  margin-bottom: .8em;
}
.svc-hero__intro { max-width: 52ch; font-size: 1.02rem; }
.svc-hero__media { position: relative; }
.svc-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.svc-stamp {
  position: absolute;
  right: -14px; bottom: -22px;
  width: 118px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  text-align: center;
  border-radius: 50%;
  background: var(--wood-500);
  color: var(--cream);
  border: 2px dashed rgba(255,255,255,.5);
  box-shadow: var(--shadow-md);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px;
}
.svc-stamp svg { width: 24px; height: 24px; }

/* Mittelteil */
.svc-mid { background: var(--paper); border-block: 1px solid var(--line); }
.svc-mid__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) 24px;
  display: grid;
  gap: clamp(36px, 5vw, 60px);
}
.svc-wood-label {
  display: inline-block;
  background: var(--wood-500);
  color: var(--cream);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 1.05rem;
  margin-bottom: 34px;
}
.svc-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.svc-feature { text-align: center; }
.svc-feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--cream-soft);
  color: var(--wood-500);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.svc-feature__icon svg { width: 30px; height: 30px; }
.svc-feature h3 { margin-bottom: .35em; }
.svc-feature p { font-size: .92rem; margin: 0; }

.svc-examples h2 { text-align: center; margin-bottom: 28px; }
.svc-example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-example { margin: 0; }
.svc-example img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease;
}
.svc-example:hover img { transform: translateY(-4px) scale(1.02); }
.svc-example figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-700);
}

/* Unterer Bereich */
.svc-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) 24px clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.svc-bottom__lead { max-width: 46ch; }
.svc-materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.svc-material {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  box-shadow: var(--shadow-sm);
}
.svc-material strong { font-size: .95rem; }
.svc-material span:not(.svc-material__swatch) { font-size: .8rem; color: var(--ink-400); }
.svc-material__swatch {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--swatch) 22%, #fff);
  color: var(--swatch);
  border: 1px solid color-mix(in srgb, var(--swatch) 45%, #fff);
}
.svc-material__swatch svg { width: 22px; height: 22px; }
.svc-materials__note {
  margin-top: 20px;
  font-style: italic;
  color: var(--wood-600);
  font-weight: 500;
}

.svc-bottom__closing {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.svc-bottom__closing h2 { color: #fff; }
.svc-bottom__closing p { color: var(--footer-text); }
.svc-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 24px;
  text-align: center;
}
.svc-trust__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.svc-trust__item svg { width: 26px; height: 26px; color: var(--wood-300); }
.svc-trust__item span { font-size: .76rem; line-height: 1.3; color: var(--footer-text); }
.svc-cta { width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-bottom { grid-template-columns: 1fr; }
  .svc-example-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .svc-example-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-trust { grid-template-columns: repeat(2, 1fr); }
  .svc-stamp { width: 92px; height: 92px; right: 8px; bottom: -18px; }
}

/* ==========================================================================
   Inspirationen (page-inspirationen.php)
   ========================================================================== */
.insp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 13vw, 160px) 0 clamp(70px, 11vw, 130px);
  color: #fff;
  text-align: center;
}
.insp-hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  animation: insp-zoom 22s ease-in-out infinite alternate;
}
@keyframes insp-zoom { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.insp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--footer-bg) 78%, transparent) 0%,
    color-mix(in srgb, var(--footer-bg) 62%, transparent) 55%,
    color-mix(in srgb, var(--footer-bg) 88%, transparent) 100%);
}
.insp-hero__inner { max-width: 780px; margin-inline: auto; }
.insp-hero__eyebrow {
  display: inline-block;
  letter-spacing: .22em; text-transform: uppercase;
  font-size: .74rem; font-weight: 600;
  color: var(--wood-300);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wood-300) 45%, transparent);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
}
.insp-hero__title {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: .06em;
}
.insp-hero__lead { color: rgba(255,255,255,.86); font-size: 1.05rem; max-width: 640px; margin-inline: auto; }
.insp-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn--ghost-light {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff; background: transparent;
}
.btn--ghost-light:hover { background: rgba(255,255,255,.14); }

.insp-gallery { padding: clamp(46px, 7vw, 84px) 0; background: var(--cream); }

/* Fortlaufendes Masonry-Layout – neue Kacheln fließen automatisch ein */
.insp-masonry {
  columns: 3;
  column-gap: 22px;
}
.insp-card {
  break-inside: avoid;
  margin: 0 0 22px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.22,.8,.3,1) var(--d, 0ms),
              box-shadow .35s ease;
}
.insp-card.is-visible { opacity: 1; transform: none; }
.insp-card:hover { box-shadow: var(--shadow-md); }
.insp-card img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.8,.3,1), filter .5s ease;
}
.insp-card--tall img { aspect-ratio: 3 / 4.2; }
.insp-card--wide img { aspect-ratio: 16 / 10; }
.insp-card:hover img { transform: scale(1.07); }

.insp-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 22px 20px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%,
    color-mix(in srgb, var(--footer-bg) 62%, transparent) 45%,
    color-mix(in srgb, var(--footer-bg) 92%, transparent) 100%);
  transform: translateY(12px);
  transition: transform .45s cubic-bezier(.22,.8,.3,1);
}
.insp-card:hover .insp-card__body { transform: none; }
.insp-card__tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--footer-bg);
  background: var(--wood-300);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 8px;
}
.insp-card__title { margin: 0; color: #fff; font-size: 1.22rem; line-height: 1.2; }
.insp-card__text {
  margin: 6px 0 0;
  font-size: .88rem; line-height: 1.45;
  color: rgba(255,255,255,.85);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease;
}
.insp-card:hover .insp-card__text,
.insp-card:focus-within .insp-card__text { max-height: 90px; opacity: 1; }

.insp-cta {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: clamp(48px, 7vw, 88px) 0;
  text-align: center;
}
.insp-cta__inner { max-width: 640px; margin-inline: auto; }
.insp-cta h2 { color: #fff; margin: 0 0 10px; }
.insp-cta p { color: var(--footer-text); margin: 0 0 22px; }

@media (max-width: 1024px) { .insp-masonry { columns: 2; } }
@media (max-width: 620px) {
  .insp-masonry { columns: 1; }
  .insp-card__text { max-height: 90px; opacity: 1; }
  .insp-card__body { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .insp-card { opacity: 1; transform: none; transition: none; }
  .insp-hero__media { animation: none; }
}

/* ---- Kontakt: Fehlermeldungen ---- */
.contact-alert--err { text-align: left; }
.contact-alert__list { margin: 8px 0 0; padding-left: 20px; }
.contact-alert__list li { margin: 4px 0; }
.contact-alert__hint { display: block; margin-top: 10px; opacity: .8; }
.contact-consent--error {
	border: 1px solid #c0392b;
	background: rgba(192, 57, 43, .06);
	border-radius: 12px;
	padding: 12px 14px;
}
.contact-consent--error span em { color: #c0392b; font-style: normal; }
/* ============ Kontakt: Dateiliste & Captcha ============ */
.contact-upload.is-dragover {
	border-color: var(--wood-500, #b1783c);
	background: rgba(177, 120, 60, .07);
}

.contact-files {
	list-style: none;
	margin: .85rem 0 0;
	padding: 0;
	display: grid;
	gap: .5rem;
}

.contact-file {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .65rem .8rem;
	border: 1px solid rgba(31, 35, 39, .12);
	border-radius: 12px;
	background: #fff;
}

.contact-file__icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: rgba(177, 120, 60, .12);
	color: var(--wood-600, #96622f);
}
.contact-file__icon svg { width: 18px; height: 18px; }

.contact-file__meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .1rem;
}
.contact-file__meta strong {
	font-size: .93rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.contact-file__meta small {
	font-size: .78rem;
	opacity: .68;
}

.contact-file__remove {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	background: rgba(31, 35, 39, .07);
	color: #1f2327;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}
.contact-file__remove svg { width: 15px; height: 15px; }
.contact-file__remove:hover {
	background: #c0392b;
	color: #fff;
	transform: rotate(90deg);
}

.contact-file--invalid {
	border-color: rgba(192, 57, 43, .45);
	background: rgba(192, 57, 43, .05);
}
.contact-file--invalid .contact-file__icon { background: rgba(192, 57, 43, .12); color: #c0392b; }
.contact-file--invalid .contact-file__meta small { color: #c0392b; opacity: 1; }

.contact-captcha { margin: .25rem 0 .35rem; }
.contact-captcha .g-recaptcha { transform-origin: 0 0; }

@media (max-width: 420px) {
	.contact-captcha .g-recaptcha { transform: scale(.87); }
}

/* ---------------------------------------------------------------
   Dartflights: Produkt-/Formauswahl, Vorschau, Warenkorb
---------------------------------------------------------------- */
.dart-tiers {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.dart-tiers li {
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 6px; text-align: center;
}
.dart-tiers span { display: block; font-size: 11.5px; color: var(--ink-500); }
.dart-tiers strong { display: block; font-size: 13.5px; color: var(--ink-900); font-weight: 600; }
.dart-note--warn { color: #b3261e; font-weight: 500; }

.dart-sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dart-size {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease;
}
.dart-size:hover { border-color: var(--wood-300); }
.dart-size.is-active { border-color: var(--wood-500); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.dart-size__img {
  width: 100%; height: 120px; display: flex; align-items: center; justify-content: center;
  background: var(--cream-soft); border-radius: 10px; overflow: hidden; color: var(--ink-500);
}
.dart-size__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dart-size__img svg { width: 46px; height: 62px; }
.dart-size__label { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }.dart-size__check {
  position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--wood-500); color: #fff; display: none; align-items: center; justify-content: center;
}
.dart-size.is-active .dart-size__check { display: flex; }
.dart-size__check svg { width: 11px; height: 11px; }

.dart-consent {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px;
  font-size: 13px; color: var(--ink-700); line-height: 1.5;
}
.dart-consent input { margin-top: 3px; }

.dart-preview-hint { font-size: 12px; color: var(--ink-400); }
.dart-preview { overflow: hidden; cursor: zoom-in; }
.dart-preview [data-preview-img] { transition: transform .18s ease; will-change: transform; }
.dart-preview__overlay {
  position: absolute; inset: 0; margin: auto; max-width: 92%; max-height: 92%;
  object-fit: contain; pointer-events: none; z-index: 3;
}

.dart-cart__empty { margin: 0; font-size: 13.5px; color: var(--ink-500); }
.dart-cart__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dart-cart__item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff;
}
.dart-cart__thumb {
  width: 54px; height: 54px; flex: 0 0 54px; border-radius: 10px; overflow: hidden;
  background: var(--cream-soft); display: flex; align-items: center; justify-content: center;
}
.dart-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dart-cart__thumb-ph { width: 22px; height: 22px; border-radius: 6px; background: var(--line); }
.dart-cart__meta { flex: 1; min-width: 0; }
.dart-cart__meta strong { display: block; font-size: 13.5px; color: var(--ink-900); }
.dart-cart__meta span { display: block; font-size: 12px; color: var(--ink-500); }
.dart-cart__flag { color: var(--wood-500) !important; font-weight: 500; }
.dart-cart__price { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.dart-cart__remove {
  border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--ink-400);
  cursor: pointer; padding: 2px 6px;
}
.dart-cart__remove:hover { color: var(--ink-900); }
.dart-cart__sum {
  display: flex; justify-content: space-between; align-items: center;
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-700);
}
.dart-cart__sum strong { font-size: 17px; color: var(--ink-900); }

/* ---------- Dartflights: Vorschau-Editor & Preis ---------- */
.dart-preview { cursor: default; }
.dart-preview__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dart-preview [data-preview-img] {
  transition: none; will-change: transform; cursor: grab; touch-action: none; user-select: none;
}
.dart-preview.is-dragging [data-preview-img] { cursor: grabbing; }
.dart-preview__overlay { position: absolute; inset: 0; margin: auto; pointer-events: none; z-index: 3; }
.dart-preview__axes { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.dart-preview__axes::before,
.dart-preview__axes::after {
  content: ""; position: absolute; background: rgba(20, 23, 26, .22);
}
.dart-preview__axes::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-.5px); }
.dart-preview__axes::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-.5px); }

.dart-preview-controls {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px;
}
.dart-zoom { display: grid; grid-template-columns: 92px 1fr 84px; align-items: center; gap: 10px; width: 100%; margin-top: 0; }
.dart-zoom > span { font-size: 12.5px; color: var(--ink-500); }
.dart-zoom input[type="range"] { width: 100%; min-width: 0; accent-color: var(--wood-500); }
.dart-zoom strong { font-size: 12.5px; color: var(--ink-900); min-width: 48px; text-align: right; }
.dart-zoom__val { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-900); }
.dart-zoom__val input[type="number"] {
  width: 100%; min-width: 0; padding: 4px 6px; font-size: 12.5px; color: var(--ink-900);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; text-align: right;
  -moz-appearance: textfield; appearance: textfield;
}
.dart-zoom__val input[type="number"]:focus { outline: 2px solid var(--wood-500); outline-offset: 1px; }
.dart-zoom__val input::-webkit-outer-spin-button,
.dart-zoom__val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dart-zoom__val i { font-style: normal; color: var(--ink-500); }
.dart-preview-reset {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; color: var(--ink-700); cursor: pointer;
}
.dart-preview-reset:hover { background: var(--cream-soft); color: var(--ink-900); }

.dart-price--below {
  text-align: left; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.dart-price--below .dart-price__label { margin-bottom: 0; }
.dart-price--below .dart-price__value { display: inline-block; }
.dart-price--below .dart-price__unit { display: inline-block; margin-top: 0; }
.dart-msg.is-error { color: #b3261e; }
.ks-dart-cart-thumb { width: 100%; height: auto; border-radius: 8px; }


/* ---------- Dartflights: Datei-Zeile & Vorschau-Werkzeuge ---------- */
.dart-file[hidden] { display: none; }

.dart-preview-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 14px;
}
.dart-tool-group {
  display: flex; align-items: center; gap: 4px;
  padding: 4px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper);
}
.dart-tool {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-500); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.dart-tool:hover { background: var(--cream-soft); color: var(--ink-900); }
.dart-tool:active { transform: scale(.94); }
.dart-tool svg { width: 17px; height: 17px; }
.dart-tool.is-active { background: var(--ink-900); color: var(--paper); }
.dart-tool--reset {
  width: auto; height: 30px; padding: 0 14px; border-radius: 999px;
  font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  line-height: 1; white-space: nowrap;
}

/* ---------- Dartflights: Farben & Farbfläche ---------- */
.dart-colors { margin-top: 14px; }
.dart-colors[hidden] { display: none; }
.dart-colors__label { display: block; font-size: 12.5px; color: var(--ink-500); margin-bottom: 8px; }
.dart-colors__label strong { color: var(--ink-900); font-weight: 600; }
.dart-colors__list { display: flex; flex-wrap: wrap; gap: 8px; }
.dart-color {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--dart-color, #fff);
  box-shadow: inset 0 0 0 2px var(--paper);
  transition: transform .15s ease, box-shadow .15s ease;
}
.dart-color:hover { transform: scale(1.06); }
.dart-color.is-active { box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 2px var(--ink-900); }
.dart-colors__note { margin: 8px 0 0; font-size: 12px; color: var(--ink-400); }

.dart-preview__tint {
  position: absolute; inset: 4%; z-index: 1; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.dart-preview__tint[hidden] { display: none; }
.dart-preview__stage { z-index: 2; }

/* Flightgrößen ohne Bildvorschau */
.dart-sizes--compact .dart-size__img { display: none; }
.dart-sizes--compact .dart-size { min-height: 0; padding: 12px 14px; }

/* ---------- Dartflights: Canvas-Vorschau ---------- */
.dart-preview { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dart-preview__canvas {
  display: block; width: 100%; height: 100%; position: relative; z-index: 2;
  cursor: grab; touch-action: none; user-select: none;
}
.dart-preview.is-dragging .dart-preview__canvas { cursor: grabbing; }
.dart-preview > [data-preview-overlay],
.dart-preview > [data-preview-img] { display: none; }


/* ---------- Dartflights: einheitliche Breite mobil ---------- */
@media (max-width: 860px) {
  .dart-config .container,
  .dart-config > .container { padding-left: 20px; padding-right: 20px; }
  .dart-config__grid { grid-template-columns: 1fr; gap: 18px; }
  .dart-config .dart-col,
  .dart-config .dart-card,
  .dart-config .dart-view { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; box-sizing: border-box; }
  .dart-config .dart-tiers { grid-template-columns: repeat(2, 1fr); }
  .dart-preview-tools { justify-content: center; }
  .dart-preview-controls { flex-direction: column; align-items: stretch; gap: 10px; }
  .dart-preview-reset { align-self: flex-end; }
}

/* ---------- Dartflights: Mobile-Feinschliff ---------- */
@media (max-width: 860px) {
  /* Schritte 1–6 immer strikt untereinander */
  .dart-stepper {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 18px;
  }
  .dart-stepper__item {
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .dart-stepper__label { min-width: 0; }
  .dart-stepper__sep { display: none; }

  /* Staffelpreise unter Punkt 2 bleiben lesbar sichtbar */
  .dart-config .dart-tiers { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dart-config .dart-tiers li { min-width: 0; padding: 8px 4px; }
  .dart-config .dart-tiers span { font-size: 11px; }
  .dart-config .dart-tiers strong { font-size: 13px; white-space: nowrap; }

  /* Vorschau: feste, sichtbare Fläche für das Canvas */
  .dart-preview { width: 100%; min-height: 320px; aspect-ratio: 4/4.4; }
  .dart-preview__canvas { width: 100%; height: 100%; }
  .dart-preview-head { flex-wrap: wrap; gap: 6px; }
  .dart-preview-hint { flex: 1 1 100%; }
}

/* -------------------------------------------------------------
 * Widerrufsformular (nutzt das Design des Kontaktformulars)
 * ---------------------------------------------------------- */
.contact-field input[type="date"] {
  width: 100%; font: inherit; color: var(--ink-900);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-alert__list { margin: 8px 0 0; padding-left: 18px; }
.widerruf-form__title { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 8px; }
.widerruf-form__lead { color: var(--ink-500); font-size: 14.5px; line-height: 1.6; margin: 0; }

.widerruf-note {
  padding: 20px 22px; margin: 0 0 26px;
  background: var(--cream-soft); border-radius: var(--radius);
}
.widerruf-note__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; margin: 0 0 8px; color: var(--ink-900);
}
.widerruf-note__title svg { width: 20px; height: 20px; color: var(--wood-500); }
.widerruf-note p { margin: 0; color: var(--ink-500); font-size: 14px; line-height: 1.6; }
.widerruf-note__link {
  display: inline-block; margin-top: 12px; color: var(--wood-500);
  font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}

.widerruf-hint {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius); background: var(--cream-soft);
}
.widerruf-hint svg { width: 20px; height: 20px; color: var(--wood-500); flex-shrink: 0; }
.widerruf-hint strong { display: block; font-size: 14px; color: var(--ink-900); margin-bottom: 2px; }
.widerruf-hint small { color: var(--ink-500); font-size: 13.2px; line-height: 1.55; }

/* Widerruf: Button zur Widerrufsbelehrung */
.widerruf-policy-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 11px 18px; border-radius: 999px;
  border: 1.5px solid var(--wood-500); background: transparent;
  color: var(--wood-500); font-weight: 600; font-size: 14px;
  text-decoration: none; line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.widerruf-policy-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.widerruf-policy-btn:hover { background: var(--wood-500); color: #fff; transform: translateY(-1px); }
.widerruf-policy-btn--form { margin-top: 0; align-self: flex-start; }

/* ============================================================
   Checkliste Bildanpassung (page-checkliste.php)
   ============================================================ */
.chk-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
}
.chk-hero__text { padding: 64px 24px 64px max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
.chk-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-400); margin-bottom: 18px; }
.chk-crumbs a { color: var(--wood-500); font-weight: 600; }
.chk-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 16px; }
.chk-hero__lead { max-width: 46ch; }
.chk-hero__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; }
.chk-hero__cta svg { width: 18px; height: 18px; }
.chk-hero__media { align-self: stretch; }
.chk-hero__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

.chk-list-section { padding: 64px 0 80px; }
.chk-section-title { text-align: center; margin-bottom: 34px; }

.chk-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.chk-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}
.chk-row:last-child { border-bottom: 0; }
.chk-row__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream-soft); color: var(--wood-500); }
.chk-row__icon svg { width: 26px; height: 26px; }
.chk-row__body h3 { margin: 0 0 8px; font-size: 1.08rem; }
.chk-row__body p { margin: 0 0 6px; font-size: .95rem; }
.chk-row__note { color: var(--ink-700) !important; font-weight: 600; }

.chk-row__examples { border-left: 1px solid var(--line); padding-left: 24px; }
.chk-examples__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 12px; }
.chk-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chk-compare__col { display: flex; flex-direction: column; gap: 10px; }
.chk-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-500); }
.chk-badge svg { width: 15px; height: 15px; }
.chk-badge--ok svg { color: #2f7d4f; }
.chk-badge--bad svg { color: #b4402f; }

.chk-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 72px; }
.chk-demo small { display: block; width: 100%; font-size: 11px; color: var(--ink-400); }

.chk-file { position: relative; display: grid; place-items: center; width: 48px; height: 56px; color: var(--ink-400); }
.chk-file svg { width: 40px; height: 50px; }
.chk-file em { position: absolute; bottom: 8px; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-500); }

.chk-photo { display: block; width: 100%; max-width: 170px; height: 66px; border-radius: 8px; border: 1px solid var(--line); background: linear-gradient(180deg, #9fc4dd 0%, #cfe0ea 45%, #6d8f6b 46%, #3f5c46 100%); }
.chk-photo--blurry { filter: blur(3px) saturate(.9); }

.chk-mark { width: 74px; height: 60px; color: var(--ink-900); }
.chk-mark--pixel { filter: blur(1.1px) contrast(1.4); transform: scale(1.02); }
.chk-mark--pale { color: rgba(26,26,26,.14); }

.chk-font { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-900); }
.chk-font--missing { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--ink-500); }

.chk-cutout { position: relative; display: block; width: 118px; height: 70px; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; }
.chk-cutout--ok { background-image: linear-gradient(45deg, #e7e2d6 25%, transparent 25%, transparent 75%, #e7e2d6 75%), linear-gradient(45deg, #e7e2d6 25%, #fff 25%, #fff 75%, #e7e2d6 75%); background-size: 14px 14px; background-position: 0 0, 7px 7px; }
.chk-cutout--bad { background: linear-gradient(180deg, #e9e6e0, #cfcac0); }
.chk-cutout__subject { position: absolute; left: 50%; bottom: 0; width: 46px; height: 50px; transform: translateX(-50%); border-radius: 42% 42% 32% 32% / 50% 50% 30% 30%; background: linear-gradient(180deg, #4a3a2f, #2a201a); }

.chk-note-card { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 4px; font-size: .92rem; color: var(--ink-700); }

.chk-filenames { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.chk-filenames li { position: relative; padding-left: 22px; color: var(--ink-700); }
.chk-filenames li::before { position: absolute; left: 0; font-weight: 700; }
.chk-filenames--ok li::before { content: "✓"; color: #2f7d4f; }
.chk-filenames--bad li { color: var(--ink-400); text-decoration: line-through; }
.chk-filenames--bad li::before { content: "✕"; color: #b4402f; }

.chk-help { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 32px; padding: 26px 28px; background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.chk-help__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--wood-500); }
.chk-help__icon svg { width: 26px; height: 26px; }
.chk-help__text h2 { font-size: 1.3rem; margin: 0 0 4px; color: var(--wood-500); }
.chk-help__text p { margin: 0; font-size: .95rem; }
.chk-help__cta { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.chk-help__cta svg { width: 18px; height: 18px; }

.chk-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.chk-trust__item { display: flex; align-items: flex-start; gap: 12px; }
.chk-trust__icon { color: var(--wood-500); flex: 0 0 auto; }
.chk-trust__icon svg { width: 24px; height: 24px; }
.chk-trust__item strong { display: block; font-size: .95rem; }
.chk-trust__item small { color: var(--ink-400); font-size: .85rem; }

@media (max-width: 1024px) {
  .chk-hero { grid-template-columns: 1fr; gap: 0; }
  .chk-hero__text { padding: 44px 24px 32px; }
  .chk-hero__media img { min-height: 260px; }
  .chk-row { grid-template-columns: 52px minmax(0, 1fr); }
  .chk-row__examples { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 16px; border-top: 1px dashed var(--line); }
  .chk-trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .chk-row { padding: 22px 18px; gap: 14px; }
  .chk-row__icon { width: 44px; height: 44px; }
  .chk-row__icon svg { width: 22px; height: 22px; }
  .chk-help { grid-template-columns: auto 1fr; }
  .chk-help__cta { grid-column: 1 / -1; justify-content: center; }
  .chk-trust { grid-template-columns: 1fr; }
}


/* Warenkorb / Checkout: Vorschaubild der Dartflight-Designs */
.ks-dart-cart-thumb { width: 100%; height: auto; border-radius: 8px; display: block; }
.ks-dart-review-thumb {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px;
  display: inline-block; vertical-align: middle; margin-right: 10px;
  border: 1px solid var(--line, rgba(0,0,0,.08));
}


/* Dartflights – Längenauswahl (Punkt 3) */
.dart-lengths { margin-top: 16px; }
.dart-lengths__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.dart-lengths__label strong { font-weight: 600; color: var(--ink-500); }
.dart-lengths__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dart-length {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.dart-length:hover { border-color: var(--wood-300); }
.dart-length.is-active { border-color: var(--wood-500); color: var(--wood-500); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.dart-length__label { font-size: 13.5px; font-weight: 600; color: inherit; }
.dart-length__mm { font-size: 12px; color: var(--ink-500); }
.dart-length__check {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--wood-500); color: #fff;
}
.dart-length__check svg { width: 11px; height: 11px; }
.dart-length.is-active .dart-length__check { display: flex; }
@media (max-width: 640px) {
  .dart-lengths__list { grid-template-columns: 1fr; }
}

/* ---------- Dartflights: Druckart-Auswahl (transparente Farben) ---------- */
.dart-print { margin-top: 12px; }
.dart-print[hidden] { display: none; }

/* ---------- Warenkorb: jedes Merkmal in eigener Zeile, ohne „/“ ---------- */
.woocommerce-cart .variation,
.woocommerce-checkout .variation,
.wc-block-components-product-details {
  display: block;
  margin: 4px 0 0;
}
.woocommerce-cart .variation dt,
.woocommerce-checkout .variation dt,
.woocommerce-cart .variation dd,
.woocommerce-checkout .variation dd,
.wc-block-components-product-details__item {
  display: block;
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
}
.woocommerce-cart .variation dd p,
.woocommerce-checkout .variation dd p,
.wc-block-components-product-details__item p { margin: 0; }
.wc-block-components-product-details__item::after,
.wc-block-components-product-details__item::before,
.wc-block-components-product-details__value::after,
.woocommerce-cart .variation dd::after,
.woocommerce-checkout .variation dd::after { content: none !important; }
.wc-block-components-product-details__name { margin-right: 4px; }


/* ==========================================================================
   Warenkorb – Layout im Stil moderner Shops (3DJake-Anmutung)
   Zweispaltig: Positionsliste als eine helle Karte + sticky Summen-Box.
   ========================================================================== */

.woocommerce-cart {
  --cart-panel: #ffffff;
  --cart-bg: #f6f4ef;
  --cart-line: rgba(26, 26, 26, .10);
  --cart-radius: 12px;
  --cart-accent: var(--wood-500);
  --cart-success: #2e7d4f;
}

.woocommerce-cart .site-main,
.woocommerce-cart .content-area {
  background: var(--cart-bg);
}

.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-cart .woocommerce {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 0 56px;
}

/* Überschrift */
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart .entry-title,
.woocommerce-cart h1.wp-block-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* ---------- Block-Warenkorb ---------- */
.wc-block-cart {
  font-family: var(--font-body);
  color: var(--ink-700);
}
.wc-block-cart .wc-block-cart__main {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 6px 22px 10px;
  margin-right: 28px;
}
.wc-block-cart .wc-block-cart__main .wc-block-cart__main-title,
.wc-block-cart .wc-block-cart__main > h2:first-child {
  font-family: var(--font-display);
  font-size: 1rem;
  padding-top: 16px;
}

/* Tabellenkopf dezent */
.wc-block-cart .wc-block-cart-items__header {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-400);
  border-bottom: 1px solid var(--cart-line);
}
.wc-block-cart .wc-block-cart-items { border: 0; }

/* Positionen: flache Zeilen mit Trennlinie statt Karten */
.wc-block-cart .wc-block-cart-items__row {
  background: transparent;
  border: 0 !important;
  border-bottom: 1px solid var(--cart-line) !important;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0;
  margin: 0;
}
.wc-block-cart .wc-block-cart-items__row:last-child {
  border-bottom: 0 !important;
}
.wc-block-cart .wc-block-cart-items__row:hover { box-shadow: none; }

/* Produktbild in hellem Rahmen */
.wc-block-cart .wc-block-cart-item__image {
  width: 96px;
  padding-right: 18px;
}
.wc-block-cart .wc-block-cart-item__image img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #f4f2ec;
  border: 1px solid var(--cart-line);
  border-radius: 10px;
  padding: 6px;
  display: block;
}

.wc-block-cart .wc-block-components-product-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-900);
}
.wc-block-cart .wc-block-components-product-name:hover { color: var(--cart-accent); }

.wc-block-cart .wc-block-components-product-metadata,
.wc-block-cart .wc-block-components-product-details {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-500);
  margin-top: 6px;
}
.wc-block-cart .wc-block-components-product-details__name {
  color: var(--ink-400);
  font-weight: 500;
}

/* Verfügbarkeitshinweis-Optik für Lieferzeit-Text */
.wc-block-cart .wc-block-components-product-metadata__description p { margin: 4px 0 0; }

/* Preise */
.wc-block-cart .wc-block-cart-item__total,
.wc-block-cart .wc-block-cart-item__prices {
  text-align: right;
}
.wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price__value,
.wc-block-cart .wc-block-cart-item__prices .wc-block-components-product-price__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
}
.wc-block-cart .wc-block-components-product-price__regular {
  color: var(--ink-400);
  font-weight: 400;
  text-decoration: line-through;
  margin-right: 6px;
}

/* Mengenwähler: eckig mit klaren +/- Feldern */
.wc-block-cart .wc-block-components-quantity-selector {
  border: 1px solid var(--cart-line);
  border-radius: 8px;
  background: var(--cart-panel);
  overflow: hidden;
  min-width: 108px;
  max-width: 118px;
}
.wc-block-cart .wc-block-components-quantity-selector::after { display: none; }
.wc-block-cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-900);
  min-height: 38px;
}
.wc-block-cart .wc-block-components-quantity-selector button {
  color: var(--ink-500);
  background: #faf9f6;
  border: 0;
  width: 34px;
  min-height: 38px;
  font-size: 1rem;
  opacity: 1;
  transition: background .15s ease, color .15s ease;
}
.wc-block-cart .wc-block-components-quantity-selector button:hover {
  background: #f0ece2;
  color: var(--cart-accent);
}

/* Entfernen-Link als dezenter Textlink unter der Menge */
.wc-block-cart .wc-block-cart-item__remove-link {
  display: inline-block;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--ink-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
.wc-block-cart .wc-block-cart-item__remove-link:hover { color: #b3261e; }

/* ---------- Seitenspalte: Summen-Box (sticky) ---------- */
.wc-block-cart .wc-block-cart__sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  box-shadow: none;
  /* Heller Bereich endet knapp unter dem Mehrwertsteuer-Hinweis */
  padding: 20px 22px 0;
}
.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block > *:last-child,
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:last-child {
  padding-bottom: 18px;
}
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 0;
}
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-child {
  border-top: 0;
  padding-top: 0;
}
.wc-block-cart .wc-block-components-totals-wrapper::after { display: none; }

.wc-block-cart .wc-block-cart-order-summary__title,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-heading-block {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  padding-bottom: 12px;
  border-bottom: 4px solid var(--cart-accent);
  margin-bottom: 12px;
}
.wc-block-cart .wc-block-components-totals-item {
  align-items: center;
  min-height: 36px;
  font-size: .92rem;
  color: var(--ink-500);
}
.wc-block-cart .wc-block-components-totals-item__label {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-500);
}
.wc-block-cart .wc-block-components-totals-item__value {
  font-weight: 600;
  color: var(--ink-900);
}
.wc-block-cart .wc-block-components-totals-footer-item {
  padding-top: 14px;
  padding-bottom: 0;
  border-top: 4px solid var(--cart-accent);
  flex-wrap: wrap;
}
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-900);
}
/* Hinweis unter dem Gesamtpreis: brauner Trenner darüber (wie unter „Warenkorb-Summe“) */
.wc-block-cart .wc-block-components-totals-footer-item__description,
.wc-block-cart .wc-block-components-totals-footer-item-tax-included,
.wc-block-cart .wc-block-components-totals-footer-item .ks-tax-note {
  display: block;
  width: 100%;
  flex-basis: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 4px solid var(--cart-accent);
  font-size: .78rem;
  color: var(--ink-400);
}

/* Leerraum unter dem Mehrwertsteuer-Hinweis entfernen */
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:empty,
.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block > div:empty {
  display: none;
  padding: 0;
  margin: 0;
  border: 0;
}
.wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block > *:last-child,
.wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:last-child {
  padding-bottom: 14px;
  margin-bottom: 0;
}
.wc-block-cart .wc-block-components-totals-footer-item .ks-tax-note,
.wc-block-cart .wc-block-components-totals-footer-item__description {
  margin-bottom: 0;
}

/* Versandhinweis grün wie „Kostenloser Versand“ */
.wc-block-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value {
  color: var(--cart-success);
}

/* Buttons: Checkout deutlich, groß und vollbreit */
.wc-block-cart .wc-block-components-button,
.woocommerce-cart .wc-block-components-button {
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s ease, box-shadow .2s ease;
}
.wc-block-cart .wc-block-cart__submit-container { padding-top: 4px; }
.wc-block-cart .wc-block-components-button.contained,
.wc-block-cart .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-components-button.contained {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  background: var(--cart-accent);
  color: #fff;
  box-shadow: none;
}
.wc-block-cart .wc-block-components-button.contained:hover,
.wc-block-cart .wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-block-components-button.contained:hover {
  background: var(--wood-600);
  transform: none;
  box-shadow: none;
}

/* Gutschein als aufklappbare Zeile */
.wc-block-cart .wc-block-components-panel__button {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-700);
}
.wc-block-cart .wc-block-components-totals-coupon .wc-block-components-text-input input {
  border: 1px solid var(--cart-line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--cart-panel);
}
.wc-block-cart .wc-block-components-totals-coupon input:focus {
  border-color: var(--wood-300);
  box-shadow: 0 0 0 3px rgba(201, 160, 116, .22);
  outline: none;
}

/* ---------- Mobiler Warenkorb: Gesamtpreis unter Menge/Löschen ---------- */
@media (max-width: 700px) {
  .wc-block-cart .wc-block-cart-items__header { display: none; }

  /* Jede Position als klares 2-Spalten-Raster: Bild links, Inhalt rechts */
  .wc-block-cart .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    grid-template-areas:
      "image product"
      "image total" !important;
    align-items: start !important;
    gap: 10px 14px;
    padding: 18px 0;
  }

  .wc-block-cart .wc-block-cart-item__image {
    grid-area: image;
    width: 80px !important;
    padding: 0 !important;
    align-self: start;
  }
  .wc-block-cart .wc-block-cart-item__image img {
    width: 80px !important;
    height: 80px !important;
  }

  .wc-block-cart .wc-block-cart-item__product {
    grid-area: product;
    width: auto !important;
    min-width: 0;
  }

  /* Produktname darf nicht in den Preis laufen */
  .wc-block-cart .wc-block-components-product-name {
    padding-right: 0;
    overflow-wrap: anywhere;
  }

  /* Gesamtpreis als eigene Zeile unter Menge + Löschen */
  .wc-block-cart .wc-block-cart-item__total {
    grid-area: total;
    position: static !important;
    text-align: left !important;
    width: auto !important;
    padding: 0 !important;
  }
  .wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 1.05rem;
  }

  /* Klassischer Warenkorb (Shortcode): Zeilen stapeln, Zwischensumme unter Menge */
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .woocommerce-cart table.shop_table thead { display: none; }
  .woocommerce-cart table.shop_table td { padding: 8px 0; }
  .woocommerce-cart table.shop_table td.product-thumbnail { padding-top: 16px; }
  .woocommerce-cart table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
  }
  .woocommerce-cart table.shop_table .product-name {
    font-size: 1rem;
    font-weight: 600;
  }
  .woocommerce-cart table.shop_table .product-subtotal {
    text-align: left;
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cart-line);
  }
}

/* Leerer Warenkorb */
.wc-block-cart .wc-block-cart__empty-cart__wrapper,
.wc-block-cart__empty-cart,
.wp-block-woocommerce-empty-cart-block {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  box-shadow: none;
  padding: 56px 24px;
  text-align: center;
}

/* Standard-Notice („Warenkorb ist leer“) mittig ausrichten */
.wc-block-cart .wc-block-components-notice-banner,
.wp-block-woocommerce-empty-cart-block .wc-block-components-notice-banner {
  justify-content: center;
}
.wc-block-cart .wc-block-components-notice-banner__content,
.wp-block-woocommerce-empty-cart-block .wc-block-components-notice-banner__content {
  text-align: center;
  margin: 0 auto;
}
.wc-block-cart .wc-block-components-notice-banner__content > p,
.wp-block-woocommerce-empty-cart-block .wc-block-components-notice-banner__content > p {
  text-align: center;
  margin: 0 auto;
}

.ks-empty-cart,
.ks-empty-cart p,
.ks-empty-cart__actions {
  text-align: center;
}
.ks-empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 22px;
}
.ks-empty-cart img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.ks-empty-cart p {
  max-width: 520px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-700);
}
.ks-empty-cart__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.ks-empty-cart__actions .btn--outline {
  background: transparent;
  color: var(--wood-500);
  border-color: var(--wood-500);
}
.ks-empty-cart__actions .btn--outline:hover {
  background: var(--wood-500);
  color: #fff;
}

/* Klassischer leerer Warenkorb */
.woocommerce-cart .cart-empty,
.woocommerce-cart .wc-empty-cart-message {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 56px 24px;
  text-align: center;
}

/* ---------- Klassischer Warenkorb (Shortcode) ---------- */
.woocommerce-cart .woocommerce > form.woocommerce-cart-form {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 4px 22px 18px;
}
.woocommerce-cart table.shop_table {
  border: 0;
  border-collapse: collapse;
  background: transparent;
  box-shadow: none;
}
.woocommerce-cart table.shop_table thead th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-400);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cart-line);
  padding: 16px 12px;
}
.woocommerce-cart table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--cart-line);
  padding: 20px 12px;
  vertical-align: middle;
}
.woocommerce-cart table.shop_table .product-name a {
  font-weight: 600;
  color: var(--ink-900);
}
.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #f4f2ec;
  border: 1px solid var(--cart-line);
  border-radius: 10px;
  padding: 6px;
}
.woocommerce-cart table.shop_table .product-subtotal { font-weight: 700; text-align: right; }
.woocommerce-cart .quantity .qty {
  border: 1px solid var(--cart-line);
  border-radius: 8px;
  padding: 8px 10px;
  width: 76px;
  text-align: center;
  background: var(--cart-panel);
}

/* Summen-Box klassisch */
.woocommerce-cart .cart-collaterals .cart_totals {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  box-shadow: none;
  padding: 20px 22px 24px;
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cart-line);
}
.woocommerce-cart .cart-collaterals .cart_totals table {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.woocommerce-cart .cart-collaterals .cart_totals th,
.woocommerce-cart .cart-collaterals .cart_totals td {
  border: 0;
  border-bottom: 1px solid var(--cart-line);
  padding: 10px 0;
  font-size: .92rem;
}
.woocommerce-cart .cart-collaterals .order-total th,
.woocommerce-cart .cart-collaterals .order-total td { border-bottom: 0; }
.woocommerce-cart .cart-collaterals .order-total .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-900);
}
.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button,
.woocommerce-cart #respond input#submit {
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  background: #f0ece2;
  color: var(--ink-900);
  border: 1px solid var(--cart-line);
  padding: 12px 20px;
  transition: background .2s ease;
}
.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover { background: #e7e1d3; }
.woocommerce-cart .checkout-button,
.woocommerce-cart .checkout-button.button {
  display: block;
  width: 100%;
  min-height: 52px;
  line-height: 28px;
  text-align: center;
  background: var(--cart-accent);
  color: #fff !important;
  border: 0;
  font-size: 1rem;
  box-shadow: none;
}
.woocommerce-cart .checkout-button:hover {
  background: var(--wood-600);
  transform: none;
}
.woocommerce-cart a.remove {
  border-radius: 50%;
  color: var(--ink-400) !important;
  border: 1px solid var(--cart-line);
  transition: color .15s ease, border-color .15s ease;
}
.woocommerce-cart a.remove:hover {
  color: #b3261e !important;
  border-color: #b3261e;
  background: transparent;
}

@media (max-width: 1024px) {
  .wc-block-cart .wc-block-cart__main { margin-right: 20px; }
}
@media (max-width: 768px) {
  .wc-block-cart .wc-block-cart__main {
    margin-right: 0;
    padding: 4px 14px 8px;
  }
  .wc-block-cart .wc-block-cart__sidebar {
    position: static;
    margin-top: 18px;
  }
  .wc-block-cart .wc-block-cart-item__image,
  .wc-block-cart .wc-block-cart-item__image img { width: 76px; }
  .wc-block-cart .wc-block-cart-item__image img { height: 76px; }
  .woocommerce-cart .woocommerce > form.woocommerce-cart-form { padding: 4px 14px 14px; }
  .woocommerce-cart .cart-collaterals .cart_totals { padding: 18px 16px; }
}


/* ==========================================================================
   Warenkorb v3: volle Breite, Versandbalken, ein „Zur Kasse“-Button oben rechts & unten
   ========================================================================== */
.woocommerce-cart .wc-block-cart.wc-block-cart,
.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.woocommerce-cart .wc-block-cart .wc-block-cart__main,
.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar,
.woocommerce-cart .wc-block-cart .wc-block-components-main,
.woocommerce-cart .wc-block-cart .wc-block-components-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  margin-right: 0 !important;
  padding-left: 0;
  padding-right: 0;
}
.woocommerce-cart .wc-block-cart .wc-block-cart__main { padding: 6px 22px 10px; }
.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
  position: static;
  margin-top: 18px;
}
.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block { width: 100%; }
.woocommerce-cart .wc-block-cart .wc-block-cart-items { width: 100%; }
.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon,
.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form,
.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-text-input,
.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-text-input input {
  width: 100%;
  max-width: none;
}

/* Expressbuttons (PayPal/Apple Pay etc.) entfernen */
.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
.woocommerce-cart .wc-block-components-express-payment,
.woocommerce-cart .wc-block-components-express-payment-continue-rule,
.woocommerce-cart .wc-block-cart__payment-options,
.woocommerce-cart .wp-block-woocommerce-cart-accepted-payment-methods-block { display: none !important; }

/* Kopfzeile: Titel links, „Zur Kasse“ rechts */
.ks-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}
.ks-cart-head .wp-block-post-title,
.ks-cart-head h1 { margin: 0 !important; }
.ks-checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 8px;
  background: var(--cart-accent, var(--wood-500));
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease;
}
.ks-checkout-btn:hover { background: var(--wood-600); }

/* Versand-Fortschrittsbalken */
.ks-ship-bar {
  background: var(--cart-panel, #fff);
  border: 1px solid var(--cart-line, rgba(26,26,26,.1));
  border-radius: var(--cart-radius, 12px);
  padding: 16px 22px;
  margin: 0 0 18px;
}
.ks-ship-bar__text {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.ks-ship-bar__text strong { color: var(--cart-accent, var(--wood-500)); }
.ks-ship-bar__meta { font-weight: 400; color: var(--ink-500); }
.ks-ship-bar__track {
  height: 10px;
  border-radius: 999px;
  background: #ece7dc;
  overflow: hidden;
}
.ks-ship-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wood-300, #c9a074), var(--cart-accent, var(--wood-500)));
  transition: width .4s ease;
}
.ks-ship-bar.is-free .ks-ship-bar__fill { background: var(--cart-success, #2e7d4f); }
.ks-ship-bar.is-free .ks-ship-bar__text strong { color: var(--cart-success, #2e7d4f); }

@media (max-width: 640px) {
  .ks-cart-head { flex-wrap: wrap; }
  .ks-checkout-btn { width: 100%; }
  .ks-ship-bar { padding: 14px 16px; }
}

/* Warenkorb: PayPal-Ratenhinweis & Expressbuttons sicher ausblenden */
.woocommerce-cart .ppcp-messages,
.woocommerce-cart [id^="ppcp-messages"],
.woocommerce-cart [data-pp-message],
.woocommerce-cart .ppcp-paylater-message,
.woocommerce-cart .wp-block-woocommerce-paypal-payments-paylater-messages,
.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
.woocommerce-cart .wc-block-components-express-payment,
.woocommerce-cart .wc-block-components-express-payment-continue-rule { display: none !important; }
.ks-checkout-btn--top[hidden] { display: none !important; }

/* ---------- Warenkorb: nur Handyansicht ---------- */
@media (max-width: 640px) {
  /* Oberer „Zur Kasse“-Button entfällt am Handy (Button unten bleibt) */
  .woocommerce-cart .ks-checkout-btn--top { display: none !important; }
  .ks-cart-head { margin-bottom: 12px; }

  /* Positionszeile: Bild links, Inhalt rechts, Gesamtpreis/Rabatt darunter */
  .woocommerce-cart .wc-block-cart .wc-block-cart-items__row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
      "image product"
      "image total";
    align-items: start;
    column-gap: 14px;
    row-gap: 6px;
  }
  .woocommerce-cart .wc-block-cart .wc-block-cart-item__image { grid-area: image; }
  .woocommerce-cart .wc-block-cart .wc-block-cart-item__product {
    grid-area: product;
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }
  /* WooCommerce positioniert den Positionspreis am Handy absolut oben rechts –
     das überlagerte die Produktbeschreibung. Hier wieder in den Fluss holen. */
  .woocommerce-cart .wc-block-cart .wc-block-cart-items__row,
  .woocommerce-cart .wc-block-cart .wc-block-cart-items__row td { position: static !important; }
  .woocommerce-cart .wc-block-cart .wc-block-cart-item__total {
    grid-area: total;
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 0 4px !important;
    text-align: left !important;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
  }
  .woocommerce-cart .wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }
  .woocommerce-cart .wc-block-cart .wc-block-cart-item__total .wc-block-components-sale-badge {
    margin: 0;
    align-self: center;
  }
}

/* ==========================================================================
   Kasse (Checkout) – gleiche Anmutung wie der Warenkorb
   Expressbuttons oben, danach Formular + Bestellübersicht.
   ========================================================================== */

.woocommerce-checkout {
  --cart-panel: #ffffff;
  --cart-bg: #f6f4ef;
  --cart-line: rgba(26, 26, 26, .10);
  --cart-radius: 12px;
  --cart-accent: var(--wood-500);
  --cart-success: #2e7d4f;
}

.woocommerce-checkout .site-main,
.woocommerce-checkout .content-area { background: var(--cart-bg); }

.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .woocommerce {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 0 56px;
}

/* Kopfzeile: Titel links, „Zurück zum Warenkorb“ rechts */
.ks-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto 16px;
}
.ks-checkout-head .wp-block-post-title,
.ks-checkout-head h1 { margin: 0 !important; }
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout .entry-title,
.woocommerce-checkout h1.wp-block-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.ks-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--cart-accent);
  background: transparent;
  color: var(--cart-accent) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.ks-back-btn:hover { background: var(--cart-accent); color: #fff !important; }

/* Versand-Fortschrittsbalken nur im Warenkorb – auf der Kasse ausgeblendet */
.woocommerce-checkout .ks-ship-bar { display: none !important; }

/* ---------- Express-Panel ganz oben ---------- */
.ks-express-top {
  max-width: var(--container);
  margin: 0 auto 22px;
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 20px 22px 6px;
}
.ks-express-top[hidden] { display: none; }
.ks-express-top__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 4px solid var(--cart-accent);
}
.ks-express-top__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
}
.ks-express-top__hint { font-size: .85rem; color: var(--ink-500); }
.ks-express-top__slot .wc-block-components-express-payment,
.ks-express-top__slot .wc-block-checkout__express-payment {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.ks-express-top__slot .wc-block-components-express-payment__title-container,
.ks-express-top__slot .wc-block-components-express-payment-continue-rule { display: none !important; }
.ks-express-top__slot .wc-block-components-express-payment__event-buttons > li { margin-bottom: 12px; }
.ks-express-top__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
  color: var(--ink-400);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ks-express-top__divider::before,
.ks-express-top__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cart-line);
}

/* Doppelte Expressbuttons weiter unten ausblenden (verschoben wird nur einer) */
.woocommerce-checkout .wc-block-checkout__main > .wp-block-woocommerce-checkout-express-payment-block,
.woocommerce-checkout .wc-block-checkout__main .wc-block-components-express-payment--checkout,
.woocommerce-checkout .wc-block-components-express-payment-continue-rule { display: none !important; }
.ks-express-top .wc-block-components-express-payment--checkout { display: block !important; }

/* ---------- Formular- und Summenpanels ---------- */
.woocommerce-checkout .wc-block-checkout {
  font-family: var(--font-body);
  color: var(--ink-700);
}
.woocommerce-checkout .wc-block-checkout__main {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 8px 22px 18px;
  margin-right: 28px;
}
.woocommerce-checkout .wc-block-components-checkout-step {
  padding-left: 0;
  border-bottom: 1px solid var(--cart-line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.woocommerce-checkout .wc-block-components-checkout-step:last-child { border-bottom: 0; }
.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
}
.woocommerce-checkout .wc-block-components-checkout-step__description { color: var(--ink-500); font-size: .88rem; }
.woocommerce-checkout .wc-block-components-checkout-step__heading-content { color: var(--ink-500); }

/* Eingabefelder */
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-textarea,
.woocommerce-checkout .wc-blocks-components-select__select,
.woocommerce-checkout .components-combobox-control input {
  border: 1px solid var(--cart-line);
  border-radius: 8px;
  background: var(--cart-panel);
  min-height: 48px;
  color: var(--ink-900);
}
.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-blocks-components-select__select:focus,
.woocommerce-checkout .components-combobox-control input:focus {
  border-color: var(--wood-300);
  box-shadow: 0 0 0 3px rgba(201, 160, 116, .22);
  outline: none;
}
.woocommerce-checkout .wc-block-components-text-input label { color: var(--ink-500); }

/* Zahlungs- und Versandoptionen: einheitliche Umrandung für alle Varianten */
.woocommerce-checkout .wc-block-components-radio-control,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
.woocommerce-checkout .wc-block-components-radio-control__option,
.woocommerce-checkout .wc-block-components-shipping-rates-control__package,
.woocommerce-checkout .wc-block-components-local-pickup-select,
.woocommerce-checkout .wc-block-components-payment-methods,
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
.woocommerce-checkout .wc-block-components-radio-control__option,
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method {
  display: block;
  border: 1px solid var(--cart-line) !important;
  border-radius: 10px !important;
  background: #faf9f6 !important;
  margin: 0 0 10px !important;
  padding: 14px 16px 14px 44px !important;
  box-sizing: border-box;
  transition: border-color .18s ease, background .18s ease;
}
.woocommerce-checkout .wc-block-components-radio-control-accordion-option:last-child,
.woocommerce-checkout .wc-block-components-radio-control__option:last-child,
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method:last-child { margin-bottom: 0 !important; }

.woocommerce-checkout .wc-block-components-radio-control-accordion-option:hover,
.woocommerce-checkout .wc-block-components-radio-control__option:hover { border-color: var(--wood-300) !important; }

.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked),
.woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked),
.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method:has(input:checked) {
  border-color: var(--cart-accent) !important;
  background: var(--cart-panel) !important;
}

/* Innere Container erzeugen keine zusätzlichen Linien mehr */
.woocommerce-checkout .wc-block-components-radio-control-accordion-option > *,
.woocommerce-checkout .wc-block-components-radio-control__option > *,
.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
.woocommerce-checkout .wc-block-components-radio-control__option-layout,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option__content {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.woocommerce-checkout .wc-block-components-radio-control__option::after,
.woocommerce-checkout .wc-block-components-radio-control__option::before,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option::after,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option::before,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option::before {
  border: 0 !important;
  content: none !important;
}

/* Radio-Punkt einheitlich */
.woocommerce-checkout .wc-block-components-radio-control__input,
.woocommerce-checkout ul.wc_payment_methods input[type="radio"] {
  border: 1px solid var(--cart-line) !important;
  box-shadow: none !important;
  background: #fff;
}
.woocommerce-checkout .wc-block-components-radio-control__input:checked,
.woocommerce-checkout ul.wc_payment_methods input[type="radio"]:checked {
  border-color: var(--cart-accent) !important;
  box-shadow: inset 0 0 0 4px var(--cart-accent) !important;
}
.woocommerce-checkout .wc-block-components-radio-control__input:focus-visible,
.woocommerce-checkout ul.wc_payment_methods input[type="radio"]:focus-visible {
  outline: 2px solid var(--cart-accent);
  outline-offset: 2px;
}

/* ---------- Gesamtpreis unten ---------- */
.ks-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 26px 0 8px;
  padding: 18px 22px;
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-top: 4px solid var(--cart-accent);
  border-radius: var(--cart-radius);
  box-sizing: border-box;
}
.ks-total__label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
}
.ks-total__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-900);
}
.ks-total__note {
  flex-basis: 100%;
  font-size: .78rem;
  color: var(--ink-400);
}
.ks-total__note[hidden] { display: none; }


/* ---------- Bestellübersicht (Sidebar) ---------- */
.woocommerce-checkout .wc-block-checkout__sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 20px 22px 18px;
}
.woocommerce-checkout .wc-block-components-order-summary__button-text,
.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  padding-bottom: 12px;
  border-bottom: 4px solid var(--cart-accent);
  margin-bottom: 12px;
}
.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  border: 1px solid var(--cart-line);
  border-radius: 10px;
  background: #f4f2ec;
  padding: 4px;
}
.woocommerce-checkout .wc-block-components-totals-wrapper { padding: 10px 0; border: 0; }
.woocommerce-checkout .wc-block-components-totals-wrapper::after { display: none; }
.woocommerce-checkout .wc-block-components-totals-item {
  align-items: center;
  min-height: 36px;
  font-size: .92rem;
  color: var(--ink-500);
}
.woocommerce-checkout .wc-block-components-totals-item__value { font-weight: 600; color: var(--ink-900); }
.woocommerce-checkout .wc-block-components-totals-footer-item {
  padding-top: 14px;
  border-top: 4px solid var(--cart-accent);
  flex-wrap: wrap;
}
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-900);
}
.woocommerce-checkout .wc-block-components-totals-footer-item__description,
.woocommerce-checkout .wc-block-components-totals-footer-item-tax-included {
  display: block;
  width: 100%;
  flex-basis: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 4px solid var(--cart-accent);
  font-size: .78rem;
  color: var(--ink-400);
}
.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item__value { color: var(--cart-success); }

/* Gutscheinfeld wie im Warenkorb */
.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-text-input input {
  border: 1px solid var(--cart-line);
  border-radius: 8px;
  background: var(--cart-panel);
}

/* Buttons */
.woocommerce-checkout .wc-block-components-button {
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background .2s ease;
}
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-button.contained,
.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  background: var(--cart-accent);
  color: #fff !important;
  border: 0;
  box-shadow: none;
}
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout .wc-block-components-button.contained:hover,
.woocommerce-checkout #place_order:hover { background: var(--wood-600); box-shadow: none; }

/* Klassischer Checkout (Shortcode) */
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
  background: var(--cart-panel);
  border: 1px solid var(--cart-line);
  border-radius: var(--cart-radius);
  padding: 20px 22px;
}
.woocommerce-checkout form.checkout h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--cart-accent);
}
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .select2-container .select2-selection {
  border: 1px solid var(--cart-line) !important;
  border-radius: 8px !important;
  min-height: 48px;
  background: var(--cart-panel);
}

/* PayPal-Ratenhinweis auf der Kasse ausblenden */
.woocommerce-checkout .ppcp-messages,
.woocommerce-checkout [id^="ppcp-messages"],
.woocommerce-checkout [data-pp-message],
.woocommerce-checkout .wp-block-woocommerce-paypal-payments-paylater-messages { display: none !important; }

@media (max-width: 1024px) {
  .woocommerce-checkout .wc-block-checkout__main { margin-right: 20px; }
}
@media (max-width: 768px) {
  .woocommerce-checkout .wc-block-checkout__main { margin-right: 0; padding: 8px 14px 14px; }
  .woocommerce-checkout .wc-block-checkout__sidebar { position: static; margin-top: 18px; }
  .ks-express-top { padding: 18px 16px 6px; }
}
@media (max-width: 640px) {
  .ks-checkout-head { flex-wrap: wrap; }
  .ks-back-btn { width: 100%; }
}



/* ==========================================================================
   Kasse – Feinschliff (v19)
   Standard-Seitenbreite, keine Bestellübersicht, Express-Buttons im Standard-Look
   ========================================================================== */

/* Alle Kassen-Blöcke auf die Standardbreite der Seiten (Container + 24px Padding) */
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .woocommerce,
.woocommerce-checkout .ks-checkout-head,
.woocommerce-checkout .ks-express-top {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.woocommerce-checkout .ks-express-top { padding-top: 20px; padding-bottom: 6px; }

/* Bestellübersicht (Sidebar) entfernen – Formular nutzt die volle Breite */
.woocommerce-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order-table { display: none !important; }

.woocommerce-checkout .wc-block-checkout,
.woocommerce-checkout .wc-block-checkout__form { display: block; }
.woocommerce-checkout .wc-block-checkout__main {
  width: 100%;
  max-width: none;
  flex: 1 1 100%;
  margin-right: 0;
  padding-left: 22px;
  padding-right: 22px;
}
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2 { width: 100%; float: none; }

/* ---------- Express-Buttons (Fallback im Standard-Look) ---------- */
.ks-xp {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}
@media (min-width: 720px) {
  .ks-xp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ks-xp-note { grid-column: 1 / -1; }
}
.ks-xp__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: filter .2s ease, background .2s ease, box-shadow .2s ease;
}
.ks-xp__btn:hover { filter: brightness(.96); }
.ks-xp__btn:focus-visible { outline: 2px solid var(--cart-accent); outline-offset: 2px; }
.ks-xp__mark { height: 22px; width: auto; display: block; }

.ks-xp__btn--paypal { background: #ffc439; }
.ks-xp__btn--applepay { background: #000; color: #fff; }
.ks-xp__btn--applepay .ks-xp__mark { height: 20px; }
.ks-xp__btn--googlepay { background: #fff; border-color: #dadce0; box-shadow: 0 1px 2px rgba(60, 64, 67, .2); }
.ks-xp__btn--googlepay .ks-xp__mark { height: 20px; }

.ks-xp-note {
  margin: 4px 0 0;
  font-size: .85rem;
  color: var(--ink-500);
}


/* ==========================================================================
   Kasse – „Kostenpflichtig bestellen“ (v20)
   ========================================================================== */

/* Bestell-Bereich immer sichtbar, auch wenn die Sidebar ausgeblendet ist */
.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
.woocommerce-checkout .wc-block-checkout__actions,
.woocommerce-checkout .wc-block-checkout__actions_row,
.woocommerce-checkout .wc-block-checkout__terms,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .woocommerce-checkout-payment .form-row.place-order {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.woocommerce-checkout .wc-block-checkout__actions_row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 8px;
  box-sizing: border-box;
}
.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { order: 2; }

/* Eigener Bestell-Button (Fallback bzw. verschobener Original-Button) */
.ks-order {
  max-width: var(--container);
  margin: 0 auto 40px;
  padding: 0 24px;
  box-sizing: border-box;
}
.ks-order__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--cart-accent, var(--wood-500));
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.ks-order__btn:hover { background: var(--wood-600); }
.ks-order__btn:disabled,
.ks-order__btn.is-busy { opacity: .65; cursor: progress; }
.ks-order__btn:focus-visible { outline: 2px solid var(--ink-900); outline-offset: 3px; }
.ks-order__note {
  margin: 10px 0 0;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-500);
  text-align: center;
}
.ks-order__error {
  margin: 10px 0 0;
  font-size: .88rem;
  color: #b3261e;
  text-align: center;
}
.ks-order__error[hidden] { display: none; }

/* Originalbutton der Kasse bleibt sichtbar und volle Breite */
.woocommerce-checkout .wc-block-checkout__actions_row,
.woocommerce-checkout .wc-block-checkout__actions { display: flex !important; }
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  flex: 1 1 100%;
  min-height: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  background: var(--cart-accent, var(--wood-500));
  color: #fff !important;
}

/* Zusatzbereich unterhalb der Kasse (eigenes DOM, ausserhalb des Checkout-Blocks) */
.ks-checkout-extras { display: block; }

/* -------------------------------------------------------------
 * Konfigurator (Dartflights & Wanduhren):
 * Vorschau sitzt am Desktop rechts neben den Bestellschritten 1–6,
 * bleibt beim Scrollen auf Bildschirmhöhe und wandert nach dem
 * letzten Block (Bestellen) mit der Seite nach oben.
 * ---------------------------------------------------------- */
@media (min-width: 981px) {
  .dart-config__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
  }
  .dart-config .dart-col--right {
    position: sticky;
    top: 96px;
    align-self: start;
  }
  .dart-config .dart-preview-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
    max-height: calc(100svh - 120px);
    overflow: hidden;
  }
  .dart-config .dart-preview-head,
  .dart-config .dart-preview-tools,
  .dart-config .dart-preview-controls { flex: 0 0 auto; }
  .dart-config .dart-preview {
    /* Seitenverhältnis der Form bleibt erhalten – nur die Höhe wird an den
       Bildschirm angepasst, damit Motiv und Kontur korrekt bleiben. */
    flex: 0 1 auto;
    height: clamp(260px, calc(100vh - 400px), 660px);
    height: clamp(260px, calc(100svh - 400px), 660px);
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .dart-config .dart-preview__canvas {
    width: 100%;
    height: 100%;
  }
  .dart-config .dart-preview-controls { gap: 8px; }
}

/* ---------------------------------------------------------------------
 *  Dartflights · Produktinfos (Beschreibung / Sicherheit / Bewertungen)
 * ------------------------------------------------------------------ */
.dart-info { padding: 64px 0 84px; background: var(--cream-soft); }
.dart-info__head { text-align: center; margin-bottom: 26px; }
.dart-info__head h2 { margin: 6px 0 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.dart-info__tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px; margin: 0 auto 26px; width: fit-content; box-shadow: var(--shadow-sm);
}
.dart-info__tab {
  border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 600;
  font-size: .95rem; padding: 10px 20px; border-radius: 999px;
  background: transparent; color: var(--ink-500); transition: all .2s ease;
}
.dart-info__tab:hover { color: var(--ink-900); }
.dart-info__tab.is-active { background: var(--wood-500); color: #fff; box-shadow: var(--shadow-sm); }
.dart-info__panel[hidden] { display: none; }
.dart-info__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.dart-info__text, .dart-info__specs, .dart-reviews__list .dart-review, .dart-reviews__summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm);
}
.dart-info__text h3, .dart-info__specs h3 { margin: 0 0 12px; font-size: 1.15rem; }
.dart-info__text p { color: var(--ink-500); margin: 0 0 12px; }
.dart-info__text p:last-child { margin-bottom: 0; }
.dart-info__empty { color: var(--ink-400); font-style: italic; }
.dart-specs { margin: 0; }
.dart-specs__row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.dart-specs__row:first-child { border-top: 0; padding-top: 0; }
.dart-specs dt { color: var(--ink-500); }
.dart-specs dd { margin: 0; font-weight: 600; text-align: right; }
.dart-reviews__summary { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dart-reviews__avg { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.dart-reviews__count { color: var(--ink-500); font-size: .92rem; }
.dart-stars i { font-style: normal; color: rgba(26,26,26,.18); letter-spacing: 1px; }
.dart-stars i.is-on { color: #e0a12b; }
.dart-reviews__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dart-review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.dart-review__head time { color: var(--ink-400); font-size: .85rem; margin-left: auto; }
.dart-review p { margin: 0; color: var(--ink-500); }

/* Produktbilder aus dem Shop-Produkt */
.dart-gallery { margin-top: 22px; }
.dart-gallery__title { margin: 0 0 12px; font-size: 1.15rem; }
.dart-gallery__inner {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  background: #fff; border: 1px solid var(--line, rgba(0,0,0,.08));
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
}
.dart-gallery__stage {
  margin: 0; border-radius: calc(var(--radius) - 4px); overflow: hidden;
  background: var(--cream-soft, #f7f4ef);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
}
.dart-gallery__stage img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .35s ease;
}
.dart-gallery__stage:hover img { transform: scale(1.03); }
.dart-gallery__thumbs {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.dart-gallery__thumb {
  width: 78px; height: 78px; padding: 0; cursor: pointer;
  border: 2px solid transparent; border-radius: 12px; overflow: hidden;
  background: var(--cream-soft, #f7f4ef);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dart-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dart-gallery__thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.dart-gallery__thumb.is-active { border-color: var(--wood-500); }
.dart-info__tab[hidden] { display: none; }

/* Galerie direkt im Merkmale-Block */
.dart-gallery--inline { margin-top: 18px; }
.dart-gallery--inline .dart-gallery__inner {
  background: transparent; border: 0; padding: 0; box-shadow: none; gap: 10px;
}
.dart-gallery--inline .dart-gallery__stage {
  aspect-ratio: 3 / 2; border: 1px solid var(--line, rgba(0,0,0,.08));
  background: #fff;
}
.dart-gallery--inline .dart-gallery__thumbs { gap: 8px; }
.dart-gallery--inline .dart-gallery__thumb { width: 62px; height: 62px; border-radius: 10px; }

@media (max-width: 640px) {
  .dart-gallery__thumb { width: 64px; height: 64px; }
}

@media (max-width: 860px) {
  .dart-info__grid, .dart-reviews__list { grid-template-columns: 1fr; }
  .dart-info__tabs { width: 100%; border-radius: var(--radius); }
  .dart-info__tab { flex: 1 1 auto; }
}
