/* drx_opc: Story-Block — Bild + Text, warm, voll responsiv. CI-Grün rgb(64,86,29). */
.drx-story {
    --drx-green: rgb(64, 86, 29);
    --drx-green-dark: rgb(52, 70, 23);
    --drx-cream: #f7f5ee;
    --drx-ink: #2f3327;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(1.4rem, 4vw, 3.2rem);
    background: var(--drx-cream);
    border-radius: 22px;
    padding: clamp(1.2rem, 3vw, 2.4rem);
}
.drx-story--img-right { direction: rtl; }
.drx-story--img-right > * { direction: ltr; }

.drx-story-media { min-width: 0; }
.drx-story-img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 14px 34px rgba(47, 51, 39, .16);
}
.drx-story-imgph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: var(--drx-green);
    color: rgba(255, 255, 255, .8);
    font-size: 2rem;
}
.drx-story-imgph span { font-size: .9rem; }

.drx-story-body { min-width: 0; }
.drx-story-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--drx-green);
    margin-bottom: .5rem;
}
.drx-story-head {
    color: var(--drx-ink);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.18;
    margin: 0 0 .8rem;
}
.drx-story-text {
    color: #4a4f42;
    font-size: 1.02rem;
    line-height: 1.65;
}
.drx-story-text :last-child { margin-bottom: 0; }
.drx-story-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.2rem;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    background: var(--drx-green);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}
.drx-story-btn:hover { background: var(--drx-green-dark); color: #fff; text-decoration: none; transform: translateY(-2px); }
.drx-story-btn i { transition: transform .25s ease; }
.drx-story-btn:hover i { transform: translateX(3px); }

@media (max-width: 767px) {
    .drx-story,
    .drx-story--img-right { grid-template-columns: 1fr; direction: ltr; gap: 1.3rem; }
    /* drx: mobil Text zuerst — Ueberschrift fuehrt, dann Foto (statt Foto+Caption VOR der Ueberschrift) */
    .drx-story-body { order: 0; }
    .drx-story-media { order: 1; }
    .drx-story-img { max-height: 320px; }
}

/* drx: optionale Bildunterschrift unter dem Foto (rechtsbuendig wie in der Vorlage) */
.drx-story-caption { text-align: right; color: #6b7257; font-size: .82rem; margin-top: .5rem; }

/* drx: Variante "plain" (PSD-Startseite) — keine Karte: weisser Grund, Text schmaler links,
   Foto groesser rechts, keine Rundung/Schatten am Bild. */
.drx-story--plain {
    background: transparent;
    border-radius: 0;
    /* drx: enger als zuvor — PSD hat wenig Weissraum vor/zwischen/unter den Story-Bloecken */
    padding: clamp(1rem, 2vw, 1.6rem) 1rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    /* drx: erste Spur = Bild (bei img-right via rtl rechts). Text breiter, Bild schmaler (~40%) ->
       das Bild SKALIERT auf eine Hoehe nahe am Text (statt viel groesser) — natuerliches
       Seitenverhaeltnis, KEIN Crop. */
    grid-template-columns: minmax(280px, 1fr) 1.5fr;
    align-items: start;
}
.drx-story--plain .drx-story-img {
    border-radius: 0;
    box-shadow: none;
    /* drx: ganzes Bild sichtbar, unverzerrt — width fuellt die (schmale) Spalte, Hoehe natuerlich */
    width: 100%;
    height: auto;
    max-height: none;
}
.drx-story--plain .drx-story-head { font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 1rem; }
.drx-story--plain .drx-story-text { font-size: .95rem; max-width: 60ch; }
@media (max-width: 767px) {
    .drx-story--plain { grid-template-columns: 1fr; padding: 1.2rem 0; }
}
