/*
Theme Name: GeneratePress Child — Druckscheune
Theme URI: https://druckscheune.de
Description: Child-Theme der Druckscheune. Nur Präsentation — keine Logik (die lebt in druckscheune-core). Design: design/handoff (Claude-Design-Redesign, Screens 1a/1c/1d).
Template: generatepress
Version: 0.3.0
Text Domain: generatepress-child
*/

/* ==========================================================================
   Design-Tokens — Quelle: design/handoff README.md (verbindlich)
   ========================================================================== */
:root {
    --paper: #FAFAF7;
    --surface: #FFFFFF;
    --surface-2: #F2F2ED;
    --ink: #191922;
    --ink-60: #63636E;
    --ink-40: #6B6B75; /* dunkler für WCAG-AA-Kontrast auf hellem Grund (war #8A8A93 ~3.5:1) */
    --line: #E8E8E2;
    --line-strong: #D8D8D2;
    --magenta: #CE0F69;
    --magenta-hover: #B00D59;
    --magenta-tint: #FDF3F8;
    --magenta-badge: #F9DEEC;
    --cyan: #009FDA;
    --yellow: #F2C500;
    --green: #2F8F5B;
    --green-dark: #2F6E48;
    --green-bg: #F0F7F2;
    --green-line: #D6E8DC;
    --star: #F2A900;
    --warn-text: #8F6E00;
    --warn-bg: #FDF6E7;
    --warn-line: #F0E1B8;
    --ink-body: #3A3A42;
    --shop-grid-bg: #FCFCF9;
    --cyan-bright: #00B2F0;
    --magenta-bright: #E5158A;
    --yellow-bright: #FFD400;
    --tint-cyan: #DFF3FC;
    --tint-magenta: #FBE0EF;
    --tint-yellow: #FBF3CE;
    --tint-violet: #EAE3F8;
    --tint-cyan-price: #0A7FAE;
    --tint-magenta-price: #B01268;
    --tint-yellow-price: #8F7500;
    --tint-violet-price: #5B3FA8;
    --dark-text: #9A9AA5;
    --topbar-green: #7FC79C;
    --topbar-sep: #4B4B55;
    --topbar-text: #C9C9D2;
    --footer-line: #2E2E38;
    --radius-input: 8px;
    --radius-btn: 9px;
    --radius-card: 14px;
    --radius-tile: 16px;
    --shadow-card: 0 12px 32px rgba(25, 25, 34, .10);
    --shadow-cta: 0 6px 16px rgba(206, 15, 105, .25);
    --shadow-calc: 0 14px 40px rgba(25, 25, 34, .08);
    --font-sans: "Archivo", -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, Menlo, Consolas, monospace;
}

@font-face {
    font-family: "Archivo";
    src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+20AC, U+2192;
}

@font-face {
    font-family: "Archivo";
    src: url("assets/fonts/archivo-latin-ext-var.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0100-024F, U+1E00-1EFF;
}

/* ==========================================================================
   Basis
   ========================================================================== */
body {
    font-family: var(--font-sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    color: var(--ink);
    line-height: 1.15;
}

a {
    color: var(--magenta);
    text-decoration: none;
    transition: color .15s ease;
}

a:hover {
    color: var(--magenta-hover);
}

/* Sichtbarer Tastatur-Fokus für alle interaktiven Elemente (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ds-chip:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--magenta);
    outline-offset: 2px;
    border-radius: 4px;
}

.ds-eyebrow {
    font-family: var(--font-mono);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--magenta);
}

.ds-btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: var(--radius-btn);
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    border: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ds-btn--primary {
    background: var(--magenta);
    color: #fff !important;
    box-shadow: var(--shadow-cta);
}

.ds-btn--primary:hover {
    background: var(--magenta-hover);
}

.ds-btn--secondary {
    background: var(--surface);
    color: var(--ink) !important;
    border: 1.5px solid var(--line-strong);
}

.ds-btn--secondary:hover {
    border-color: var(--ink);
}

.ds-btn--dark {
    background: var(--ink);
    color: #fff !important;
}

.ds-btn--dark:hover {
    background: #000;
}

.ds-wrap {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .ds-wrap {
        padding: 0 20px;
    }
}

/* ==========================================================================
   Header: USP-Topbar + Navigation (1a)
   ========================================================================== */
.ds-topbar {
    background: var(--ink);
    color: var(--topbar-text);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 11px 16px;
}

.ds-topbar .sep {
    color: var(--topbar-sep);
    margin: 0 10px;
}

.ds-topbar .eco {
    color: var(--topbar-green);
}

.ds-topbar__clock {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--topbar-text);
}

/* Mobil: mittlere USPs raus, Topbar kompakter (Ab 1 Stück · Klimaneutral · Zeit) */
@media (max-width: 640px) {
    .ds-topbar { font-size: 12px; padding: 8px 12px; }
    .ds-topbar .sep { margin: 0 6px; }
    .ds-topbar .tb--smhide { display: none; }
}

.ds-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(25, 25, 34, .04), 0 6px 20px rgba(25, 25, 34, .05);
}

.ds-nav__inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.ds-nav__logo img {
    height: 36px;
    width: auto;
    display: block;
}

.ds-nav__menu {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;                    /* nimmt den Raum zwischen Logo und Telefon/Warenkorb ein */
    justify-content: center;    /* und zentriert die Menüpunkte darin */
}

.ds-nav__menu a {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--ink);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.ds-nav__menu a:hover,
.ds-nav__menu .current-menu-item a {
    border-bottom-color: var(--magenta);
    color: var(--ink);
}

.ds-nav__search {
    flex: 1;
    max-width: 330px;
}

.ds-nav__search input {
    width: 100%;
    background: var(--surface-2);
    border: none;
    border-radius: var(--radius-input);
    padding: 10px 16px;
    font-size: 16px;
    font-family: var(--font-sans);
    color: var(--ink);
}

.ds-nav__search input::placeholder {
    color: var(--ink-40);
}

.ds-nav__contact {
    margin-left: auto;
    text-align: right;
    line-height: 1.35;
    white-space: nowrap;
}

