/* =========================================================
   Design page styles — /de/design-de & /ru/design-ru
   Loaded only via $isDesignPage in layouts/front.blade.php.
   Loaded AFTER style.min.css + design-system.css → cascade wins.
   Uses Anthracite design-system tokens (--pa-*).

   Two areas of styles:
     A. Designer-Tool chrome (interior preview / pallet / color picker)
        — must NOT change Designer-Tool DOM, only visual chrome.
     B. New SEO content sections (.design-page__*) — added 2026-05-27.
   ========================================================= */

/* =========================================================
   A. DESIGNER-TOOL CHROME
   ========================================================= */

.design-constructor-layout { padding: 24px 0 32px; }

.interior-rooms-layout {
    background: linear-gradient(180deg, #f9f8f6 0%, #eef0f3 100%);
    padding: 20px;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: var(--pa-radius-card, 8px);
    box-shadow:
        0 1px 2px rgba(15, 25, 40, 0.05),
        0 10px 28px -12px rgba(15, 25, 40, 0.18);
}

.interior-rooms-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 4px 0 16px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}
/* NOTE: tab <li> carry class "btn" → style.min.css forces color:#fff !important.
   Inactive states therefore REQUIRE !important on color or text stays white
   (white-on-white). All tab color declarations below use !important on purpose. */
.interior-rooms-tabs-nav li {
    list-style: none;
    width: auto;
    flex: 1 1 0;
    min-width: 110px;
    margin: 0;
    padding: 10px 16px;
    background: #ffffff;
    color: #243244 !important;
    border: 1px solid rgba(216, 181, 104, .65);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
    -webkit-user-select: none;
    user-select: none;
}
.interior-rooms-tabs-nav li:hover {
    background: rgba(216, 181, 104, .12);
    border-color: #d8b568;
    color: #172232 !important;
}
.interior-rooms-tabs-nav li.active {
    background: #243244;
    color: #ffffff !important;
    border-color: #d8b568;
    box-shadow: 0 6px 16px rgba(23, 34, 50, .16);
}
.interior-rooms-tabs-nav li.active:hover { background: #172232; border-color: #d8b568; }
.interior-rooms-tabs-nav li:focus-visible { outline: 2px solid rgba(216, 181, 104, .75); outline-offset: 3px; }

.interior-room {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 725 / 585;
    border-radius: 10px;
    overflow: hidden;
    background: #d8dde4;
    box-shadow:
        inset 0 0 0 1px rgba(15, 25, 40, 0.08),
        0 2px 8px rgba(15, 25, 40, 0.10);
}
.interior-room-img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    image-rendering: -webkit-optimize-contrast;
}
.interior-room .svg-img,
.interior-room .pic-seiling-effect img,
.interior-room .pic-seiling-effect-2 img,
.interior-room .svg-interior-shadows-1 img,
.interior-room .svg-interior-shadows-2 img {
    width: 100%; height: 100%; object-fit: cover;
}
.interior-room::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 80px rgba(15, 25, 40, 0.12);
    z-index: 200;
}

.design-const-left .pallet-layout {
    background: #ffffff;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: var(--pa-radius-card, 8px);
    padding: 18px;
    box-shadow: var(--pa-shadow-card, 0 1px 6px rgba(0, 0, 0, .07));
}
.pallet-tabs.main-pallet-tabs,
.pallet-tabs.mobile-pallet-tabs {
    display: flex; gap: 6px; padding: 0 0 14px; margin: 0;
    list-style: none; flex-wrap: wrap;
}
.pallet-tabs.main-pallet-tabs li,
.pallet-tabs.mobile-pallet-tabs li {
    list-style: none; margin: 0;
    padding: 8px 14px;
    background: #ffffff;
    color: #243244 !important;
    border: 1px solid rgba(216, 181, 104, .65);
    border-radius: 8px;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    opacity: 1;
    transition: background-color .15s, color .15s, border-color .15s;
}
.pallet-tabs.main-pallet-tabs li:hover,
.pallet-tabs.mobile-pallet-tabs li:hover {
    background: rgba(216, 181, 104, .12);
    border-color: #d8b568;
    color: #172232 !important;
}
.pallet-tabs.main-pallet-tabs li.active,
.pallet-tabs.mobile-pallet-tabs li.active {
    background: #243244;
    color: #ffffff !important;
    border-color: #d8b568;
    font-weight: 700;
}

