/* Preise page specifics — extracted from webroot/redesign/preise.html. */

/* ---------- Hero: sub page variant ---------- */
.ghero h1 {
    font-family: var(--g-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: .01em;
    margin-top: 1.2rem;
    color: #fff;
    max-width: 18ch;
}
.ghero h1 b { font-family: var(--g-display-bold); font-weight: 400; color: var(--g-yellow); }
.ghero-sub { font-size: 1.15rem; color: #e6edf8; margin-top: 1.2rem; max-width: 58ch; }
.ghero-card {
    background: var(--white); border-radius: 24px; padding: 16px;
    box-shadow: var(--sh-lg);
    transform: rotate(1.5deg);
    display: inline-block; max-width: 420px;
}
.ghero-card img { width: 100%; display: block; border-radius: 14px; }
@media (max-width: 900px) { .ghero-card { transform: none; } }

/* the shared layout header appends the Google review seal below the hero —
   this page shows the ProvenExpert badge instead, so hide the Google seal */
.controller-preise .seals { display: none; }

/* ProvenExpert badge — rendered at the top of the first section
   (the hero markup is owned by the shared layout header) */
/* pull the badge halfway into the section's 92px top padding so it anchors
   to the hero edge instead of floating in the whitespace (cf. .seals) */
.preise-proven { margin: -76px 0 44px; position: relative; z-index: 3; }
.preise-proven img { height: 140px; width: auto; filter: drop-shadow(0 14px 28px rgba(16,30,54,.18)); }
@media (max-width: 900px) { .preise-proven { margin-top: -56px; } .preise-proven img { height: 104px; } }

.sec-head h2, .sec-head h3 { font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.02; max-width: 22ch; }
.sec-head .lead { max-width: 52ch; }

/* ---------- Argument (loss calculation) ---------- */
.argue { max-width: 720px; }
.argue p { color: var(--text-mid); font-size: 1.12rem; line-height: 1.65; margin-bottom: 18px; }
.argue p b { color: var(--ink); font-family: var(--f-body-bold); }

/* ---------- Ink sum bar (cta-box aesthetics) ---------- */
.sum-bar {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 255, 255, .16), transparent 34%),
        linear-gradient(160deg, #5E7EB1, #48679C);
    border-radius: 38px;
    padding: 54px 64px;
    color: #fff;
    display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
    margin-top: 44px;
}
.sum-bar .sum-text { flex: 1; min-width: 260px; position: relative; z-index: 2; }
.sum-bar h3 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.sum-bar p { color: #b9c7e0; font-size: 1.05rem; }
.sum-bar .btn-yellow { position: relative; z-index: 2; }
.sum-bar .muffel {
    position: absolute; right: 22px; bottom: -26px; width: 160px; z-index: 1;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .4));
}
@media (max-width: 860px) {
    .sum-bar { padding: 44px 32px; }
    .sum-bar .muffel { display: none; }
}
.btn-yellow {
    display: inline-block; font-family: var(--f-body-bold); font-size: 1rem;
    background: var(--yellow); color: var(--ink);
    text-decoration: none; border-radius: 999px; padding: 13px 30px;
    box-shadow: var(--sh-yellow);
    transition: transform .18s var(--ease), box-shadow .18s;
}
.btn-yellow:hover { transform: translateY(-2px); }

/* ---------- Fine print ---------- */
.fine {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 24px; box-shadow: var(--sh-sm);
    padding: 30px 34px;
    color: var(--text-mid); font-size: .95rem; line-height: 1.6;
}
.fine p { margin-bottom: 10px; }
.fine ul { margin: 0; padding-left: 20px; }
.fine li { padding: 2px 0; }

/* ---------- Price calculator section (prices.tpl.php) ----------
   Replacements for former styles.css helpers (block/bg-6/alert/spacing);
   functional/JS styling stays in pages/prices.css. */
.prices-heading { margin-bottom: 40px; }
.features-title { margin-bottom: 20px; }
.price-details-note { color: var(--muted); font-size: 12px; }
.price-details-credit { color: var(--success); font-size: 11px; }

/* align the legacy calculator cards with the redesign tokens */
.prices-sec .module-card,
.prices-sec .cost-step,
.prices-sec .calculator-section {
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--sh-sm);
}
.prices-sec .module-tabs { background: var(--cream); border-bottom-color: var(--border); }
.prices-sec .module-tab { background: var(--white); border-color: var(--border); }
.prices-sec .cost-breakdown h2,
.prices-sec .calculator-section h2,
.prices-sec .cost-step h4 { color: var(--ink); }
/* the tab heading sits on the dark blue .module-header gradient — keep it white */
.prices-sec .module-header h3 { color: #fff; }

/* funding hint below the calculator (former bootstrap alert) */
.prices-funding-note {
    background: var(--yellow-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px 28px;
    margin-bottom: 40px;
    color: var(--text-mid);
    font-size: .95rem;
    line-height: 1.6;
}
.prices-funding-note .fas { color: var(--yellow-dark); margin-right: 8px; }

/* pricing modal helper classes (former inline styles) */
.pricing-modal-credit {
    margin-top: 15px;
    background: rgba(76, 175, 80, 0.2);
    padding: 10px;
    border-radius: 5px;
}
.pricing-modal-example { margin-top: 15px; }
.pricing-modal-list { list-style: none; padding: 0; }
.pricing-modal-list-first { margin-top: 10px; }

/* cost breakdown table column widths (former inline styles) */
.cost-col-module { width: 20%; }
.cost-col-price { width: 40%; }

/* ---------- FAQ chips ---------- */
.faq h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 26px; }
.faq-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.faq-chips span {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 999px; padding: 8px 16px;
    font-size: .88rem; color: var(--text-mid);
}

/* mobile: module tab headings and price display must fit their boxes
   (prices.css sets fixed 42px sizes tuned for desktop) */
@media (max-width: 700px) {
    .prices-sec .module-header h3 { font-size: clamp(1.15rem, 5.5vw, 1.6rem); overflow-wrap: anywhere; }
    .prices-sec .module-header h4 { font-size: .95rem; }
    .prices-sec .price-amount { font-size: clamp(1.4rem, 6vw, 2rem); margin-top: 8px; }
    /* the pricing option boxes must never exceed their tab column
       (prices.css uses minmax(280px, 1fr) tuned for desktop) */
    .prices-sec .pricing-options { grid-template-columns: 1fr; gap: 16px; }
    .prices-sec .pricing-option { padding: 16px; min-width: 0; }
}

/* sticky module tabs must stay BELOW the sticky gnav (z-index 80) */
.prices-sec .module-tabs { z-index: 70; }