.ds-nav__contact strong {
    font-size: 16.5px;
    display: block;
}

.ds-nav__contact span {
    font-size: 13.5px;
    color: var(--ink-40);
}

.ds-nav__cart {
    background: var(--ink);
    color: #fff !important;
    border-radius: var(--radius-input);
    padding: 11px 18px;
    font-size: 16.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ds-nav__cart:hover {
    background: #000;
}

.ds-nav__cart .count {
    background: var(--magenta);
    border-radius: 99px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    padding: 0 6px;
}

/* Hamburger-Button — nur mobil sichtbar */
.ds-nav__toggle {
    display: none;
    flex: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.ds-nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.ds-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ds-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ds-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
    .ds-nav__search { display: none; }
    .ds-nav__contact span { display: none; }
}

/* Mobil (≤1000px): Hamburger + Menü als aufklappbares Panel unter der Leiste */
@media (max-width: 1000px) {
    .ds-nav__inner { flex-wrap: wrap; gap: 12px 10px; }
    .ds-nav__logo { order: 1; }
    .ds-nav__logo img { height: 30px; }
    .ds-nav__toggle { display: flex; order: 2; margin-left: auto; }
    .ds-nav__cart { order: 3; padding: 9px 13px; font-size: 14.5px; }
    .ds-nav__contact { display: none; }

    .ds-nav__menu {
        order: 4;
        flex: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        display: none;              /* zu, bis der Hamburger öffnet */
        border-top: 1px solid var(--line);
        margin-top: 4px;
    }
    .ds-nav__menu.is-open { display: flex; }
    .ds-nav__menu a {
        display: block;
        padding: 14px 4px;          /* großzügige Touch-Fläche */
        border-bottom: 1px solid var(--line);
        border-bottom-color: var(--line);
    }
    .ds-nav__menu a:hover,
    .ds-nav__menu .current-menu-item a { border-bottom-color: var(--line); }
}

@media (max-width: 768px) {
    .ds-nav__inner { padding: 10px 20px; }
}

/* ==========================================================================
   Footer dunkel, 4 Spalten (1a)
   ========================================================================== */
.ds-footer {
    background: var(--ink);
    color: var(--topbar-text);
    margin-top: 64px;
}

.ds-footer__grid {
    max-width: 1520px;
    margin: 0 auto;
    padding: 52px 40px 36px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.ds-footer__brand img {
    height: 34px;
    width: auto;
    /* Buntes Logo auf hellem Chip, damit es auf dem dunklen Footer lesbar bleibt */
    background: #fff;
    padding: 7px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.ds-footer__grid h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

.ds-footer__grid p,
.ds-footer__grid li {
    font-size: 15.5px;
    line-height: 1.7;
}

.ds-footer__grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-footer__grid a {
    color: var(--topbar-text);
}

.ds-footer__grid a:hover {
    color: #fff;
}

.ds-footer__bar {
    border-top: 1px solid var(--footer-line);
}

.ds-footer__bar-inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6B6B76;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 900px) {
    .ds-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
    .ds-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Startseite (1a) + Produktseite (1c): GP-Containerbox neutralisieren —
   Seitenhintergrund ist var(--paper), Karten sind die weißen Flächen.
   ========================================================================== */
.home .site-main,
.single-product .site-main { margin: 0; padding: 0; }

.home .entry-content { margin-top: 0; }

.home #page,
.home .site-content,
.home #content,
.home .container,
.home .grid-container,
.single-product #page,
.single-product .site-content,
.single-product #content,
.single-product .container,
.single-product .grid-container,
.post-type-archive-product #page,
.post-type-archive-product .site-content,
.post-type-archive-product #content,
.post-type-archive-product .container,
.post-type-archive-product .grid-container,
.tax-product_cat #page,
.tax-product_cat .site-content,
.tax-product_cat #content,
.tax-product_cat .container,
.tax-product_cat .grid-container {
    background: transparent;
    max-width: none;
    padding: 0;
}

.ds-hero {
    background: var(--paper);
    padding: 64px 0 118px;
}

.ds-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.ds-hero h1 {
    font-size: clamp(45px, 4.2vw, 63.5px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 14px 0 18px;
}

.ds-hero__sub {
    font-size: 21px;
    color: var(--ink-60);
    max-width: 46ch;
    margin: 0 0 28px;
}

.ds-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.ds-hero__trust {
    font-size: 16px;
    color: var(--ink-60);
}

.ds-hero__trust .stars {
    color: var(--star);
    letter-spacing: 2px;
}

.ds-hero__media {
    position: relative;
}

.ds-hero__media img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-card);
    display: block;
}

.ds-hero__pill {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--ink);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 99px;
    padding: 8px 16px;
}

.ds-hero__pricecard {
    position: absolute;
    bottom: 72px;
    left: 18px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(25, 25, 34, .14);
    padding: 14px 18px;
    font-size: 15px;
    color: var(--ink-60);
}

.ds-hero__pricecard strong {
    display: block;
    font-size: 16.5px;
    color: var(--ink);
}

@media (max-width: 900px) {
    .ds-hero__grid { grid-template-columns: 1fr; }
    .ds-hero { padding: 40px 0 80px; }
    .ds-hero__pricecard { left: 12px; }
}

/* Quick-Kalkulator (Conversion-Kernstück) */
.ds-quickcalc {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-calc);
    padding: 22px 26px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.ds-quickcalc label {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 7px;
    font-weight: 600;
}

.ds-quickcalc select {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-input);
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface);
}

.ds-quickcalc button {
    padding: 13px 22px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .ds-quickcalc { grid-template-columns: 1fr 1fr; margin-top: -40px; }
}

@media (max-width: 540px) {
    .ds-quickcalc { grid-template-columns: 1fr; }
}

/* Sektionen */
.ds-section {
    padding: 56px 0 40px;
}

.ds-section--tint {
    background: var(--paper);
}

.ds-section--white {
    background: var(--surface);
}

.ds-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.ds-section__head h2 {
    font-size: 35.5px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}