.color-picker-label {
    display: block;
    font-size: 14px; font-weight: 500;
    color: var(--pa-text, #1f2937);
    margin: 6px 0 8px;
}

/* Colour swatch IS the clickable button; the pointer icon (.color-picker-btn)
   is restyled from a separate empty box into a small badge embedded in the
   swatch's top-right corner. JS triggers are untouched: the ceiling swatch
   keeps its modal click handler and the interior swatches keep their absolute
   .color-picker-hide-btn jscolor overlay. The badge is pointer-events:none so
   mouse clicks fall through to the swatch / overlay underneath. */
.design-const-left .color-picker-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.design-const-left .color-picker-input {
    width: 100%;
    height: 48px;
    margin: 0;
    border: 1px solid rgba(36, 50, 68, .18);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.design-const-left .form-group:hover .color-picker-input {
    border-color: #d8b568;
    box-shadow: 0 2px 10px rgba(23, 34, 50, .12);
}
.design-const-left .color-picker-btn {
    position: absolute;
    top: 7px; right: 7px;
    width: 26px; height: 26px;
    min-width: 0; padding: 0; margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #243244;
    border: 1px solid rgba(36, 50, 68, .14);
    box-shadow: 0 2px 8px rgba(23, 34, 50, .16);
    font-size: 13px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    pointer-events: none;
    z-index: 12;
}
.design-const-left .color-picker-btn i { line-height: 1; margin: 0; }
.design-const-left .color-picker-hide-btn { cursor: pointer; }
.design-const-left .color-picker-hide-btn:focus-visible {
    outline: 2px solid var(--pa-accent, #c9a666);
    outline-offset: 2px;
    border-radius: 9px;
}

/* Selected-ceiling readout ("Spanndecken Farbe: M(1303)") — tidy single row,
   code no longer breaks onto its own oversized line. */
.design-const-left .checked-color-layout {
    margin-top: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: 9px;
}
.design-const-left .checked-color-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.design-const-left .checked-color-title {
    font-size: 15px;
    font-weight: 600;
    color: #243244;
    line-height: 1.25;
}
.design-const-left .checked-color {
    font-size: 14px;
    font-weight: 600;
    color: #243244;
    white-space: nowrap;
    margin: 0;
}
.design-const-left .checked-color-visual {
    width: 84px;
    height: 30px;
    margin: 0 0 0 auto;
    border-radius: 6px;
    border: 1px solid rgba(36, 50, 68, .18);
}

/* Two interior colours: clean equal columns */
.design-const-left .interior-pallet-row { display: flex; gap: 14px; width: 100%; margin: 0; }
.design-const-left .interior-palet-left,
.design-const-left .interior-palet-right { flex: 1 1 0; min-width: 0; padding: 0; }

/* Designer-tool hero heading — unified with RU hr-section hero (left-aligned,
   navy bold, no underline rule). design-page.css loads only on Design pages. */
.page-title {
    width: 100%;
    margin: 0 0 16px;
    border-bottom: 0;
    text-align: left;
}
.page-title h1,
.page-title h2 {
    margin: 0;
    color: var(--pa-text, #1f2937);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    font-size: clamp(26px, 3.4vw, 38px);
}

@media (max-width: 992px) {
    .interior-rooms-layout { padding: 16px; }
    .interior-room { max-width: 100%; }
}
@media (max-width: 768px) {
    .design-constructor-layout { padding: 18px 0 28px; }
    .interior-rooms-layout { padding: 14px; border-radius: 10px; }
    .interior-rooms-tabs-nav { gap: 6px; padding: 0 0 12px; }
    .interior-rooms-tabs-nav li {
        min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px);
        padding: 9px 10px; font-size: 14px;
    }
    .interior-room { border-radius: 8px; }
    .design-const-left .pallet-layout { padding: 14px; }
}
@media (max-width: 480px) {
    .design-constructor-layout { padding: 14px 0 22px; }
    .interior-rooms-layout { padding: 12px; }
    .interior-rooms-tabs-nav li {
        font-size: 13px; padding: 8px 6px;
        min-width: calc(50% - 3px); flex: 1 1 calc(50% - 3px);
    }
    .design-const-left .color-picker-input { height: 44px; }
    .design-const-left .color-picker-btn { width: 24px; height: 24px; top: 6px; right: 6px; font-size: 12px; }
    .design-const-left .interior-pallet-row { gap: 10px; }
}

/* =========================================================
   B. NEW SEO CONTENT SECTIONS — .design-page__*
   Mobile-first, single column → grids at ≥768px.
   ========================================================= */

.design-page__hero h1 {
    margin: 0 0 .55em;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--pa-text, #1f2937);
    font-weight: 800;
    max-width: 820px;
    text-align: left;
}
.design-page__hero p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--pa-text, #1f2937);
}
.design-page__hero p + p { margin-top: 12px; }

/* Section H2 — consistent rhythm with /de/preise */
.section-text h2 {
    margin: 0 0 .55em;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.22;
    color: var(--pa-text, #1f2937);
    font-weight: 700;
}
.section-text h3 {
    margin: 0 0 .35em;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.3;
    color: var(--pa-text, #1f2937);
    font-weight: 600;
}

/* ── CTA rows ─────────────────────────────────────────────── */
.design-page__cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.design-page__cta-row--triple { gap: 10px; }

.design-page__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--pa-radius-btn, 6px);
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    border: 1px solid transparent;
}
/* CTAs carry class "link-btn" → style.min.css forces color:#fff !important.
   The ghost variant has a light/transparent bg, so its text REQUIRES !important
   on color or it renders white-on-white (invisible). */
.design-page__cta--primary {
    background: #d8b568;          /* site primary = gold + dark text (matches RU hr-btn--gold) */
    color: #172232 !important;
    border-color: #d8b568;
    font-weight: 700;
}
.design-page__cta--primary:hover {
    background: #f0c978;
    border-color: #f0c978;
    color: #101820 !important;
}
.design-page__cta--ghost {
    background: #ffffff;
    color: #243244 !important;        /* navy text, readable */
    border: 2px solid #243244;        /* strong navy outline (was pale #e5e7eb) */
    font-weight: 700;
}
.design-page__cta--ghost:hover {
    background: #243244;              /* navy fill + white on hover (secondary feel) */
    border-color: #243244;
    color: #ffffff !important;
}
.design-page__cta:focus-visible {
    outline: 2px solid var(--pa-accent, #c9a666);
    outline-offset: 2px;
}

.design-page__inline-cta { margin-top: 10px; }
.design-page__link-arrow {
    color: var(--pa-accent, #c9a666);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s, color .15s;
}
.design-page__link-arrow:hover {
    border-bottom-color: var(--pa-accent, #c9a666);
    color: var(--pa-accent-dark, #b8935a);
}

/* ── Grids ────────────────────────────────────────────────── */
.design-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 20px 0 6px;
}
@media (min-width: 720px) {
    .design-page__grid--surfaces,
    .design-page__grid--rooms { grid-template-columns: 1fr 1fr; }
    .design-page__grid--colors { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
    .design-page__grid--colors { grid-template-columns: repeat(4, 1fr); }
    .design-page__grid--rooms  { grid-template-columns: repeat(3, 1fr); }
}

/* ── Cards ───────────────────────────────────────────────── */
.design-page__card {
    background: #ffffff;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: var(--pa-radius-card, 10px);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 25, 40, 0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}
.design-page__card:hover {
    box-shadow: 0 8px 24px -10px rgba(15, 25, 40, 0.18);
    border-color: #d0d6dd;
    transform: translateY(-2px);
}
.design-page__card-media {
    margin: 0;
    background: #f3f6fa;
    aspect-ratio: 760 / 570;
    overflow: hidden;
}
.design-page__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.design-page__card-body {
    padding: 18px 20px 20px;
}
.design-page__card-body h3 {
    margin: 0 0 8px;
}
.design-page__card-body p {
    margin: 0 0 .8em;
    font-size: 15px;
    line-height: 1.6;
    color: var(--pa-text, #1f2937);
}
.design-page__card-body p:last-child { margin-bottom: 0; }

/* ── Color swatches (Farben section) ──────────────────────── */
.design-page__card--swatch {
    flex-direction: row;
    align-items: stretch;
}
.design-page__swatch {
    flex: 0 0 90px;
    border-right: 1px solid var(--pa-border, #e5e7eb);
}
.design-page__swatch--light   { background: linear-gradient(135deg, #ffffff 0%, #ecedef 100%); }
.design-page__swatch--natural { background: linear-gradient(135deg, #ddd1c0 0%, #b8a78f 100%); }
.design-page__swatch--dark    { background: linear-gradient(135deg, #3a3f4a 0%, #1a1c22 100%); }
.design-page__swatch--mixed   {
    background:
        linear-gradient(135deg, #ffffff 0%, #ffffff 25%, #c5b59c 25%, #c5b59c 50%, #5a5e69 50%, #5a5e69 75%, #1a1c22 75%);
}
@media (max-width: 480px) {
    .design-page__card--swatch { flex-direction: column; }
    .design-page__swatch {
        flex: 0 0 56px;
        height: 56px;
        border-right: none;
        border-bottom: 1px solid var(--pa-border, #e5e7eb);
    }
}

/* ── Split image+text (Fotodruck intro) ───────────────────── */
.design-page__split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 14px 0 22px;
}
@media (min-width: 800px) {
    .design-page__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
}
.design-page__split-media figure {
    margin: 0;
    background: #f3f6fa;
    border-radius: var(--pa-radius-card, 10px);
    overflow: hidden;
    aspect-ratio: 760 / 570;
}
.design-page__split-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.design-page__split-text p {
    margin: 0 0 .8em;
    font-size: 15px;
    line-height: 1.65;
    color: var(--pa-text, #1f2937);
}
.design-page__split-text p:last-child { margin-bottom: 0; }

/* ── Lists ────────────────────────────────────────────────── */
.design-page__list {
    margin: 8px 0 16px;
    padding: 0 0 0 18px;
}
.design-page__list li {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--pa-text, #1f2937);
}

/* ── Beratung steps (numbered) ────────────────────────────── */
.design-page__steps {
    list-style: none;
    margin: 18px 0 12px;
    padding: 0;
    counter-reset: design-step;
    display: grid;
    gap: 14px;
}
.design-page__steps > li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: var(--pa-radius-card, 10px);
    padding: 16px 18px;
}
.design-page__steps > li h3 { margin: 0 0 4px; }
.design-page__steps > li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--pa-text, #1f2937);
}
.design-page__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 999px;
    background: var(--pa-accent, #c9a666);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

/* ── Galerie teaser ───────────────────────────────────────── */
.design-page__gallery-teaser {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 8px;
}
@media (min-width: 720px) {
    .design-page__gallery-teaser { grid-template-columns: repeat(3, 1fr); }
}
.design-page__gallery-teaser figure {
    margin: 0;
    background: #f3f6fa;
    border-radius: var(--pa-radius-card, 10px);
    overflow: hidden;
    aspect-ratio: 760 / 570;
}
.design-page__gallery-teaser img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .35s ease;
}
.design-page__gallery-teaser figure:hover img { transform: scale(1.04); }

/* ── Final CTA block ──────────────────────────────────────── */
.design-page__final-cta {
    background: #ffffff;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: var(--pa-radius-card, 12px);
    padding: 22px 22px 24px;
    box-shadow: 0 1px 4px rgba(15, 25, 40, 0.05);
}

/* ── FAQ (reuses .faq-accordion-block styling from preise-anthracite) ── */
.design-page__faq {
    margin: 16px 0 6px;
}
.design-page__faq-footer {
    margin-top: 14px;
    text-align: left;
    font-size: 15px;
}

/* ── Tablet/mobile fine-tuning ────────────────────────────── */
@media (max-width: 720px) {
    .design-page__card-body { padding: 14px 16px 16px; }
    .design-page__cta { width: 100%; }
    .design-page__cta-row { flex-direction: column; align-items: stretch; }
    .design-page__final-cta { padding: 18px; }
    .design-page__steps > li { padding: 14px 14px; grid-template-columns: 36px 1fr; gap: 12px; }
    .design-page__step-num { width: 30px; height: 30px; font-size: 14px; }
}

/* =========================================================
   C. HOME-REDESIGN LAYOUT HELPERS (RU Design page)
   home-redesign.css is loaded on Design pages so that hr-*
   sections render correctly. Button colors come from the
   existing --pa-* tokens in home-redesign.css — no overrides
   needed. Only layout and focus are adjusted here.
   ========================================================= */

.home-redesign .hr-btn:focus-visible {
    outline:        2px solid var(--pa-accent, #c9a666);
    outline-offset: 2px;
}

/* CTA section 3-button grid — prevents the long middle label from pushing
   button #3 alone onto a second row (flex-wrap orphan). */
.home-redesign .hr-section--cta .hr-cta-row {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   12px;
}
.home-redesign .hr-section--cta .hr-cta-row .hr-btn {
    width:            100%;
    text-align:       center;
    justify-content:  center;
}

/* Middle (primary) button: var(--pa-primary) = #374151 matches the section
   gradient bottom → button vanishes into bg. Glass-navy override with gold
   border makes it clearly distinct from neighbours without acid colours. */
.home-redesign .hr-section--cta .hr-btn--primary {
    background:   rgba(255, 255, 255, .10);
    color:        #ffffff;
    border:       1px solid rgba(216, 181, 104, .55);
    box-shadow:   0 2px 8px rgba(0, 0, 0, .20);
}
.home-redesign .hr-section--cta .hr-btn--primary:hover,
.home-redesign .hr-section--cta .hr-btn--primary:focus {
    background:   rgba(255, 255, 255, .18);
    border-color: #f0c978;
    color:        #ffffff;
    transform:    translateY(-1px);
    box-shadow:   0 8px 18px rgba(0, 0, 0, .28);
}

/* Ghost button on dark CTA background: --pa-primary (#374151) text is
   invisible on the navy/dark-gray gradient. Override to white. */
.home-redesign .hr-section--cta .hr-btn--ghost {
    background:   rgba(255, 255, 255, .06);
    color:        #ffffff;
    border:       1px solid rgba(216, 181, 104, .75);
    box-shadow:   0 2px 8px rgba(0, 0, 0, .14);
}
.home-redesign .hr-section--cta .hr-btn--ghost:hover,
.home-redesign .hr-section--cta .hr-btn--ghost:focus {
    background:   rgba(255, 255, 255, .14);
    border-color: #d8b568;
    color:        #ffffff;
    transform:    translateY(-1px);
    box-shadow:   0 8px 18px rgba(0, 0, 0, .22);
}

/* Tablet (≤1024px): 2 columns, third button spans full width */
@media (max-width: 1024px) {
    .home-redesign .hr-section--cta .hr-cta-row {
        grid-template-columns: 1fr 1fr;
    }
    .home-redesign .hr-section--cta .hr-cta-row .hr-btn:last-child {
        grid-column: 1 / -1;
    }
}

/* Mobile (≤640px): single column */
@media (max-width: 640px) {
    .home-redesign .hr-section--cta .hr-cta-row {
        grid-template-columns: 1fr;
    }
    .home-redesign .hr-section--cta .hr-cta-row .hr-btn:last-child {
        grid-column: auto;
    }
}

/* Generic mobile fallback for non-CTA hr-cta-rows */
@media (max-width: 600px) {
    .home-redesign .hr-cta-row { flex-direction: column; }
    .home-redesign .hr-btn     { width: 100%; justify-content: center; }
}

/* =========================================================
   D. COLOUR DISCLAIMER NOTE
   Calm info-note placed BELOW the designer (replaces the old
   red "Bitte beachten / Обратите внимание" warning shown above).
   ========================================================= */
.design-color-note {
    max-width: 880px;
    margin: 20px auto 0;
    padding: 12px 16px;
    background: rgba(216, 181, 104, .10);
    border: 1px solid rgba(216, 181, 104, .35);
    border-left: 3px solid #d8b568;
    border-radius: 10px;
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
}
.design-color-note__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: #243244;
    margin-bottom: 4px;
}
.design-color-note__title .fa { color: #d8b568; font-size: 15px; }
.design-color-note p { margin: 0; }
@media (max-width: 600px) {
    .design-color-note { margin-top: 16px; padding: 11px 13px; font-size: 13.5px; }
}

/* =========================================================
   E. SHARED HERO PRIMITIVES — unify DE with RU (hr-* look)
   Gold eyebrow + trust strip mirror home-redesign.css values
   (.hr-section-eyebrow / .hr-trust) so DE matches RU/Home/Preise.
   ========================================================= */
.design-page__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pa-accent, #c9a666);
    line-height: 1;
}
.design-page__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin: 18px 0 4px;
    padding: 14px 0;
    border-top: 1px solid var(--pa-border, #e5e7eb);
    border-bottom: 1px solid var(--pa-border, #e5e7eb);
    list-style: none;
    font-size: 13px;
    color: var(--pa-text-muted, #6b7280);
}
.design-page__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    margin: 0;
}
.design-page__trust .fa { color: var(--pa-accent, #c9a666); font-size: 13px; }

/* Main SEO hero left-aligned like RU .hr-intro; keep eyebrow compact even
   though .design-page__hero p sets 17px for body copy. */
.design-page__hero { text-align: left; }
.design-page__hero .design-page__eyebrow {
    font-size: 12px;
    line-height: 1;
    margin: 0 0 8px;
    color: var(--pa-accent, #c9a666);
}

/* =========================================================
   F. RU PARITY — vertical rhythm + grouped section backgrounds
   DE .section was only padding:10px 0 → sections collided. Mirror
   RU .hr-section: 46/32/24px padding, border-top separation, and
   alternating soft bands. Targets only SEO heading sections so the
   designer hero/intro/tool are untouched.
   ========================================================= */
.content-section:has(.section-text h1) > .content-section-wrap > .section,
.content-section:has(.section-text h2) > .content-section-wrap > .section {
    padding: 46px 0;
    border-top: 1px solid var(--pa-border, #e5e7eb);
}
@media (max-width: 767px) {
    .content-section:has(.section-text h1) > .content-section-wrap > .section,
    .content-section:has(.section-text h2) > .content-section-wrap > .section { padding: 32px 0; }
}
@media (max-width: 480px) {
    .content-section:has(.section-text h1) > .content-section-wrap > .section,
    .content-section:has(.section-text h2) > .content-section-wrap > .section { padding: 24px 0; }
}
/* Alternating soft bands (full-width, like RU --soft) */
.content-section:has(.section-text h1):nth-of-type(odd),
.content-section:has(.section-text h2):nth-of-type(odd) {
    background: var(--pa-bg-alt, #f9f8f6);
}

/* More breathing room between the designer hero/intro and the trust-strip.
   Scoped to .section-text so RU's .hr-trust (in .hr-section) is untouched. */
.section-text .hr-trust { margin-top: 32px; }
@media (max-width: 600px) {
    .section-text .hr-trust { margin-top: 20px; }
}

/* Top breathing room for the FIRST content block (designer hero: eyebrow + H1)
   so it doesn't stick to the shared hero banner above. Mirrors RU
   .hr-section--first padding-top. Targets only the .page-title block. */
.content-section:has(.page-title) { padding-top: 40px; }
@media (max-width: 991px) {
    .content-section:has(.page-title) { padding-top: 32px; }
}
@media (max-width: 600px) {
    .content-section:has(.page-title) { padding-top: 24px; }
}

/* =========================================================
   G. NEW: 3-column grid + feature media
   Used by Fotodruck card row and section feature image.
   ========================================================= */
.design-page__grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
    .design-page__grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .design-page__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.design-page__feature-media {
    margin: 18px auto 22px;
    max-width: 760px;
    aspect-ratio: 760 / 570;
    background: #f3f6fa;
    border: 1px solid var(--pa-border, #e5e7eb);
    border-radius: var(--pa-radius-card, 12px);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 25, 40, 0.05);
}
.design-page__feature-media picture,
.design-page__feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 600px) {
    .design-page__feature-media { margin: 14px auto 18px; }
}

/* =========================================================
   H. RU PARITY — design-page blocks INSIDE .home-redesign
   The RU page wraps its whole content in .home-redesign so
   the inner design-page__* sections inherit no hr-* padding,
   but get duplicated separator borders from the alternating
   nth-of-type rule above. Suppress the top border + alt band
   when nested inside .home-redesign so we don't get a doubled
   visual seam between hr-section and the design-page block.
   ========================================================= */
.home-redesign .content-section:has(.section-text h2) > .content-section-wrap > .section {
    border-top: none;
}
.home-redesign .content-section:has(.section-text h1):nth-of-type(odd),
.home-redesign .content-section:has(.section-text h2):nth-of-type(odd) {
    background: transparent;
}
