/*
 * Gemeinsame Typografie für die aktuellen Produktseiten-Entwürfe.
 * Bewusst separat eingebunden und dadurch pro Seite leicht reversibel.
 * Die Startseite/Index-Seiten binden diese Datei nicht ein.
 */

.dcm-open-trust-page {
    --product-font-small: 14px;
    --product-font-kicker: 15px;
    --product-font-body: 16px;
    --product-font-lead: 18px;
    --product-font-card-title: 20px;
    --product-font-section-compact: clamp(26px, 2.5vw, 34px);
    --product-font-section: clamp(32px, 3vw, 40px);
}

/* Der Hero steht bei diesen Seiten vor dem eigentlichen main-Element. */
.writer3-hero .writer3-eyebrow {
    font-size: 18px;
}

/* Echte Kicker bleiben eine Stufe größer als sonstige Labels. */
.dcm-open-trust-page .writer3-kicker {
    font-size: var(--product-font-kicker);
}

/* Kleine inhaltliche Texte und Bedienelemente: mindestens 14 px. */
.wa-breadcrumb,
.dcm-open-trust-page .wa-section-label,
.dcm-open-trust-page .wa-badge,
.dcm-open-trust-page .writer3-solution-step__stage,
.dcm-open-trust-page .wa-tour-number,
.dcm-open-trust-page #produkt-tour .wa-tour-step strong,
.dcm-open-trust-page #produkt-tour .wa-tour-step span span,
.dcm-open-trust-page .tour-zoom-hint,
.dcm-open-trust-page .writer3-edition-label,
.dcm-open-trust-page .writer3-edition-price span,
.dcm-open-trust-page .writer3-security-trust__item p,
.dcm-open-trust-page .dcm-trust-open__principles span,
.dcm-open-trust-page .dcm-reference-rail__logos figcaption,
.dcm-open-trust-page .dcm-coord-label,
.dcm-open-trust-page .dcm-coord-keywords li,
.dcm-open-trust-page .dcm-coord-credential__proof > span,
.dcm-open-trust-page .dcm-coord-credential__person span,
.dcm-open-trust-page .dcm-coord-credential__person small,
.dcm-open-trust-page .dcm-coord-credential__contribution,
.dcm-open-trust-page .wa-compare-recommended__badge,
.dcm-open-trust-page .wa-compare-offer small,
.dcm-open-trust-page .wa-compare-offer .wa-btn,
.dcm-open-trust-page small {
    font-size: var(--product-font-small);
}

/* Produktprofile entsprechen der normalen Tabellenschrift. */
.dcm-open-trust-page .dcm-product-profile__row dt,
.dcm-open-trust-page .dcm-product-profile__row dd {
    font-size: var(--product-font-body);
}

/* Hervorgehobene Einleitungen. */
.dcm-open-trust-page .writer3-solution__intro,
.dcm-open-trust-page .writer3-web-compare__head p {
    font-size: var(--product-font-lead);
}

/*
 * Die Writer-Seite verwendet in ihrer Produkttour bewusst eine breitere
 * Schrittspalte. Auf den übrigen Produktseiten bleibt die kompaktere
 * Aufteilung erhalten: Der Screenshot wird dadurch breiter und die
 * Bedienelemente sitzen ohne übergroßen Leerraum am unteren Rand.
 */
.dcm-open-trust-page #produkt-tour .wa-tour-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
}

/*
 * Keine pauschalen Mindesthöhen: Die Kachel endet nach den
 * Fortschrittspunkten mit demselben Innenabstand, den sie oben vor der
 * Überschrift verwendet. Der Screenshot-Bereich wächst mit seinem Inhalt.
 */
.dcm-open-trust-page #produkt-tour .wa-tour {
    min-height: 0 !important;
}

.dcm-open-trust-page #produkt-tour .wa-tour-screen {
    min-height: 0 !important;
    max-height: none !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    align-content: start;
    align-items: start;
}

/* Nur der eigentliche Screenshot erhält die hellblaue Bühne. */
.dcm-open-trust-page #produkt-tour .tour-panel > picture,
.dcm-open-trust-page #produkt-tour .tour-panel > .tour-screenshot-link > picture {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    border: 1px solid #dbe5ee;
    border-radius: 22px;
    background: #eef5ff;
}

.dcm-open-trust-page #produkt-tour .tour-panel picture img {
    display: block;
}

/* Vergrößerungsbutton und Fortschritt stehen auf der weißen Hauptkachel. */
.dcm-open-trust-page #produkt-tour .tour-zoom-hint {
    margin-top: 16px !important;
}

.dcm-open-trust-page #produkt-tour .wa-tour-progress {
    margin-top: 16px;
}

@media (max-width: 1050px) {
    .dcm-open-trust-page #produkt-tour .wa-tour-layout {
        grid-template-columns: 1fr;
    }
}

/* Kachel- und Inhaltsüberschriften. */
.dcm-open-trust-page .writer3-solution-step h3,
.dcm-open-trust-page .writer3-edition-summary h3,
.dcm-open-trust-page .writer3-security-trust__item h4,
.dcm-open-trust-page .writer3-license-compact__products h3,
.dcm-open-trust-page .dcm-related-product h3 {
    font-size: var(--product-font-card-title);
}

/* Kompakte Bereichsüberschriften. */
.dcm-open-trust-page .wa-card > h2,
.dcm-open-trust-page .dcm-product-profile__intro h2,
.dcm-open-trust-page .writer3-demo h2,
.dcm-open-trust-page .writer3-compare-detail-heading,
.dcm-open-trust-page .dcm-related-stage__head h2,
.dcm-open-trust-page .wa-final-cta h2,
.dcm-open-trust-page .wa-final-cta h3 {
    font-size: var(--product-font-section-compact);
}

/* Hauptüberschriften der Inhaltsbereiche. */
.dcm-open-trust-page .writer3-proof-section h2,
.dcm-open-trust-page [id$="-kompetenz"] h2,
.dcm-open-trust-page .wa-tour-head h2,
.dcm-open-trust-page .wa-product-references h2,
.dcm-open-trust-page .writer3-reviews h2,
.dcm-open-trust-page .writer3-coordinator-section h2,
.dcm-open-trust-page .writer3-web-compare__head h2 {
    font-size: var(--product-font-section) !important;
}