.ds-section__head a {
    font-size: 16.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* Produkt-Kacheln */
.ds-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ds-product-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: box-shadow .15s ease;
    display: block;
    color: var(--ink) !important;
}

.ds-product-card:hover {
    box-shadow: 0 10px 26px rgba(25, 25, 34, .10);
}

.ds-product-card img {
    width: 100%;
    height: 196px;
    object-fit: cover;
    display: block;
}

.ds-product-card__body {
    padding: 14px 16px 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.ds-product-card__body strong {
    font-size: 17.5px;
    font-weight: 700;
    display: block;
}

.ds-product-card__body small {
    font-size: 15px;
    color: var(--ink-60);
}

.ds-product-card__arrow {
    color: var(--magenta);
    font-size: 21px;
}

.ds-product-card--ask {
    border: 1.5px dashed var(--line-strong);
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.ds-product-card--ask strong {
    font-size: 17.5px;
    display: block;
    margin-bottom: 6px;
}

.ds-product-card--ask p {
    font-size: 15px;
    color: var(--ink-60);
    margin: 0 0 10px;
}

@media (max-width: 1024px) {
    .ds-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .ds-products { grid-template-columns: minmax(0, 1fr); }
}

/* USP-Reihe (4 Farbquadrate) */
.ds-usps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    border-top: 1px solid var(--line);
    padding-top: 36px;
}

.ds-usp .square {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.ds-usp strong {
    display: block;
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ds-usp p {
    font-size: 15.5px;
    color: var(--ink-60);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .ds-usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 3 Schritte */
.ds-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ds-step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 24px;
}

.ds-step .num {
    width: 34px;
    height: 34px;
    border-radius: 99px;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17.5px;
    margin-bottom: 14px;
}

.ds-step:last-child .num {
    background: var(--magenta);
}

.ds-step strong {
    font-size: 19px;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.ds-step p {
    font-size: 16px;
    color: var(--ink-60);
    margin: 0;
}

@media (max-width: 768px) {
    .ds-steps { grid-template-columns: 1fr; }
}

/* Bewertungen */
.ds-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ds-quote {
    background: var(--paper);
    border-radius: var(--radius-card);
    padding: 22px;
}

.ds-quote .stars {
    color: var(--star);
    letter-spacing: 2px;
    font-size: 15.5px;
}

.ds-quote p {
    font-size: 16.5px;
    margin: 10px 0 12px;
    line-height: 1.6;
}

.ds-quote footer {
    font-size: 15px;
    color: var(--ink-60);
}

.ds-quote footer strong {
    color: var(--ink);
}

@media (max-width: 768px) {
    .ds-quotes { grid-template-columns: 1fr; }
}

/* Regional-Sektion */
.ds-regional {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.ds-regional img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-card);
}

.ds-regional h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}

.ds-regional > div > p {
    font-size: 17.5px;
    color: var(--ink-60);
    line-height: 1.7;
}

.ds-regional__stats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 28px;
    margin-top: 26px;
    justify-content: start;
}

.ds-regional__stats strong {
    font-size: 30.5px;
    font-weight: 800;
    display: block;
}

.ds-regional__stats .green {
    color: var(--green);
}

.ds-regional__stats span {
    font-size: 14px;
    color: var(--ink-60);
}

@media (max-width: 900px) {
    .ds-regional { grid-template-columns: 1fr; }
    .ds-regional__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Produktseite / Konfigurator (1c)
   ========================================================================== */
.ds-pdp {
    display: grid;
    grid-template-columns: 320px 1fr 300px;
    gap: 28px;
    align-items: start;
    padding: 24px 0 56px;
}

/* Produktseite: Beschreibung unter dem Konfigurator */
.ds-pdp-desc {
    max-width: 820px;
    margin: 0 auto 56px;
    padding: 28px 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}

.ds-pdp-desc h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 12px;
}

.ds-pdp-desc__body p {
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--ink-body);
    margin: 0 0 12px;
}

.ds-pdp-desc__body p:last-child { margin-bottom: 0; }

.ds-pdp__breadcrumb {
    font-size: 15px;
    color: var(--ink-40);
    padding: 18px 0 0;
}

.ds-pdp__breadcrumb a {
    color: var(--ink-40);
}

@media (max-width: 1100px) {
    .ds-pdp { grid-template-columns: 1fr 300px; }
    .ds-pdp__left { grid-column: 1 / -1; display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .ds-pdp { grid-template-columns: 1fr; }
    .ds-pdp__left { grid-template-columns: 1fr; }
}

/* Links: Galerie + Infokarten */
.ds-gallery__main img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: var(--radius-card);
    display: block;
}

.ds-infocard {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    margin-top: 16px;
    font-size: 15.5px;
    color: var(--ink-60);
    line-height: 1.6;
}

.ds-infocard strong {
    display: block;
    color: var(--ink);
    font-size: 16.5px;
    margin-bottom: 6px;
}

.ds-infocard--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--topbar-text);
}

.ds-infocard--dark strong {
    color: #fff;
}

/* Mount-Wrapper der Preact-App: Kinder (Karte + Summary) nehmen direkt am
   ds-pdp-Grid teil */
.ds-configurator-root {
    display: contents;
}

/* Mitte: Konfigurator-Karte */
.ds-configurator {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: 0 12px 32px rgba(25, 25, 34, .07);
    padding: 26px;
    display: block;
    max-width: none;
    border: none;
}

.ds-configurator__title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.ds-configurator__title h1,
.ds-configurator__title h2 {
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}

.ds-configurator__title .ab {
    font-size: 16.5px;
    color: var(--ink-60);
    font-weight: 600;
}

.ds-configurator__sub {
    font-size: 15.5px;
    color: var(--ink-60);
    margin: 0 0 22px;
}

.ds-step-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin: 22px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.ds-step-label .hint {
    font-family: var(--font-sans);
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--green);
    font-weight: 600;
}

/* Chips */
.ds-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ds-chip {
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: border-color .15s ease;
    min-height: 44px;
}

