/* Excire — Testversionen / Trial versions hub (/trial/, /en/trial/).
   Reuses .container, .btn, .awards/.awards__logos, .section--grey,
   .section__title from base/product CSS; this file adds page-specific bits.
   Mobile-first: no horizontal scroll at 375px, images max-width:100%. */

/* ---- Hero ---- */
/* 703px wie auf allen anderen Seiten (Produkt-, Office- und Legal-Heroes). */
.trialhero {
    background-color: #0b2a4a;          /* fallback while the photo loads */
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: left;
    min-height: 703px;
    display: flex;
    align-items: center;
}
.trialhero__inner { padding-block: var(--space-8); width: 100%; }
@media (max-width: 900px) { .trialhero { min-height: 0; display: block; } }
.trialhero__title {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    font-size: clamp(30px, 5vw, 52px);
    margin: 0;
    overflow-wrap: break-word;
}
.trialhero__subline {
    list-style: none;
    margin: var(--space-4) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-2) var(--space-5);
    font-size: 18px;
}
.trialhero__subline li { position: relative; }
.trialhero__subline li + li::before {
    content: "·";
    position: absolute;
    left: calc(var(--space-5) / -2 - 3px);
    color: rgba(255, 255, 255, .7);
}

/* ---- Awards: all press logos on one row (like the homepage) ---- */
.awards .section__title { color: #000; font-weight: var(--fw-bold); margin-bottom: var(--space-6); }
.awards__logos { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: var(--space-4); }
.awards__logos img { flex: 1 1 0; min-width: 0; height: 76px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) {
    .awards__logos { flex-wrap: wrap; gap: var(--space-4) var(--space-5); }
    .awards__logos img { flex: 0 0 auto; height: 54px; }
}

/* ---- Testimonials ---- */
.trial-testi .section__title { color: #000; font-weight: var(--fw-bold); margin-bottom: var(--space-6); }
/* Slider: 3 cards visible, prev/next arrows on the sides */
.trial-testi__slider { display: flex; align-items: center; gap: var(--space-3); }
.trial-testi__viewport { flex: 1 1 auto; overflow: hidden; }
.trial-testi__track { display: flex; align-items: flex-start; gap: 24px; transition: transform .4s ease; }
.trial-testi__arrow {
    flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 0;
    background: none; color: #c2c2c2; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color .15s ease;
}
.trial-testi__arrow:hover { color: #8a8a8a; }
.trial-testi__arrow:disabled { opacity: .4; cursor: default; }
.trial-testi__card {
    flex: 0 0 calc((100% - 48px) / 3);   /* 3 visible (2 gaps of 24px) */
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
@media (max-width: 900px) {
    .trial-testi__card { flex-basis: 100%; }   /* 1 visible on mobile */
}
.trial-testi__head { display: flex; align-items: center; gap: var(--space-3); }
.trial-testi__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}
.trial-testi__who { display: flex; flex-direction: column; }
.trial-testi__name { font-weight: var(--fw-bold); }
.trial-testi__name a { color: inherit; text-decoration: none; }
.trial-testi__name a:hover { color: var(--color-link); }
.trial-testi__role { font-size: 14px; color: var(--color-text-muted); }
.trial-testi__quote { margin: 0; font-size: 15px; line-height: 1.6; }

/* ---- Product trial cards — boxed, side by side, like the shop product boxes ---- */
.trial-products .container { display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.trialcard {
    background: rgba(243, 243, 243, .69);      /* same box as .shop__product */
    box-shadow: 0 0 10px rgba(0, 0, 0, .22);
    border-radius: 2px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.trialcard--half { width: calc(50% - 12px); }   /* two side by side */

/* Head — bottom-aligned title (+ optional subtitle) in a fixed-height block so
   the divider (and everything below) lines up across cards, like .shop__product-head. */
.trialcard__head {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 100px; text-align: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px; margin-bottom: 24px;
}
.trialcard__title { font-family: var(--font-heading); font-size: 34px; font-weight: 700; color: #000; line-height: 1.2; margin: 0; }
.trialcard__subtitle { margin: 8px 0 0; font-size: 20px; font-weight: 700; color: var(--color-text); }

.trialcard__media { display: flex; justify-content: center; margin-bottom: 24px; }
.trialcard__media img { max-width: 360px; width: 100%; height: auto; margin-inline: auto; }

.trialcard__body { display: flex; flex-direction: column; flex: 1; }
.trialcard__intro { margin: 0 0 var(--space-3); }

/* Bullets with check marks, like .shop__bullets */
.trialcard__list { list-style: none; margin: var(--space-3) 0; padding: 0; }
.trialcard__list li { position: relative; padding-left: 28px; margin-bottom: 12px; line-height: 1.5; }
.trialcard__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #000; font-weight: 700; }

.trialcard__btn { display: block; width: 100%; text-align: center; text-decoration: none; margin-top: auto; }

/* Info + system requirements — plain uppercase toggle like .shop__info */
.trialcard__details { margin-top: 16px; }
.trialcard__details > summary {
    display: block; text-align: center; cursor: pointer;
    background: none; border: 0; padding: 0; list-style: none;
    font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
    font-weight: 500; color: #000;
}
.trialcard__details > summary::-webkit-details-marker { display: none; }
.trialcard__details > summary:hover { color: var(--color-primary); text-decoration: underline; }
.trialcard__details[open] > summary { margin-bottom: 16px; }
.trialcard__details-inner { font-size: 15px; line-height: 1.6; text-align: left; }
.trialcard__desc { margin: 0 0 var(--space-3); }
.trialcard__highlights { margin: 0 0 var(--space-4); padding-left: 1.2em; }
.trialcard__highlights li { margin-bottom: var(--space-1); }
.trialcard__spec-title { font-size: 16px; font-weight: 700; margin: var(--space-3) 0 var(--space-2); color: #000; }
.trialcard__spec { margin: 0 0 var(--space-3); }
.trialcard__spec dt { font-weight: var(--fw-bold); margin-top: var(--space-2); }
.trialcard__spec dd { margin: 0 0 var(--space-1); overflow-wrap: break-word; }

/* Full-width box (Office Edition) — image beside head+text, like the shop Bundle. */
.trialcard--full {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 38%) 1fr;
    grid-template-areas: "media head" "media body";
    grid-template-rows: auto 1fr;
    column-gap: 44px;
    align-items: start;
}
.trialcard--full .trialcard__media { grid-area: media; align-self: center; margin-bottom: 0; }
.trialcard--full .trialcard__media img { max-width: 100%; }
.trialcard--full .trialcard__head { grid-area: head; text-align: left; min-height: 0; }
.trialcard--full .trialcard__body { grid-area: body; }

/* ---- Comparison — identical to .shop-compare (grey band, stacked paragraphs) ---- */
.trial-compare { padding-block: var(--space-4); }
.trial-compare__inner { background: #ebebeb; padding: 48px; }
.trial-compare__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin: 0 0 var(--space-5); }
.trial-compare__p { max-width: none; margin: 0 0 var(--space-4); line-height: 1.6; font-size: 18px; }
.trial-compare__p:last-child { margin-bottom: 0; }

/* ---- Responsive: boxes stack to 1 column ---- */
@media (max-width: 1000px) {
    .trialcard--half { width: 100%; }
    .trialcard--full { display: flex; flex-direction: column; }
    .trialcard--full .trialcard__media { margin-bottom: 24px; }
    .trialcard--full .trialcard__head { text-align: center; }
    .trialcard__media img { max-width: 340px; }
}