.ds-chip:hover,
.ds-chip:focus {
    border-color: var(--ink);
    background: var(--surface);
    color: var(--ink);
}

.ds-chip.is-active,
.ds-chip.is-active:hover,
.ds-chip.is-active:focus {
    background: var(--ink);
    color: #fff;
    border: 2px solid var(--ink);
}

.ds-chip small {
    font-weight: 400;
    opacity: .75;
    margin-left: 4px;
}

.ds-chip--dashed {
    border-style: dashed;
}

/* Segmented Control */
.ds-segment {
    display: inline-flex;
    background: var(--surface-2);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}

.ds-segment button {
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--ink-60);
    cursor: pointer;
    min-height: 40px;
}

.ds-segment button:hover,
.ds-segment button:focus {
    background: transparent;
    color: var(--ink);
}

.ds-segment button.is-active,
.ds-segment button.is-active:hover,
.ds-segment button.is-active:focus {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 2px 6px rgba(25, 25, 34, .10);
}

/* Filter-Pills (Papiergruppen) */
.ds-pills {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-pill {
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    border-radius: 99px;
    padding: 7px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-60);
    cursor: pointer;
    font-family: var(--font-sans);
}

.ds-pill:hover,
.ds-pill:focus {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--ink);
}

.ds-pill.is-active,
.ds-pill.is-active:hover,
.ds-pill.is-active:focus {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.ds-pill--eco.is-active,
.ds-pill--eco.is-active:hover {
    background: var(--green);
    border-color: var(--green);
}

.ds-pill--eco.is-active {
    background: var(--green);
    border-color: var(--green);
}

/* Radio-Zeilen (Papier) */
.ds-radiorow {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 10px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 16.5px;
    color: var(--ink);
    transition: border-color .15s ease;
}

.ds-radiorow:hover,
.ds-radiorow:focus {
    border-color: var(--ink);
    background: var(--surface);
    color: var(--ink);
}

.ds-radiorow.is-active:hover,
.ds-radiorow.is-active:focus {
    background: var(--magenta-tint);
}

.ds-radiorow.is-active {
    border: 2px solid var(--magenta);
    background: var(--magenta-tint);
}

.ds-radiorow .dot {
    width: 18px;
    height: 18px;
    border-radius: 99px;
    border: 2px solid var(--line-strong);
    flex-shrink: 0;
}

.ds-radiorow.is-active .dot {
    border-color: var(--magenta);
    box-shadow: inset 0 0 0 4px var(--magenta);
}

.ds-radiorow .main {
    flex: 1;
}

.ds-radiorow .main strong {
    font-weight: 700;
}

.ds-radiorow .main .desc {
    color: var(--ink-60);
    font-weight: 400;
}

.ds-radiorow .meta {
    font-size: 14px;
    color: var(--ink-40);
    white-space: nowrap;
}

.ds-badge {
    background: var(--magenta-badge);
    color: var(--magenta);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    margin-left: 8px;
    white-space: nowrap;
}

/* Staffelpreis-Mini-Tabelle */
.ds-staffel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}

.ds-staffel > div {
    padding: 10px 14px;
    font-size: 15px;
    color: var(--ink-60);
    background: var(--surface-2);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.ds-staffel > div.is-current {
    background: var(--magenta-tint);
}

.ds-staffel strong {
    color: var(--ink);
}

.ds-staffel .is-current strong {
    color: var(--magenta);
}

/* Produktionszeit Radio-Karten */
.ds-prodcards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ds-prodcard {
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    border-radius: 12px;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: border-color .15s ease;
}

.ds-prodcard:hover,
.ds-prodcard:focus {
    background: var(--surface);
    color: var(--ink);
}

.ds-prodcard:hover {
    border-color: var(--ink);
}

.ds-prodcard.is-active {
    border: 2px solid var(--ink);
}

.ds-prodcard strong {
    font-size: 16.5px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.ds-prodcard .date {
    font-size: 15px;
    color: var(--ink-60);
    display: block;
}

.ds-prodcard .date b {
    color: var(--ink);
}

.ds-prodcard .cost {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

.ds-prodcard .cost.free {
    color: var(--green);
}

@media (max-width: 640px) {
    .ds-prodcards { grid-template-columns: 1fr; }
}

/* Rechts: Sticky Summary */
.ds-summary {
    position: sticky;
    top: 20px;
}

.ds-summary__card {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: 0 12px 32px rgba(25, 25, 34, .07);
    padding: 22px;
}

.ds-summary__card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 14px;
}

.ds-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 15.5px;
    padding: 4px 0;
    color: var(--ink-60);
}

.ds-summary__row b {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

.ds-summary__sep {
    border-top: 1px solid var(--line);
    margin: 12px 0;
}

.ds-summary__row .green {
    color: var(--green);
    font-weight: 600;
}

.ds-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 6px 0 14px;
}

.ds-summary__total span {
    font-size: 16.5px;
    font-weight: 700;
}

.ds-summary__total strong {
    font-size: 30.5px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.ds-summary .ds-btn {
    width: 100%;
    text-align: center;
}

.ds-summary__delivery {
    text-align: center;
    font-size: 15px;
    color: var(--ink-60);
    margin-top: 10px;
}

.ds-summary__delivery b {
    color: var(--ink);
}

.ds-trustcard {
    background: var(--green-bg);
    border: 1px solid var(--green-line);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--green-dark);
    line-height: 1.6;
    margin-top: 16px;
}

/* Konfigurator: Lade-/Fehlerzustände */
.ds-configurator-error {
    color: var(--magenta);
    font-weight: 600;
}

.ds-configurator-loading {
    color: var(--ink-40);
}

.ds-price-loading {
    opacity: .55;
    transition: opacity .1s ease;
}

/* Mobile: Sticky-Preisleiste unten */
@media (max-width: 768px) {
    .ds-summary {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 50;
    }

    .ds-summary__card {
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -8px 24px rgba(25, 25, 34, .16);
        padding: 14px 20px;
    }

    .ds-summary__card h3,
    .ds-summary__rows,
    .ds-trustcard {
        display: none;
    }

    .ds-pdp {
        padding-bottom: 140px;
    }
}

/* ==========================================================================
   Startseite 2b: Aktions-Slider
   ========================================================================== */
.ds-slider {
    position: relative;
    padding: 28px 0 0;
}

.ds-slider__track {
    position: relative;
    border-radius: 18px;
    /* overflow sichtbar, sonst schneidet der Track die Pfeile (left/right:-22px)
       ab; die Rundung übernehmen die Slides selbst. */
    overflow: visible;
}

.ds-slide {
    display: none;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    padding: 22px 40px;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
}

.ds-slide.is-active {
    display: grid;
}

.ds-slide--yellow { background: var(--tint-yellow); }
.ds-slide--cyan { background: var(--tint-cyan); }
.ds-slide--green { background: var(--green-bg); }

/* Dunkle Slides mit weißer Schrift: Schwarz (CMYK-Showcase) + Magenta (Aktion) */
.ds-slide--dark { background: #15151c; color: #fff; }
.ds-slide--magenta { background: var(--magenta); color: #fff; }

.ds-slide.ds-slide--dark h2,
.ds-slide.ds-slide--magenta h2 { color: #fff; }
.ds-slide.ds-slide--dark p,
.ds-slide.ds-slide--dark p strong,
.ds-slide.ds-slide--magenta p,
.ds-slide.ds-slide--magenta p strong { color: #fff; }

.ds-slide--dark .ds-slide__badge { background: rgba(255, 255, 255, .12); color: #fff; }
.ds-slide--magenta .ds-slide__badge { background: rgba(0, 0, 0, .18); color: #fff; }

.ds-slide--dark .ds-slide__ctas .more,
.ds-slide--magenta .ds-slide__ctas .more { color: #fff; }
.ds-slide--dark .ds-slide__ctas .more:hover { color: var(--magenta-bright); }
.ds-slide--magenta .ds-slide__ctas .more:hover { color: rgba(255, 255, 255, .75); }

/* Primär-Button auf Magenta invertiert (weiß mit Magenta-Text) */
.ds-slide--magenta .ds-btn--primary { background: #fff; color: var(--magenta) !important; }
.ds-slide--magenta .ds-btn--primary:hover { background: rgba(255, 255, 255, .9); }

/* Aktions-Badge (Rabatt): auf Schwarz magenta, auf Magenta invertiert (weiß) */
.ds-slide--dark .ds-slide__badge--aktion { background: var(--magenta) !important; color: #fff !important; }
.ds-slide--dark .ds-slide__badge--aktion .dot { background: #fff !important; }
.ds-slide--magenta .ds-slide__badge--aktion { background: #fff !important; color: var(--magenta) !important; }
.ds-slide--magenta .ds-slide__badge--aktion .dot { background: var(--magenta) !important; }

/* CMYK-Farbbalken als Medienfläche des Showcase-Slides */
.ds-slide__cmyk {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    height: 330px;
}
.ds-slide__cmyk span {
    border-radius: 12px;
    display: block;
}
.ds-slide__cmyk .c { background: var(--cyan-bright); }
.ds-slide__cmyk .m { background: var(--magenta-bright); }
.ds-slide__cmyk .y { background: var(--yellow-bright); }
.ds-slide__cmyk .k { background: #0a0a0a; border: 1px solid rgba(255, 255, 255, .14); }

.ds-slide__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--surface);
    border-radius: 99px;
    padding: 9px 18px;
    font-family: var(--font-mono);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ds-slide__badge .dot {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    display: inline-block;
}

/* Streichpreis auf dem Aktions-Slide */
.ds-slide__strike { text-decoration: line-through; opacity: .6; font-weight: 400; margin-left: 4px; }

/* Rabatt-/Preis-Badge auffälliger */
.ds-slide__badge--aktion {
    font-size: 20px;
    padding: 10px 22px;
    letter-spacing: .04em;
    font-weight: 700;
}
.ds-slide__badge--aktion .dot { width: 10px; height: 10px; }

.ds-slide h2 {
    font-size: clamp(38px, 3.6vw, 54.5px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 0 0 14px;
    line-height: 1.08;
}

.ds-slide p {
    font-size: 19px;
    color: var(--ink-body);
    margin: 0 0 24px;
    max-width: 44ch;
}

.ds-slide__ctas {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ds-slide__ctas .more {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--ink);
}

.ds-slide__media img,
.ds-slide__video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Steuerleiste unten: ← [Fortschritts-Dots] → — flankiert, mittig, nicht über den Slides */
.ds-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 0 4px;
}

.ds-slider__arrow {
    width: 42px;
    height: 42px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(25, 25, 34, .1);
    font-size: 20px;
    color: var(--ink);
    cursor: pointer;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-slider__arrow:hover { background: var(--surface); color: var(--magenta); }

.ds-slider__dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.ds-slider__dots button {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 99px;
    border: none;
    padding: 0;
    background: var(--line-strong);
    cursor: pointer;
    overflow: hidden;
    transition: width .25s ease;
}

/* aktiver Dot = Ladebalken: Track breit, Füllung läuft über die Anzeigedauer */
.ds-slider__dots button.is-active {
    width: 46px;
    background: var(--line-strong);
}

.ds-slider__dots button .ds-dot-fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--ink);
    border-radius: 99px;
}

.ds-slider__dots button.is-active .ds-dot-fill {
    animation: ds-dot-load var(--ds-slide-dur, 7s) linear forwards;
}

.ds-slider.is-paused .ds-slider__dots button.is-active .ds-dot-fill {
    animation-play-state: paused;
}

@keyframes ds-dot-load {
    from { width: 0; }
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ds-slider__dots button.is-active .ds-dot-fill { animation: none; width: 100%; }
}

@media (max-width: 900px) {
    .ds-slide { grid-template-columns: 1fr; padding: 24px 24px; }
    .ds-slide__media img, .ds-slide__video { height: 300px; }
}

/* ==========================================================================
   Produkt-Ticker (Marquee)
   ========================================================================== */
.ds-ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    max-width: 100%;
    margin-top: 24px;
}

/* GP legt .site-content als Flex an — ohne Sidebar-Layouts brauchen wir das
   nicht, und Inhalte (Ticker, Grids) dürfen die Seite nicht aufziehen. */
.site-content {
    display: block;
}

main.ds-home,
.site-main {
    width: 100%;
    min-width: 0;
}

.ds-ticker__inner {
    display: flex;
    width: max-content;
    animation: ds-marquee 55s linear infinite;
}

.ds-ticker:hover .ds-ticker__inner {
    animation-play-state: paused;
}

.ds-ticker a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    font-size: 16.5px;
    color: var(--ink);
    white-space: nowrap;
}

.ds-ticker a strong { font-weight: 700; }
.ds-ticker a small { color: var(--ink-40); font-weight: 500; font-size: 15.5px; }
.ds-ticker .tick-dot { font-size: 10.5px; }

@keyframes ds-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ds-ticker__inner { animation: none; }
}

/* ==========================================================================
   Farbtint-Kacheln (Startseite "Womit starten wir?" + Shop 3a)
   ========================================================================== */
.ds-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ds-tile {
    border-radius: var(--radius-tile);
    padding: 18px;
    display: block;
    color: var(--ink) !important;
    position: relative;
    transition: box-shadow .15s ease, transform .15s ease;
}

.ds-tile:hover {
    box-shadow: 0 10px 26px rgba(25, 25, 34, .10);
}

.ds-tile--0 { background: var(--tint-cyan); }
.ds-tile--1 { background: var(--tint-magenta); }
.ds-tile--2 { background: var(--tint-yellow); }
.ds-tile--3 { background: var(--tint-violet); }

.ds-tile__img {
    background: var(--surface);
    border-radius: 10px;
    height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
}

.ds-tile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.ds-tile__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.ds-tile__row strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.01em;
    min-width: 0; /* Titel darf umbrechen/schrumpfen, statt die Preis-Pille über den Rand zu schieben */
}

.ds-tile__price {
    font-family: var(--font-mono);
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
    flex-shrink: 0;
    color: #fff;
    background: var(--ink);
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 1;
}

/* Preis-Tag pro Kachel in der Akzentfarbe (kräftig, nicht pastell) */
.ds-tile--0 .ds-tile__price { background: var(--cyan-bright, #0092d2); }
.ds-tile--1 .ds-tile__price { background: var(--magenta, #CE0F69); }
.ds-tile--2 .ds-tile__price { background: #E0A800; color: var(--ink); }
.ds-tile--3 .ds-tile__price { background: var(--violet, #6C4BB6); }

.ds-tile__cta {
    font-size: 15.5px;
    font-weight: 600;
    margin-top: 6px;
    display: inline-block;
}

.ds-tile__aktion {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--magenta-bright);
    color: #fff;
    border-radius: 99px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 4px 12px;
    z-index: 2;
}

.ds-tile--dark {
    background: var(--ink);
    color: #fff !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.ds-tile--dark .eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--dark-text);
}

.ds-tile--dark strong {
    font-size: 23.5px;
    font-weight: 800;
    line-height: 1.25;
    display: block;
    margin-top: 10px;
}

.ds-tile--dark .cta {
    color: var(--yellow-bright);
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1024px) { .ds-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .ds-tiles { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Social-Feed-Strip "Frisch aus der Scheune"
   ========================================================================== */
.ds-social {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ds-social__thumbs {
    display: flex;
    gap: 8px;
}

.ds-social__thumbs img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.ds-social__text {
    flex: 1;
    font-size: 16.5px;
    min-width: 220px;
}

.ds-social__text small {
    color: var(--ink-40);
    font-family: var(--font-mono);
    font-size: 13px;
}

.ds-social__btn {
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-btn);
    background: var(--surface);
    color: var(--ink) !important;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.ds-social__btn:hover { background: var(--ink); color: #fff !important; }

/* ==========================================================================
   Shop 3a
   ========================================================================== */
.ds-shophead {
    background: var(--paper);
    padding: 20px 0 22px;
}

.ds-shophead__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ds-shophead h1 {
    font-size: clamp(45px, 4.5vw, 63.5px);
    font-weight: 900;
    letter-spacing: -.035em;
    text-transform: uppercase;
    margin: 8px 0 0;
}

.ds-shophead h1 .dot { color: var(--magenta); }

.ds-shophead input[type="search"] {
    width: 280px;
    max-width: 100%;
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-btn);
    padding: 11px 14px;
    font-family: var(--font-sans);
    font-size: 16px;
}

.ds-filterpills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-filterpills button {
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    border-radius: 99px;
    padding: 9px 16px;
    font-size: 15.5px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    min-height: 40px;
}

.ds-filterpills button:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }

.ds-filterpills button.is-active,
.ds-filterpills button.is-active:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.ds-cmykbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 8px;
}

.ds-cmykbar span:nth-child(1) { background: var(--cyan-bright); }
.ds-cmykbar span:nth-child(2) { background: var(--magenta-bright); }
.ds-cmykbar span:nth-child(3) { background: var(--yellow-bright); }
.ds-cmykbar span:nth-child(4) { background: var(--ink); }

.ds-shopgrid {
    background: var(--shop-grid-bg);
    padding: 36px 0 56px;
}

/* ==========================================================================
   Inhaltsseiten-Template 2d
   ========================================================================== */
.ds-pagehead {
    padding: 26px 0 8px;
}

.ds-pagehead .ds-pdp__breadcrumb { padding: 0 0 18px; }

.ds-pagehead h1 {
    font-size: clamp(38px, 3.4vw, 49.5px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 10px 0 14px;
    max-width: 680px;
}

.ds-cmykmini {
    display: flex;
    gap: 5px;
    margin-bottom: 18px;
}

.ds-cmykmini span {
    width: 26px;
    height: 5px;
    border-radius: 99px;
    display: inline-block;
}

.ds-cmykmini span:nth-child(1) { background: var(--cyan); }
.ds-cmykmini span:nth-child(2) { background: var(--magenta); }
.ds-cmykmini span:nth-child(3) { background: var(--yellow); }
.ds-cmykmini span:nth-child(4) { background: var(--ink); }

.ds-pagehead .lead {
    font-size: 20px;
    color: var(--ink-60);
    max-width: 680px;
    line-height: 1.65;
    margin: 0 0 8px;
}

.ds-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
    padding: 20px 0 56px;
}

.ds-content--slim {
    grid-template-columns: minmax(0, 780px);
    justify-content: start;
}

.ds-content__hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-card);
    display: block;
    margin-bottom: 20px;
}

.ds-card {
    background: var(--surface);
    border-radius: var(--radius-card);
    padding: 26px 28px;
    margin-bottom: 20px;
    box-shadow: 0 12px 32px rgba(25, 25, 34, .05);
}

.ds-card h2 {
    font-size: 28.5px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 40px 0 14px;
    scroll-margin-top: 90px;
}

.ds-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 28px 0 8px;
    scroll-margin-top: 90px;
}

/* Erste Überschrift/Element ohne großen Abstand oben */
.ds-card > h2:first-child,
.ds-card > h3:first-child,
.ds-card > *:first-child { margin-top: 0; }

.ds-card p, .ds-card li {
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--ink-body);
}

.ds-card a {
    font-weight: 600;
}

.ds-card h4 { font-size: 18.5px; font-weight: 700; margin: 0 0 6px; }

/* Leistungen: Papiersorten als Kartenraster */
.ds-papers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 8px;
}

.ds-paper {
    display: flex;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
}

.ds-paper img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.ds-paper ul { margin: 0; padding-left: 16px; }
.ds-paper li { font-size: 15.5px; line-height: 1.5; }

/* Leistungen: Weiterverarbeitung als Bildraster mit Beschriftung */
.ds-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.ds-process figure { margin: 0; }

.ds-process img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.ds-process figcaption {
    font-size: 15.5px;
    font-weight: 600;
    margin-top: 6px;
    text-align: center;
}

.ds-leist-wide {
    width: 100%;
    border-radius: 12px;
    margin: 16px 0;
    display: block;
}

/* Über uns: Team-Raster */
.ds-team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.ds-team figure { margin: 0; }

.ds-team img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ds-team figcaption { margin-top: 8px; }
.ds-team figcaption strong { display: block; font-size: 17.5px; }
.ds-team figcaption span { font-size: 15.5px; color: var(--ink-60); }

@media (max-width: 700px) {
    .ds-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Express / Geschäftskunden: Produkt-Link-Raster */
.ds-exprgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.ds-exprgrid a {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    transition: border-color .12s, box-shadow .12s, transform .12s;
}

.ds-exprgrid a:hover {
    border-color: var(--magenta);
    box-shadow: 0 10px 26px rgba(25, 25, 34, .07);
    transform: translateY(-1px);
}

.ds-exprgrid a strong { display: block; font-size: 18.5px; color: var(--ink); }
.ds-exprgrid a span { display: block; font-size: 15.5px; color: var(--ink-60); margin-top: 3px; }

@media (max-width: 600px) {
    .ds-exprgrid { grid-template-columns: 1fr; }
}

/* Partner: Logo-Wand */
.ds-partnerwall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.ds-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    min-height: 110px;
}

.ds-partner-logo img {
    max-width: 100%;
    max-height: 104px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .ds-partnerwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sponsoring: Vereinslogo neben dem Text */
.ds-sponsor {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 22px;
    align-items: center;
    margin: 22px 0;
    padding: 18px 20px;
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.ds-sponsor__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    aspect-ratio: 1 / 1;
}

.ds-sponsor__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ds-sponsor__text > :first-child { margin-top: 0; }
.ds-sponsor__text > :last-child { margin-bottom: 0; }
.ds-sponsor__text h3 { margin-bottom: 6px; }

@media (max-width: 600px) {
    .ds-sponsor {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: left;
    }
    .ds-sponsor__logo { width: 120px; }
}

@media (max-width: 700px) {
    .ds-papers { grid-template-columns: 1fr; }
    .ds-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ds-convband {
    background: var(--ink);
    border-radius: var(--radius-card);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ds-convband strong {
    color: #fff;
    font-size: 23.5px;
    font-weight: 800;
    display: block;
}

.ds-convband p {
    color: var(--dark-text);
    font-size: 16px;
    margin: 4px 0 0;
}

.ds-sidebar { position: sticky; top: 20px; }

.ds-toc {
    background: var(--surface);
    border-radius: var(--radius-card);
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 12px 32px rgba(25, 25, 34, .05);
}

.ds-toc strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ds-toc a {
    display: block;
    font-size: 16px;
    color: var(--ink-60);
    padding: 5px 0;
}

.ds-toc a:hover { color: var(--magenta); }

/* Scrollspy: aktive Überschrift wird magenta hervorgehoben */
.ds-toc a.is-active {
    color: var(--magenta);
    font-weight: 700;
    padding-left: 10px;
    border-left: 2px solid var(--magenta);
    margin-left: -12px;
}

@media (max-width: 900px) {
    .ds-content { grid-template-columns: minmax(0, 1fr); }
    .ds-sidebar { position: static; }
}

/* ==========================================================================
   Warenkorb 1d
   ========================================================================== */
.woocommerce-cart #page,
.woocommerce-cart .site-content,
.woocommerce-cart #content,
.woocommerce-cart .container,
.woocommerce-cart .grid-container {
    background: transparent;
}

.woocommerce-cart .entry-header {
    display: none;
}

.ds-cartpage {
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 0 56px;
}

.ds-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 8px 0 22px;
}

.ds-cart__head h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}

.ds-cart__head h1 span {
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink-40);
    margin-left: 8px;
}

.ds-stepper {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15.5px;
    color: var(--ink-40);
    align-items: center;
}

.ds-stepper li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-stepper span {
    width: 24px;
    height: 24px;
    border-radius: 99px;
    border: 1.5px solid var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.ds-stepper .is-active {
    color: var(--ink);
    font-weight: 600;
}

.ds-stepper .is-active span {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* Erledigter Schritt (z. B. Warenkorb auf der Kasse) */
.ds-stepper .is-done {
    color: var(--ink-60);
    font-weight: 600;
}

.ds-stepper .is-done span {
    background: var(--green, #2F8F5B);
    border-color: var(--green, #2F8F5B);
    color: #fff;
}

.ds-cart__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.ds-cartitem {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: 0 12px 32px rgba(25, 25, 34, .05);
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.ds-cartitem__thumb {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.ds-cartitem__body {
    flex: 1;
    min-width: 0;
}

.ds-cartitem__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
}

.ds-cartitem__row strong {
    font-size: 19.5px;
    font-weight: 700;
}

.ds-cartitem__row b {
    font-size: 19.5px;
    font-weight: 800;
    white-space: nowrap;
}

.ds-cartitem__config {
    font-size: 15.5px;
    color: var(--ink-60);
    margin: 6px 0 12px;
    line-height: 1.5;
}

.ds-cartitem__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ds-pill-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
}

.ds-pill-status .dot {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    display: inline-block;
}

.ds-pill-status--warn {
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    color: var(--warn-text);
}

.ds-pill-status--warn .dot { background: #E0A800; }

.ds-pill-status--ok {
    background: var(--green-bg);
    border: 1px solid var(--green-line);
    color: var(--green-dark);
}

.ds-pill-status--ok .dot { background: var(--green); }

.ds-cartitem__actions {
    font-size: 15.5px;
    color: var(--ink-40);
}

.ds-cartitem__actions a { color: var(--ink-60); font-weight: 600; }
.ds-cartitem__actions a:hover { color: var(--magenta); }

.ds-crosssell {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    font-size: 16px;
    color: var(--ink-60) !important;
}

.ds-crosssell strong { color: var(--ink); }

.ds-coupon {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.ds-coupon input {
    flex: 1;
    min-width: 0;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-input);
    padding: 9px 12px;
    font-family: var(--font-sans);
    font-size: 15.5px;
}

@media (max-width: 900px) {
    .ds-cart__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Kasse (klassischer WC-Checkout, Token-Anstrich — voller 1d-Ausbau später)
   ========================================================================== */
.woocommerce-checkout #page,
.woocommerce-checkout .site-content,
.woocommerce-checkout #content,
.woocommerce-checkout .container,
.woocommerce-checkout .grid-container {
    background: transparent;
}

.woocommerce-checkout .entry-header { display: none; }

.woocommerce-checkout form.checkout h3 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.woocommerce-checkout .woocommerce input.input-text,
.woocommerce-checkout .woocommerce select,
.woocommerce-checkout .woocommerce textarea {
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-input);
    padding: 11px 12px;
    font-family: var(--font-sans);
    background: var(--surface);
}

.woocommerce-checkout .woocommerce input.input-text:focus,
.woocommerce-checkout .woocommerce textarea:focus {
    outline: 2px solid transparent; /* für Windows-Kontrastmodus sichtbar */
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px rgba(206, 15, 105, .32); /* deutlich sichtbarer Fokusring */
}

.woocommerce #payment button#place_order,
.woocommerce-checkout button#place_order {
    background: var(--magenta);
    color: #fff;
    border-radius: var(--radius-btn);
    font-family: var(--font-sans);
    font-weight: 700;
    padding: 15px 28px;
    box-shadow: var(--shadow-cta);
    border: none;
}

.woocommerce #payment button#place_order:hover,
.woocommerce-checkout button#place_order:hover {
    background: var(--magenta-hover);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
    background: var(--surface);
    border: none;
    border-radius: var(--radius-card);
}

.woocommerce table.shop_table {
    border: none;
    border-radius: var(--radius-card);
    background: var(--surface);
}

/* Kasse: Kopf mit Titel + Stepper (1d) */
.ds-checkout-head {
    max-width: 1120px;
    margin: 8px auto 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ds-checkout-head h1 {
    font-size: 35.5px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}

/* Order-Review rechts mitlaufen lassen (Desktop) */
@media (min-width: 981px) {
    .woocommerce-checkout .woocommerce-checkout-review-order {
        position: sticky;
        top: 24px;
    }
}

/* Warenkorb: Druckdaten-Upload (1d) */
.ds-upload {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ds-upload__btn {
    color: var(--magenta);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
}

.ds-upload__btn:hover { color: var(--magenta-hover); }

.ds-upload__hint {
    font-size: 15px;
    color: var(--ink-40);
}

.ds-upload__name {
    font-size: 15px;
    color: var(--ink-60);
}

.ds-upload__status {
    font-size: 15px;
    color: var(--warn-text);
}

.ds-cartitem.is-dragover {
    outline: 2px dashed var(--magenta);
    outline-offset: -2px;
}

/* Konfigurator: Sonderformat-Eingaben (Design 1c) */
.ds-sonderformat {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 14px 16px;
    border: 1.5px dashed var(--line-strong);
    border-radius: 12px;
}

.ds-sonderformat label {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--ink-60);
    font-weight: 600;
}

.ds-sonderformat input {
    width: 110px;
    padding: 9px 10px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-input);
    font-family: var(--font-sans);
    font-size: 16.5px;
}

.ds-sonderformat .mal {
    padding-bottom: 10px;
    color: var(--ink-40);
}

.ds-sonderformat small {
    color: var(--ink-40);
    font-size: 13.5px;
    padding-bottom: 10px;
}

/* Konfigurator: durch Ausschlussregeln gesperrte Optionen */
.ds-chip.is-excluded,
.ds-radiorow.is-excluded {
    opacity: .38;
    text-decoration: line-through;
    cursor: not-allowed;
    pointer-events: none;
}
.ds-radiorow.is-excluded { text-decoration: none; }
.ds-radiorow.is-excluded .main strong { text-decoration: line-through; }

.ds-tile, .ds-product-card { min-width: 0; }

@media (max-width: 600px) {
    html, body { overflow-x: clip; /* mobile safety gegen Rest-Overflows */ }
    .ds-card, .ds-sidebar, .ds-toc { min-width: 0; }
}
